]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
python.el: Native readline completion.
[gnu-emacs] / lisp / ChangeLog
1 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
4 Skip features that have no sources.
5
6 * simple.el (execute-extended-command):
7 When `suggest-key-bindings' is nil, don't.
8
9 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
10
11 python.el: Native readline completion.
12
13 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
14 (python-shell-completion-native-enable)
15 (python-shell-completion-native-output-timeout): New defcustoms.
16 (python-shell-completion-native-interpreter-disabled-p)
17 (python-shell-completion-native-try)
18 (python-shell-completion-native-setup)
19 (python-shell-completion-native-turn-off)
20 (python-shell-completion-native-turn-on)
21 (python-shell-completion-native-turn-on-maybe)
22 (python-shell-completion-native-turn-on-maybe-with-msg)
23 (python-shell-completion-native-toggle): New functions.
24 (python-shell-completion-native-get-completions): New function.
25 (python-shell-completion-at-point): Use it.
26
27 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
28
29 python.el: Enhance shell user interaction and deprecate
30 python-shell-get-or-create-process.
31
32 * progmodes/python.el
33 (python-shell-get-process-or-error): New function.
34 (python-shell-with-shell-buffer): Use it.
35 (python-shell-send-string, python-shell-send-region)
36 (python-shell-send-buffer, python-shell-send-defun)
37 (python-shell-send-file, python-shell-switch-to-shell): Use it.
38 Add argument MSG to display user-friendly message when no process
39 is running.
40 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
41 (python-shell-make-comint): Rename argument SHOW from POP. Use
42 display-buffer instead of pop-to-buffer.
43 (run-python): Doc fix. Return process.
44 (python-shell-get-or-create-process): Make obsolete.
45
46 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
47
48 * progmodes/python.el (python-shell-buffer-substring): Handle
49 cornercase when region sent starts at point-min.
50
51 2014-12-27 Eli Zaretskii <eliz@gnu.org>
52
53 * language/misc-lang.el (composition-function-table): Add Syriac
54 characters and also ZWJ/ZWNJ. See
55 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
56 for the details.
57
58 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
59
60 python.el: Fix message when sending region.
61
62 * progmodes/python.el (python-shell-send-region): Rename argument
63 send-main from nomain. Fix message.
64 (python-shell-send-buffer): Rename argument send-main from arg.
65
66 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
67
68 python.el: Cleanup temp files even with eval errors.
69
70 * progmodes/python.el (python-shell-send-file): Make file-name
71 mandatory. Fix temp file removal in the majority of cases.
72
73 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
74
75 python.el: Handle file encoding for shell.
76
77 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
78 (python-shell--save-temp-file): Write file with proper encoding.
79 (python-shell-buffer-substring): Add coding cookie for detected
80 encoding to generated content. Fix blank lines when removing
81 if-name-main block.
82 (python-shell-send-file): Handle file encoding.
83 (python-info-encoding-from-cookie)
84 (python-info-encoding): New functions.
85
86 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
87
88 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
89 Use `tramp-rsh-end-of-line', it ought to be more robust.
90
91 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
94 (bug#19397).
95
96 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
97
98 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
99
100 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
101 as end-of-line delimeter for passwords, when running on MS Windows.
102
103 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
106 of indent-line-function (bug#19433).
107
108 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
109
110 Fix line numbers on Python shell.
111 * progmodes/python.el (python-shell--save-temp-file): Do not
112 append coding cookie.
113 (python-shell-send-string): Generalize for
114 python-shell-send-region.
115 (python--use-fake-loc): Delete var.
116 (python-shell-buffer-substring): Cleanup fake-loc logic.
117 (python-shell-send-region): Remove fake-loc logic, simplify.
118
119 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
120
121 * progmodes/python.el (python-indent-post-self-insert-function):
122 Make colon to re-indent only for dedenters, handling
123 multiline-statements gracefully.
124
125 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
126
127 * net/tramp.el (tramp-handle-insert-file-contents):
128 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
129
130 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
131
132 * net/tramp-sh.el (tramp-send-command-and-read): New optional
133 arg MARKER.
134 (tramp-get-remote-path): Use it.
135
136 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * lisp/subr.el (redisplay-dont-pause): Mark as obsolete.
139
140 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
141
142 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
143 (tramp-accept-process-output): Use nil as argument for
144 `accept-process-output', when there is a gateway prepended.
145
146 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
147 wrong debug buffer.
148 (tramp-gw-open-connection): Set process coding system 'binary.
149 (tramp-gw-open-network-stream): Handle HTTP error 403.
150
151 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
152 wrong debug buffer.
153 (tramp-maybe-open-connection): Set connection property "gateway".
154
155 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * subr.el (sit-for): Tweak docstring (bug#19381).
158
159 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
160
161 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
162 stage to after `diff-index' (bug#19386).
163
164 2014-12-27 João Távora <joaotavora@gmail.com>
165
166 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
167 `electric-pair-mode' (bug#19356).
168
169 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
170
171 elisp-xref-find: Don't create buffers eagerly.
172
173 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
174 into `elisp--company-location'.
175 (elisp--identifier-completion-table): Rename to
176 `elisp--identifier-completion-table', and do not include just any
177 symbols with a property list.
178 (elisp-completion-at-point): Revert the 2014-12-25 change.
179 (elisp--xref-identifier-file): New function.
180 (elisp--xref-find-definitions): Use it.
181
182 * emacs-lisp/find-func.el (find-function-library): New function,
183 extracted from `find-function-noselect'.
184
185 * progmodes/xref.el (xref-elisp-location): New class.
186 (xref-make-elisp-location): New function.
187 (xref-location-marker): New implementation.
188
189 2014-12-27 Juri Linkov <juri@linkov.net>
190
191 * minibuffer.el (minibuffer-completion-help):
192 Use shrink-window-if-larger-than-buffer in window-height
193 when temp-buffer-resize-mode is nil.
194
195 * window.el (with-displayed-buffer-window): Remove window-height
196 from the action alist in the temp-buffer-window-show call
197 when window-height is handled explicitly afterwards (bug#19355).
198
199 2014-12-27 Juri Linkov <juri@linkov.net>
200
201 Support subdirectories when saving places in dired.
202 * saveplace.el (toggle-save-place, save-place-to-alist)
203 (save-places-to-alist, save-place-dired-hook):
204 Use dired-current-directory instead of dired-directory (bug#19436).
205 (save-place-dired-hook): Add check for alist to make the new
206 format future-proof to allow other possible formats.
207
208 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
209
210 python.el: Generate clearer shell buffer names.
211
212 * progmodes/python.el (python-shell-get-process-name)
213 (python-shell-internal-get-process-name): Use `buffer-name`.
214 (python-shell-internal-get-or-create-process): Simplify.
215
216 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
217
218 Add basic xref apropos implementation to elisp-mode.
219
220 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
221 Filter out nil results.
222 (elisp--xref-find-apropos): New function.
223 (elisp-xref-find): Use it.
224
225 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
226
227 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
228
229 * dired-aux.el (dired-maybe-insert-subdir): Make
230 dired-maybe-insert-subdir always skip trivial files.
231
232 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
233 Dmitry Gutov <dgutov@yandex.ru>
234
235 Consolidate cross-referencing commands.
236
237 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
238 `C-x 5 .' from etags.el to xref.el.
239
240 * progmodes/xref.el: New file.
241
242 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
243 (elisp--identifier-location): New function, extracted from
244 `elisp--company-location'.
245 (elisp--company-location): Use it.
246 (elisp--identifier-completion-table): New variable.
247 (elisp-completion-at-point): Use it.
248 (emacs-lisp-mode): Set the local values of `xref-find-function'
249 and `xref-identifier-completion-table-function'.
250 (elisp-xref-find, elisp--xref-find-definitions)
251 (elisp--xref-identifier-completion-table): New functions.
252
253 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
254 favor of `xref--marker-ring'.
255 (tags-lazy-completion-table): Autoload.
256 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
257 (find-tag-noselect): Use `xref-push-marker-stack'.
258 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
259 (etags--xref-limit): New constant.
260 (etags-xref-find, etags--xref-find-definitions): New functions.
261
262 2014-12-25 Martin Rudalics <rudalics@gmx.at>
263
264 * cus-start.el (resize-mini-windows): Make it customizable.
265
266 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
267
268 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
269 to (info "(emacs)Contributing"). (Bug#19299)
270
271 2014-12-24 Martin Rudalics <rudalics@gmx.at>
272
273 * window.el (mouse-autoselect-window-position-1): New variable.
274 (mouse-autoselect-window-cancel)
275 (mouse-autoselect-window-select, handle-select-window): With
276 delayed autoselection select window only if mouse moves after
277 selecting its frame.
278
279 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
280
281 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
282 remote file names. (Bug#18782)
283
284 2014-12-23 Sam Steingold <sds@gnu.org>
285
286 * shell.el (shell-display-buffer-actions): New user option.
287 (shell): Pass it to `pop-to-buffer' instead of hard-coding
288 `pop-to-buffer-same-window'.
289
290 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
293 (js-syntax-propertize-regexp): Use it to recognize "slash in
294 a character class" (bug#19397).
295
296 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * completion.el: Use post-self-insert-hook (bug#19400).
299 (completion-separator-self-insert-command)
300 (completion-separator-self-insert-autofilling): Remove.
301 (completion-separator-chars): New var.
302 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
303 of changing the keymap.
304 (completion--post-self-insert): New function.
305 (dynamic-completion-mode): Use it instead of rebinding keys.
306 (cmpl--completion-string): Rename from completion-string.
307 (add-completion-to-head, delete-completion): Let-bind it explicitly.
308
309 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
310
311 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
312 by leveraging `syntax-ppss'.
313
314 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
315
316 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
317
318 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
319
320 * net/tramp-sh.el (tramp-histfile-override): Add :version.
321
322 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
323
324 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
325
326 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
327
328 * let-alist.el (let-alist): Enable access to deeper alists by
329 using dots inside the dotted symbols.
330
331 2014-12-19 Alan Mackenzie <acm@muc.de>
332
333 Make C++11 uniform init syntax work.
334 New keywords "final" and "override"
335 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
336 New function.
337 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
338 new function.
339 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
340 carefully for "are we at a declarator?" using
341 c-back-over-member-initializers.
342 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
343 and "override" in the C++ value.
344
345 2014-12-19 Martin Rudalics <rudalics@gmx.at>
346
347 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
348
349 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
350
351 * net/nsm.el (nsm-save-host): Don't save the host name twice
352 (bug#19269).
353
354 2014-12-18 Sam Steingold <sds@gnu.org>
355
356 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
357 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
358 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
359 * menu-bar.el (menu-bar-buffer-vector): Extract from
360 `menu-bar-update-buffers'.
361 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
362 (buffer-menu-open): New user command, bound globally to C-f10,
363 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
364 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
365 convert the value returned by `mouse-buffer-menu-map' to a list
366 acceptable to `popup-menu' for `buffer-menu-open'.
367
368 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
369
370 * let-alist.el (let-alist): Evaluate the `alist' argument only
371 once.
372
373 2014-12-18 Sam Steingold <sds@gnu.org>
374
375 * emacs-lisp/package.el: Avoid compilation warning by declaring
376 the `find-library-name' function.
377 (package-activate-1): Fix the `with-demoted-errors' calls:
378 the first argument must be a string literal.
379
380 2014-12-18 Martin Rudalics <rudalics@gmx.at>
381
382 Add code for "preserving" window sizes.
383 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
384 `preserve-size' t.
385 (dired-mark-pop-up): Preserve size of window showing marked
386 files.
387 * electric.el (Electric-pop-up-window):
388 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
389 with `preserve-size' t.
390 * minibuffer.el (minibuffer-completion-help): Use
391 `resize-temp-buffer-window' instead of `fit-window-to-buffer'
392 (Bug#19355). Preserve size of completions window.
393 * register.el (register-preview): Preserve size of register
394 preview window.
395 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
396 with `preserve-size' t (Bug#1291).
397 * window.el (with-displayed-buffer-window): Add calls to
398 `window-preserve-size'.
399 (window-min-pixel-size, window--preservable-size)
400 (window-preserve-size, window-preserved-size)
401 (window--preserve-size, window--min-size-ignore-p): New
402 functions.
403 (window-min-size, window-min-delta, window--resizable)
404 (window--resize-this-window, split-window-below)
405 (split-window-right): Amend doc-string.
406 (window--min-size-1, window-sizable, window--size-fixed-1)
407 (window-size-fixed-p, window--min-delta-1)
408 (frame-windows-min-size, window--max-delta-1, window-resize)
409 (window--resize-child-windows, window--resize-siblings)
410 (enlarge-window, shrink-window, split-window): Handle preserving
411 window sizes.
412 (adjust-window-trailing-edge): Handle preserving window
413 sizes. Signal user-error instead of an error when there's no
414 window above or below.
415 (window--state-put-2): Handle horizontal scroll bars.
416 (window--display-buffer): Call `preserve-size' if asked for.
417 (display-buffer): Mention `preserve-size' alist member in
418 doc-string.
419 (fit-window-to-buffer): New argument PRESERVE-SIZE.
420 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
421 scroll bar on ispell's windows. Don't count window lines and
422 don't deal with dedicated windows.
423 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
424 do the window handling.
425 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
426 (ispell-display-buffer): New function to reuse, create and fit
427 window to ispell's buffers. (Bug#3413)
428
429 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
430
431 * emacs-lisp/package.el (package-activate): Do not re-activate or
432 reload the dependencies (bug#19390).
433
434 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
437 (c-update-modeline):
438 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
439 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
440 (c-mode-base-map): Use c-subword-mode.
441
442 2014-12-18 Eli Zaretskii <eliz@gnu.org>
443
444 * international/mule-diag.el (describe-font-internal):
445 Display additional info returned by font-info.
446
447 * linum.el (linum--face-width): Rename from linum--face-height,
448 and use the new functionality of font-info.
449 (linum-update-window): Use linum--face-width and frame-char-width,
450 instead of approximating with height.
451
452 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
453
454 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
455 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
456
457 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
458 and a docstring.
459 (package-activate): Call itself on dependencies on PACKAGE with
460 the same FORCE argument. Pass FORCE as RELOAD into
461 `package-activate-1' (bug#19390).
462
463 2014-12-17 Sam Steingold <sds@gnu.org>
464
465 * emacs-lisp/package.el (package--list-loaded-files):
466 Handle `(nil ...)' elements in `load-history'.
467
468 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
469
470 * net/tramp-sh.el (tramp-histfile-override): New variable.
471 (tramp-open-shell, tramp-maybe-open-connection): Use it.
472
473 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
474
475 * vc/vc.el: Improve `dir-status-files' description.
476
477 * emacs-lisp/package.el (package--list-loaded-files): Don't call
478 file-truename on load-history elements (bug#19390).
479
480 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
481
482 * emacs-lisp/seq.el: New file.
483
484 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
487 is 0 and there is no input pending.
488
489 2014-12-15 Juri Linkov <juri@linkov.net>
490
491 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
492 only on the return value (bug#19383).
493
494 2014-12-15 Juri Linkov <juri@linkov.net>
495
496 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
497 the wrapped search by the length of the search string to be able
498 to lazy-highlight the whole search string at point (bug#19353).
499
500 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
501
502 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
503
504 2014-12-14 Alan Mackenzie <acm@muc.de>
505
506 * lisp/cus-start.el (all): Add fast-but-imprecise-scrolling.
507
508 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
509
510 * let-alist.el: Add lexical binding.
511
512 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
513
514 * emacs-lisp/package.el (package-menu-mode): Use an extra column
515 for the "Version" column, to accomodate date-and-time-based
516 versions.
517
518 2014-12-14 Cameron Desautels <camdez@gmail.com>
519
520 * cus-edit.el (custom-unsaved-options): New function, extracted
521 from `customize-unsaved'.
522 (custom-unsaved): Use it.
523 (custom-prompt-customize-unsaved-options): New function.
524 (Bug#19328)
525
526 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
527
528 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
529
530 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
531
532 Move ASYNC argument to the `diff' VC command to the fifth
533 position, for better compatibility with existing third-party code,
534 and document it.
535
536 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
537 backend `diff' command in the last position.
538
539 * vc/vc-svn.el (vc-svn-diff):
540 * vc/vc-src.el (vc-src-diff):
541 * vc/vc-sccs.el (vc-sccs-diff):
542 * vc/vc-rcs.el (vc-rcs-diff):
543 * vc/vc-mtn.el (vc-mtn-diff):
544 * vc/vc-hg.el (vc-hg-diff):
545 * vc/vc-git.el (vc-git-diff):
546 * vc/vc-dav.el (vc-dav-diff):
547 * vc/vc-cvs.el (vc-cvs-diff):
548 * vc/vc-bzr.el (vc-bzr-diff):
549 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
550
551 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
552
553 * emacs-lisp/cconv.el (cconv--analyze-use):
554 Rename from cconv--analyse-use.
555 (cconv--analyze-function): Rename from cconv--analyse-function.
556 (cconv-analyze-form): Rename from cconv-analyse-form.
557
558 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
559
560 * net/shr.el (shr-next-link): Don't error out at eob.
561
562 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
563
564 * isearch.el (isearch-open-necessary-overlays): Open overlay
565 ending at point (bug#19333).
566
567 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
568
569 * net/shr.el (shr-fold-text): New function.
570 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
571 alt/title texts.
572 (shr-fold-text): Inhibit state from being altered.
573
574 * files.el (directory-files-recursively): Really check whether
575 files are symlinks.
576 (directory-name-p): New function.
577 (directory-files-recursively): Use it.
578
579 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
580
581 * emacs-lisp/package.el (package--list-loaded-files): New function
582 to list files in a given directory which correspond to already
583 loaded files.
584 (package-activate-1): Reload files given by `package--list-loaded-files'.
585 Fix bug#10125, bug#18443, and bug#18448.
586
587 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
588
589 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
590
591 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
592
593 * simple.el (password-word-equivalents): Add "passcode", used for
594 numeric secrets like PINs or RSA tokens.
595
596 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
597
598 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
599 order to determine `tramp-own-remote-path'.
600
601 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
602
603 * progmodes/python.el (python-shell-parse-command):
604 Quote `python-shell-interpreter`. (Bug#19289)
605
606 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
609 (python-indent-levels): Document extra value.
610 (python-indent-calculate-indentation): Return `noindent' in strings.
611 (python-indent-post-self-insert-function)
612 (python-indent-calculate-levels): Handle new value.
613
614 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
615
616 * net/network-stream.el (network-stream-open-starttls): No need to
617 check for the availability of `gnutls-available-p'.
618
619 * files.el (directory-files-recursively): Don't follow symlinks to
620 other directories.
621
622 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
623
624 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
625 * vc/vc.el: latest-on-branch-p is no longer a public method.
626
627 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
628 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
629 Remove `rollback' method, to be replaced in the future by uncommit.
630
631 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
632
633 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
634 that there is empty output.
635
636 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
639 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
640
641 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
642
643 * let-alist.el: Add new package and macro.
644
645 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
646
647 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
648 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
649 it's a shoot-self-in-foot archaism. Workfiles are always kept.
650
651 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
652
653 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
654 trouble with ls over ftp. These flags result in ls returning no
655 output, causing Tramp-breakage. (bug#19192)
656
657 2014-12-10 Andreas Schwab <schwab@suse.de>
658
659 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
660
661 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
662
663 * files.el (directory-files-recursively):
664 Use `file-name-all-completions' instead of `directory-files' for
665 greater speed.
666
667 * net/shr.el (shr-tag-object): Don't bug out on text elements in
668 <object>.
669
670 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
671
672 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
673 and Puppetfile.
674 (ruby-toggle-string-quotes): New command that allows you to quickly
675 toggle between single-quoted and double-quoted string literals.
676
677 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
678
679 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
680 list, avoids problems witt names containing hyphens.
681
682 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
683
684 Sync with upstream verilog-mode revision aa4b777.
685 * progmodes/verilog-mode.el (verilog-mode-version): Update.
686 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
687 (verilog-set-auto-endcomments): Automatically comment property/
688 endproperty blocks to match other similar blocks like sequence/
689 endsequence, function/endfunction, etc. Reported by Alex Reed.
690 (verilog-set-auto-endcomments): Fix end comments for functions of
691 type void, etc. Detect the function- or task-name when
692 auto-commenting blocks that lack an explicit portlist.
693 Reported by Alex Reed.
694 (verilog-nameable-item-re): Fix nameable items that can have an
695 end-identifier to include endchecker, endgroup, endprogram,
696 endproperty, and endsequence. Reported by Alex Reed.
697 (verilog-preprocessor-re, verilog-beg-of-statement):
698 Fix indentation of property/endproperty around pre-processor
699 directives. Reported by Alex Reed.
700 (verilog-label-be): When auto-commenting a buffer, consider
701 auto-comments on all known keywords (not just a subset thereof).
702 Reported by Alex Reed.
703 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
704 Reported by Alex Reed.
705 (verilog-beg-of-statement-1, verilog-at-constraint-p):
706 Fix hanging with many curly-bracket pairs, bug663.
707 (verilog-do-indent): Fix electric tab deleting form-feeds.
708 Note caused by indent-line-to deleting tabls pre 24.5.
709 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
710 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
711 (verilog-read-always-signals, verilog-auto-sense-sigs)
712 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
713 bug844. Reported by Greg Hilton.
714
715 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
716
717 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
718 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
719 'foreach', and 'do' keywords.
720 (verilog-endcomment-reason-re, verilog-beg-of-statement):
721 Fix labeling do-while blocks, bug842.
722 (verilog-backward-token): Fix indenting sensitivity lists with
723 named events, bug840.
724
725 2014-12-09 Reto Zimmermann <reto@gnu.org>
726
727 Sync with upstream vhdl mode v3.36.1.
728 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
729 (vhdl-compiler-alist): Anchor all error regexps.
730 (vhdl-compile-use-local-error-regexp): Change default to nil.
731 (vhdl-asort, vhdl-anot-head-p): Remove.
732 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
733 Remove optional argument of vhdl-aget and update all callers.
734 (vhdl-import-project): Also set `vhdl-compiler'.
735
736 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
737
738 * files.el (find-files): New function.
739
740 * net/shr.el (shr-dom-print): Don't print comments.
741 (shr-tag-svg): Give inline SVG images the right type.
742
743 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
744 certificates in the header line.
745 (eww-invalid-certificate, eww-valid-certificate): New faces.
746
747 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
748
749 * progmodes/python.el (inferior-python-mode):
750 Set `comint-prompt-read-only` to `t` only locally.
751
752 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
753
754 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
755 (nsm-format-certificate): Include more data about the connection.
756 (nsm-query): Fill the text to that it looks nicer.
757 (nsm-check-protocol): Also warn if using SSL3 or older.
758
759 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
762
763 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
764
765 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
766
767 * info.el (Info-mode-map): Remove left-over binding.
768
769 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
770 (avl-tree--root): Remove redundant defsetf.
771
772 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
773
774 * net/nsm.el (network-security-level): Remove the detailed
775 description, which was already outdated, and refer the users to
776 the manual.
777 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
778 (bug#19153).
779
780 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
781
782 * net/eww.el (eww-buffers-mode): New major mode.
783 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
784 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
785 New commands/functions (bug#19131).
786
787 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
788
789 * net/gnutls.el (gnutls-negotiate): Ignore files found via
790 'file-name-handler-alist' since the gnutls library can't use those
791 (bug#15866).
792
793 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
794
795 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
796 when FILES is non-nil (bug#19304).
797
798 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
799
800 * vc/vc-arch.el: Move to obsolete directory so a test framework
801 won't trip over bit-rot in it. There has been no Arch snapshot
802 for nine years.
803
804 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
805
806 * net/eww.el (eww-follow-link): Revert prefix behaviour to
807 previous behavior.
808 (eww-copy-page-url): Add doc string.
809
810 2014-12-07 Ivan Shmakov <ivan@siamics.net>
811
812 * net/eww.el (eww): Move history recording here...
813 (eww-browse-url): ... from here (bug#19253).
814
815 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
816 iterating over possible buffer names.)
817
818 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
819
820 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
821 (eww-current-buffer): Compilation fix for bug#18550 patch.
822
823 2014-12-07 Ivan Shmakov <ivan@siamics.net>
824
825 * net/eww.el (eww-list-histories): Restore the history in the
826 correct buffer (bug#18550).
827
828 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
829
830 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
831 displaying shortened titles first (bug#16398).
832
833 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
834
835 * progmodes/python.el: Recognize docstrings.
836 (python-docstring-at-p, python-font-lock-syntactic-face-function):
837 New functions.
838 (python-mode): Use them.
839
840 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
841
842 * net/newst-treeview.el (newsticker--treeview-list-add-item)
843 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
844 (newsticker--treeview-create-groups-menu)
845 (newsticker--treeview-create-tree-menu): Remove.
846 (newsticker--treeview-tree-open-menu): New.
847 (newsticker-treeview-tree-click): Pass event to
848 `newsticker-treeview-tree-do-click'.
849 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
850
851 2014-12-05 Juri Linkov <juri@linkov.net>
852
853 * comint.el (comint-history-isearch-search)
854 (comint-history-isearch-wrap): Use field-beginning instead of
855 comint-line-beginning-position.
856 (comint-send-input): Go to the end of the field instead of the end
857 of the line to accept whole multi-line input.
858 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
859
860 2014-12-05 Juri Linkov <juri@linkov.net>
861
862 * minibuffer.el (minibuffer-completion-help):
863 Compare selected-window with minibuffer-window to check whether
864 completions should be displayed near the minibuffer. (Bug#17809)
865 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
866
867 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
868
869 * vc/vc-mtn.el (vc-mtn-root):
870 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
871
872 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
875 of the whole pipe when indenting an opening keyword after a |.
876 Generalize this treatment to opening keywords like "while" (bug#18031).
877
878 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
879
880 * simple.el (newline): Place the hook buffer-locally,
881 to make sure it's first.
882
883 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
884 Fix handling of symbols with different syntax at beginning/end or with
885 symbol rather than word syntax.
886
887 2014-12-05 Eli Zaretskii <eliz@gnu.org>
888
889 * simple.el (line-move): If noninteractive, call line-move-1, not
890 forward-line, since the former is compatible with line-move-visual
891 both in terms of the column to which it moves and the return
892 value. (Bug#19211)
893
894 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * vc/ediff-init.el (ediff-odd-p): Remove.
897 (ediff-background-face): Use cl-oddp instead.
898 (ediff-buffer-live-p): Make it a defsubst.
899
900 * tooltip.el (tooltip-region-active-p): Remove.
901
902 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
903 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
904
905 * fringe.el (fringe-bitmap-p): Make it a plain function.
906
907 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
908 (class-p, generic-p, eieio-object-p, class-abstract-p):
909 Make them defsubst, so as to avoid corner case problems where
910 the arg might be evaluated in the condition-case, or it can't be passed
911 to higher-order functions like `cl-some'.
912
913 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
914
915 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
916 and remove old menu-related code.
917
918 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
919
920 * net/eww.el (eww-display-pdf): Let mailcap determine how to
921 display PDF files (bug#19270).
922
923 2014-12-05 Juri Linkov <juri@linkov.net>
924
925 Compare with the most recent window by default.
926 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
927 (compare-windows-get-recent-window)
928 (compare-windows-get-next-window): New functions.
929 (compare-windows, compare-windows-sync-default-function):
930 Use `compare-windows-get-window-function' instead of `next-window'.
931 (compare-windows): Add diff/match messages with region boundaries.
932 (Bug#19170)
933
934 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
937
938 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
939
940 * net/shr.el (shr--extract-best-source): Ignore non-text children.
941
942 2014-12-04 Eli Zaretskii <eliz@gnu.org>
943
944 Implement copying of a buffer portion while preserving visual order.
945 * simple.el (bidi-directional-controls-chars)
946 (bidi-directional-non-controls-chars): New variables.
947 (squeeze-bidi-context-1, squeeze-bidi-context)
948 (line-substring-with-bidi-context)
949 (buffer-substring-with-bidi-context): New functions.
950
951 * files.el (file-tree-walk): Doc fix.
952
953 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
954 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
955
956 * autoinsert.el (auto-insert-alist): Update C/C++ header and
957 program support to match more extensions. Replace non-alnum
958 characters when generating include guards (headers) and check for
959 more extensions when generating includes (programs)
960 (bug#19254).
961
962 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
963
964 * files.el (file-tree-walk): Fix docstring.
965
966 2014-12-03 Karl Fogel <kfogel@red-bean.com>
967
968 Fix bug whereby saving files hung in VC hook.
969
970 Saving a buffer visiting a file under SVN control would hang if
971 the remote repository were unreachable, because the VC hooks tried
972 to run "svn status -u" on the file, where the "-u" tells svn to
973 get update information from the remote repository.
974 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
975
976 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
977 argument and always pass "-v" to "svn status", never "-u".
978
979 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * emacs-lisp/inline.el: Fix up copyright header.
982 (inline-quote, inline-const-p, inline-const-val, inline-error):
983 Silence compiler warnings.
984 (inline-letevals): Fix edebug spec.
985 (inline--testconst-p): Consider lambda expressions as const-p.
986 (inline--getconst-val): Use inline--testconst-p.
987
988 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
989 and change default to stay in the minibuffer when called from
990 the minibuffer (bug#19250).
991 (lazy-completion-table): Use this new argument to preserve the
992 old behavior.
993
994 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
995 incorrect lexical elements (bug#19250).
996
997 2014-12-03 A. N. Other <none@example.com>
998
999 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
1000
1001 2014-12-02 Glenn Morris <rgm@gnu.org>
1002
1003 * whitespace.el (whitespace-big-indent-regexp): Add :version.
1004
1005 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
1006
1007 * subr.el (filter): New macro. Because it's just silly for a Lisp
1008 not to have this in 2014. And VC needs it.
1009
1010 * vc.el: All backends: API simplification: Abolish dir-status.
1011 It's replaced by dir-status-files.
1012
1013 * vc.el: All backends: API simplification: Remove 4th
1014 'default-state' argument from vc-dir-status files and its backend
1015 methods - no backend method ever set it. It was used only in the
1016 fallback method to to set a default of 'up-to-date, though a
1017 convoluted call chain obscured this.
1018
1019 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
1020
1021 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
1022 improving behavior on directories using multiple file-oriented VCSes.
1023
1024 * vc/vc.el: All backends: API simplification; clear-headers
1025 is no longer a public method. It is now local to the one place
1026 it's used, in the RCS steal-lock method.
1027
1028 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1029
1030 * vc/vc.el: In all backends: API simplification; could-register
1031 is no longer a public method. (vc-cvs.el still has a private
1032 implementation.)
1033
1034 * vc/vc.el: In all backends: API cleanup; the backend diff method
1035 takes an explicit async flag. This eliminates a particularly ugly
1036 global.
1037
1038 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
1039 VC randomly/unpredictably fails without it; cause not yet established.
1040
1041 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 Merge some of the differences from the standalone CC-mode.
1044 The main change is to only use the `category' text-property only when
1045 available. For that many calls are changed to use c-get-char-property,
1046 c-next-single-property-change, c-sc-scan-lists,
1047 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
1048
1049 * progmodes/cc-mode.el (c-just-done-before-change): New var.
1050 (c-basic-common-init): Initialize it.
1051 (c-common-init): Only use mode-require-final-newline when available.
1052 (c-before-change): Check and set c-just-done-before-change.
1053 (c-after-change): Re-set c-just-done-before-change.
1054 (c-advise-fl-for-region): New macro.
1055 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
1056 (font-lock-after-change-function, jit-lock-after-change):
1057 Advise if needed.
1058
1059 * progmodes/cc-langs.el (c-modified-constant): New lang var.
1060 (c-known-type-key): Don't make a list just to throw it away.
1061
1062 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
1063 Handle the case where categories are not available.
1064 (c-record-parse-state-state, c-replay-parse-state-state):
1065 Handle marker values.
1066 (c-before-change-check-<>-operators): Look for the `syntax-table'
1067 property rather than for the corresponding `category'.
1068 (c-looking-at-decl-block): Remove unused var
1069 `c-disallow-comma-in-<>-arglists'.
1070 (c-forward-<>-arglist-recur): Remove unused var
1071 `orig-record-found-types'.
1072
1073 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
1074 (c-use-category): New const.
1075 (c-next-single-property-change): New macro.
1076 (c-region-is-active-p): Prefer region-active-p when available.
1077 (c-search-backward-char-property): Fix old min/max typo; probably
1078 a copy/paste error.
1079 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
1080 Turn them into macros that obey c-use-category.
1081 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
1082 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
1083 (c-sc-scan-lists, c-sc-parse-partial-sexp)
1084 (c-looking-at-non-alphnumspace): New macros.
1085 (c-sc-parse-partial-sexp-no-category): New function.
1086 (c-emacs-features): Add `category-properties' element.
1087
1088 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1089 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
1090 not available.
1091 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
1092 (c-indent-line-or-region): Use c-region-is-active-p.
1093
1094 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
1095 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
1096 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
1097 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
1098 (cc-bytecomp-obsolete-fun): Delete unused functions.
1099
1100 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
1101
1102 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1103
1104 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
1105 dom.el changes.
1106
1107 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
1110 current "project" rather than just the current directory.
1111 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
1112 the file names make sense.
1113
1114 * vc/smerge-mode.el (smerge-swap): New command.
1115
1116 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
1117
1118 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
1119
1120 * net/newst-treeview.el (newsticker--treeview-item-show):
1121 Check window liveliness before measuring its width.
1122
1123 * net/newst-backend.el (newsticker--get-news-by-url-callback):
1124 Pass correct status to `newsticker--sentinel-work'.
1125 (newsticker--sentinel-work): Use "newsticker--download-error" as
1126 guid in order to prevent multiple "Could not download..."
1127 messages. Fixes bug#19166.
1128
1129 2014-12-01 Ivan Shmakov <ivan@siamics.net>
1130
1131 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
1132 correct buffer (bug#19225).
1133
1134 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1135
1136 * net/nsm.el (network-security-level): Change the default to `medium'.
1137
1138 * net/eww.el (eww): Leave point in a place that doesn't cause
1139 scrolling when displaying "Loading...".
1140
1141 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1142
1143 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
1144 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
1145 'merge-branch'. Prompting for merge revisions is pushed down to
1146 the back ends; this fixes a layering violation that caused bad
1147 behavior with SVN.
1148
1149 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1150 vc-stay-local-p and repository-hostname are no longer public
1151 methods. Only the CVS and SVN backends used these, and the SVN
1152 support was conditioned out because svn status -v is too slow.
1153 The CVS back end retains this machinery and the vc-stay-local
1154 configuration variable now only affects it.
1155
1156 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * emacs-lisp/inline.el: New file.
1159
1160 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1161
1162 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1163 vc-state-heuristic is no longer a public method, having been
1164 removed where it is redundant, unnecessary, or known buggy.
1165 This eliminated all backends except CVS. Eliminates bug#7850.
1166
1167 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
1168 Eliminate vc-mistrust-permissions. It was only relevant to the
1169 RCS and SCCS back ends and defaulted to t. Code now always
1170 mistrusts permissions - by actual measurement the effect on
1171 performance is negligible. As a side effect bug#11490 is now
1172 irrelevant.
1173
1174 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1175 vc-workfile-unchanged-p is no longer a public method (but the RCS
1176 and SCCS back ends retain it as a private method used in state
1177 computation). This method was redundant with vc-state and usually
1178 implemented as a trivial call to same. Fixes the failure mode
1179 described in bug#694.
1180
1181 * vc/vc.el: All backends: API simplification; init-revision is
1182 gone, and vc-registered functions no longer take an
1183 initial-revision argument.
1184
1185 2014-11-29 Glenn Morris <rgm@gnu.org>
1186
1187 * vc/vc-src.el (vc-src, vc-src-diff-switches)
1188 (vc-src-master-templates): Fix :version tags.
1189
1190 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
1191
1192 * outline.el (outline-move-subtree-down): Refactor and improve code.
1193
1194 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
1195 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * outline.el (outline-move-subtree-down): Make sure we can move
1198 forward to find the end of the subtree and the insertion point
1199 (bug#19102).
1200
1201 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
1202
1203 * progmodes/python.el (python-shell-completion-setup-code):
1204 Use __builtin__ module (or builtins in Python 3) and catch all errors
1205 when importing readline and rlcompleter.
1206
1207 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
1208
1209 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
1210 (todo-revert-buffer): New function.
1211 (todo-modes-set-1): Use it as the buffer-local value of
1212 revert-buffer-function.
1213
1214 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
1215
1216 * calendar/todo-mode.el (todo-mode): If called interactively, just
1217 display a message saying to call todo-show to enter Todo mode
1218 (Bug#19112).
1219
1220 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
1221
1222 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
1223 (Bug#18579)
1224
1225 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
1226 files. (Bug#18579)
1227
1228 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
1229
1230 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
1231 remote `buffer-file-name'.
1232
1233 2014-11-29 Leo Liu <sdl.web@gmail.com>
1234
1235 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
1236
1237 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
1238
1239 Set PYTHONUNBUFFERED on shell startup.
1240
1241 * progmodes/python.el (python-shell-unbuffered): New var.
1242 (python-shell-calculate-process-environment): Use it.
1243
1244 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
1245
1246 * net/tramp.el (tramp-action-password): Clean password on subsequent
1247 attempts even if there was no wrong password indication. (Bug#19047)
1248
1249 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
1250 fallback.
1251 (tramp-open-connection-setup-interactive-shell): No need to check
1252 for nil as `tramp-get-remote-locale' return value.
1253
1254 2014-11-29 Eli Zaretskii <eliz@gnu.org>
1255
1256 * vc/vc-git.el (vc-git-command, vc-git--call):
1257 Bind coding-system-for-read and coding-system-for-write to
1258 vc-git-commits-coding-system.
1259 (vc-git-previous-revision): Use "~1" instead of "^", since the
1260 latter is a special character for MS-Windows system shells.
1261
1262 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
1263
1264 Improve XEmacs compatibility.
1265
1266 * net/tramp.el (tramp-autoload-file-name-handler):
1267 Wrap `temporary-file-directory' by `symbol-value', it doesn't
1268 exist in XEmacs.
1269 (tramp-read-passwd): Don't use `with-timeout-suspend' and
1270 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
1271 (tramp-time-less-p, tramp-time-subtract): Remove functions.
1272 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
1273 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
1274 * net/tramp-cache.el (tramp-get-file-property):
1275 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
1276 Use `time-less-p' and `time-subtract, respectively.
1277
1278 * net/tramp-adb.el (top): Do not require time-date.el.
1279
1280 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
1281
1282 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1283 Check, whether `utf-8' is a valid coding system.
1284
1285 2014-11-29 Eli Zaretskii <eliz@gnu.org>
1286
1287 * vc/vc.el (vc-retrieve-tag): Doc fix.
1288
1289 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
1292 (bug#19152).
1293
1294 2014-11-28 Martin Rudalics <rudalics@gmx.at>
1295
1296 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
1297 * help.el (help-window-old-frame): New variable.
1298 (help-window-select): Default to nil (Bug#11039).
1299 Rewrite doc-string.
1300 (help-window-setup): When the help window appears on another
1301 frame and `help-window-select' is non-nil, give that frame input
1302 focus too (Bug#19012).
1303 (with-help-window): Store selected frame in
1304 help-window-old-frame.
1305
1306 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
1307
1308 * net/newst-treeview.el (newsticker--treeview-load): Take care of
1309 nil value for `newsticker-groups-filename'.
1310
1311 2014-11-28 Daiki Ueno <ueno@gnu.org>
1312
1313 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1314 (epa-sign-region, epa-encrypt-region):
1315 Use `epg-context-set-{passphrase,progress}-callback', instead of
1316 `setf'. This partially reverts commit 9e48a95c (bug#19150).
1317 Reported by José A. Romero L.
1318
1319 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1320
1321 * net/eww.el (eww-restore-history):
1322 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
1323
1324 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
1325
1326 * net/newst-backend.el (newsticker--parse-atom-1.0):
1327 Handle embedded (x)html in summary node.
1328
1329 2014-11-27 Sam Steingold <sds@gnu.org>
1330
1331 * menu-bar.el (menu-bar-open): When everything else fails,
1332 use (mouse-menu-bar-map).
1333
1334 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
1335
1336 * net/newst-treeview.el (newsticker-groups-filename):
1337 Change default value to nil. Point out that variable is obsolete in doc
1338 string.
1339 (newsticker--treeview-load): Change wording of the questions the
1340 user is asked when `newsticker-groups-filename' is found to be
1341 used and we offer to read and remove the groups file. (Bug#19165)
1342
1343 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1344
1345 * net/eww.el (eww): Record the new URL immediately, so that if the
1346 HTTP fetch fails, we have the right URL in the buffer.
1347 (eww-process-text-input): Don't shorten the input field if
1348 deleting at the last character (bug#19085).
1349 (eww-restore-history): Inhibit change functions while restoring
1350 the history.
1351 (eww-process-text-input): Fix deletion at the start of the field, too.
1352 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
1353 (eww-process-text-input): Try to keep track of the size more reliably.
1354
1355 * dom.el (dom-pp): New function.
1356
1357 2014-11-27 Eli Zaretskii <eliz@gnu.org>
1358
1359 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
1360 Don't assume --long is the default for "bzr log", always specify
1361 it explicitly, in case the user defined an alias for 'log' that
1362 uses some other format.
1363
1364 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1365
1366 * progmodes/python.el (python-eldoc--get-doc-at-point):
1367 Strip shell output before returning. (bug#18794)
1368
1369 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
1370
1371 Fix indentation before `!=' and after `+='. Originally reported
1372 in https://github.com/mooz/js2-mode/issues/174.
1373 * progmodes/js.el (js--indent-operator-re): Make assignments and
1374 (in)equality operator a separate case.
1375 (js--continued-expression-p): Escape the second `+' in the regexp.
1376
1377 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
1380
1381 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1382
1383 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
1384 when querying about new certificates.
1385
1386 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
1387
1388 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
1389 can be strings.
1390 (dom-elements): Protect against non-text nodes.
1391 (dom-non-text-children): New function.
1392
1393 * net/eww.el (eww-tag-title): Use `dom-text'.
1394
1395 2014-11-26 Sam Steingold <sds@gnu.org>
1396
1397 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
1398
1399 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1400
1401 * net/eww.el (eww-highest-readability): More dom.el fixes.
1402
1403 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
1404
1405 * net/newst-backend.el (newsticker--parse-generic-items):
1406 Take care of UIDs when adding elements to cache.
1407
1408 2014-11-26 Alan Mackenzie <acm@muc.de>
1409
1410 Remove spurious reference to symbol category_properties.
1411 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
1412
1413 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1414
1415 * net/eww.el: Use the new dom.el accessors throughout.
1416
1417 * net/shr.el: Ditto.
1418
1419 * dom.el: New file.
1420
1421 2014-11-26 Glenn Morris <rgm@gnu.org>
1422
1423 * arc-mode.el (archive-visit-single-files): Add :version.
1424
1425 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1426
1427 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
1428 elements.
1429 (nsm-warnings-ok-p): The new version of this function always
1430 returned nil when everything was OK.
1431
1432 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
1433
1434 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
1435
1436 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
1437 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
1438
1439 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1440
1441 * emacs-lisp/byte-run.el (function-put): Match argument names to
1442 docstring.
1443
1444 2014-11-24 Sam Steingold <sds@gnu.org>
1445
1446 * vc/vc-hooks.el (vc-directory-exclusion-list):
1447 Fix a trivial typo (bug#19171).
1448
1449 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1450
1451 * vc/vc-hooks.el (vc-state-base-face): Don't override
1452 mode-line-inactive.
1453
1454 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1455
1456 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
1457 (eww-process-text-input): Inhibit read only so that input fields
1458 don't get shortened (bug#19085).
1459
1460 2014-11-24 Leo Liu <sdl.web@gmail.com>
1461
1462 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
1463
1464 * window.el (with-temp-buffer-window)
1465 (with-current-buffer-window, with-displayed-buffer-window):
1466 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
1467 * emacs-lisp/cl-lib.el (substring):
1468 * emacs-lisp/cl-extra.el (cl-getf): Use it.
1469
1470 2014-11-24 Eli Zaretskii <eliz@gnu.org>
1471
1472 * isearch.el (isearch-update): Don't assume
1473 pos-visible-in-window-p will return nil when point is hscrolled
1474 out of view. (Bug#19157)
1475
1476 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
1477
1478 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
1479 (eww-follow-link): Follow in new buffer in case of prefix
1480 argument, open externally with double prefix (bug#19130).
1481
1482 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1483
1484 * net/eww.el (eww-display-html): Decode the document-defined charset.
1485 (eww): Pop to the *eww* buffer immediately after executing the
1486 `M-x eww' command to avoid having buffers pop up later.
1487 (eww-display-html): Don't pop the *eww* buffer.
1488 (eww-display-raw): Ditto.
1489 (eww-display-image): Ditto.
1490 (eww-follow-link): Make going to #targets in the page work again.
1491
1492 2014-11-23 Ivan Shmakov <ivan@siamics.net>
1493
1494 * net/eww.el (eww-suggest-uris): New variable.
1495 (eww-suggested-uris): New function.
1496 (eww): Default to URL under point.
1497 (eww-links-at-point): New function.
1498
1499 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
1500
1501 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
1502
1503 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
1504
1505 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
1506
1507 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1508
1509 * net/eww.el (eww-set-character-encoding): New command and keystroke.
1510 (eww-display-raw): Use it (bug#16225).
1511
1512 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1513
1514 * net/nsm.el (network-security-level): Rename from
1515 `nsm-security-level' and documented.
1516
1517 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
1518 we're sending a password.
1519
1520 * net/nsm.el: New file that implements a Network Security Manager.
1521
1522 * net/network-stream.el (open-network-stream): Add a new
1523 :warn-unless-encrypted parameter.
1524 (network-stream-open-plain): Allow warning unless encrypted.
1525 (network-stream-open-starttls): Call the Network Security Manager.
1526 (network-stream-open-tls): Ditto.
1527
1528 2014-11-23 Leo Liu <sdl.web@gmail.com>
1529
1530 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
1531 (calendar-chinese-to-absolute-for-diary)
1532 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
1533 Handle leap months in Chinese calendar. (Bug#18953)
1534
1535 2014-11-22 Alan Mackenzie <acm@muc.de>
1536
1537 Fix error with `mark-defun' and "protected:" in C++ Mode.
1538 Fixes: debbugs:19134.
1539
1540 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
1541 return code of (label) from c-beginning-of-decl-1.
1542
1543 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
1544
1545 * net/newst-backend.el (newsticker--sentinel-work):
1546 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
1547
1548 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
1549
1550 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
1551 (tramp-sh-handle-process-file): Propagate `process-environment'.
1552
1553 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
1554 Tramp propagates environment variables now.
1555
1556 2014-11-22 Eric S. Raymond <esr@snark>
1557
1558 * vc/vc-filewise.el: New file to isolate code used only by the
1559 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
1560 live in vc.el and certainly not in vc-hooks.el.
1561
1562 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
1563 This is preparatory to isolating all the 'master' functions
1564 used only by the file-oriented back ends. With this done first,
1565 the substantive diffs will be easier to read.
1566
1567 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1568
1569 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
1570 that is recognized by `help-mode'.
1571
1572 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * desktop.el (desktop-create-buffer): Use activate-mark to set
1575 `mark-active' (bug#19058).
1576
1577 2014-11-21 Eric S. Raymond <esr@snark>
1578
1579 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
1580 nil state.
1581
1582 2014-11-21 Eli Zaretskii <eliz@gnu.org>
1583
1584 * vc/vc.el (vc-deduce-fileset): Support invocation from
1585 *vc-change-log* buffer. (Bug#19084)
1586
1587 2014-11-13 Matthew Leach <matthew@mattleach.net>
1588
1589 * arc-mode.el (archive-visit-single-files): New.
1590 (archive-mode): Visit file if archive contains a single file.
1591 (Bug#1702)
1592
1593 2014-11-21 Ulrich Müller <ulm@gentoo.org>
1594
1595 * vc/vc.el: Fix a typo in the commentary.
1596
1597 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
1598
1599 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
1600 testing and a real log-view mode.
1601
1602 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
1603 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
1604 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
1605 checkout methods; where it matters (which is only in SCCS and RCS)
1606 files are always checked out editable. This may actually have
1607 been dynamically true already - it looks like the vc-next-action
1608 code evolved past visiting the other case. Tested with RCS.
1609
1610 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
1611 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
1612 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
1613 argument from the backend checkin methods. Only the RCS, SCCS,
1614 and CVS back ends tried to do anything with it, and that code was
1615 never exercised. Chiseling away the cruft of decades...
1616
1617 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1618
1619 * net/eww.el (eww-render): Remove a no-op :title setting.
1620
1621 2014-11-19 Ivan Shmakov <ivan@siamics.net>
1622
1623 * net/eww.el (eww-history-limit): New variable.
1624 (eww-save-history): Use it (bug#19105).
1625 (eww-reload): Reload the page in the right buffer.
1626
1627 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1628
1629 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
1630
1631 2014-11-19 Ivan Shmakov <ivan@siamics.net>
1632
1633 * net/eww.el (eww-desktop-remove-duplicates)
1634 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
1635 (eww-mode): Set up desktop mode (bug#18010).
1636 (eww-desktop-data-save, eww-desktop-data-1)
1637 (eww-desktop-history-duplicate, eww-desktop-misc-data)
1638 (eww-restore-desktop): New functions.
1639
1640 2014-11-19 Eli Zaretskii <eliz@gnu.org>
1641
1642 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
1643 correct buffer. (Bug#19101)
1644
1645 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1646
1647 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
1648 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
1649
1650 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
1651
1652 * lisp/ido.el (ido-bury-buffer-at-head): New command.
1653 (ido-buffer-completion-map): Bind it to C-S-b.
1654
1655 2014-11-18 Juri Linkov <juri@linkov.net>
1656
1657 * simple.el (next-line-or-history-element): Wrap next-line
1658 in with-no-warnings.
1659 (previous-line-or-history-element): Wrap previous-line
1660 in with-no-warnings.
1661
1662 2014-11-18 Juri Linkov <juri@linkov.net>
1663
1664 * progmodes/grep.el (grep-compute-defaults):
1665 Compute grep-highlight-matches before its use.
1666
1667 2014-11-18 Juri Linkov <juri@linkov.net>
1668
1669 * replace.el (query-replace-from-to-separator): Turn defvar into
1670 defcustom. Wrap char-displayable-p in ignore-errors because an
1671 attempt to autoload char-displayable-p fails during pre-loading.
1672 Move (propertize "\0" ... 'separator t) out of customizable part
1673 to query-replace-read-from.
1674 (query-replace-read-from): Call custom-reevaluate-setting on
1675 query-replace-from-to-separator to reevaluate the separator
1676 depending on the return value of char-displayable-p.
1677 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
1678
1679 2014-11-18 Juri Linkov <juri@linkov.net>
1680
1681 * bindings.el (minibuffer-local-map): Rebind [down] from
1682 next-history-element to next-line-or-history-element, and [up]
1683 from previous-history-element to previous-line-or-history-element.
1684
1685 * simple.el (next-line-or-history-element)
1686 (previous-line-or-history-element): New commands.
1687 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
1688
1689 2014-11-18 Leo Liu <sdl.web@gmail.com>
1690
1691 * emacs-lisp/nadvice.el (define-advice): New macro.
1692 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1693 Add define-advice.
1694 (lisp-font-lock-keywords-1): Add define-advice.
1695
1696 2014-11-18 Daiki Ueno <ueno@gnu.org>
1697
1698 * epg.el (epg-context): New slot EDIT-CALLBACK.
1699 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
1700 (epg-reset): Reset EDIT-CALLBACK of the context.
1701 (epg-start-edit-key): New function.
1702 (epg-edit-key): New function.
1703
1704 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
1705
1706 Port new time stamp handling to Emacs 23.2.
1707 This fix is for Gnus. Problem reported by Katsumi Yamaoka.
1708 * calendar/time-date.el (time-add, time-subtract, time-less-p):
1709 Use eval-and-compile, not eval-when-compile.
1710
1711 2014-11-18 Daiki Ueno <ueno@gnu.org>
1712
1713 * epg.el (epg-context-set-passphrase-callback)
1714 (epg-context-set-progress-callback): Check if the CALLBACK
1715 argument is a function, instead of a cons.
1716
1717 2014-11-18 Daiki Ueno <ueno@gnu.org>
1718
1719 * epa-file.el (epa-file-insert-file-contents)
1720 (epa-file-write-region): Remove redundant check of
1721 epa-pinentry-mode.
1722 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1723 (epa-sign-region, epa-encrypt-region): Remove redundant check of
1724 epa-pinentry-mode.
1725
1726 2014-11-18 Daiki Ueno <ueno@gnu.org>
1727
1728 * epa-file.el (epa-file-insert-file-contents): Don't show
1729 "*Error*" buffer if input file does not exist.
1730 Reported by Herbert J. Skuhra.
1731
1732 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
1733 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1734
1735 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
1736 An alternative version of the patch from bug#13871.
1737 (c-operators): Add "alignof".
1738 (c-primitive-type-kwds): Add "char16_t", "char32_t".
1739 (c-type-modifier-kwds): Add "constexpr", "noexcept".
1740 (c-modifier-kwds): Add "thread_local".
1741 (c-constant-kwds): Add "nullptr".
1742
1743 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
1744
1745 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
1746 New variables for specifying tildify pattern and representation of
1747 a hard space -- a no-break space by default -- respectively.
1748 Being buffer-local they are much easier to handle than
1749 `tildify-string-alist' and `tildify-pattern-alist' respectively
1750 that have been used so far. They also works better with derived
1751 modes.
1752 (tildify-foreach-region-function): New variable specifying
1753 a function determining portions of buffer that should be
1754 tildified. It allows major modes to create a filtering function
1755 more elaborate than a set of regular expressions. Initialised to
1756 `tildify--deprecated-ignore-evironments' by default to handle now
1757 deprecated `tildify-ignored-environments-alist' variable.
1758 (tildify--foreach-region): A new function that takes
1759 `tildify-foreach-region-function' into account and calls callback
1760 for regions of the buffer that should be tildified.
1761 (tildify-foreach-ignore-environments): A new function which can be
1762 partially applied and used as `tildify-foreach-region-function'.
1763 (tildify-ignored-environments-alist, tildify-pattern)
1764 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
1765 (tildify--find-env): Rename from `tildify-find-env' and mark as
1766 obsolete.
1767 (tildify--deprecated-ignore-evironments): New function,
1768 immediately marked as obsolete, used to handle deprecated
1769 `tildify-ignored-environments-alist'.
1770
1771 * textmodes/tex-mode.el (tex-common-initialization):
1772 Set `tildify-space-string' and `tildify-foreach-region-function'
1773 variables in all variants of TeX mode since `tildify-string-alist'
1774 and `tildify-ignored-environments-alist' are now empty by default.
1775
1776 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
1777 If encoding supports it use no-break space instead of character
1778 entity; this changes previous default which used a numeric
1779 reference.
1780
1781 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
1782 If encoding does not support no-break space, use numeric reference;
1783 this changes previous default which used named entity (“&nbsp;”)
1784 in HTML mode.
1785
1786 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
1787
1788 * calendar/icalendar.el (icalendar-export-alarms):
1789 New customizable variable. (Bug#5433)
1790 (icalendar-export-region): Export alarms as specified in
1791 `icalendar-export-alarms'.
1792 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
1793 New functions for exporting alarms.
1794
1795 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1796
1797 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
1798
1799 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
1800
1801 Port new time stamp handling to old Emacs and to XEmacs.
1802 This is needed for Gnus, which copies time-date.el and which
1803 runs on older Emacs implementations.
1804 * calendar/time-date.el (with-decoded-time-value):
1805 Handle 'nil' and floating-point arg more compatibly with new Emacs.
1806 (encode-time-value, with-decoded-time-value):
1807 Obsolete only if new Emacs.
1808 (time-add, time-subtract, time-less-p): Define if not new Emacs.
1809
1810 Improve time stamp handling, and be more consistent about it.
1811 This implements a suggestion made in:
1812 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
1813 Among other things, this means timer.el no longer needs to
1814 autoload the time-date module.
1815 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
1816 * arc-mode.el (archive-ar-summarize):
1817 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
1818 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
1819 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
1820 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1821 * proced.el (proced-time-lessp):
1822 * timezone.el (timezone-time-from-absolute):
1823 * type-break.el (type-break-schedule, type-break-time-sum):
1824 Simplify by using new functionality.
1825 * calendar/cal-dst.el (calendar-next-time-zone-transition):
1826 Do not return time values in obsolete and undocumented (HI . LO)
1827 format; use (HI LO) instead.
1828 * calendar/time-date.el (with-decoded-time-value):
1829 Treat 'nil' as current time. This is mostly for XEmacs.
1830 (encode-time-value, with-decoded-time-value): Obsolete.
1831 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
1832 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
1833 * ldefs-boot.el: Update to match new time-date.el
1834 * proced.el: Do not require time-date.
1835
1836 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1837
1838 * net/eww.el (eww-mode): Make the buffer read-only.
1839 (eww-form-text): Inhibit read-only-ness in text input fields
1840 (bug#16476).
1841
1842 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * simple.el (execute-extended-command--shorter): Cut search here.
1845 (execute-extended-command): Instead of here.
1846
1847 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1848
1849 * progmodes/python.el (python-mode): Avoid use of set-local to
1850 keep Emacs 24.x compatibility.
1851
1852 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1853
1854 * net/shr.el (shr): Move to the new defgroup `web'.
1855
1856 * net/eww.el (eww): Ditto.
1857
1858 * simple.el (execute-extended-command): Don't show the help
1859 message if the binding isn't significantly shorter than the
1860 M-x command the user typed (bug#19013).
1861
1862 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
1863
1864 * calendar/icalendar.el (icalendar--convert-tz-offset):
1865 Return complete cons when offsets of standard time and daylight saving
1866 time are equal.
1867 (icalendar-export-region): Fix unbound variable warning.
1868
1869 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1870
1871 * progmodes/python.el (run-python): Allow CMD to be optional and
1872 default it to a safe command, even for Windows. (bug#18596)
1873
1874 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1875
1876 * progmodes/python.el (python-shell-calculate-command):
1877 Rename from python-shell-parse-command. Cleanup.
1878 (run-python, run-python-internal): Use it.
1879 (python-shell-calculate-pythonpath): Rename from
1880 python-new-pythonpath.
1881 (python-shell-calculate-process-environment): Use it.
1882 (python-shell-calculate-exec-path): Add comment.
1883
1884 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
1885
1886 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
1887 for date handling.
1888
1889 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
1890
1891 * version.el (emacs-repository-get-version): Use git rev-parse
1892 instead of git log.
1893
1894 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1895
1896 * progmodes/python.el (python-indent-calculate-levels):
1897 Fix indentation behavior multiline dedenter statement. (Bug#18432)
1898
1899 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1900
1901 * progmodes/python.el (python-indent-region):
1902 Use python-indent-line and skip special cases. (Bug#18843)
1903
1904 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
1905
1906 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
1907 envelope-from when reporting through sendmail (bug#19054).
1908
1909 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
1910
1911 Add faces for the VC modeline state indicator.
1912 * vc/vc-hooks.el:
1913 (vc-state-faces, vc-state-base-face)
1914 (vc-up-to-date-state, vc-needs-update-state)
1915 (vc-locked-state, vc-locally-added-state)
1916 (vc-conflict-state, vc-removed-state)
1917 (vc-missing-state, vc-edited-state):
1918 New faces.
1919 (vc-default-mode-line-string): Use them
1920
1921 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
1924
1925 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1926
1927 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
1928
1929 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
1930
1931 * progmodes/python.el (python-eldoc-setup-code): Enhance string
1932 type checks, simplify printing. (Bug#18962)
1933
1934 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
1935
1936 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1937 (python-shell-font-lock-with-font-lock-buffer)
1938 (python-shell-get-buffer, python-ffap-module-path):
1939 Use `derived-mode-p' instead of equality test on `major-mode'.
1940
1941 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
1942
1943 * progmodes/python.el (python-shell-virtualenv-root): Rename from
1944 python-shell-virtualenv-path.
1945 (python-shell-internal-get-process-name)
1946 (python-shell-calculate-process-environment)
1947 (python-shell-calculate-exec-path): Use it.
1948
1949 2014-11-14 Eli Zaretskii <eliz@gnu.org>
1950
1951 * bindings.el (search-map): Fix last change: don't use 'kbd' in
1952 bindings.el, since it is not yet loaded when bindings.el is
1953 preloaded.
1954
1955 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
1956
1957 * progmodes/python.el (python-shell-completion-get-completions):
1958 Fix previous merge.
1959
1960 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1961
1962 * net/eww.el (eww-render): Don't set the title to the URL.
1963
1964 2014-11-13 Ulrich Müller <ulm@gentoo.org>
1965
1966 * version.el (emacs-repository-get-version): Call `git log'
1967 command with proper format argument (bug#19049).
1968
1969 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1970
1971 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
1972
1973 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1974
1975 * net/eww.el (eww-search-words): New command (bug#16258).
1976
1977 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1978
1979 * net/shr.el (shr-inhibit-images): Add a doc string.
1980
1981 * net/eww.el (eww-after-render-hook): New variable.
1982 (eww-render): Use it.
1983
1984 * net/shr.el (shr-descend): Don't descend further than
1985 `max-specpdl-size' allows (bug#16587).
1986 (shr-depth): New variable.
1987 (shr-warning): New variable.
1988
1989 2014-11-13 Ivan Shmakov <ivan@siamics.net>
1990
1991 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
1992 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
1993
1994 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1995
1996 * net/eww.el (eww): Add comment to clarify.
1997
1998 * net/shr.el (shr-parse-image-data): Remove blocked bits from
1999 external SVG images.
2000 (shr-tag-object): Display images in <object> forms (bug#16244).
2001 (shr-tag-table): Also insert <objects> after the tables.
2002
2003 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
2004
2005 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
2006
2007 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2008
2009 * net/eww.el (eww-form-file): Fix version number.
2010
2011 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2012
2013 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
2014
2015 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2016
2017 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
2018 (eww-submit-file): New key map of file upload.
2019 (eww-form-file): New file upload button and file name context.
2020 (eww-select-file): Select file and display selected file name.
2021 (eww-tag-input): Handle input tag of file type.
2022 (eww-update-field): Add point offset.
2023 (eww-submit): Add submit with multipart/form-data.
2024
2025 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2026
2027 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
2028 Allow taking a buffer to render data in. This allows using several
2029 eww buffers (bug#16211).
2030
2031 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
2032
2033 * net/eww.el (eww-download-callback): Save only the file contents,
2034 not the headers.
2035
2036 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2037
2038 * net/eww.el (eww-data): New plist to store all the data relevant
2039 to a single page, used throughout the file instead of the
2040 variables `eww-current-url', `eww-current-dom',
2041 `eww-current-source', and `eww-current-title'.
2042 (eww-readable): Copy over pertinent data from the parent page.
2043 (eww-save-history): Don't let the history grow infinitely.
2044
2045 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
2046 `eww-up-url', `eww-home-url', `eww-start-url' and
2047 `eww-contents-url' and put the data into the `eww-data' plist.
2048 This allow restoring these values after going back in the history.
2049
2050 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
2051
2052 Allow VTIMEZONE where daylight and standard time zones are equal.
2053 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
2054 * calendar/icalendar.el (icalendar--convert-tz-offset):
2055 Support timezone without daylight saving time.
2056
2057 2014-11-10 Glenn Morris <rgm@gnu.org>
2058
2059 * startup.el (command-line): Handle nil elements in load-path.
2060
2061 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * help.el (view-lossage): Include the actual commands run.
2064
2065 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
2066
2067 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
2068 no state is specified. (Bug#18964)
2069
2070 2014-11-09 Eric Ludlam <zappo@gnu.org>
2071
2072 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2073 Set eieio-cog (current group) to g, which is an improved form of input
2074 group.
2075
2076 2014-11-09 Juri Linkov <juri@jurta.org>
2077
2078 * isearch.el (isearch-message-prefix): Show "Multi-file" and
2079 "Multi-buffer" instead of "Multi". (Bug#13592)
2080
2081 * misearch.el (multi-isearch-file-list):
2082 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
2083 (multi-isearch-end): Reset multi-isearch-buffer-list and
2084 multi-isearch-file-list to nil.
2085
2086 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2089 Don't call byte-compile-preprocess since the result will go through
2090 cconv.
2091 (byte-compile-output-docform): Handle uninterned `name' correctly.
2092 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
2093 to circumvent byte-compiler bug.
2094
2095 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
2096 (macroexp--compiler-macro): Remove left-over debug code.
2097
2098 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
2099
2100 2014-11-08 Juri Linkov <juri@jurta.org>
2101
2102 * simple.el (shell-command): Use buffer-name when output-buffer is
2103 a buffer. (Bug#18096)
2104
2105 2014-11-08 Juri Linkov <juri@jurta.org>
2106
2107 * minibuffer.el (minibuffer-completion-help): Compare this-command
2108 with completion-at-point. (Bug#17809)
2109
2110 2014-11-08 Glenn Morris <rgm@gnu.org>
2111
2112 * emacs-lisp/bytecomp.el (byte-compile-report-error):
2113 Allow the argument to be a string. Due to the vague doc,
2114 it was already being used this way.
2115
2116 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2117
2118 * net/tramp.el (tramp-check-cached-permissions): Include hop in
2119 the constructed Tramp file name. (Bug#18943)
2120
2121 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
2124 (bug#18952).
2125 (cua-set-mark, cua--post-command-handler-1):
2126 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
2127
2128 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2129
2130 * files.el (file-name-non-special): Wrap the call of
2131 `insert-file-contents' by `unwind-protect', in order to set the
2132 buffer's file name anyway. (Bug#18891)
2133
2134 2014-11-08 Alan Mackenzie <acm@muc.de>
2135
2136 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
2137 * progmodes/cc-fonts.el (c-font-lock-declarations):
2138 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
2139 the buffer is sometimes narrowed to less than "limit" (e.g., in
2140 the presence of macros).
2141
2142 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
2145 only when message appeared in minibuffer. (Bug#18891)
2146
2147 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
2148 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
2149 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
2150 case of errors.
2151
2152 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2155 Don't compile before eval in `eval-and-compile'.
2156 (byte-compile-arglist-warn): Add check for defining macros after their
2157 first use. Check call use even if the function is fboundp.
2158
2159 2014-11-08 Richard Stallman <rms@gnu.org>
2160
2161 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
2162 Check more carefully for mime-part specified character set.
2163 Check for mime-part Content Transfer Encoding.
2164 Notify if no armor found.
2165
2166 2014-11-08 Martin Rudalics <rudalics@gmx.at>
2167
2168 * faces.el (face-set-after-frame-default): Enable running
2169 `window-configuration-change-hook'.
2170
2171 2014-11-07 Juri Linkov <juri@jurta.org>
2172
2173 * replace.el: History for query replace pairs.
2174 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
2175 (query-replace-from-to-separator): New variable.
2176 (query-replace-read-from): Let-bind query-replace-from-to-history
2177 to a list of FROM-TO strings created from query-replace-defaults
2178 and separated by query-replace-from-to-separator. Use it as
2179 the history while reading from the minibuffer. Split the returned
2180 string by the separator to get FROM and TO parts, and add them
2181 to the history variables.
2182 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
2183 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
2184 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
2185
2186 * isearch.el (isearch-text-char-description): Keep characters
2187 intact and put formatted strings with the `display' property.
2188
2189 2014-11-07 Martin Rudalics <rudalics@gmx.at>
2190
2191 * cus-start.el (frame-resize-pixelwise): Fix group.
2192 (frame-inhibit-implied-resize): Add entry.
2193
2194 2014-11-07 Daiki Ueno <ueno@gnu.org>
2195
2196 * epa.el (epa-pinentry-mode): New user option.
2197 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2198 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
2199 * epa-file.el (epa-file-insert-file-contents)
2200 (epa-file-write-region): Respect epa-pinentry-mode.
2201
2202 2014-11-07 Daiki Ueno <ueno@gnu.org>
2203
2204 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
2205 (bug#18979). Reported by Hideki Saito.
2206
2207 2014-11-06 Daiki Ueno <ueno@gnu.org>
2208
2209 * emacs-lisp/package.el (package--display-verify-error): New function.
2210 (package--check-signature): Use it to display output sent to stderr.
2211
2212 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2213
2214 * subr.el (pop): Don't call the getter twice (bug#18968).
2215
2216 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
2217 uses of `funcall'.
2218
2219 2014-11-06 Daiki Ueno <ueno@gnu.org>
2220
2221 * epa.el (epa-error-buffer): New variable.
2222 (epa-display-error): New function.
2223 (epa-decrypt-file, epa-verify-file, epa-verify-region)
2224 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
2225 (epa-sign-file, epa-sign-region, epa-encrypt-region)
2226 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
2227 Use setf instead of epg-context-set-*.
2228 * epa-file.el (epa-file-insert-file-contents):
2229 Use epa-display-error instead of epa-display-info. Mimic the behavior
2230 of jka-compr when decryption program is not found.
2231 (epa-file-write-region): Use epa-display-error instead of
2232 epa-display-info.
2233
2234 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * vc/vc.el (vc-region-history): New command.
2237 (vc-print-log-internal): Use cl-some.
2238
2239 * vc/vc-git.el (vc-git-region-history): New function.
2240 (vc-git-region-history-mode-map)
2241 (vc-git--log-view-long-font-lock-keywords)
2242 (vc-git-region-history-font-lock-keywords): New vars.
2243 (vc-git-region-history-font-lock): New function.
2244 (vc-git-region-history-mode): New major mode.
2245
2246 2014-11-05 Tassilo Horn <tsdh@gnu.org>
2247
2248 * net/eww.el (subr-x): Require subr-x at compile-time because eww
2249 uses string-trim.
2250
2251 2014-11-05 Daiki Ueno <ueno@gnu.org>
2252
2253 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
2254 (epg-error-output): New buffer-local variable.
2255 (epg--start): Initialize epg-error-output.
2256 (epg--process-filter): Record output lines sent to stderr, in
2257 epg-error-output.
2258 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
2259 slot of context.
2260 * epa-file.el (epa-file-insert-file-contents): On error, display
2261 output sent to stderr.
2262 (epa-file-write-region): Likewise.
2263
2264 2014-11-05 Eli Zaretskii <eliz@gnu.org>
2265
2266 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
2267 returned by load-average.
2268
2269 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
2270
2271 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
2272 a local copy; setting `inhibit-file-name-handlers' proper might be
2273 more performant. (Bug#18751)
2274
2275 2014-11-05 Glenn Morris <rgm@gnu.org>
2276
2277 * mail/emacsbug.el (report-emacs-bug): No longer include
2278 recent-keys in the report. (Bug#18900)
2279
2280 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
2281
2282 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
2283
2284 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2285
2286 * net/eww.el (eww): Trim URL with `string-trim'.
2287 Suggested by Vibhav Pant <vibhavp@gmail.com>.
2288
2289 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2290
2291 * net/eww.el (eww-score-readability): Don't count comments positively.
2292
2293 * net/shr.el (shr-retransform-dom): Typo fix.
2294
2295 * net/eww.el (eww-score-readability): Parse SVC images correctly.
2296 (eww-display-html): Don't leave point inside forms.
2297
2298 * net/shr.el: Ditto.
2299
2300 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
2303 edebug-prin1-to-string already handles circularity.
2304
2305 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
2306 autoloading when specified as a lambda.
2307
2308 * simple.el (execute-extended-command--last-typed): New var.
2309 (read-extended-command): Set it.
2310 Don't complete obsolete commands.
2311 (execute-extended-command--shorter-1)
2312 (execute-extended-command--shorter): New functions.
2313 (execute-extended-command): Use them to suggest shorter names.
2314 (indicate-copied-region, deactivate-mark): Use region-active-p.
2315
2316 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
2317
2318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
2319 local copy of FILENAME, when it is remote. (Bug#18751)
2320
2321 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
2322 an error when the command fails; the return code must indicate.
2323 (tramp-adb-send-command-and-check): Fix docstring.
2324
2325 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2326
2327 * net/shr.el (shr-retransform-dom): Don't ignore elements that
2328 have no children like <br />.
2329
2330 * net/eww.el (eww-display-html): Clear `url-queue'.
2331 (eww-display-pdf): New function.
2332 (eww-render): Display PDFs with `doc-view'.
2333 (url-queue): Require `url-queue' to avoid compilation warning.
2334 (eww-colorize-region): Remove duplicate function.
2335 (eww-tag-body): Use `shr-colorize-region'.
2336
2337 2014-11-03 Yoni Rabkin <yrk@gnu.org>
2338
2339 * net/eww.el (eww-list-bookmarks): Autoload.
2340
2341 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2342
2343 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
2344
2345 * net/eww.el (eww-display-html): The charset is called `utf-8',
2346 not `utf8'.
2347 (eww-readable): Decode the saved text correctly.
2348 (eww-readable): Save the history before displaying so that we can
2349 go back to the non-readable version.
2350 (eww-display-html): Don't try to decode the text if we've been
2351 passed in a pre-parsed DOM.
2352 (eww-tag-title): Remove newlines and extra whitespace from the
2353 displayed title.
2354
2355 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2356
2357 * net/eww.el (eww-readable): New command and keystroke.
2358
2359 * net/shr.el (shr-retransform-dom): New function.
2360
2361 * net/eww.el (eww-display-html): Set `eww-current-source' in the
2362 correct buffer.
2363 (eww-view-source): Use it.
2364
2365 2014-11-02 Ivan Shmakov <ivan@siamics.net>
2366
2367 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
2368 (Bug#18603).
2369
2370 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
2371
2372 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
2373
2374 2014-11-02 Ivan Shmakov <ivan@siamics.net>
2375
2376 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
2377
2378 2014-11-02 Ivan Shmakov <ivan@siamics.net>
2379
2380 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
2381 (Bug#18834).
2382
2383 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
2384
2385 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
2386 use as advice.
2387 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
2388
2389 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
2392 (bug#18821).
2393 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
2394
2395 2014-11-01 Michael R. Mauger <michael@mauger.com>
2396
2397 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
2398 syntax, add new keywords, and parse longer keywords first.
2399 (sql-redirect-one): Protect against empty command.
2400 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
2401 to SQL. (Bug#14759)
2402
2403 2014-11-01 Michael R. Mauger <michael@mauger.com>
2404
2405 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
2406 Bug#16814 with let-bind of comint-input-ring variables around read
2407 and save functions.
2408
2409 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
2410
2411 * net/tramp-cache.el (tramp-get-file-property)
2412 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
2413 and `tramp-cache-set-count-*' are bound. Otherwise, there might
2414 be compiler warnings.
2415
2416 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
2417 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
2418
2419 2014-11-01 Eli Zaretskii <eliz@gnu.org>
2420
2421 * progmodes/compile.el (compilation-mode): Turn off deferred
2422 fontifications locally. (Bug#18856)
2423
2424 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
2425
2426 * net/tramp-sh.el (tramp-send-command): Fix the case where the
2427 remote-echo connection property is non-nil (bug#18858).
2428
2429 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * simple.el (newline): Add assertions to try and help catch bug#18913.
2432
2433 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
2434 (bug#18886).
2435 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
2436
2437 2014-11-01 Kim F. Storm <storm@cua.dk>
2438
2439 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
2440 * delsel.el (delete-selection-save-to-register)
2441 (delsel--replace-text-or-position): New vars.
2442 (delete-active-region): Use them.
2443 (delete-selection-repeat-replace-region): New command, moved from
2444 cua-base.el.
2445 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
2446 (cua-repeat-replace-region): Move command to delsel.el.
2447 (cua--init-keymaps): Update binding accordingly.
2448 (cua-mode): Set delete-selection-save-to-register.
2449
2450 2014-11-01 Alan Mackenzie <acm@muc.de>
2451
2452 Make blink-parens work with a closing template delimiter.
2453 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
2454 before calling blink-paren-function, so as to apply syntax-table
2455 properties to the ">".
2456
2457 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
2458
2459 * select.el (gui-get-selection): Comment: data-type ignored on NS.
2460
2461 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
2464 (macroexp--expand-all): Unrelated tweaks.
2465
2466 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
2467
2468 2014-10-30 Glenn Morris <rgm@gnu.org>
2469
2470 * startup.el (command-line): Remove pointless attempt to avoid
2471 statting the file-system (which expand-file-name doesn't do).
2472
2473 2014-10-30 Daniel Colascione <dancol@dancol.org>
2474
2475 Add "enum class" support to C++ mode.
2476 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
2477 (c-after-brace-list-key): New language consts/variables.
2478 * progmodes/cc-engine.el (c-looking-at-decl-block):
2479 Exclude spurious match of "enum struct" from decl-block recognition.
2480 (c-backward-colon-prefixed-type): New function.
2481 (c-backward-over-enum-header): Call above function to extend
2482 recognition of enum structure.
2483
2484 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
2487 (c-lang-defconst):
2488 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
2489
2490 2014-10-30 Eli Zaretskii <eliz@gnu.org>
2491
2492 * progmodes/compile.el (compilation-start):
2493 If compilation-scroll-output is non-nil, don't force window-start of
2494 the compilation buffer to be at beginning of buffer. (Bug#18874)
2495
2496 * startup.el (fancy-about-text): Read the entire tutorial, not
2497 just its first 256 bytes. (Bug#18760)
2498
2499 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
2502 * emacs-lisp/cl-extra.el: Add missing provide.
2503
2504 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
2505 all args are copyable (bug#18767).
2506 (=, <, >, <=, >=): Re-enable the optimization.
2507
2508 2014-10-29 Glenn Morris <rgm@gnu.org>
2509
2510 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
2511
2512 * version.el (emacs-bzr-version, emacs-bzr-get-version):
2513 Revert 2014-10-26 change.
2514
2515 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
2516
2517 Simplify use of current-time and friends.
2518 * allout-widgets.el (allout-widgets-hook-error-handler):
2519 * calendar/appt.el (appt-display-message):
2520 * calendar/icalendar.el (icalendar--convert-float-to-ical):
2521 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
2522 (timeclock-last-period, timeclock-day-base):
2523 * eshell/em-ls.el (eshell-ls-file):
2524 * eshell/esh-util.el (eshell-parse-ange-ls):
2525 * generic-x.el (named-database-print-serial):
2526 * net/newst-backend.el (newsticker--get-news-by-url-callback)
2527 (newsticker-get-news, newsticker--sentinel-work)
2528 (newsticker--image-get, newsticker--image-sentinel):
2529 * net/tramp-sh.el (tramp-get-remote-touch):
2530 * progmodes/opascal.el (opascal-debug-log):
2531 * textmodes/remember.el (remember-mail-date)
2532 (remember-store-in-files):
2533 * vc/vc-annotate.el (vc-annotate-display-autoscale)
2534 (vc-default-annotate-current-time):
2535 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
2536 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
2537 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
2538 Omit unnecessary call to current-time.
2539 * calendar/time-date.el (time-to-seconds) [!float-time]:
2540 * vc/vc-annotate.el (vc-annotate-convert-time):
2541 Use current time if arg is nil, to be compatible with float-time.
2542 (time-date--day-in-year): New function, with most of the guts of
2543 the old time-to-day-in-year.
2544 (time-to-day-in-year): Use it.
2545 (time-to-days): Use it, to avoid decoding the same time stamp twice.
2546 * calendar/timeclock.el (timeclock-time-to-date):
2547 Arg is now optional, like current-time-string.
2548 (timeclock-update-mode-line):
2549 Don't call current-time twice to get the current time stamp,
2550 as this can lead to inconsistent results.
2551 * completion.el (cmpl-hours-since-origin):
2552 * ido.el (ido-time-stamp):
2553 * vc/vc-annotate.el (vc-annotate-convert-time):
2554 Simplify by using float-time.
2555 * completion.el (save-completions-to-file):
2556 Rename local var to avoid confusion.
2557 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
2558 time-to-seconds now behaves like float-time with respect to nil arg.
2559 * subr.el (progress-reporter-do-update):
2560 Don't call float-time unless needed.
2561
2562 2014-10-29 Leo Liu <sdl.web@gmail.com>
2563
2564 * net/rcirc.el (rcirc-fill-column): Use function.
2565 (rcirc-markup-fill): Remove adjustment.
2566
2567 2014-10-28 Christopher Schmidt <ch@ristopher.com>
2568
2569 * calc/calc.el (quick-calc):
2570 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
2571
2572 2014-10-28 Sam Steingold <sds@gnu.org>
2573
2574 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
2575 the sake of `window-body-width' (in addition to `frame-width').
2576
2577 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
2578
2579 * version.el: Fix some fallback values to conform to the actual
2580 release number.
2581
2582 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
2583
2584 * Makefile.in: Change some production names so they're neutral
2585 about the repository type.
2586
2587 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
2588
2589 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
2590 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
2591 during initialization. (Bug#18774)
2592
2593 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
2594
2595 * ses.el (macroexp): Add require for this package, so that
2596 function `ses--cell' gets macroexp-quote --- this change was
2597 supposed to be in my previous commit, but left out by mistake.
2598 (ses--cell): Do not make formula a macroexp-quote of value when
2599 value, not formula, is *skip*.
2600
2601 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2602
2603 * ses.el (macroexp): Add require for this package, so that function
2604 `ses--cell gets macroexp-quote.
2605 (ses--cell): Makes formula a macroexp-quote of value when formula
2606 is nil. The rationale of this changr is to allow in the future
2607 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
2608 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
2609 reference list REFLIST would be re-computed after load --- thus
2610 trading off load time against file size.
2611
2612 * emacs-lisp/package.el (package--alist-to-plist-args):
2613 Use macroexp-quote instead of a lambda expression which has the same
2614 content as macroexp-quote.
2615 (macroexp): Add require for this package, so that function
2616 `package--alist-to-plist-args' gets macroexp-quote.
2617
2618 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
2619
2620 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * term/ns-win.el (ns-store-cut-buffer-internal)
2623 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
2624
2625 2014-10-24 Martin Rudalics <rudalics@gmx.at>
2626
2627 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
2628 Calculate increment from last position instead of window edge.
2629 Add right- and bottom-divider bindings to transient map.
2630
2631 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
2634 even if :predicate was nil, for the benefit of typep.
2635 Record the name of the predicate for typep's use.
2636 (cl--make-type-test): Use pcase. Obey new
2637 cl-deftype-satisfies property.
2638
2639 * epg.el: Use cl-defstruct.
2640 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
2641 (epg-data-string): Define via cl-defstruct.
2642 (epg--gv-nreverse): New macro.
2643 (epg-context--make): New constructor (provided vi cl-defstruct).
2644 (epg-make-context): Rewrite using it.
2645 (epg-context-protocol, epg-context-program)
2646 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
2647 (epg-context-include-certs, epg-context-cipher-algorithm)
2648 (epg-context-digest-algorithm, epg-context-compress-algorithm)
2649 (epg-context-passphrase-callback, epg-context-progress-callback)
2650 (epg-context-signers, epg-context-sig-notations, epg-context-process)
2651 (epg-context-output-file, epg-context-result, epg-context-operation)
2652 (epg-context-pinentry-mode): Define using cl-defstruct.
2653 (epg-context-set-protocol, epg-context-set-program)
2654 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
2655 (epg-context-set-digest-algorithm)
2656 (epg-context-set-sig-notations, epg-context-set-process)
2657 (epg-context-set-output-file, epg-context-set-result)
2658 (epg-context-set-operation, epg-context-set-pinentry-mode)
2659 (epg-context-set-compress-algorithm): Remove. Use setf instead.
2660 (epg-context-set-armor, epg-context-set-textmode)
2661 (epg-context-set-signers): Redefine using setf
2662 and declare as obsolete.
2663 (epg-context-set-passphrase-callback)
2664 (epg-context-set-progress-callback): Use setf.
2665 (epg-signature-notations): Rename from epg-sig-notations.
2666 (epg-make-signature, epg-signature-status, epg-signature-key-id)
2667 (epg-signature-validity, epg-signature-fingerprint)
2668 (epg-signature-creation-time, epg-signature-expiration-time)
2669 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
2670 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
2671 (epg-signature-set-status, epg-signature-set-key-id)
2672 (epg-signature-set-validity, epg-signature-set-fingerprint)
2673 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
2674 (epg-signature-set-pubkey-algorithm)
2675 (epg-signature-set-digest-algorithm, epg-signature-set-class)
2676 (epg-signature-set-version, epg-signature-set-notations): Remove.
2677 Use setf instead.
2678 (epg-make-new-signature, epg-new-signature-type)
2679 (epg-new-signature-pubkey-algorithm)
2680 (epg-new-signature-digest-algorithm, epg-new-signature-class)
2681 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
2682 Define using cl-defstruct.
2683 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
2684 (epg-key-user-id-list): Define using cl-defstruct.
2685 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
2686 Use setf instead.
2687 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
2688 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
2689 (epg-sub-key-id, epg-sub-key-creation-time)
2690 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
2691 cl-defstruct.
2692 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
2693 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
2694 (epg-user-id-signature-list): Define using cl-defstruct.
2695 (epg-user-id-set-signature-list): Remove. Use setf instead.
2696 (epg-make-key-signature, epg-key-signature-validity)
2697 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
2698 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
2699 (epg-key-signature-user-id, epg-key-signature-class)
2700 (epg-key-signature-exportable-p): Define using cl-defstruct.
2701 (epg-make-sig-notation, epg-sig-notation-name)
2702 (epg-sig-notation-value, epg-sig-notation-human-readable)
2703 (epg-sig-notation-critical): Define using cl-defstruct.
2704 (epg-sig-notation-set-value): Remove. Use setf instead.
2705 (epg-make-import-status, epg-import-status-fingerprint)
2706 (epg-import-status-reason, epg-import-status-new)
2707 (epg-import-status-user-id, epg-import-status-signature)
2708 (epg-import-status-sub-key, epg-import-status-secret): Define using
2709 cl-defstruct.
2710 (epg-make-import-result, epg-import-result-considered)
2711 (epg-import-result-no-user-id, epg-import-result-imported)
2712 (epg-import-result-imported-rsa, epg-import-result-unchanged)
2713 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
2714 (epg-import-result-new-signatures, epg-import-result-new-revocations)
2715 (epg-import-result-secret-read, epg-import-result-secret-imported)
2716 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
2717 (epg-import-result-imports): Define using cl-defstruct.
2718
2719 * emacs-lisp/package.el: Require EPG during macroexpansion.
2720 (package--check-signature, package-import-keyring): Use setf instead of
2721 epg-context-set-home-directory.
2722
2723 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
2726
2727 2014-10-23 Leo Liu <sdl.web@gmail.com>
2728
2729 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
2730 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
2731 (cfengine3-current-defun): New function.
2732 (cfengine3-mode): Set add-log-current-defun-function.
2733
2734 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * select.el: Use lexical-binding.
2737 (gui-set-selection): Provide an implementation for non-GUI frames
2738 (bug#18791).
2739 * term/x-win.el: Use lexical-binding.
2740 (x-clipboard-yank): Fix up missed renamings.
2741 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
2742 (w32--set-selection): Fix up var names.
2743 * term/pc-win.el: Use lexical-binding.
2744 (w16-selection-exists-p): Silence compiler warning.
2745 (w16-selection-owner-p): Fix up missed renamings.
2746
2747 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
2748
2749 * frame.el (frame-notice-user-settings): Fix excessive quoting.
2750
2751 2014-10-22 Tassilo Horn <tsdh@gnu.org>
2752
2753 * doc-view.el (doc-view-open-text): View the document's plain text
2754 in the current buffer instead of a new one.
2755 (doc-view-toggle-display): Handle the case where the current
2756 buffer contains the plain text contents of the document.
2757 (doc-view-initiate-display): Don't switch to fallback mode if the
2758 user wants to view the doc's plain text.
2759 (doc-view-set-doc-type): Use assoc-string instead of
2760 assoc-ignore-case.
2761
2762 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2763
2764 * subr.el (read-key): Fix clicks on the mode-line.
2765 (set-transient-map): Return exit function.
2766
2767 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
2768 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
2769 (mouse-yank-secondary): Use gui-get-selection.
2770 (mouse--down-1-maybe-follows-link): Use read-key.
2771
2772 * xt-mouse.el: Add `event-kind' property on the fly from
2773 xterm-mouse-translate-1 rather than statically at the outset.
2774
2775 2014-10-21 Daniel Colascione <dancol@dancol.org>
2776
2777 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
2778 change window configuration when we turn it off.
2779
2780 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2781
2782 Get rid of backend-dependent selection-handling functions for kill/yank
2783 and make it generic instead by relying on the lower-level selection
2784 management functions.
2785
2786 * select.el (select-enable-clipboard): Rename from
2787 gui-select-enable-clipboard.
2788 (select-enable-primary): Move from x-win.el and rename from
2789 x-select-enable-primary.
2790 (gui-last-selected-text): Remove.
2791 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
2792 New vars.
2793 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
2794 (gui-select-text-alist, gui-selection-value-alist): Remove.
2795 (x-select-request-type): Move from x-win.el.
2796 (gui--selection-value-internal): New function, taken from x-win's
2797 x-selection-value-internal.
2798 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
2799 (gui-set-selection-alist): Rename from gui-own-selection-alist and
2800 extend it to handle a nil value as a "disown" request.
2801 (gui-disown-selection-alist): Remove.
2802 (xselect-convert-to-delete): Adjust accordingly.
2803 (gui-set-selection): Simplify accordingly as well. Use dotimes.
2804
2805 * term/x-win.el (x-last-selected-text-primary)
2806 (x-select-enable-primary): Remove (moved to select.el).
2807 (x-select-request-type): Move to select.el.
2808 (x-selection-value-internal, x--selection-value): Remove functions.
2809 (gui-selection-value, gui-select-text): Remove moethods.
2810 (gui-set-selection): Merge own and disown methods.
2811
2812 * term/w32-win.el (w32--select-text, w32--get-selection-value):
2813 Delete function (move functionality into w32--set-selection and
2814 w32--get-selection).
2815 (gui-select-text, gui-selection-value): Don't define methods.
2816 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
2817 New functions.
2818 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
2819 Use them.
2820 (gui-selection-exists-p): Adjust to new name of C primitive.
2821
2822 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
2823 test of gui-select-enable-clipboard, to make it usable as
2824 a gui-get-selection method.
2825 (gui-selection-exists-p): Adjust to new name of C primitive.
2826 (gui-set-selection): Merge own and disown methods.
2827 (gui-select-text, gui-selection-value): Delete methods.
2828 (w16--select-text): Delete function.
2829
2830 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
2831 (ns-selection-value): Remove functions.
2832 (gui-select-text, gui-selection-value): Don't define method any more.
2833 (gui-set-selection): Merge the old own and disown methods.
2834 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
2835 underlying C primitive.
2836
2837 * startup.el (command-line): Adjust now that `gui-method' expects nil
2838 for ttys.
2839
2840 * frame.el (gui-method): Use window-system rather than framep.
2841 (gui-method-declare): The tty case is now nil rather than t.
2842 (make-frame): Adjust accordingly.
2843
2844 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * net/newst-reader.el (newsticker--image-read): Simplify.
2847 (newsticker--icon-read): Use dolist and fix free var error.
2848
2849 * imenu.el (imenu--menubar-keymap): New var.
2850 (imenu-add-to-menubar): Set it to remember the keymap we used.
2851 (imenu-update-menubar): Use it instead of asking lookup-key.
2852
2853 * obsolete/cc-compat.el: Make obsolete (bug#18561).
2854
2855 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
2856
2857 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
2858 case (bug#18767).
2859
2860 2014-10-21 Glenn Morris <rgm@gnu.org>
2861
2862 * Merge in all changes up to version 24.4 release.
2863
2864 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
2867 case (bug#18767).
2868
2869 2014-10-20 Glenn Morris <rgm@gnu.org>
2870
2871 * Merge in all changes up to 24.4 release.
2872
2873 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
2874
2875 * net/newst-backend.el
2876 (newsticker--image-download-by-url-callback): Make this function
2877 actually work: Check status properly, then save image.
2878
2879 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
2882 `this-event'.
2883 (mouse-drag-line): Unless there's no actual mouse, use the event's
2884 position info.
2885
2886 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * textmodes/css-mode.el (scss-mode): New major-mode.
2889 (css-mode-syntax-table): Use d style comment, to ease the scss case.
2890 (css-ident-re): Allow things like @-moz-keyframes.
2891 (scss--hash-re): New const.
2892 (css--font-lock-keywords): New function, extracted from
2893 css-font-lock-keywords.
2894
2895 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
2896
2897 * net/newst-backend.el: Require url-parse.
2898 (newsticker--get-news-by-wget): Store feed name as process property.
2899 (newsticker--sentinel): Read feed name from process property.
2900 (newsticker--sentinel-work): Rename argument name to feed-name.
2901 Rename variable imageurl to image-url. Pick icon url from Atom
2902 1.0 data. Launch download of feed icon.
2903 (newsticker--get-icon-url-atom-1.0): New.
2904 (newsticker--unxml)
2905 (newsticker--unxml-node)
2906 (newsticker--unxml-attribute): Documentation.
2907 (newsticker--icons-dir): New.
2908 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
2909 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
2910 (newsticker--image-download-by-wget): New. Use process properties
2911 for storing informations.
2912 (newsticker--image-sentinel): Read informations from process properties.
2913 (newsticker--image-save)
2914 (newsticker--image-remove)
2915 (newsticker--image-download-by-url)
2916 (newsticker--image-download-by-url-callback): New.
2917 (newsticker-opml-export): Handle url list entries containing a
2918 function instead of an url string.
2919
2920 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
2921 (newsticker--print-extra-elements)
2922 (newsticker--do-print-extra-element):
2923 Documentation (newsticker--image-read): Optionally limit image height.
2924 Use imagemagick if possible.
2925 (newsticker--icon-read): New.
2926
2927 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
2928 (newsticker--treeview-tree-expand): Use feed icons in treeview.
2929 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
2930 (newsticker--tree-widget-leaf-icon): Use feed icon.
2931
2932 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
2935 Use help-function-arglist instead.
2936
2937 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
2938 (eieio--with-scoped-class): Use `declare'.
2939 (eieio-defclass): Remove compatibility code.
2940 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
2941 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
2942
2943 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
2944
2945 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
2946
2947 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
2948 replacements to stock names before stock names in a list.
2949 Cdr may be a list, each name is tried in turn until one is found.
2950
2951 2014-10-18 Alan Mackenzie <acm@muc.de>
2952
2953 Check that a "macro" found near point-min isn't a ## operator.
2954 Fixes bug #18749.
2955 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
2956 (c-beginning-of-macro): Use the above new function.
2957
2958 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
2959
2960 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
2961 correct data to `gnutls-boot' (Bug#18664).
2962 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
2963
2964 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
2965
2966 * whitespace.el (whitespace-style, whitespace-big-indent)
2967 (whitespace-big-indent-regexp, whitespace-style-value-list)
2968 (whitespace-toggle-option-alist, whitespace-interactive-char)
2969 (whitespace-toggle-options)
2970 (global-whitespace-toggle-options, whitespace-help-text)
2971 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
2972 style to `whitespace-mode' to indicate that the line indentation
2973 is too deep. By default, 32 SPACEs or four TABs are considered
2974 too many but `whitespace-big-indent-regexp' can be configured.
2975
2976 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
2977
2978 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
2979 tildify-mode-alist.
2980
2981 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
2984 (defclass, defgeneric, defmethod): Add doc-string position.
2985 (with-slots): Require cl-lib.
2986
2987 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
2988 (list-of): New type.
2989 (eieio--typep): Remove.
2990 (eieio-perform-slot-validation): Use cl-typep instead.
2991
2992 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
2993
2994 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
2995
2996 2014-10-16 Alan Mackenzie <acm@muc.de>
2997
2998 Trigger showing when point is in the "periphery" of a line or just
2999 inside a paren.
3000 * paren.el (show-paren-style, show-paren-delay)
3001 (show-paren-priority, show-paren-ring-bell-on-mismatch):
3002 Remove superfluous :group specifications.
3003 (show-paren-when-point-inside-paren)
3004 (show-paren-when-point-in-periphery): New customizable variables.
3005 (show-paren-highlight-openparen): Make into a defcustom.
3006 (show-paren--unescaped-p, show-paren--categorize-paren)
3007 (show-paren--locate-near-paren): New defuns.
3008 (show-paren--default): Refaactor and trigger on more paren
3009 positions.
3010 (show-paren-function): Small consequential changes.
3011
3012 2014-10-16 Tom Tromey <tom@tromey.com>
3013
3014 * files.el (auto-mode-alist): Use javascript-mode for .jsm
3015 (bug #18719).
3016
3017 2014-10-16 Eli Zaretskii <eliz@gnu.org>
3018
3019 * international/characters.el (bracket-type): Force pre-loading of
3020 uni-brackets.el.
3021
3022 2014-10-16 Alan Mackenzie <acm@muc.de>
3023
3024 * cus-edit.el (custom-command-apply): Specify the return value in
3025 the doc string.
3026 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
3027 custom-command-apply has returned non-nil.
3028
3029 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
3032 Remove incorrect handling of eldoc-print-after-edit.
3033 (eldoc-message-commands, eldoc-last-data): Use defvar.
3034 * loadup.el (emacs-lisp/eldoc): Load it.
3035
3036 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
3037 (m4-mode): Use it.
3038 (m4--quoted-p): New function.
3039 (m4-font-lock-keywords): Don't handle #..\n comments any more.
3040 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
3041 for most special characters.
3042
3043 * progmodes/compile.el (compilation--previous-directory): Simplify.
3044 (compilation-next-error): Ensure the parse before we look at
3045 compilation-message property.
3046
3047 2014-10-15 Eli Zaretskii <eliz@gnu.org>
3048
3049 * simple.el (what-cursor-position):
3050 * descr-text.el (describe-char): Update to support the new bidi
3051 characters.
3052
3053 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
3054 Force bidi-paragraph-direction to 'left-to-right'. This fixes
3055 buffer-menu display when the first buffer happens to start with
3056 R2L letter.
3057
3058 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * progmodes/elisp-mode.el (elisp--local-variables-1):
3061 Handle quoted expressions (bug#18688).
3062
3063 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
3064 Michael Albinus <michael.albinus@gmx.de>
3065
3066 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3067 Reduce the amount of set environment variable commands.
3068
3069 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3070
3071 Fix import completion. (Bug#18582)
3072 * progmodes/python.el (python-shell-completion-get-completions):
3073 Fix import case regexp.
3074
3075 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
3078 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
3079 * progmodes/prolog.el (prolog-electric--underscore): Same.
3080
3081 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
3082
3083 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
3084
3085 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
3086
3087 * cus-start.el (all): Add missing ns and boolean to
3088 ns-use-fullscreen-animation.
3089
3090 2014-10-11 Leo Liu <sdl.web@gmail.com>
3091
3092 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
3093 Use strings.
3094 (cfengine3-create-imenu-index): New function.
3095 (cfengine3-mode): Use it for `imenu-create-index-function'.
3096 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
3097 buffer is empty.
3098
3099 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
3100
3101 * cus-start.el (all): Add ns-use-fullscreen-animation.
3102
3103 2014-10-11 Glenn Morris <rgm@gnu.org>
3104
3105 * calendar/diary-lib.el (diary-display-function):
3106 Drop support for deprecated nil and list forms.
3107 (diary-list-entries): Update for the above.
3108 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
3109
3110 2014-10-10 Leo Liu <sdl.web@gmail.com>
3111
3112 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
3113 (Bug#18656)
3114
3115 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * select.el (gui-selection-exists-p-alist): New method.
3118 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
3119 * simple.el (deactivate-mark): Use it.
3120 * term/x-win.el (gui-selection-exists-p):
3121 * term/w32-win.el (gui-selection-exists-p):
3122 * term/pc-win.el (gui-selection-exists-p):
3123 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
3124
3125 2014-10-10 Glenn Morris <rgm@gnu.org>
3126
3127 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
3128 Fix :type. Allow t to mean no limit.
3129 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
3130
3131 2014-10-09 Glenn Morris <rgm@gnu.org>
3132
3133 * frame.el (display-monitor-attributes-list): Doc tweaks.
3134
3135 2014-10-09 Eli Zaretskii <eliz@gnu.org>
3136
3137 * faces.el (display-grayscale-p): Mention in the doc string that
3138 the argument can be either a display name or a frame.
3139
3140 * frame.el (display-pixel-height, display-pixel-width)
3141 (display-mm-height, display-mm-width, display-backing-store)
3142 (display-save-under, display-planes, display-color-cells)
3143 (display-visual-class, display-monitor-attributes-list)
3144 (display-screens): Mention in the doc string that the argument can
3145 be either a display name or a frame. Improve the docs of the
3146 monitor attributes. (Bug#18636)
3147
3148 2014-10-09 Martin Rudalics <rudalics@gmx.at>
3149
3150 * term.el (term-window-width): Subtract 1 from the width when
3151 any fringe has zero width, not just the right fringe. (Bug#18601)
3152
3153 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
3156
3157 2014-10-08 Leo Liu <sdl.web@gmail.com>
3158
3159 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
3160
3161 2014-10-08 Glenn Morris <rgm@gnu.org>
3162
3163 * calendar/cal-x.el (calendar-dedicate-diary):
3164 Drop support for recently deleted aliases.
3165
3166 2014-10-08 Leo Liu <sdl.web@gmail.com>
3167
3168 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
3169 Always return a syntax. Replace call-process-shell-command with
3170 process-file. Ensure cfengine-mode-syntax-functions-regex is
3171 always set. Ensure cache when cfengine-cf-promises fails.
3172 (Bug#18620)
3173
3174 2014-10-07 Glenn Morris <rgm@gnu.org>
3175
3176 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
3177
3178 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
3179
3180 Sync with upstream verilog-mode revision c075a492.
3181 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
3182 (verilog-menu): Add AUTOINSERTLAST.
3183 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
3184 is nil, fix indenting initial/final to match always statements, bug825.
3185 Reported by Tim Clapp.
3186 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
3187 bug557. Reported by ZeDong Mao and Jason Forkey.
3188 (verilog-read-decls): Fix parsing typed interfaces.
3189 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
3190 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
3191 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
3192 Reported by Pierre-David Pfister.
3193 (verilog-auto-insert-lisp): Doc fix.
3194 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
3195 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
3196 (verilog-sk-ovm-class, verilog-sk-uvm-object)
3197 (verilog-sk-uvm-component): Fix missing string keyword in class
3198 skeletons, bug824. Reported by eldad faruhi.
3199
3200 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * term/w32-win.el: Move all code from 32-common-fns.el here.
3203 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
3204 console as well (bug#18629).
3205 * w32-common-fns.el: Remove.
3206 * loadup.el: Don't load w32-common-fns.el.
3207 * w32-fns.elc: Don't require w32-common-fns.
3208
3209 * icomplete.el: Move Iswitchb autoload here. Much simpler.
3210 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
3211 Remove redundant obsolescence thingy.
3212 * loadup.el: Don't load obsolete/loaddefs.el.
3213 * Makefile.in (obsolete-autoloads): Remove.
3214 (AUTOGENEL): Remove obsolete/loaddefs.el.
3215
3216 2014-10-06 Glenn Morris <rgm@gnu.org>
3217
3218 * Makefile.in (obsolete-autoloads): Write to a separate file,
3219 to workaround autoloads bug. (Bug#17407)
3220 (AUTOGENEL): Add obsolete/loaddefs.el.
3221 * loadup.el: Load obsolete/loaddefs.el if present.
3222 * subr.el (do-after-load-evaluation):
3223 Don't warn about obsolete/loaddefs.el.
3224
3225 * menu-bar.el (menu-bar-games-menu): Remove landmark.
3226 It has zero relationship to a game.
3227
3228 2014-10-06 Leo Liu <sdl.web@gmail.com>
3229
3230 * imenu.el (imenu): Re-write for clarity.
3231
3232 2014-10-06 Glenn Morris <rgm@gnu.org>
3233
3234 Remove calendar code obsolete since at least version 23.1.
3235 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
3236 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
3237 (calendar-goto-bahai-date, list-bahai-diary-entries)
3238 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
3239 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
3240 (insert-yearly-bahai-diary-entry):
3241 * calendar/cal-china.el (chinese-calendar-time-zone)
3242 (chinese-calendar-location-name)
3243 (chinese-calendar-daylight-time-offset)
3244 (chinese-calendar-standard-time-zone-name)
3245 (chinese-calendar-daylight-time-zone-name)
3246 (chinese-calendar-daylight-savings-starts)
3247 (chinese-calendar-daylight-savings-ends)
3248 (chinese-calendar-daylight-savings-starts-time)
3249 (chinese-calendar-daylight-savings-ends-time)
3250 (chinese-calendar-celestial-stem)
3251 (chinese-calendar-terrestrial-branch)
3252 (calendar-absolute-from-chinese, calendar-print-chinese-date)
3253 (calendar-goto-chinese-date):
3254 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
3255 (calendar-print-coptic-date, coptic-prompt-for-date)
3256 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
3257 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
3258 * calendar/cal-french.el (calendar-absolute-from-french)
3259 (calendar-print-french-date, calendar-goto-french-date):
3260 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
3261 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
3262 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
3263 (holiday-rosh-hashanah-etc, holiday-hanukkah)
3264 (holiday-passover-etc, holiday-tisha-b-av-etc)
3265 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
3266 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
3267 (insert-monthly-hebrew-diary-entry)
3268 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
3269 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
3270 (diary-sabbath-candles):
3271 * calendar/cal-islam.el (calendar-absolute-from-islamic)
3272 (calendar-print-islamic-date, calendar-goto-islamic-date)
3273 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
3274 (mark-islamic-diary-entries, insert-islamic-diary-entry)
3275 (insert-monthly-islamic-diary-entry)
3276 (insert-yearly-islamic-diary-entry):
3277 * calendar/cal-iso.el (calendar-absolute-from-iso)
3278 (calendar-print-iso-date, calendar-iso-read-args)
3279 (calendar-goto-iso-date, calendar-goto-iso-week):
3280 * calendar/cal-julian.el (calendar-absolute-from-julian)
3281 (calendar-print-julian-date, calendar-goto-julian-date)
3282 (calendar-absolute-from-astro, calendar-print-astro-day-number)
3283 (calendar-goto-astro-day-number):
3284 * calendar/cal-mayan.el (calendar-print-mayan-date)
3285 (calendar-next-haab-date, calendar-previous-haab-date)
3286 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
3287 (calendar-next-calendar-round-date)
3288 (calendar-previous-calendar-round-date)
3289 (calendar-absolute-from-mayan-long-count)
3290 (calendar-goto-mayan-long-count-date):
3291 * calendar/cal-move.el (scroll-calendar-left)
3292 (scroll-calendar-right, scroll-calendar-left-three-months)
3293 (scroll-calendar-right-three-months):
3294 * calendar/cal-persia.el (calendar-absolute-from-persian)
3295 (calendar-print-persian-date, persian-prompt-for-date)
3296 (calendar-goto-persian-date):
3297 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
3298 * calendar/calendar.el (view-diary-entries-initially)
3299 (mark-diary-entries-in-calendar, calendar-today-face)
3300 (diary-face, holiday-face, view-calendar-holidays-initially)
3301 (mark-holidays-in-calendar, initial-calendar-window-hook)
3302 (today-visible-calendar-hook, today-invisible-calendar-hook)
3303 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
3304 (bahai-diary-entry-symbol, american-date-diary-pattern)
3305 (european-date-diary-pattern, european-calendar-display-form)
3306 (american-calendar-display-form, holidays-in-diary-buffer)
3307 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
3308 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
3309 (fancy-diary-buffer, increment-calendar-month)
3310 (extract-calendar-month, extract-calendar-day)
3311 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
3312 (mark-visible-calendar-date, calendar-version):
3313 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
3314 (diary-display-hook, list-diary-entries-hook)
3315 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
3316 (nongregorian-diary-marking-hook, print-diary-entries-hook)
3317 (abbreviated-calendar-year, number-of-diary-entries)
3318 (view-other-diary-entries, add-to-diary-list)
3319 (include-other-diary-files, simple-diary-display)
3320 (fancy-diary-display, print-diary-entries, mark-diary-entries)
3321 (mark-sexp-diary-entries, mark-included-diary-files)
3322 (mark-calendar-days-named, mark-calendar-month)
3323 (mark-calendar-date-pattern, sort-diary-entries)
3324 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
3325 (insert-weekly-diary-entry, insert-monthly-diary-entry)
3326 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
3327 (insert-block-diary-entry, insert-cyclic-diary-entry)
3328 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
3329 * calendar/holidays.el (general-holidays, oriental-holidays)
3330 (local-holidays, other-holidays, hebrew-holidays)
3331 (christian-holidays, islamic-holidays, bahai-holidays)
3332 (solar-holidays, list-calendar-holidays)
3333 (check-calendar-holidays, mark-calendar-holidays)
3334 (filter-visible-calendar-holidays):
3335 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
3336 (diary-phases-of-moon): Remove obsolete aliases.
3337 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
3338 * calendar/cal-x.el (calendar-one-frame-setup)
3339 (calendar-only-one-frame-setup, calendar-two-frame-setup):
3340 Remove obsolete functions.
3341 (cal-x-load-hook): Remove obsolete hook.
3342 * calendar/calendar.el (european-calendar-style):
3343 Remove obsolete variable.
3344 (calendar-date-style): No longer consult european-calendar-style.
3345 * calendar/calendar.el (european-calendar, american-calendar):
3346 Remove obsolete commands.
3347 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
3348 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
3349 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
3350 Use the face `diary' instead of the variable `diary-face'.
3351 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
3352 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
3353 * calendar/icalendar.el (icalendar--date-style): Remove function.
3354 Replace all uses with calendar-date-style.
3355 * textmodes/remember.el (calendar-date-style): Declare.
3356 (remember-diary-convert-entry):
3357 No longer consult european-calendar-style.
3358
3359 2014-10-05 Leo Liu <sdl.web@gmail.com>
3360
3361 * imenu.el (imenu-default-goto-function): Fix typo.
3362
3363 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3364
3365 * net/ntlm.el (ntlm-build-auth-request):
3366 Add NTLM2 Session support. (Bug#15603)
3367
3368 2014-10-04 Glenn Morris <rgm@gnu.org>
3369
3370 * apropos.el (apropos-symbols-internal):
3371 Avoid error with non-symbol properties. (Bug#18337#16)
3372
3373 * startup.el (command-line):
3374 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
3375
3376 2014-10-04 Martin Rudalics <rudalics@gmx.at>
3377
3378 * window.el (window-full-height-p): Make it behave correctly for
3379 minibuffer window.
3380 (window-current-scroll-bars): Fix code.
3381 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
3382 window-scroll-bars.
3383 * frame.el (frame-current-scroll-bars): Fix doc-string.
3384 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
3385
3386 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
3387
3388 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
3389
3390 2014-10-04 Glenn Morris <rgm@gnu.org>
3391
3392 * frame.el (frame-monitor-attributes)
3393 (display-monitor-attributes-list): Doc fixes.
3394
3395 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 Merge trivially safe differences from standalone CC-mode.
3398 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
3399 just to then pass it to `symbol-value'.
3400 (prog-mode): Provide fallback definition, if needed.
3401 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
3402 Remove "cl-" prefix accordingly.
3403 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
3404 characterp depending on the type of characters.
3405 (c-font-lock-enum-tail): Remove unused var `start'.
3406 * progmodes/cc-engine.el: Load CL at compile-time.
3407 (c-declare-lang-variables): Use mapcan.
3408 (c-append-to-state-cache): Remove unused var `ce+1'.
3409 (c-parse-state-state): Make buffer-local.
3410 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
3411 (c-just-after-func-arglist-p): Remove unused var `end'.
3412 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
3413 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
3414 (c-make-keywords-re): Use delete-dups.
3415 (c-get-current-file): Avoid file-name-base.
3416 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
3417 `close-paren-inserted'.
3418 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
3419
3420 * progmodes/python.el: Avoid building unneeded markers.
3421 (python-font-lock-keywords, python-indent-dedent-line)
3422 (python-fill-paren, python-shell-completion-complete-or-indent):
3423 Prefer point over point-marker.
3424 (inferior-python-mode): Remove redundant completion settings.
3425
3426 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
3427
3428 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
3429 (vc-svn-ignore): Use it. (Bug#18619)
3430
3431 2014-10-03 Martin Rudalics <rudalics@gmx.at>
3432
3433 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3434 In doc-string mention need to set `frame-resize-pixelwise'.
3435
3436 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
3439 similarly to Rogers's 2010-06-16 change for the remote case
3440 (bug#18605).
3441
3442 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 New gui-selection-value consolidating x-selection-value.
3445 * select.el (gui-selection-value-alist): New method.
3446 (gui-selection-value): New function.
3447 (x-selection-value): Make it an obsolete alias.
3448 * simple.el (interprogram-paste-function): Default to
3449 gui-selection-value.
3450 * w32-common-fns.el (w32-get-selection-value): Simplify.
3451 (x-selection-value): Remove alias.
3452 (interprogram-paste-function): Don't set.
3453 (gui-selection-value): Define for w32.
3454 * term/x-win.el (gui-selection-value): Define for x.
3455 (x--selection-value): Rename from x--selection-value.
3456 (interprogram-paste-function): Don't set.
3457 * term/pc-win.el (w16-get-selection-value): Simplify.
3458 (msdos-initialize-window-system): Don't set
3459 interprogram-paste-function.
3460 (gui-selection-value): Define for pc.
3461 * term/ns-win.el (x-selection-value): Remove.
3462 (gui-selection-value): Define for ns, instead.
3463 * term/common-win.el (x-setup-function-keys): Don't set
3464 interprogram-paste-function.
3465 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
3466 Use gui-selection-value.
3467
3468 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
3469
3470 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
3471
3472 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * obsolete/lucid.el (read-number): Remove, redundant.
3475 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
3476 Remove, broken.
3477
3478 2014-10-02 Glenn Morris <rgm@gnu.org>
3479
3480 * emacs-lisp/package.el (package-import-keyring):
3481 Create gnupg directory private. (Bug#17625#155)
3482
3483 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * progmodes/python.el (python-shell-completion-get-completions):
3486 Use python-shell--prompt-calculated-input-regexp from the
3487 process buffer (bug#18582).
3488 Don't assume that `line' comes from the process buffer.
3489
3490 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * frame.el: Use lexical-binding (bug#18598).
3493 (make-frame): Use t rather than nil for tty's window-system.
3494 * startup.el (command-line): Use gui-method.
3495
3496 Consolidate management/ownership of selections.
3497 * select.el (gui-get-selection-alist): New method.
3498 (gui-get-selection): Use it. Rename from x-get-selection.
3499 (x-get-selection): Define as obsolete alias.
3500 (x-get-clipboard): Mark obsolete.
3501 (gui-get-primary-selection): New function.
3502 (x-get-selection-value): Mark obsolete.
3503 (gui-own-selection-alist, gui-disown-selection-alist)
3504 (gui-selection-owner-p-alist): New methods.
3505 (gui-set-selection): Use them. Rename from x-set-selection.
3506 (x-set-selection): Define as obsolete alias.
3507 (gui--valid-simple-selection-p): Rename from
3508 x-valid-simple-selection-p.
3509 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
3510 (gui-selection-owner-p, gui-get-selection): Define for w32.
3511 (w32-get-selection-value): Rename from x-get-selection-value.
3512 Use the new gui-last-selected-text.
3513 * term/x-win.el (x-get-selection-value): Remove.
3514 (x-clipboard-yank): Declare obsolete.
3515 (gui-own-selection, gui-disown-selection, gui-get-selection)
3516 (gui-selection-owner-p): Define for x.
3517 * term/w32-win.el (w32-win-suspend-error): Rename from
3518 x-win-suspend-error.
3519 * term/pc-win.el (w16-get-selection-value): Rename from
3520 x-get-selection-value.
3521 (w16-selection-owner-p): Rename from x-selection-owner-p.
3522 (gui-own-selection, gui-disown-selection, gui-get-selection)
3523 (gui-selection-owner-p): Define for pc.
3524 (w16--select-text): New function.
3525 * term/ns-win.el (gui-own-selection, gui-disown-selection)
3526 (gui-get-selection, gui-selection-owner-p): Define for ns.
3527 * term.el (term-mouse-paste):
3528 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
3529
3530 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
3531
3532 * calc/calc-help.el (calc-describe-thing): Quote strings
3533 which could look like regexps.
3534
3535 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 Consolidate x-select-text.
3538 * frame.el (gui-method, gui-method-define, gui-method-declare)
3539 (gui-call): New macros.
3540 (gui-method--name): New function.
3541 (frame-creation-function-alist): Use gui-method-declare.
3542 (make-frame): Use gui-method.
3543 * select.el (gui-select-enable-clipboard): Rename from
3544 x-select-enable-clipboard and move here.
3545 (x-select-enable-clipboard): Define as obsolete alias.
3546 (gui-last-selected-text): New var, to replace x-last-selected-text.
3547 (gui-select-text): New GUI method.
3548 (gui-select-text): New function.
3549 (x-select-text): Define as obsolete alias.
3550 * term/common-win.el (x-select-enable-clipboard, x-select-text):
3551 Move to select.el.
3552 * simple.el (interprogram-cut-function): Change default to
3553 x-select-text.
3554 (interprogram-paste-function): Change default to `ignore'.
3555 * w32-common-fns.el (interprogram-cut-function): Don't modify.
3556 * term/x-win.el (interprogram-cut-function): Don't modify.
3557 (gui-select-text): Add method for x.
3558 * term/w32-win.el (gui-select-text): Add method for w32.
3559 * term/pc-win.el (x-last-selected-text): Remove, use
3560 gui-last-selected-text instead.
3561 (msdos-initialize-window-system): Don't set interprogram-cut-function.
3562 (gui-select-text): Add method for pc.
3563 * term/ns-win.el (ns-last-selected-text): Remove, use
3564 gui-last-selected-text instead.
3565 (gui-select-text): Add method for ns.
3566 (x-setup-function-keys): Don't change interprogram-cut-function.
3567 * loadup.el ("startup"): Load after "frame".
3568 * subr.el (package--builtin-versions, package--description-file):
3569 Move from startup.el.
3570 * startup.el (package--builtin-versions, package--description-file):
3571 Move to subr.el.
3572 (handle-args-function-alist, window-system-initialization-alist):
3573 Use gui-method-declare.
3574 (command-line): Use gui-method.
3575
3576 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * subr.el (alist-get): New accessor.
3579 * emacs-lisp/gv.el (alist-get): Provide expander.
3580 * winner.el (winner-remember):
3581 * tempo.el (tempo-use-tag-list):
3582 * progmodes/gud.el (minor-mode-map-alist):
3583 * international/mule-cmds.el (define-char-code-property):
3584 * frameset.el (frameset-filter-params):
3585 * files.el (dir-locals-set-class-variables):
3586 * register.el (get-register, set-register):
3587 * calc/calc-yank.el (calc-set-register): Use it.
3588 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
3589 * tooltip.el (tooltip-set-param): Mark as obsolete.
3590 (tooltip-show): Use alist-get instead.
3591 * ses.el (ses--alist-get): Remove. Use alist-get instead.
3592
3593 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
3594
3595 * net/newst-backend.el: Remove Time-stamp. Rename variable
3596 `newsticker--download-logos' to `newsticker-download-logos' and
3597 make it customizable.
3598 (newsticker--sentinel-work): Move xml-workarounds to function
3599 `newsticker--do-xml-workarounds', call unless libxml-parser is
3600 used. Allow single quote in regexp for encoding.
3601 Use libxml-parser if available, else fall back to `xml-parse-region'.
3602 Take care of possibly missing namespace prefixes (like "RDF"
3603 instead of "rdf:RDF") when checking xml nodes and attributes (as
3604 libxml correctly removes the prefixes). Always use Atom 1.0 as
3605 fallback feed type. Rename `newsticker--download-logos' to
3606 `newsticker-download-logos'
3607 (newsticker--unxml, newsticker--unxml-node)
3608 (newsticker--unxml-attribute): New.
3609 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
3610 HTML code has become part of the xml parse tree.
3611 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
3612 of possibly missing namespace prefixes.
3613 (newsticker--parse-generic-items): Code formatting. Typo.
3614 (newsticker--images-dir): Add trailing slash.
3615 (newsticker--image-get): Fix error message.
3616
3617 * net/newst-plainview.el: Remove Time-stamp.
3618
3619 * net/newst-reader.el: Remove Time-stamp.
3620 (newsticker-download-logos): Rename variable
3621 `newsticker--download-logos' to `newsticker-download-logos' and
3622 make it customizable.
3623 (newsticker--print-extra-elements): Add optional parameter
3624 'htmlish for using html markup. Amend list of ignored elements.
3625 (newsticker--do-print-extra-element): Add parameter 'htmlish for
3626 using html markup.
3627
3628 * net/newst-ticker.el: Remove Time-stamp.
3629
3630 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
3631 for formatting extra elements.
3632
3633 * net/newsticker.el: Remove Time-stamp, Version.
3634 (newsticker-version): Make obsolete.
3635
3636 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
3637
3638 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
3639 (bug#18462).
3640
3641 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * emacs-lisp/package.el (package-check-signature): Default to nil if
3644 GPG is not available.
3645 (package-refresh-contents): Don't mess with the keyring if we won't
3646 check the signatures anyway.
3647
3648 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
3651 (ses-center, ses-center-span): Use them.
3652 (ses-print-cell): Bind them while calling the printer.
3653 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
3654 (ses-dorange): Revert last change.
3655 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
3656 the formula.
3657 (ses-set-cell): Avoid `eval'.
3658 (ses--time-check): Rename it from ses-time-check and turn it into
3659 a macro.
3660
3661 * ses.el (ses-setup): Don't assume modifying the iteration var of
3662 dotimes affects the iteration (bug#18191).
3663
3664 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
3665
3666 * ses.el (ses-calculate-cell): Bind row and col dynamically to
3667 their values with 'cl-progv'.
3668 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
3669 their values with 'cl-progv', also use non-interned symbols for
3670 row, minrow, maxrow, mincol and maxcol.
3671 (maxrow maxcol): New defvar, to make the compiler happy.
3672
3673 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
3676 completion functions.
3677
3678 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * ses.el (ses--letref): Quote value before it gets re-evaluated.
3681
3682 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
3683
3684 Font-lock `cl-flet*', too.
3685 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
3686 Add "flet*" to intermediate var `cl-lib-kw'.
3687
3688 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3689
3690 * epg-config.el (epg-gpg-program): Use the plain program names rather
3691 than their absolute file name.
3692
3693 * subr.el (track-mouse): New macro.
3694 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3695 Remove track-mouse case.
3696 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
3697
3698 2014-09-27 Leo Liu <sdl.web@gmail.com>
3699
3700 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
3701
3702 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
3703
3704 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
3707 Handle the case where `match' is :pcase--succeed or :pcase--fail
3708 (bug#18554).
3709
3710 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
3711 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
3712 (eldoc-schedule-timer): Obey it.
3713 (eldoc-documentation-function): Default to nil.
3714 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
3715 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
3716 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
3717 (eldoc-last-data-store, eldoc-docstring-first-line)
3718 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
3719 (eldoc-beginning-of-sexp, eldoc-current-symbol)
3720 (eldoc-function-argstring): Move to elisp-mode.el.
3721 (eldoc-symbol-function): Remove, unused.
3722 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
3723 (elisp-completion-at-point): Rename from lisp-completion-at-point.
3724 (elisp--preceding-sexp): Rename from preceding-sexp.
3725 * loadup.el: Load new file progmodes/elisp-mode.
3726 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
3727 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
3728 (lisp--local-variables-completion-table, lisp--expect-function-p)
3729 (lisp--form-quoted-p, lisp--company-doc-buffer)
3730 (lisp--company-doc-string, lisp--company-location)
3731 (lisp-completion-at-point): Move to elisp-mode.el.
3732 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
3733 extracted from emacs-lisp-mode-syntax-table.
3734 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
3735 elisp-mode.el.
3736 (lisp-imenu-generic-expression): Add comments to document what comes
3737 from which Lisp dialect.
3738 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
3739 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
3740 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
3741 (emacs-lisp-byte-code-comment)
3742 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
3743 (lisp-interaction-mode-map, lisp-interaction-mode)
3744 (eval-print-last-sexp, last-sexp-setup-props)
3745 (last-sexp-toggle-display, prin1-char, preceding-sexp)
3746 (eval-last-sexp-1, eval-last-sexp-print-value)
3747 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
3748 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
3749
3750 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
3751
3752 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
3753 Do not match file names that end in '/', as they cannot be 'grep'
3754 hits nowadays. This prevents confusion when 'grep -r' reports a
3755 match in a file whose basename is ':12345:'. Conversely, do not
3756 require exactly the same sequence of spaces and tabs after both
3757 colons, and allow spaces or tabs before the second colon, as per
3758 the POSIX spec for 'grep' output.
3759
3760 2014-09-26 Leo Liu <sdl.web@gmail.com>
3761
3762 Add cl-parse-integer based on parse-integer (Bug#18557)
3763 * calendar/parse-time.el (parse-time-digits): Remove.
3764 (digit-char-p, parse-integer) Moved to cl-lib.el.
3765 (parse-time-tokenize, parse-time-rules, parse-time-string):
3766 Use cl-parse-integer.
3767
3768 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
3769
3770 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
3771 (cl-digit-char-p): New function.
3772
3773 2014-09-25 Juri Linkov <juri@jurta.org>
3774
3775 * vc/add-log.el (change-log-next-buffer): Don't create an empty
3776 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
3777 Return the current buffer if no files match the default pattern
3778 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
3779
3780 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
3783 the global vc-handled-backends (bug#18535).
3784
3785 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
3788 Suggested by <lompik@voila.fr>.
3789
3790 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
3791
3792 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
3793 Rename from `newsticker--treeview-do-get-node'.
3794 (newsticker--treeview-get-node-by-id):
3795 Rename from `newsticker--treeview-get-node'.
3796 (newsticker--treeview-buffer-init)
3797 (newsticker--treeview-buffer-init): Disable buffer undo.
3798 (newsticker--treeview-unfold-node): Adapt to modified
3799 `newsticker--group-find-parent-group'.
3800 (newsticker--group-do-find-group):
3801 Rename from `newsticker--group-do-find-group-for-feed'.
3802 Now works for both, groups and feeds.
3803 (newsticker--group-find-parent-group):
3804 Rename from `newsticker--group-find-group-for-feed'.
3805 Now works for both, groups and feeds.
3806 (newsticker--group-do-get-parent-group)
3807 (newsticker--group-get-parent-group): Remove.
3808 (newsticker-group-add-group): Change interactive prompts.
3809 (newsticker-group-add-group): Finally jump to added group.
3810 (newsticker-group-delete-group): Finally jump to current feed.
3811 (newsticker--group-do-rename-group, newsticker-group-rename-group)
3812 (newsticker--get-group-names, newsticker--group-names): New.
3813 (newsticker-group-move-feed): Finally jump to moved feed.
3814 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
3815 (newsticker-group-shift-group-down)
3816 (newsticker-group-shift-group-up, newsticker--group-shift): New.
3817 (newsticker-treeview-mode-map): New keybindings for new shift commands.
3818
3819 * net/newst-backend.el (newsticker--item-list)
3820 (newsticker--item-position, newsticker--prev-message)
3821 (newsticker--scrollable-text): Move to newst-ticker.el.
3822
3823 * net/newst-ticker.el (newsticker--item-list)
3824 (newsticker--item-position, newsticker--prev-message)
3825 (newsticker--scrollable-text): Move from newst-backend.el.
3826
3827 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
3828
3829 * window.el (fit-window-to-buffer): When counting buffer width,
3830 count the whole visible buffer. Correctly convert the body-height
3831 to pixel size for window-text-pixel-size (Bug#18498).
3832
3833 2014-09-22 Sam Steingold <sds@gnu.org>
3834
3835 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
3836 (sql-execute): Use `special-mode'.
3837
3838 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 Add pcase-defmacro, as well as `quote' and `app' patterns.
3841 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
3842 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
3843 (pcase--funcall, pcase--eval): New functions.
3844 (pcase--u1): Use them for guard, pred, let, and app.
3845 (\`): Use the new feature to generate better code for vector patterns.
3846 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
3847 (pcase--upat): Remove.
3848 (pcase--macroexpand): Don't hardcode handling of `.
3849 (pcase--split-consp, pcase--split-vector): Remove.
3850 (pcase--split-equal): Disregard ` since it's expanded away.
3851 (pcase--split-member): Optimize for quote rather than for `.
3852 (pcase--split-pred): Optimize for quote rather than for `.
3853 (pcase--u1): Remove handling of ` (and of `or' and `and').
3854 Quote non-selfquoting values when passing them to `eq'.
3855 Drop `app's let-binding if the variable is not used.
3856 (pcase--q1): Remove.
3857 (`): Define as a pattern macro.
3858 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
3859 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
3860 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
3861 quote patterns.
3862 (pcase--split-match): Don't hoist or/and here any more.
3863 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
3864 (pcase--flip): New helper macro.
3865 (pcase--u1): Optimize the memq case directly.
3866 Don't handle neither self-quoting nor and/or patterns any more.
3867 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
3868 (pcase--macroexpand): New function.
3869 (pcase--expand): Use it.
3870 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
3871 New optimization functions.
3872 (pcase--u1): Add support for `quote' and `app'.
3873 (pcase): Document them in the docstring.
3874
3875 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
3876
3877 Use lexical-bindin in Ibuffer.
3878 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
3879 (ibuffer-compile-format): Simplify.
3880 (ibuffer-clear-summary-columns): Simplify.
3881 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
3882 elem of dotimes when we don't refer to the iteration var from it.
3883 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
3884 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
3885 Silence byte-compiler.
3886
3887 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
3890 expression for a list.
3891
3892 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
3893 for functions with no arguments.
3894
3895 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
3896 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
3897
3898 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
3899
3900 * simple.el (clone-indirect-buffer): Mention the return value
3901 (bug#18478).
3902
3903 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
3904 Text mode in docstring (bug#18464).
3905
3906 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3909 Accept underscores in identifiers after "sub" (bug#18502).
3910
3911 2014-09-21 Tassilo Horn <tsdh@gnu.org>
3912
3913 * textmodes/reftex-sel.el (reftex-select-label-mode)
3914 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
3915 from special-mode (instead of fundamental-mode) and propertize
3916 with font-lock-face instead of just face. (Bug#18496)
3917
3918 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
3919
3920 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
3921
3922 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
3923 `table-etc' when `end' is non-nil.
3924 (lisp-completion-at-point): Move `end' back if it's after quote.
3925 If in comment or string, only complete when after backquote.
3926 (Bug#18265)
3927 (lisp-completion-at-point): Don't use
3928 `lisp--local-variables-completion-table' in the
3929 `lisp--form-quoted-p' case.
3930
3931 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
3932
3933 * emacs-lisp/lisp.el (lisp--expect-function-p)
3934 (lisp--form-quoted-p): New functions.
3935 (lisp-completion-at-point): Use them to see if we're completing a
3936 variable reference, a function name, or just any symbol.
3937 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
3938
3939 2014-09-18 Ivan Kanis <ivan@kanis.fr>
3940
3941 * net/shr.el, net/eww.el: Don't override `shr-width', but
3942 introduce a new variable `shr-internal-width'. This allows users
3943 to specify a width themselves.
3944
3945 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3946
3947 * image-mode.el (image-toggle-display-image): If we have a
3948 `fit-width' or a `fit-height', don't limit the size of the image
3949 to the window size, because that doesn't preserve the aspect ratio.
3950 * image-mode.el: Move defvars earlier to avoid a byte-compilation
3951 warning.
3952
3953 2014-09-17 Reuben Thomas <rrt@sc3d.org>
3954
3955 * progmodes/js.el: Add interpreter-mode-alist support for various
3956 JavaScript interpreters.
3957
3958 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
3959
3960 Don't assume 'grep' supports GREP_OPTIONS.
3961 The GREP_OPTIONS environment variable is planned to be marked
3962 obsolescent in GNU grep, due to problems in its use, so stop
3963 relying on it.
3964 * progmodes/grep.el (grep-highlight-matches): Document this.
3965 (grep-process-setup): Do not set GREP_OPTIONS.
3966 (grep-compute-defaults): Use an explicit --color option if supported.
3967
3968 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3969
3970 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
3971 Don't add outdated key-shortcut cache (bug#18482).
3972
3973 2014-09-15 Glenn Morris <rgm@gnu.org>
3974
3975 * image.el (image-multi-frame-p): Fix thinko - do not force
3976 a delay if none was specified. (Bug#18334)
3977
3978 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
3979
3980 * window.el (fit-window-to-buffer): Doc fix.
3981
3982 2014-09-15 Ivan Shmakov <ivan@siamics.net>
3983
3984 * desktop.el (desktop-create-buffer): Check that buffers are still live
3985 before burying them (bug#18373).
3986
3987 2014-09-15 Glenn Morris <rgm@gnu.org>
3988
3989 * calendar/diary-lib.el (diary-list-entries):
3990 Restore 24.3 display behavior. (Bug#18381)
3991
3992 2014-09-15 Eli Zaretskii <eliz@gnu.org>
3993
3994 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
3995 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
3996 discrepancy between window-pixel-edges and mouse events, and
3997 avoids moving mode line up when the mouse click is on the modeline
3998 and no drag is attempted.
3999
4000 2014-09-14 Daniel Colascione <dancol@dancol.org>
4001
4002 * register.el (insert-register): Change default interactive
4003 insertion mode.
4004
4005 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
4006
4007 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
4008 Suppress debug messages.
4009
4010 * net/tramp.el (tramp-file-name-handler):
4011 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
4012 appropriate.
4013
4014 2014-09-13 Christopher Schmidt <ch@ristopher.com>
4015
4016 * calendar/calendar.el (calendar-update-mode-line):
4017 Do not overwrite mode-line-format if calendar-mode-line-format is
4018 nil. (Bug#18467)
4019
4020 2014-09-13 Leo Liu <sdl.web@gmail.com>
4021
4022 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
4023 (pcase--expand): Use it.
4024 (pcase-exhaustive): New macro. (Bug#16567)
4025
4026 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
4027 Add pcase-exhaustive.
4028
4029 2014-09-13 Eli Zaretskii <eliz@gnu.org>
4030
4031 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
4032 using the specified transfer-encoding, if any, or 'undecided'.
4033 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
4034 broken at the window margin.
4035
4036 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
4037
4038 Support rendering of HTML parts in Rmail (bug#4258).
4039 * mail/rmailmm.el (rmail-mime-process): Handle text/html
4040 separately from other text/ types. Suppress tagline for
4041 multipart body.
4042 (rmail-mime-parse): Don't change visibility of tagline here.
4043 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
4044 Handle text/html specially.
4045 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
4046 (rmail-mime-insert-html, rmail-mime-render-html-shr)
4047 (rmail-mime-render-html-lynx): New functions.
4048 (rmail-mime-fix-inserted-faces): New function.
4049 (rmail-mime-process-multipart): Find the best part to show
4050 following rmail-mime-prefer-html if set.
4051 (rmail-mime-searching): New variable.
4052 (rmail-search-mime-message): Bind rmail-mime-searching to
4053 suppress rendering while searching.
4054
4055 2014-09-12 Sam Steingold <sds@gnu.org>
4056
4057 * progmodes/sql.el (sql-product-alist): Add vertica.
4058 (sql-vertica-program, sql-vertica-options)
4059 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
4060 New functions and variables to support Vertica.
4061 Inspired by code by Roman Scherer <roman@burningswell.com>.
4062
4063 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
4064
4065 * ses.el (ses-file-format-extend-parameter-list): Rename from
4066 ses-file-format-extend-paramter-list, to correct a misspelling.
4067 All uses changed.
4068
4069 2014-09-10 Alan Mackenzie <acm@muc.de>
4070
4071 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
4072 gets loaded at run-time).
4073 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
4074 c-lang-const to c-make-no-parens-syntax-table and correct the
4075 logic.
4076 (c-no-parens-syntax-table): Correct the logic of the
4077 c-lang-defvar.
4078
4079 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
4082 plus misc cleanup.
4083 * progmodes/cc-mode.el (c-basic-common-init):
4084 Set open-paren-in-column-0-is-defun-start.
4085 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
4086 Remove declarations, unused.
4087 (run-mode-hooks): Remove declaration.
4088 (font-lock-defaults): Use plain `defvar' to declare.
4089 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
4090 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
4091 (c-make-mode-syntax-table): Don't micro-optimize.
4092 (c-keywords, c-keyword-member-alist): Simplify.
4093 (c-kwds-lang-consts): Don't eval at compile-time.
4094 (c-primary-expr-regexp): Comment out unused vars.
4095 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
4096 (c-font-byte-compile): New var.
4097 (c--compile): New function. Use it instead of `byte-compile'.
4098 (c-cpp-matchers): Quote the value returned by
4099 `c-make-syntactic-matcher' in case it's not self-evaluating.
4100 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
4101 parentheses instead (in case MATCHER happens to be a list).
4102 (c-font-lock-enum-tail): Remove unused var `start'.
4103 (c-font-lock-objc-methods): Silence byte-compiler warnings.
4104 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
4105 test into an argument.
4106 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
4107 (c-get-char-property): Don't use `eval' just to unquote a constant.
4108 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
4109 more efficiently.
4110 (c-put-char-property-fun): Don't call `byte-compile' by hand.
4111 (c-clear-char-property, c-clear-char-properties): Check that `property'
4112 is a quoted constant.
4113 (c-emacs-features): Remove `infodock', `syntax-properties', and
4114 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
4115 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
4116 changing buffer, so we don't have to setq them again afterwards.
4117 (c-lang-const): Remove redundant symbolp assertions.
4118 (c-find-assignment-for-mode): Use `or'.
4119 * Makefile.in (compile-one-process): Remove cc-mode dependency.
4120
4121 2014-09-09 Sam Steingold <sds@gnu.org>
4122
4123 * progmodes/sql.el (sql-default-directory): Fix type annotation.
4124
4125 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
4128 Change doc comments into docstrings.
4129 * Makefile.in: Remove cc-awk dependency.
4130
4131 2014-09-08 Sam Steingold <sds@gnu.org>
4132
4133 * progmodes/sql.el (sql-send-line-and-next): New command,
4134 bound to C-c C-n.
4135 (sql-show-sqli-buffer): Display the buffer instead of its name and
4136 bind the command to C-c C-z.
4137 (sql-default-directory): New user option.
4138 (sql-product-interactive): Bind `default-directory' to it to
4139 enable remote connections using Tramp.
4140 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
4141 suitable buffer is available.
4142
4143 2014-09-08 Glenn Morris <rgm@gnu.org>
4144
4145 * calendar/calendar.el (calendar-basic-setup):
4146 Fix calendar-view-holidays-initially-flag and fancy display.
4147 * calendar/diary-lib.el (diary-live-p): Doc fix.
4148
4149 * calendar/calendar.el (calendar-basic-setup):
4150 Avoid clobbering calendar with diary. (Bug#18381)
4151
4152 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
4155
4156 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
4157
4158 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
4159 as well (bug#18400).
4160
4161 2014-09-08 Eli Zaretskii <eliz@gnu.org>
4162
4163 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
4164
4165 2014-09-06 Leo Liu <sdl.web@gmail.com>
4166
4167 * emacs-lisp/pcase.el (pcase): Doc fix.
4168 (pcase--split-vector): New function.
4169 (pcase--q1): Support vector qpattern. (Bug#18327)
4170
4171 2014-09-05 Sam Steingold <sds@gnu.org>
4172
4173 * textmodes/tex-mode.el (tex-print-file-extension): New user
4174 option.
4175 (tex-print): Use it instead of the hard-coded string.
4176
4177 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
4178
4179 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4180 Expand `default-directory'.
4181
4182 2014-09-05 Martin Rudalics <rudalics@gmx.at>
4183
4184 * scroll-bar.el (horizontal-scroll-bars-available-p):
4185 New function.
4186 (horizontal-scroll-bar-mode): Rewrite using
4187 horizontal-scroll-bars-available-p.
4188 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
4189 horizontal-scroll-bars-available-p.
4190
4191 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * subr.el (call-process-shell-command, process-file-shell-command):
4194 Make the `args' obsolete (bug#18409).
4195 (start-process-shell-command, start-file-process-shell-command):
4196 Use `declare'.
4197
4198 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
4199
4200 * calc/calc-forms.el (math-normalize-hms): Do a better check for
4201 "negative" hms forms.
4202
4203 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
4204
4205 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
4206 returns nil (bug#18391).
4207
4208 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
4211 terminating paren (bug#18352).
4212 (eldoc-last-data-store): Return cached data.
4213 (eldoc-get-var-docstring): Avoid setq.
4214 (eldoc-get-fnsym-args-string): Clarify data flow.
4215
4216 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4217
4218 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
4219 case where we're currently providing part of the &rest arg after some
4220 &key args, as in define-ibuffer-op (bug#18048).
4221
4222 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
4225 buffer-local setting of which-func-mode.
4226 (which-func-mode): Use defvar-local.
4227 (which-function-mode): Don't reset which-func-mode in each buffer since
4228 it might have been set by someone else.
4229 (which-func-update-ediff-windows): Check which-function-mode.
4230
4231 2014-09-03 Martin Rudalics <rudalics@gmx.at>
4232
4233 * frame.el (frame-initialize): Remove horizontal-scroll-bars
4234 from frame-initial-frame-alist.
4235 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
4236 (horizontal-scroll-bar-mode-explicit)
4237 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
4238 (toggle-horizontal-scroll-bar): Remove.
4239 (horizontal-scroll-bar-mode): Remove defcustom.
4240 (horizontal-scroll-bar-mode): Fix doc-string.
4241 (scroll-bar-toolkit-scroll)
4242 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
4243
4244 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4245
4246 * emacs-lisp/package.el (package-generate-description-file):
4247 Properly quote the arguments (bug#18332). Change second arg.
4248 (package--alist-to-plist-args): Rename from package--alist-to-plist and
4249 quote the elements.
4250 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
4251 the *-pkg.el file. Adjust to new calling convention of
4252 package-generate-description-file.
4253
4254 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
4255 (gud-gdb-completions): Remove obsolete workaround.
4256
4257 2014-09-03 Eli Zaretskii <eliz@gnu.org>
4258
4259 * subr.el (posn-col-row): Revert the change from commit
4260 2010-11-13T21:07:58Z!eliz@gnu.org, which
4261 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
4262 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
4263 introduced an off-by-one error in the reported row when there is a
4264 header line. (Bug#18384)
4265
4266 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
4267
4268 * progmodes/python.el (python-indent-post-self-insert-function):
4269 Avoid electric colon at beginning-of-defun. (Bug#18228)
4270
4271 2014-09-03 Glenn Morris <rgm@gnu.org>
4272
4273 * tutorial.el (tutorial--display-changes):
4274 Fix 2014-08-01 change. (Bug#18382)
4275
4276 2014-09-03 Ken Brown <kbrown@cornell.edu>
4277
4278 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
4279 the Cygwin-w32 build. (Bug#18347)
4280
4281 2014-09-03 Glenn Morris <rgm@gnu.org>
4282
4283 * tar-mode.el (tar--extract, tar-extract):
4284 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
4285
4286 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
4289 handle multiline elements (bug#18380).
4290
4291 2014-09-01 Eli Zaretskii <eliz@gnu.org>
4292
4293 * ls-lisp.el (ls-lisp-use-string-collate)
4294 (ls-lisp-UCA-like-collation): New defcustoms.
4295 (ls-lisp-string-lessp): Use them to control sorting by file
4296 names. (Bug#18051)
4297 (ls-lisp-version-lessp): New function.
4298 (ls-lisp-handle-switches): Use it to implement the -v switch of
4299 GNU ls.
4300 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
4301
4302 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
4303
4304 * ibuffer.el: Replace mode-specific quit function with
4305 `quit-window' via `special-mode'.
4306 (ibuffer-mode-map): Use keybindings from special-mode-map instead
4307 of local overrides.
4308 (ibuffer): Don't store previous windows configuration.
4309 Let `quit-window' handle restoring.
4310 (ibuffer-quit): Remove function. Use `quit-window' instead.
4311 (ibuffer-restore-window-config-on-quit): Remove variable.
4312 (ibuffer-prev-window-config): Remove variable.
4313
4314 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
4315
4316 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
4317 name instead of variable name in hook docstring. (Bug#18349)
4318
4319 2014-08-29 Martin Rudalics <rudalics@gmx.at>
4320
4321 * window.el (display-buffer-at-bottom): Prefer bottom-left
4322 window to other bottom windows. Reuse a bottom window if it
4323 shows the buffer already. Suggested by Juri Linkov
4324 <juri@jurta.org> in discussion of (Bug#18181).
4325
4326 2014-08-29 Leo Liu <sdl.web@gmail.com>
4327
4328 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
4329 append to minibuffer-setup-hook. (Bug#18341)
4330
4331 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4332
4333 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
4334 byte-compiler.
4335 (lookup-syntax-properties): Silence byte-compiler.
4336 (c-lang-defconst): Quote the code with `lambda' rather than with
4337 `quote'.
4338 (c-lang-const): Avoid unneeded setq.
4339 (c-lang-constants-under-evaluation): Add docstring.
4340 (c-lang--novalue): New constant.
4341 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
4342 (c-get-lang-constant): Same here.
4343 Get the mode's value using `funcall' now that the code is quoted
4344 with `lambda'.
4345
4346 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
4347
4348 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
4349 (Bug#18326)
4350
4351 2014-08-28 Martin Rudalics <rudalics@gmx.at>
4352
4353 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
4354 interpretation of `portion-whole'.
4355
4356 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
4357
4358 * net/tramp-adb.el: Spell author name correctly.
4359
4360 2014-08-28 João Távora <joaotavora@gmail.com>
4361
4362 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
4363 use url-expand-file-name. (Bug#18310)
4364
4365 2014-08-28 Glenn Morris <rgm@gnu.org>
4366
4367 * emulation/cua-rect.el (cua--highlight-rectangle):
4368 Avoid error at point-min. (Bug#18309)
4369
4370 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
4373 executable-find (bug#18244).
4374
4375 * simple.el (self-insert-uses-region-functions): Defvar.
4376
4377 2014-08-28 Glenn Morris <rgm@gnu.org>
4378
4379 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
4380
4381 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
4382
4383 * startup.el (normal-top-level): Now use internal--top-level-message.
4384
4385 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
4386
4387 * startup.el (normal-top-level): Use top-level-message.
4388
4389 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4390
4391 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
4392 URLs containing spaces and the like.
4393
4394 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
4395
4396 * subr.el (remq): Fix docstring (Bug#18253).
4397
4398 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
4399
4400 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
4401
4402 2014-08-24 Alan Mackenzie <acm@muc.de>
4403
4404 Handle C++11's "auto" and "decltype" constructions.
4405 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
4406 and return 'decltype.
4407 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
4408 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
4409 keyword.
4410 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
4411 "decltype" keyword.
4412 (c-font-lock-c++-new): Handle "decltype" constructions.
4413 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
4414 New c-lang-defconsts/defvars.
4415 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
4416 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
4417 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
4418 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
4419
4420 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
4421 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
4422 off from c->-op-cont-re.
4423 (c->-op-cont-tokens): Change to use the above.
4424 (c->-op-without->-cont-regexp): New lang-const.
4425 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
4426 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
4427
4428
4429 2014-08-23 Alan Mackenzie <acm@muc.de>
4430
4431 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
4432 loop, bug #18306. The bug was introduced on 2014-08-02.
4433
4434 2014-08-21 Eli Zaretskii <eliz@gnu.org>
4435
4436 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
4437 Don't recognize a Top node if there are other sectioning commands
4438 earlier in the Texinfo file. This fixes a bug in
4439 texinfo-make-menu and avoids inflooping in
4440 texinfo-all-menus-update when they are invoked on texinfo.texi.
4441
4442 2014-08-21 Martin Rudalics <rudalics@gmx.at>
4443
4444 * window.el (window--side-window-p): New function.
4445 (split-window, window-splittable-p): Use window--side-window-p to
4446 determine whether WINDOW can be split (Bug#18304).
4447 * calendar/calendar.el (calendar-basic-setup): Fix one call of
4448 `window-splittable-p' and add another (Bug#18304).
4449
4450 2014-08-20 Sam Steingold <sds@gnu.org>
4451
4452 * progmodes/python.el (python-new-pythonpath): Extract from
4453 `python-shell-calculate-process-environment'.
4454
4455 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4456
4457 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
4458 for &key args (bug#18048).
4459
4460 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4461
4462 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
4463 (eldoc-function-argstring-format): Remove.
4464 (eldoc-function-argstring): Always return upcase args.
4465 Use help-make-usage. Don't add parens.
4466 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
4467 it's too late to do it right (bug#18048).
4468
4469 2014-08-18 Eli Zaretskii <eliz@gnu.org>
4470
4471 * scroll-bar.el (scroll-bar-horizontal-drag-1)
4472 (scroll-bar-toolkit-horizontal-scroll): When determining the
4473 paragraph direction, use the buffer of the window designated in
4474 the event.
4475
4476 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
4477
4478 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
4479 context of unified diff.
4480
4481 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
4482
4483 Add dependencies to fix loaddefs race during parallel builds.
4484 Without this, for example, 'make -j bootstrap' can fail and report
4485 "Opening input file: no such file or directory,
4486 .../lisp/calendar/diary-loaddefs.el ... recipe for target
4487 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
4488 got confused because diary-loaddefs.el was being built in parallel.
4489 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
4490 Depend on $(CAL_DIR)/cal-loaddefs.el.
4491 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
4492
4493 2014-08-16 Martin Rudalics <rudalics@gmx.at>
4494
4495 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
4496 portion-whole for scrolling right-to-left text.
4497
4498 2014-08-15 Leo Liu <sdl.web@gmail.com>
4499
4500 * speedbar.el (speedbar-generic-list-tag-p): Allow special
4501 elements from imenu.
4502
4503 2014-08-15 Glenn Morris <rgm@gnu.org>
4504
4505 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
4506
4507 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
4508
4509 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4510 Add Guile regexpses.
4511
4512 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
4513
4514 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
4515 add Guile debugger support for GUD.
4516
4517 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
4520 (mouse-sel--ignore): New function.
4521 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
4522 (mouse-sel-original-interprogram-cut-function)
4523 (mouse-sel-original-interprogram-paste-function): Remove.
4524
4525 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
4526
4527 * vc/vc-git.el (vc-git-resolve-when-done): New function.
4528 Call "git add" when there are no longer conflict markers.
4529
4530 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4531
4532 * vc/vc-git.el (vc-git-find-file-hook): New function.
4533 Adds support for calling smerge (and resolve) on a conflicted file.
4534 (vc-git-conflicted-files): New function.
4535 Useful in itself and a step towards better smerge support.
4536
4537 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
4540 to the first part if they're the same as the selection.
4541
4542 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4543
4544 * image-mode.el (image-transform-reset): New command and menu item.
4545 (image-mode-map): Rearrange the menu items to put presumably more
4546 obscure items at the end.
4547
4548 2014-08-12 Juri Linkov <juri@jurta.org>
4549
4550 * vc/vc-annotate.el (vc-annotate-background-mode):
4551 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
4552
4553 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * files.el (out-of-memory-warning-percentage): Turn it off by default.
4556
4557 2014-08-11 Sam Steingold <sds@gnu.org>
4558
4559 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
4560 the presence of known validators (tidy, (o)nsgmls).
4561
4562 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
4563
4564 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
4565 * net/newst-treeview.el (newsticker-treeview-date-format): New.
4566 (newsticker--treeview-list-add-item):
4567 Use `newsticker-treeview-date-format'.
4568
4569 2014-08-11 Glenn Morris <rgm@gnu.org>
4570
4571 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
4572 chose coding system for writing before backing up, since it causes
4573 a more serious problem than the one it solves. (Closes Bug#18141,
4574 reopens Bug#13522.)
4575
4576 2014-08-11 Martin Rudalics <rudalics@gmx.at>
4577
4578 * window.el (window-total-size): Make doc-string more self-contained.
4579
4580 * window.el (display-buffer-below-selected): Restore original
4581 behavior if buffer is already displayed in the window below the
4582 selected one (Bug#18181).
4583
4584 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
4587 event (bug#18212).
4588
4589 2014-08-11 Eli Zaretskii <eliz@gnu.org>
4590
4591 * info.el (info): Doc fix.
4592
4593 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * info.el (Info-mode-map): Override a global down-mouse-2 binding
4596 (bug#18212).
4597
4598 2014-08-11 Eli Zaretskii <eliz@gnu.org>
4599
4600 * simple.el (default-line-height): A floating-point value of
4601 line-spacing means a fraction of the default frame font's height,
4602 not of the font currently used by the 'default' face.
4603 Truncate the pixel value, like the display engine does.
4604 (window-screen-lines): Use window-inside-pixel-edges for
4605 determining the window height in pixels. (Bug#18195)
4606
4607 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
4608
4609 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
4610
4611 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
4612
4613 Enumerate evaluated sexp diary entries (Bug#7911).
4614 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
4615 (icalendar-export-sexp-enumeration-days): New.
4616 (icalendar-export-region): Now `icalendar--convert-to-ical'
4617 returns a cons cell or a list of cons cells.
4618 (icalendar--convert-to-ical): Take care of
4619 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
4620 (icalendar--convert-ordinary-to-ical)
4621 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4622 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
4623 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
4624 (icalendar--convert-anniversary-to-ical): Return cons cell.
4625 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
4626 entries. Return (list of) cons cells.
4627
4628 2014-08-09 Juri Linkov <juri@jurta.org>
4629
4630 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
4631 to reevaluate `vc-annotate-color-map'. (Bug#18189)
4632
4633 2014-08-09 Alan Mackenzie <acm@muc.de>
4634
4635 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
4636 for top-level that can cause unacceptable slow-down in scrolling.
4637 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
4638 Antipov from 2013-10-14 in emacs-devel.
4639
4640 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4641
4642 * ibuffer.el (ibuffer-mode-map): Use toggle button for
4643 `ibuffer-auto-mode' menu entry.
4644 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
4645
4646 2014-08-08 Matthias Meulien <orontee@gmail.com>
4647
4648 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
4649 (Bug#16394)
4650
4651 2014-08-07 Martin Rudalics <rudalics@gmx.at>
4652
4653 * window.el (window--min-size-1): Explicitly set WINDOW arg in
4654 calls of window-min-pixel-height and window-min-pixel-width.
4655
4656 2014-08-07 Reuben Thomas <rrt@sc3d.org>
4657
4658 * progmodes/ada-mode.el:
4659 * net/tramp.el (tramp-handle-file-symlink-p):
4660 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
4661 about VMS, which we no longer support.
4662 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
4663 and fix a FIXME, using convert-standard-filename in place of
4664 removed ada-convert-file-name.
4665
4666 2014-08-07 Eli Zaretskii <eliz@gnu.org>
4667
4668 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
4669
4670 2014-08-07 Reuben Thomas <rrt@sc3d.org>
4671
4672 Refer to MS-DOS using the same name everywhere.
4673 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
4674 ``msdog'' become ``MS-DOS''.
4675
4676 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
4677
4678 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4679 Use cached "remote-copy-args" value, if available. (Bug#18199)
4680
4681 2014-08-07 Leo Liu <sdl.web@gmail.com>
4682
4683 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
4684 Revert change on 2014-03-22.
4685
4686 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
4687
4688 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
4689 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
4690 (Bug#13750).
4691
4692
4693 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4694
4695 * image-mode.el (image-toggle-display-image): Always rescale images
4696 to not be bigger than the current window.
4697
4698 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
4699
4700 * net/eww.el (eww-bookmarks-directory): New variable.
4701 (eww-write-bookmarks): Use it.
4702 (eww-read-bookmarks): Ditto.
4703
4704 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4705
4706 * net/shr.el (shr-copy-url): Also copy the image URL.
4707
4708 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
4709
4710 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
4711 also for Tramp working buffers.
4712
4713 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4714
4715 * progmodes/python.el: Fix completions inside (i)pdb.
4716 (python-shell-completion-pdb-string-code): Make obsolete.
4717 (python-shell-completion-get-completions):
4718 Use python-shell-completion-string-code resending setup code
4719 continuously for (i)pdb.
4720
4721 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
4722
4723 * rect.el (rectangle--default-line-number-format): Rename
4724 from misspelled rectange--default-line-number-format (Bug#18045).
4725 All uses changed.
4726
4727 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
4728
4729 Don't mishandle year-9999 dates (Bug#18176).
4730 * calendar/parse-time.el (parse-time-rules):
4731 Allow years up to most-positive-fixnum.
4732 * calendar/time-date.el (date-to-time):
4733 Pass "Specified time is not representable" errors through.
4734
4735 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4736
4737 * progmodes/python.el: Completion code cleanups.
4738 (python-shell-completion-get-completions): Detect and send import
4739 statements directly to completion function.
4740 (python-shell-completion-at-point): Simplify prompt calculation
4741 and import vs input completion logic.
4742
4743 2014-08-02 Alan Mackenzie <acm@muc.de>
4744
4745 Fix confusion in C++ file caused by comma in "= {1,2},".
4746 Bug #17756.
4747 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
4748 for a statement boundary marked by "}", check there's no "="
4749 before the "{".
4750 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
4751 non-nil `comma-delim' argument.
4752 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
4753 initializer expression more accurately.
4754
4755 Correct loop termination condition in c-syntactic-skip-backward.
4756 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
4757 the situation where, after moving back out of a literal,
4758 skip-chars-backward doesn't move further, yet checks have still to
4759 be done.
4760
4761 2014-08-01 Eli Zaretskii <eliz@gnu.org>
4762
4763 * tutorial.el (tutorial--display-changes): Accept punctuation
4764 characters before the key binding. (Bug#18146)
4765
4766 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
4767
4768 * progmodes/python.el: Shell output capture enhancements.
4769 (python-shell-accept-process-output): New function.
4770 (inferior-python-mode)
4771 (python-shell-send-setup-code): Use it.
4772
4773 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
4774
4775 * calendar/icalendar.el (icalendar--decode-isodatetime):
4776 Use actual current-time-zone when converting to local time. (Bug#15408)
4777
4778 2014-07-29 Martin Rudalics <rudalics@gmx.at>
4779
4780 * window.el (window--state-put-2): Handle horizontal scroll
4781 bars, if present.
4782
4783 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4784
4785 * menu-bar.el (menu-bar-update-buffers): Update item list format
4786 in `buffers-menu' to confirm with changes to `get_keyelt'
4787 (r117463). (Bug#18016)
4788
4789 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4790
4791 * progmodes/python.el (inferior-python-mode): Make input prompts
4792 read-only.
4793
4794 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
4795
4796 * net/tramp-sh.el (tramp-get-remote-python): Also search for
4797 executables named "python2" or "python3".
4798 (tramp-get-remote-uid-with-python): Use parentheses around
4799 arguments to `print' to make it compatible with Python 3.
4800 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
4801
4802 2014-07-28 Eli Zaretskii <eliz@gnu.org>
4803
4804 * window.el (window--pixel-to-total): Use FRAME's root window, not
4805 that of the selected frame. (Bug#18112, Bug#16674)
4806
4807 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
4808
4809 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
4810 (Bug#18117)
4811
4812 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4813
4814 * progmodes/python.el (inferior-python-mode): Doc fix.
4815
4816 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
4817
4818 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
4819 not a character, ignore it instead of raising an error.
4820
4821 * calendar/todo-mode.el: Fix handling of marked items and make
4822 minor code improvements.
4823 (todo-edit-item): If there are marked items, ensure user can only
4824 invoke editing commands that work with marked items.
4825 (todo-edit-item--text): When there are marked items, make it a
4826 noop if invoked with point not on an item; otherwise, ensure it
4827 applies only to item at point.
4828 (todo-item-undone): If there are marked not-done items, return
4829 point to its original position before signaling user error.
4830 (todo--user-error-if-marked-done-item): New function.
4831 (todo-edit-item--header, todo-edit-item--diary-inclusion)
4832 (todo-item-done): Use it.
4833
4834 2014-07-28 Glenn Morris <rgm@gnu.org>
4835
4836 * files.el (toggle-read-only): Re-add basic doc-string.
4837 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
4838
4839 * progmodes/prolog.el (prolog-mode-keybindings-edit):
4840 Replace missing `switch-to-prolog' with `run-prolog'.
4841 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
4842
4843 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
4844
4845 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
4846 of file-wide setting when changing category-wide setting.
4847
4848 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
4849
4850 * doc-view.el (doc-view-open-text): Don't require that the
4851 document is saved in a file (e.g., email attachment).
4852
4853 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4854
4855 Parse completion input in a iPython friendly way. (Bug#18084)
4856 * progmodes/python.el
4857 (python-shell-completion-at-point): Rename from
4858 python-shell-completion-complete-at-point.
4859 (inferior-python-mode): Use it.
4860 (python-completion-at-point): Rename from
4861 python-completion-complete-at-point. Parse input up to first
4862 backward occurrence of whitespace, open-paren, close-paren or
4863 string delimiter.
4864 (python-mode): Use it.
4865
4866 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4867
4868 * progmodes/python.el
4869 (python-shell-with-shell-buffer): New macro.
4870 (python-shell-font-lock-get-or-create-buffer)
4871 (python-shell-font-lock-kill-buffer)
4872 (python-shell-font-lock-with-font-lock-buffer)
4873 (python-shell-font-lock-cleanup-buffer)
4874 (python-shell-font-lock-toggle): Use it.
4875 (python-shell-font-lock-turn-on)
4876 (python-shell-font-lock-turn-off): Use it. Make command.
4877
4878 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4879
4880 Grab all Python process output before inferior-python-mode hooks.
4881 * progmodes/python.el (inferior-python-mode):
4882 Call accept-process-output and sit-for to ensure all output for process
4883 has been received before running hooks.
4884 (python-shell-internal-get-or-create-process):
4885 Cleanup accept-process-output and sit-for calls.
4886
4887 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4888
4889 More robust shell startup and code setup.
4890 * progmodes/python.el (python-shell-make-comint):
4891 Remove accept-process-output call.
4892 (python-shell-get-buffer): Return current buffer if major-mode is
4893 inferior-python-mode.
4894 (python-shell-get-or-create-process): Use it.
4895 (python-shell-send-setup-code): Send all setup code in one string,
4896 output success message and accept-process-output.
4897
4898 2014-07-27 Eli Zaretskii <eliz@gnu.org>
4899
4900 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
4901 Add rudimentary support for bidirectional text.
4902
4903 2014-07-27 Martin Rudalics <rudalics@gmx.at>
4904
4905 * frame.el (frame-notice-user-settings): Rewrite using
4906 frame-initial-frame-tool-bar-height.
4907 * menu-bar.el (menu-bar-horizontal-scroll-bar)
4908 (menu-bar-no-horizontal-scroll-bar): New functions.
4909 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
4910 scroll bars.
4911 * scroll-bar.el (scroll-bar-lines)
4912 (set-horizontal-scroll-bar-mode)
4913 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
4914 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
4915 (scroll-bar-toolkit-horizontal-scroll): New functions.
4916 (horizontal-scroll-bar-mode)
4917 (previous-horizontal-scroll-bar-mode)
4918 (horizontal-scroll-bar-mode-explicit): New variables.
4919 (horizontal-scroll-bar-mode): New option.
4920 (toggle-horizontal-scroll-bar): Do something.
4921 (top-level): Bind horizontal-scroll-bar mouse-1.
4922 * startup.el (tool-bar-originally-present): Remove variable.
4923 (command-line): Don't set tool-bar-originally-present.
4924 * window.el (window-min-height): Update doc-string.
4925 (window--dump-frame): Dump horizontal scroll bar values.
4926 (window--min-size-1): Handle minibuffer window separately.
4927 Count in margins and horizontal scroll bar. Return safe value
4928 iff IGNORE equals 'safe.
4929 (frame-windows-min-size): New function (used by frame resizing
4930 routines).
4931 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
4932 scroll bars.
4933 (window--sanitize-window-sizes): New function.
4934 (window-split-min-size): Remove.
4935 (split-window): Count divider-width. Don't use
4936 `window-split-min-size' any more. Reword error messages.
4937 Sanitize windows sizes after splitting.
4938
4939 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
4940
4941 Use `defvar-local' more.
4942 * progmodes/hideshow.el
4943 (hs-c-start-regexp, hs-block-start-regexp)
4944 (hs-block-start-mdata-select, hs-block-end-regexp)
4945 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
4946 remove corresponding `make-variable-buffer-local' top-level calls.
4947
4948 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4949
4950 Cleanup error signals. (Bug#18067)
4951 * progmodes/python.el
4952 (python-indent-shift-left): Use user-error instead.
4953 (python-shell-prompt-detect): Use lwarn with python group.
4954 (python-completion-complete-at-point)
4955 (python-eldoc--get-doc-at-point): Don't signal error.
4956
4957 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4958
4959 Support for packages in Python shell. (Bug#13570)
4960 * progmodes/python.el (python-shell--package-depth): New var.
4961 (python-shell-package-enable): New command.
4962 (python-util-list-directories, python-util-list-files)
4963 (python-util-list-packages): New functions.
4964
4965 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4966
4967 Faster comint output. (Bug#16875)
4968 * progmodes/python.el:
4969 (python-comint-output-filter-function): Make obsolete.
4970 (python-comint-postoutput-scroll-to-bottom): New function.
4971 (inferior-python-mode): Set comint-output-filter-functions to a
4972 minimum.
4973
4974 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4975
4976 * progmodes/python.el (python-shell-font-lock-post-command-hook):
4977 Safeguard current point and undo history.
4978
4979 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4980
4981 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
4982 * progmodes/python.el:
4983 (python-shell-prompt-input-regexps): Add iPython block prompt.
4984 (python-shell-output-syntax-table): Delete var.
4985 (python-shell-font-lock-with-font-lock-buffer): New macro.
4986 (python-shell-font-lock-get-or-create-buffer)
4987 (python-shell-font-lock-kill-buffer)
4988 (python-shell-font-lock-cleanup-buffer)
4989 (python-shell-font-lock-post-command-hook)
4990 (python-shell-font-lock-turn-off): New functions.
4991 (python-shell-font-lock-turn-on): New function.
4992 (inferior-python-mode): Use it.
4993 (python-shell-font-lock-toggle): New command.
4994 (python-shell-font-lock-enable): Rename from
4995 python-shell-enable-font-lock.
4996 (run-python-internal): Use it.
4997 (python-shell-font-lock-comint-output-filter-function): New function.
4998 (python-shell-comint-end-of-output-p): New function.
4999 (python-shell-output-filter): Use it.
5000 (python-util-comint-last-prompt): New function.
5001 (python-util-text-properties-replace-name): New function.
5002
5003 2014-07-25 Glenn Morris <rgm@gnu.org>
5004
5005 * vc/ediff-init.el (ediff-toggle-read-only-function):
5006 * vc/ediff-util.el (ediff-toggle-read-only):
5007 Replace obsolete toggle-read-only with read-only-mode.
5008
5009 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
5010
5011 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
5012 with `save-match-data'. (Bug#18095)
5013
5014 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
5015
5016 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
5017 order to ensure that row and col are lexically bound inside the
5018 evaluated sexp.
5019
5020 2014-07-21 Glenn Morris <rgm@gnu.org>
5021
5022 * progmodes/hideif.el (hide-ifdef-mode-submap):
5023 Also substitute read-only-mode.
5024 * bindings.el (mode-line-toggle-read-only):
5025 * bs.el (bs-toggle-readonly):
5026 * buff-menu.el (Buffer-menu-toggle-read-only):
5027 * dired.el (dired-toggle-read-only):
5028 * files.el (view-read-only, find-file-read-only)
5029 (find-file-read-only-other-window)
5030 (find-file-read-only-other-frame):
5031 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
5032 Doc fixes re toggle-read-only.
5033
5034 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5035
5036 * progmodes/python.el: Add comment about pipe buffering and
5037 solutions for missing/delayed output in inferior Python shells.
5038 (Bug#17304)
5039
5040 * progmodes/python.el (python-mode): Don't set
5041 mode-require-final-newline. (Bug#17990)
5042
5043 Make python.el work with IPython automatically. (Bug#15510)
5044 * progmodes/python.el:
5045 (python-shell-completion-setup-code): New value supporting iPython.
5046 (python-shell-completion-string-code): New value supporting iPython.
5047 (python-shell-completion-get-completions): Use them.
5048 (python-shell-completion-module-string-code): Make obsolete.
5049 (python-shell-prompt-input-regexps)
5050 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
5051 (python-shell-output-filter): Fix comment typo.
5052
5053 Fix Python shell prompts detection for remote hosts.
5054 * progmodes/python.el (python-shell-prompt-detect):
5055 Replace call-process with process-file and make it more robust.
5056
5057 Autodetect Python shell prompts. (Bug#17370)
5058 * progmodes/python.el:
5059 (python-shell-interpreter-interactive-arg)
5060 (python-shell-prompt-detect-enabled)
5061 (python-shell-prompt-detect-failure-warning)
5062 (python-shell-prompt-input-regexps)
5063 (python-shell-prompt-output-regexps): New vars.
5064 (python-shell-prompt-calculated-input-regexp)
5065 (python-shell-prompt-calculated-output-regexp): New vars.
5066 (python-shell-get-process-name)
5067 (python-shell-internal-get-process-name)
5068 (python-shell-output-filter)
5069 (python-shell-completion-get-completions): Use them.
5070 (python-shell-prompt-detect)
5071 (python-shell-prompt-validate-regexps): New functions.
5072 (python-shell-prompt-set-calculated-regexps): New function.
5073 (inferior-python-mode): Use it. Also honor overriden
5074 python-shell-interpreter and python-shell-interpreter-args.
5075 (python-shell-make-comint): Honor overriden
5076 python-shell-interpreter and python-shell-interpreter-args.
5077 (python-shell-get-or-create-process): Make it testable by allowing
5078 to call run-python non-interactively.
5079 (python-util-valid-regexp-p): New function.
5080 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
5081 (python-shell-prompt-output-regexp)
5082 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
5083
5084 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * emacs-lisp/smie.el (smie-config--guess-1): Split from
5087 smie-config--guess.
5088 (smie-config--guess): Use it.
5089
5090 * emacs-lisp/edebug.el: Use nadvice.
5091 (edebug-original-read): Remove.
5092 (edebug--read): Rename from edebug-read and add `orig' arg.
5093 (edebug-uninstall-read-eval-functions)
5094 (edebug-install-read-eval-functions): Use nadvice.
5095 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
5096 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
5097 (edebug-read-string, edebug-read-function): Use just `read'.
5098 (edebug-original-debug-on-entry): Remove.
5099 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
5100 `orig' arg.
5101 (debug-on-entry): Override with nadvice.
5102
5103 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
5104 it also makes sense to bind it to a non-mouse event.
5105
5106 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
5107
5108 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
5111 (bug#18015).
5112
5113 * rect.el (rectangle--string-preview): Don't assume there
5114 a non-nil default (bug#17984).
5115
5116 2014-07-16 Glenn Morris <rgm@gnu.org>
5117
5118 * desktop.el (after-init-hook): Disable startup frame restoration
5119 in non-graphical situations. (Bug#17693)
5120
5121 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
5122 if it was "empty", or used for a different set of files. (Bug#17884)
5123
5124 2014-07-16 Eli Zaretskii <eliz@gnu.org>
5125
5126 * bindings.el (mode-line-remote): If default-directory is not a
5127 string, don't call file-remote-p on it; instead state in the
5128 help-echo that it is nil. (Bug#17986)
5129
5130 2014-07-14 Daniel Colascione <dancol@dancol.org>
5131
5132 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
5133 to `macroexpand-all'
5134
5135 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
5136 Use `macroexpand-all' instead of `cl-macroexpand-all'.
5137
5138 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
5139
5140 Fix bug: C-x v v discarded existing log message (Bug#17884).
5141 * vc/vc-dispatcher.el (vc-log-edit):
5142 Don't clobber an already-existing log message.
5143
5144 2014-07-12 Glenn Morris <rgm@gnu.org>
5145
5146 * vc/log-edit.el (log-edit-changelog-entries):
5147 Check for a visited-but-never-saved ChangeLog.
5148
5149 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
5152 a non-existing file (bug#17970).
5153
5154 * faces.el (face-name): Undo last change.
5155 (x-resolve-font-name): Don't call face-name (bug#17956).
5156
5157 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5158
5159 Fix dedenters and electric colon handling. (Bug#15163)
5160 * progmodes/python.el
5161 (python-rx-constituents): Add dedenter and block-ender.
5162 (python-indent-dedenters, python-indent-block-enders): Delete.
5163 (python-indent-context): Return new case for dedenter-statement.
5164 (python-indent-calculate-indentation): Handle new case.
5165 (python-indent-calculate-levels): Fix levels calculation for
5166 dedenter statements.
5167 (python-indent-post-self-insert-function): Fix colon handling.
5168 (python-info-dedenter-opening-block-message): New function.
5169 (python-indent-line): Use it.
5170 (python-info-closing-block)
5171 (python-info-closing-block-message): Remove.
5172 (python-info-dedenter-opening-block-position)
5173 (python-info-dedenter-opening-block-positions)
5174 (python-info-dedenter-statement-p): New functions.
5175
5176 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
5177
5178 * files.el (out-of-memory-warning-percentage): New defcustom.
5179 (warn-maybe-out-of-memory): Use it.
5180
5181 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
5182
5183 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
5184 when calling `read-string'. (Bug#17839)
5185
5186 2014-07-10 Eli Zaretskii <eliz@gnu.org>
5187
5188 * files.el (warn-maybe-out-of-memory): Fix the wording of the
5189 warning.
5190
5191 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
5192
5193 * files.el (warn-maybe-out-of-memory): New function.
5194 (find-file-noselect): Use it.
5195
5196 2014-07-09 Sam Steingold <sds@gnu.org>
5197
5198 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
5199 `constant' like `bless', `return' &c
5200
5201 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * rect.el (apply-on-rectangle): Check forward-line really moved to the
5204 next line.
5205
5206 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5207
5208 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
5209 the middle of a line (bug#17896).
5210
5211 2014-07-09 Juri Linkov <juri@jurta.org>
5212
5213 * startup.el (command-line): Append displaying the warning about
5214 the errors in the init file to the end of `after-init-hook'.
5215 (Bug#17927)
5216
5217 * faces.el (face-name): Return input arg `face' as-is
5218 when it's not a symbol.
5219 (x-resolve-font-name): Don't check if the face is a symbol.
5220 (Bug#17956)
5221
5222 * facemenu.el (list-colors-print): In help-echo format use %.2f
5223 instead of %d because now HSV values are floating-point components
5224 between 0.0 and 1.0.
5225
5226 2014-07-09 Glenn Morris <rgm@gnu.org>
5227
5228 * emulation/cua-rect.el (cua--activate-rectangle):
5229 Avoid setting cua--rectangle to nil. (Bug#17877)
5230
5231 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
5232
5233 * calendar/todo-mode.el: Fix wrong-type-argument error when
5234 marking multiple consecutive items.
5235 (todo-toggle-mark-item): Don't try to mark the empty lines at the
5236 end of the todo and done items sections. Note in doc string that
5237 items marked by passing a numeric prefix argument can include the
5238 last todo and first done items.
5239 (todo-mark-category): Don't try to mark the empty line between the
5240 todo and done items sections.
5241
5242 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
5245 proper Lisp quoting (bug#17934).
5246
5247 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
5248 require-final-newline since prog-mode already took care of it (bug#17947).
5249
5250 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
5251
5252 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
5253 refer to the Todo mode Info manual. Update the comment on
5254 requiring cl-lib.
5255 (todo-find-filtered-items-file): Add todo-prefix overlays.
5256 (todo-filter-items): Reorder a let-bound variable to avoid a
5257 wrong-type-argument error on canceling the file choice dialog.
5258
5259 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * progmodes/octave.el (inferior-octave-mode):
5262 Set comint-input-ring-size to a number (bug#17912).
5263
5264 2014-07-09 Juri Linkov <juri@jurta.org>
5265
5266 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
5267 and `isearch-mode' associated with nil. (Bug#17849)
5268
5269 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * linum.el (linum--face-height): New function (bug#17813).
5272 (linum-update-window): Use it to adjust margin to linum's width.
5273
5274 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
5275 * eshell/em-smart.el (eshell-smart-scroll-window):
5276 Use with-selected-window.
5277
5278 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
5279 Remove also pointless window&mark manipulation.
5280
5281 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
5282 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
5283 (perl-continuation-line-p): Don't skip over anything else than labels.
5284 Return the previous char.
5285 (perl-calculate-indent): Use syntax-ppss instead of parse-start
5286 and update callers accordingly. For continuation lines, check the
5287 the case of array hashes.
5288 (perl-backward-to-noncomment): Make it non-interactive.
5289 (perl-backward-to-start-of-continued-exp): Rewrite.
5290
5291 2014-07-08 Sam Steingold <sds@gnu.org>
5292
5293 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
5294 New user commands.
5295
5296 2014-07-08 Juri Linkov <juri@jurta.org>
5297
5298 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
5299 (vc-annotate-color-map): Use less saturated colors (20%) for
5300 background-mode.
5301 (vc-annotate-very-old-color): Add default value for background-mode.
5302 (vc-annotate-background): Set default value to nil since now text on
5303 the default backgrounds should be legible in light and dark modes.
5304 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
5305 (Bug#17808)
5306
5307 2014-07-08 Juri Linkov <juri@jurta.org>
5308
5309 * simple.el (transpose-chars): Don't move point into read-only area.
5310 (Bug#17829)
5311
5312 2014-07-08 Juri Linkov <juri@jurta.org>
5313
5314 * window.el (with-displayed-buffer-window): New macro.
5315 (with-temp-buffer-window, with-current-buffer-window):
5316 Use `macroexp-let2' to evaluate and bind variables
5317 in the same order as macro arguments.
5318 (display-buffer--action-function-custom-type):
5319 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
5320
5321 * minibuffer.el (minibuffer-completion-help): Replace
5322 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
5323 with actions that display *Completions* at-bottom when called
5324 from the minibuffer, or below-selected in a normal buffer.
5325 Associate `window-height' with `fit-window-to-buffer'.
5326 Let-bind `pop-up-windows' to nil.
5327
5328 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
5329 instead of `with-current-buffer-window'. (Bug#17809)
5330
5331 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
5332
5333 * progmodes/hideif.el (hide-ifdef-env): Change to global.
5334 (hide-ifdef-env-backup): New variable.
5335 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
5336 New customizable variables.
5337 (hif-clear-all-ifdef-defined): New defun.
5338 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
5339 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
5340 (hif-tokenize): Fix for MS-DOS/Win EOL style.
5341 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
5342 Fix bug to hide the correct #elif region(s).
5343 (hif-range-elif): New defun.
5344 (hif-recurse-level): New var.
5345 (hif-evaluate-region, hif-evaluate-macro): New defun.
5346 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
5347 fully hidden.
5348 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
5349 Better interaction.
5350
5351 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
5352
5353 * net/dbus.el (dbus-peer-handler): New defun.
5354 (dbus-register-service): Register it. (Bug#17858)
5355 (dbus-managed-objects-handler): Fix docstring.
5356
5357 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
5358
5359 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
5360 (narrow-to-defun): New arg include-comments, defaulting to it
5361 (bug#16328).
5362
5363 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
5366 different calling convention to rectangle--unhighlight-for-redisplay.
5367
5368 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
5369
5370 * net/tramp.el (tramp-call-process): Handle error strings.
5371
5372 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
5373
5374 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
5375 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
5376
5377 * net/trampver.el: Update release number.
5378
5379 2014-07-03 Juri Linkov <juri@jurta.org>
5380
5381 * desktop.el (desktop-save): Rename arg `auto-save' to
5382 `only-if-changed'. Doc fix. (Bug#17873)
5383
5384 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5387 Use insert-for-yank (bug#17271).
5388
5389 2014-07-03 Leo Liu <sdl.web@gmail.com>
5390
5391 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
5392 Support lexical-binding.
5393
5394 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * vc/log-edit.el (log-edit-goto-eoh): New function.
5397 (log-edit--match-first-line): Use it (bug#17861).
5398
5399 2014-07-03 Glenn Morris <rgm@gnu.org>
5400
5401 * vc/log-edit.el (log-edit-hook): Add missing :version.
5402
5403 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
5404
5405 * progmodes/python.el (python-indent-post-self-insert-function):
5406 Enhancements to electric indentation behavior inside
5407 parens. (Bug#17658)
5408
5409 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
5412 buffer-invisibility-spec (bug#17867).
5413
5414 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
5415
5416 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
5417 pass "-a".
5418
5419 2014-07-03 Glenn Morris <rgm@gnu.org>
5420
5421 * cus-edit.el (help):
5422 * finder.el (finder-known-keywords):
5423 * help.el (help-for-help-internal):
5424 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
5425 (ediff-redraw-registry-buffer):
5426 * vc/ediff-ptch.el (ediff-patch-file-internal):
5427 Doc fixes re "online" help. (Bug#17803)
5428
5429 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
5430 (idlwave-mode): Doc URL update.
5431
5432 2014-07-01 Juri Linkov <juri@jurta.org>
5433
5434 * man.el: Display man pages immediately and use process-filter
5435 to format them asynchronously.
5436 (Man-width): Doc fix.
5437 (man): Doc fix.
5438 (Man-start-calling): Use `with-selected-window' to get
5439 `frame-width' and `window-width'.
5440 (Man-getpage-in-background): Call `Man-notify-when-ready'
5441 immediately after creating a new buffer. Call `Man-mode' and set
5442 `mode-line-process' in the created buffer. Set process-filter to
5443 `Man-bgproc-filter' in start-process branch. In call-process branch
5444 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
5445 Use `Man-start-calling' inside `with-current-buffer'.
5446 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
5447 (Man-cleanup-manpage): Don't print messages.
5448 (Man-bgproc-filter): New function.
5449 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
5450 user moved it during asynchronous formatting. Move calls of
5451 `Man-fontify-manpage' and `Man-cleanup-manpage' to
5452 `Man-bgproc-filter'. Move the call of `Man-mode' to
5453 `Man-getpage-in-background'. Use `quit-restore-window'
5454 instead of `kill-buffer'. Use `message' instead of `error'
5455 because errors are caught by process sentinel.
5456 (Man-mode): Move calls of `Man-build-page-list',
5457 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
5458 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
5459
5460 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
5461 for the message about the man page cleaned up.
5462
5463 2014-07-01 Mario Lang <mlang@delysid.org>
5464
5465 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
5466 cosutomization option `gnutls-verify-error'.
5467
5468 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
5471 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
5472
5473 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
5474 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
5475 is suspended (bug#17857).
5476
5477 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
5478
5479 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5480 Prefer utf-8 coding. (Bug#17859)
5481
5482 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
5483
5484 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
5485 for `reverse'.
5486
5487 2014-06-30 Glenn Morris <rgm@gnu.org>
5488
5489 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
5490 (autoload-ensure-default-file): Maybe make existing output writable.
5491 * Makefile.in (AUTOGEN_VCS): Remove.
5492 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
5493
5494 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
5495
5496 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
5497
5498 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
5499
5500 New if-let, when-let, thread-first and thread-last macros.
5501
5502 * emacs-lisp/subr-x.el
5503 (internal--listify, internal--check-binding)
5504 (internal--build-binding-value-form, internal--build-binding)
5505 (internal--build-bindings): New functions.
5506 (internal--thread-argument, thread-first, thread-last)
5507 (if-let, when-let): New macros.
5508
5509 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
5510
5511 * net/rcirc.el (rcirc-buffer-process): Restore previous
5512 behaviour. (Bug#17772)
5513
5514 2014-06-29 Alan Mackenzie <acm@muc.de>
5515
5516 Don't call c-parse-state when c++-template-syntax-table is active.
5517 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
5518 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
5519 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
5520
5521 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
5522
5523 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
5524 account for file-wide setting of todo-top-priorities-overrides.
5525 Make code a bit cleaner.
5526
5527 2014-06-28 Glenn Morris <rgm@gnu.org>
5528
5529 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
5530
5531 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
5532
5533 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
5534 category-wide setting of todo-top-priorities-overrides, check for
5535 a file-wide setting and fontify accordingly.
5536
5537 2014-06-28 Glenn Morris <rgm@gnu.org>
5538
5539 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
5540
5541 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
5544
5545 2014-06-28 K. Handa <handa@gnu.org>
5546
5547 Fix Bug#17739.
5548
5549 * composite.el: Setup composition-function-table for dotted circle.
5550 (compose-gstring-for-dotted-circle): New function.
5551
5552 * international/characters.el: Add category "^" to all
5553 non-spacing characters.
5554
5555 2014-06-28 Glenn Morris <rgm@gnu.org>
5556
5557 * Makefile.in (doit): Remove force rule.
5558 (custom-deps, finder-data, autoloads, update-subdirs)
5559 (compile-one-process): PHONY targets do not need force rules.
5560
5561 * Makefile.in (compile-main, compile, compile-always):
5562 No need to explicitly pass variables to ourself in recursive calls.
5563
5564 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
5567
5568 2014-06-26 Glenn Morris <rgm@gnu.org>
5569
5570 * Makefile.in (update-authors): Update for moved authors.el.
5571
5572 2014-06-26 Leo Liu <sdl.web@gmail.com>
5573
5574 * skeleton.el (skeleton-end-hook): Default to nil and move the
5575 work to skeleton-insert. (Bug#17850)
5576
5577 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
5578
5579 * calc/calc-alg.el (math-beforep):
5580 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
5581 Simplify because string-lessp can accept symbols as args.
5582
5583 2014-06-26 Daiki Ueno <ueno@gnu.org>
5584
5585 * emacs-lisp/package.el (package--check-signature):
5586 If package-check-signature is allow-unsigned, don't signal error when
5587 we can't verify signature because of missing public key
5588 (bug#17625).
5589
5590 2014-06-26 Glenn Morris <rgm@gnu.org>
5591
5592 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
5593 Remove outdated declaration.
5594
5595 * emacs-lisp/authors.el (authors-valid-file-names)
5596 (authors-renamed-files-alist): Additions.
5597
5598 2014-06-26 Leo Liu <sdl.web@gmail.com>
5599
5600 * textmodes/picture.el (picture-set-tab-stops):
5601 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
5602 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
5603
5604 * progmodes/asm-mode.el (asm-calculate-indentation):
5605 Use indent-next-tab-stop.
5606
5607 * indent.el (indent-accumulate-tab-stops): New function.
5608
5609 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
5612 (package-desc-status): Obey it.
5613
5614 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
5615
5616 * calendar/todo-mode.el: Fix two bugs.
5617 (todo-insert-item--basic): If user cancels item insertion to
5618 another category before setting priority, show original category
5619 whether it is in the same or a different file.
5620 (todo-set-item-priority): After selecting category, instead of
5621 moving point to top, which extends an active region, restore it.
5622
5623 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * help-fns.el (describe-function-1): Check file-name is a string before
5626 calling help-fns--autoloaded-p (bug#17564).
5627
5628 2014-06-26 Juri Linkov <juri@jurta.org>
5629
5630 * desktop.el (desktop-auto-save-enable)
5631 (desktop-auto-save-disable): New functions.
5632 (desktop-save-mode, desktop-auto-save-timeout): Use them.
5633 (desktop-read): Disable the autosave before loading the desktop,
5634 and enable afterwards. (Bug#17351)
5635
5636 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 Fix some indentation problem with \; and pipes (bug#17842).
5639 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
5640 (sh-smie--default-forward-token, sh-smie--default-backward-token):
5641 New functions.
5642 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
5643 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
5644 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
5645
5646 2014-06-26 Glenn Morris <rgm@gnu.org>
5647
5648 * emacs-lisp/find-func.el (find-function-C-source-directory):
5649 Use file-accessible-directory-p.
5650
5651 * ps-samp.el: Make it slightly less awful.
5652 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
5653 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
5654 Only set local values.
5655 (ps-article-subject, ps-article-author): Use standard functions
5656 like mail-fetch-field.
5657 (ps-info-file, ps-info-node): Use match-string.
5658 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
5659 (ps-samp-ps-setup): ... new function.
5660
5661 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
5662 Optimize away code unneeded on any modern Emacs.
5663
5664 * emacs-lisp/authors.el: Move to ../admin.
5665
5666 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
5667
5668 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
5669
5670 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
5671 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
5672 performance enhancements.
5673 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
5674 expansion.
5675 (hif-factor, hif-string-concatenation, intern-safe): Support string
5676 concatenation and argumented macro expansion.
5677 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
5678 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
5679 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
5680 (hif-canonicalize-tokens, hif-place-macro-invocation)
5681 (hif-parse-macro-arglist): Mostly new functions for supporting
5682 argumented macro expansion.
5683 (hif-string-concatenation, hif-stringify, hif-token-concat)
5684 (hif-token-stringification, hif-token-concatenation):
5685 Stringification and concatenation.
5686 (hif-find-next-relevant): Fix comments.
5687 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
5688 some cases involving #elif.
5689 (hif-find-define, hif-add-new-defines): New functions for automatically
5690 scanning of defined symbols.
5691 (hide-ifdef-guts): Fix for defined symbol auto scanning.
5692 (hide-ifdef-undef): Fix behavior to match CPP.
5693
5694 2014-06-25 Glenn Morris <rgm@gnu.org>
5695
5696 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
5697 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
5698 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
5699 files. They are not relevant to the original issue (bug#1004),
5700 and cause unnecessary recompilation (bug#2151).
5701
5702 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * play/landmark.el: Use lexical-binding and avoid `intangible'.
5705 (landmark--last-pos): New var.
5706 (landmark--intangible-chars): New const.
5707 (landmark--intangible): New function.
5708 (landmark-mode, landmark-move): Use it.
5709 (landmark-mode): Remove properties.
5710 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
5711 (landmark-cross-qtuple):
5712 Don't worry about `intangible' any more.
5713 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
5714 (landmark-init-display): Don't set `intangible' and `point-entered'.
5715 (square): Remove. Inline it instead.
5716 (landmark--distance): Rename from `distance'.
5717 (landmark-calc-distance-of-robot-from): Rename from
5718 calc-distance-of-robot-from.
5719 (landmark-calc-smell-internal): Rename from calc-smell-internal.
5720
5721 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
5722
5723 * files.el (dir-locals-find-file, file-relative-name):
5724 * info.el (Info-complete-menu-item):
5725 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
5726 to compare-strings to avoid out-of-range errors.
5727 * subr.el (string-prefix-p): Adjust to match strict range
5728 checking in compare-strings.
5729
5730 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
5731
5732 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
5733 for comment lines non-greedy and stopping at newlines to fix stack
5734 overflows with large files.
5735
5736 2014-06-24 Eli Barzilay <eli@barzilay.org>
5737
5738 * calculator.el (calculator-last-input): Drop 'ascii-character property
5739 lookup.
5740
5741 2014-06-24 Leo Liu <sdl.web@gmail.com>
5742
5743 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
5744 tab-stop-list to nil. (Bug#16381)
5745
5746 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
5747 (indent-rigidly-left-to-tab-stop)
5748 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
5749 (move-to-tab-stop): Change callers.
5750
5751 2014-06-24 Eli Zaretskii <eliz@gnu.org>
5752
5753 * skeleton.el (skeleton-insert): Yet another fix of the doc string
5754 wrt behavior of \n as the first/last element of a skeleton.
5755
5756 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
5757
5758 * net/tramp-adb.el (tramp-adb-handle-process-file):
5759 * net/tramp-sh.el (tramp-sh-handle-process-file):
5760 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
5761 the output buffer when DISPLAY is non-nil. (Bug#17815)
5762
5763 2014-06-24 Glenn Morris <rgm@gnu.org>
5764
5765 * play/landmark.el (landmark-move-down, landmark-move-up):
5766 Fix 2007-10-20 change - preserve horizontal position.
5767
5768 2014-06-23 Sam Steingold <sds@gnu.org>
5769
5770 * simple.el (kill-append): Remove undo boundary depending on ...
5771 (kill-append-merge-undo): New user option.
5772
5773 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * simple.el (handle-shift-selection, exchange-point-and-mark)
5776 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
5777 (transient-mark-mode): Use&set the global value.
5778 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
5779 * emulation/edt.el (edt-emulation-off): Save&restore the global
5780 transient-mark-mode setting.
5781 * obsolete/pc-select.el (pc-selection-mode): Use the
5782 transient-mark-mode function.
5783
5784 2014-06-23 Eli Zaretskii <eliz@gnu.org>
5785
5786 * international/fontset.el (script-representative-chars):
5787 Add representative characters for scripts added in Unicode 7.0.
5788 (otf-script-alist): Synchronize with the latest registry of OTF
5789 script tags.
5790
5791 * international/characters.el (char-script-table): Update for
5792 scripts added and codepoint ranges changed in Unicode 7.0.
5793
5794 2014-06-23 Eli Barzilay <eli@barzilay.org>
5795
5796 * calculator.el (calculator-standard-displayer): Fix bug in use of
5797 `calculator-groupize-number'.
5798 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
5799 `eval' code, so it works in v24.3.1 too.
5800 (calculator-last-input): Comment to clarify purpose.
5801
5802 2014-06-22 Mario Lang <mlang@delysid.org>
5803
5804 * textmodes/rst.el (rst-comment-region): From from -> from.
5805
5806 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
5807
5808 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
5809
5810 * electric.el (electric-layout-post-self-insert-function):
5811 * emacs-lisp/ert.el (ert--insert-infos):
5812 * obsolete/vi.el (vi-set-mark):
5813 * term.el (term-handle-scroll):
5814 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
5815 * wid-edit.el (widget-editable-list-value-create):
5816 Prefer point-marker to copy-marker of point.
5817
5818 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5819
5820 Fix completion retrieval parsing (bug#17209).
5821 * progmodes/python.el (python-mode):
5822 (python-util-strip-string): New function.
5823 (python-shell-completion-get-completions): Use it.
5824
5825 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5826
5827 * skeleton.el (skeleton-insert): Fix last change.
5828
5829 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5830
5831 Enhancements for outline integration (bug#17796).
5832 * progmodes/python.el (python-mode): Properly set
5833 outline-heading-end-regexp so that comments after colons for
5834 defuns are supported.
5835
5836 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5837
5838 * skeleton.el (skeleton-insert): Doc fix.
5839
5840 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
5843 (smie-config-guess): Use smie-config-local so the rules are obeyed
5844 (bug#17818).
5845
5846 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
5847 since it's already done inside the loop (bug#17819).
5848
5849 2014-06-21 Martin Rudalics <rudalics@gmx.at>
5850
5851 * mouse.el (mouse-drag-line): Re-remove code initially removed
5852 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
5853 (Bug#17819).
5854
5855 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
5858 align with the surrounding parent (bug#17721).
5859
5860 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5861
5862 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
5863 locally to nil.
5864 (texinfo-insert-block, texinfo-insert-@end)
5865 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
5866 local setting of skeleton-end-newline by adding an explicit \n to
5867 the skeletons where appropriate. (Bug#17801)
5868
5869 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
5872 (smie-indent--hanging-p): Use it.
5873 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
5874
5875 2014-06-21 Leo Liu <sdl.web@gmail.com>
5876
5877 * simple.el (read-quoted-char): Don't let help chars pop up help
5878 buffer. (Bug#16617)
5879
5880 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
5883 for | (bug#17621).
5884
5885 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
5886 Drop unknown events instead of burping.
5887
5888 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5889
5890 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
5891 and later. (Bug#17790)
5892
5893 2014-06-21 Juri Linkov <juri@jurta.org>
5894
5895 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
5896 to `soft'. (Bug#17554)
5897
5898 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
5901 (bug#17737).
5902
5903 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
5904
5905 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
5906 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
5907
5908 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
5909
5910 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
5911 `unread-command-events'.
5912
5913 2014-06-19 William Xu <william.xwl@gmail.com>
5914
5915 * progmodes/hideif.el (hif-string-to-number): Don't return float for
5916 hex integer constants (bug#17807).
5917
5918 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5919
5920 * international/mule-util.el (truncate-string-ellipsis): New var.
5921 (truncate-string-to-width): Use it.
5922
5923 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
5924
5925 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
5926 (lisp-string-in-doc-position-p): New function, extracted from
5927 lisp-font-lock-syntactic-face-function.
5928 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
5929
5930 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
5931
5932 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
5933
5934 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
5937 (bubbles--game-over): Don't add `intangible' properties since they
5938 didn't work anyway.
5939
5940 2014-06-18 Juri Linkov <juri@jurta.org>
5941
5942 * vc/ediff-init.el (ediff-current-diff-Ancestor)
5943 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
5944 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
5945 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
5946 Add `min-colors 88' version with removed black/white foregrounds.
5947 (Bug#10181)
5948
5949 2014-06-18 Juri Linkov <juri@jurta.org>
5950
5951 * vc/diff-mode.el (diff-changed): Empty face definition to use
5952 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
5953 (diff-context): Use darker color on light background and
5954 lighter color on dark background.
5955
5956 2014-06-18 Juri Linkov <juri@jurta.org>
5957
5958 * vc/diff-mode.el (diff-refine-changed): Rename from
5959 `diff-refine-change' for consistency with `diff-changed'.
5960 (diff-refine-change): Add obsolete face alias. (Bug#10181)
5961
5962 * vc/smerge-mode.el (smerge-refined-changed): Rename from
5963 `smerge-refined-change'.
5964 (smerge-refined-change): Add obsolete face alias.
5965
5966 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * rect.el (rectangle-preview): New custom.
5969 (rectangle): New group.
5970 (rectangle--pos-cols): Add `window' argument.
5971 (rectangle--string-preview-state, rectangle--string-preview-window):
5972 New vars.
5973 (rectangle--string-flush-preview, rectangle--string-erase-preview)
5974 (rectangle--space-to, rectangle--string-preview): New functions.
5975 (string-rectangle): Use them.
5976 (rectangle--inhibit-region-highlight): New var.
5977 (rectangle--highlight-for-redisplay): Obey it. Make sure
5978 `apply-on-region' uses the point-crutches of the right window.
5979 Use :align-to rather than multiple spaces.
5980
5981 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
5982
5983 * ruler-mode.el (ruler-mode-window-col)
5984 (ruler-mode-mouse-set-left-margin)
5985 (ruler-mode-mouse-set-right-margin): Fix calculation of column
5986 from mouse position (Bug#17768).
5987
5988 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
5989
5990 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
5991 without varname or rhs causes crash.
5992 (dun-ftp): Fix bug where blank ftp password is allowed, making it
5993 impossible to win endgame.
5994 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
5995 rlogin is anymore.
5996 (dun-help): Bump version number; update contact info.
5997
5998 2014-06-15 Eli Barzilay <eli@barzilay.org>
5999
6000 * calculator.el (calculator-prompt, calculator-remove-zeros)
6001 (calculator-mode-hook, calculator-operators, calculator-stack)
6002 (calculator-mode): Tweak docstring.
6003 (calculator-user-operators): Tweak docstring, fix a bug in the last
6004 example.
6005 (calculator-displayer): `std' case has an optional boolean.
6006 (calculator-displayers): Use the new boolean to group in decimal mode.
6007 (calculator-mode-map, calculator, calculator-message)
6008 (calculator-op-arity, calculator-add-operators)
6009 (calculator-string-to-number, calculator-displayer-prev)
6010 (calculator-displayer-next, calculator-remove-zeros)
6011 (calculator-eng-display, calculator-number-to-string)
6012 (calculator-update-display, calculator-last-input)
6013 (calculator-clear-fragile, calculator-digit, calculator-decimal)
6014 (calculator-exp, calculator-saved-move, calculator-clear)
6015 (calculator-copy, calculator-put-value, calculator-help)
6016 (calculator-expt, calculator-truncate): Minor code improvements.
6017 (calculator-need-3-lines): New function pulling out code from
6018 `calculator'.
6019 (calculator-get-display): Rename from `calculator-get-prompt', and
6020 improved.
6021 (calculator-push-curnum): Rename from `calculator-curnum-value', and
6022 extended for all uses of it. All callers changed.
6023 (calculator-groupize-number): New utility for splitting a number into
6024 groups.
6025 (calculator-standard-displayer): Improve code, new optional argument to
6026 use comma-split groups, make second argument optional too to use with
6027 'left/'right inputs. All callers changed.
6028 (calculator-reduce-stack-once): New utility, doing the meat of what
6029 `calculator-reduce-stack' used to do, much improved (mostly using
6030 `pcase' for conciseness and clarity).
6031 (calculator-reduce-stack): Now doing just the reduction loop using
6032 `calculator-reduce-stack-once'.
6033 (calculator-funcall): Improve code, make it work in v24.3.1 too.
6034 (calculator-last-input): Improve code, remove some old cruft.
6035 (calculator-quit): Kill `calculator-buffer' in electric mode too.
6036 (calculator-integer-p): Remove.
6037 (calculator-fact): Improve code, make it work on non-integer values
6038 too (using truncated numbers).
6039
6040 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
6041
6042 Sync with Tramp 2.2.10.
6043
6044 * net/tramp.el (tramp-methods): Tweak docstring.
6045 (tramp-handle-file-accessible-directory-p): Check for
6046 `file-readable-p' instead of `file-executable-p'.
6047 (tramp-check-cached-permissions):
6048 Use `tramp-compat-file-attributes'.
6049 (tramp-call-process): Add new argument VEC. Adapt callees in all
6050 tramp*.el files.
6051
6052 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
6053 (tramp-adb-maybe-open-connection): Don't set
6054 `tramp-current-*' variables.
6055
6056 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
6057 file properties of temporary buffers.
6058
6059 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
6060
6061 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
6062 (tramp-gvfs-handle-delete-file): Flush file
6063 properties, not directory properties.
6064 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
6065 reading "unix::mode".
6066 (tramp-gvfs-handle-file-name-all-completions):
6067 Use "-h" option for "gvfs-ls".
6068 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
6069 (tramp-gvfs-send-command): Simplify traces.
6070
6071 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
6072 (vc-git-program, vc-hg-program): Declare.
6073 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
6074 (tramp-methods) <nc>: Add new method.
6075 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
6076 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
6077 `tramp-login-args'.
6078 (tramp-default-user-alist): Add "nc".
6079 (top): Remove completion function for "sftp". Add completion
6080 functions for "nc" and "psftp".
6081 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
6082 Implement support for "nc" method.
6083 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
6084 (tramp-remote-coding-commands, tramp-call-local-coding-command):
6085 Tweak docstring.
6086 (tramp-sh-handle-write-region): Tweak error message.
6087 (tramp-sh-handle-vc-registered): Remove backends when the remote
6088 binary does not exist.
6089 (tramp-find-inline-encoding): Do not raise an error.
6090 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
6091 the "nc" case. Quote result also locally.
6092
6093 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6094 (tramp-smb-handle-set-file-acl): Use `start-process'.
6095 (tramp-smb-handle-insert-directory): Use progress reporter.
6096 (tramp-smb-handle-rename-file): Flush also file properties of
6097 FILENAME.
6098
6099 * net/trampver.el: Update release number.
6100
6101 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
6104 add-to-list.
6105 (ses-localvars): Remove ses--local-printer-list, unused.
6106 (ses--metaprogramming): New macro. Use it to defvar variables.
6107 (ses-set-localvars): Simplify.
6108 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
6109 property-list into an alist.
6110 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
6111 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
6112 Remove; use defstruct accessors/setters instead.
6113 (ses-cell-formula-aset, ses-cell-printer-aset)
6114 (ses-cell-references-aset): Remove, use setf instead.
6115 (ses--alist-get): New function.
6116 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
6117 Use an alist instead of a plist and don't do move-to-front since the
6118 list is always short.
6119 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
6120 (ses-cell-property-set-fun, ses-cell-property-set)
6121 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
6122 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
6123 (ses--letref): New macro.
6124 (ses-cell-property-pop): Rewrite.
6125 (ses--cell): Rename from ses-cell and make it into a function.
6126 Make `formula' fallback on `value' if nil.
6127 (ses--local-printer): Rename from ses-local-printer and make it into
6128 a function.
6129 (ses-set-cell): Turn it into a macro so finding the accessor from the
6130 field name is done at compile time.
6131 (ses-repair-cell-reference-all): Test presence of `sym' rather than
6132 `ref' before adding `sym' to :ses-repair-reference.
6133 (ses-calculate-cell): Use ses--letref rather than
6134 ses-cell-property-get-handle.
6135 (ses-write-cells): Use a single prin1-to-string.
6136 (ses-setter-with-undo): New function.
6137 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
6138 (ses-unset-with-undo): Remove.
6139 (ses-load): Prefer apply' over `eval'.
6140 (ses-read-printer, ses-set-column-width): Use standard "(default
6141 foo)" format.
6142
6143 2014-06-15 Glenn Morris <rgm@gnu.org>
6144
6145 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
6146
6147 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
6148 Replace delete-duplicates and mapcan by cl- versions throughout.
6149 And cl-macroexpand-all by macroexpand-all.
6150 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
6151
6152 2014-06-15 Eli Zaretskii <eliz@gnu.org>
6153
6154 * subr.el (posn-col-row): Doc fix. (Bug#17768)
6155
6156 2014-06-15 Juri Linkov <juri@jurta.org>
6157
6158 * bindings.el: Put `ascii-character' property on keypad keys
6159 mapped to characters. (Bug#17759)
6160
6161 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
6164 bumping forward into a closing paren (bug#17761).
6165
6166 * term/xterm.el (xterm--version-handler): Work around for OSX
6167 Terminal.app (bug#17607).
6168
6169 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
6170
6171 * play/dunnet.el (dun-describe-room, dun-mode):
6172 If a lamp is in the room, you won't be eaten by a grue.
6173
6174 2014-06-13 Glenn Morris <rgm@gnu.org>
6175
6176 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
6177 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
6178 (compile-always): GNU make automatically passes
6179 command-line arguments to sub-makes.
6180
6181 * calendar/calendar.el (calendar-generate-window):
6182 Remove pointless call to font-lock-fontify-buffer.
6183
6184 2014-06-13 Matthias Meulien <orontee@gmail.com>
6185
6186 * simple.el (completion-list-mode-map): Navigate with tab and backtab
6187 (bug#17767).
6188
6189 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * simple.el (set-mark-command): Simplify a bit.
6192
6193 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6194
6195 * help.el (help--key-binding-keymap): New function.
6196 (help--binding-locus): New function.
6197 (describe-key): Mention the keymap in which the binding was
6198 found. (bug#13948)
6199
6200 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * hippie-exp.el (he--all-buffers): New function.
6203 (try-expand-line-all-buffers, try-expand-list-all-buffers)
6204 (try-expand-dabbrev-all-buffers): Use it.
6205
6206 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
6207
6208 * hippie-exp.el (try-expand-line-all-buffers)
6209 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
6210 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
6211 original buffer, in case they're buffer-local.
6212
6213 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
6214
6215 * ses.el (ses-initial-global-parameters-re): New defconst, a
6216 specific regexp is needed now that ses.el can handle both
6217 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
6218 local printers.
6219 (ses-localvars): Add local variables needed for local printer handling.
6220 (ses-set-localvars): Handle hashmap initialisation.
6221 (ses-paramlines-plist): Add param-line for number of local printers.
6222 (ses-paramfmt-plist): New defconst, needed for code factorization
6223 between functions `ses-set-parameter' and
6224 `ses-file-format-extend-paramter-list'
6225 (ses-make-local-printer-info): New defsubst.
6226 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
6227 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
6228 (ses-cell-printer-aset): New defmacro.
6229 (ses-local-printer-compile): New defun.
6230 (ses-local-printer): New defmacro.
6231 (ses-printer-validate, ses-call-printer): Add support for local
6232 printer functions.
6233 (ses-file-format-extend-paramter-list): New defun.
6234 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
6235 factorization.
6236 (ses-load): Add support for local printer functions.
6237 (ses-read-printer): Update docstring and add support for local printer
6238 functions.
6239 (ses-refresh-local-printer, ses-define-local-printer): New defun.
6240 (ses-safe-printer): Add support for local printer functions.
6241
6242 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
6243
6244 * ffap.el (ffap-lax-url): New var (bug#17723).
6245 (ffap-url-at-point): Use it.
6246 (ffap-file-at-point): Avoid returning just "/".
6247
6248 2014-06-12 Matthias Meulien <orontee@gmail.com>
6249
6250 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
6251 (python-mode-map): Bind it.
6252
6253 * progmodes/python.el (class skeleton): Don't erase last char of class
6254 name (bug#17683).
6255
6256 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
6257
6258 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
6259
6260 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
6261
6262 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
6263 (bug#17745).
6264
6265 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * international/mule-cmds.el: Use lexical-binding.
6268 (ucs-names): Simplify.
6269
6270 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
6271
6272 * progmodes/python.el (run-python): Use read-shell-command.
6273
6274 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * rect.el: Make it possible to move bounds past EOL or into TABs.
6277 (operate-on-rectangle): Use apply-on-rectangle.
6278 (rectangle--mark-crutches): New var.
6279 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
6280 (rectangle--crutches, rectangle--reset-crutches): New functions.
6281 (apply-on-rectangle): Obey crutches. Avoid setq.
6282 Fix missing final iteration if end is at EOB&BOL.
6283 (rectangle-mark-mode-map): Add remap bindings for
6284 exchange-point-and-mark and char/line movements.
6285 (rectangle--*-char): New function.
6286 (rectangle-exchange-point-and-mark, rectangle-right-char)
6287 (rectangle-left-char, rectangle-forward-char)
6288 (rectangle-backward-char, rectangle-next-line)
6289 (rectangle-previous-line): New commands.
6290 (rectangle--place-cursor): New function.
6291 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
6292
6293 2014-06-08 Glenn Morris <rgm@gnu.org>
6294
6295 * startup.el (initial-buffer-choice): Doc fix.
6296 Reset :version (adding an option does not merit a :version bump).
6297
6298 * bookmark.el (bookmark-load):
6299 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
6300
6301 2014-06-08 Juri Linkov <juri@jurta.org>
6302
6303 * desktop.el: Activate auto-saving on window configuration changes.
6304 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
6305 `desktop-auto-save-set-timer' to/from
6306 `window-configuration-change-hook'.
6307 (desktop-auto-save-set-timer): Change REPEAT arg of
6308 `run-with-idle-timer' from t to nil.
6309 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
6310
6311 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
6312
6313 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
6314 vc-hg-command (bug#17570).
6315
6316 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * international/mule-cmds.el (ucs-names): Add special entry for BEL
6319 (bug#17702).
6320
6321 2014-06-08 Glenn Morris <rgm@gnu.org>
6322
6323 * startup.el (window-setup-hook): Doc fix.
6324
6325 * emacs-lisp/package.el (package-check-signature)
6326 (package-unsigned-archives): Doc fixes.
6327
6328 2014-06-08 Martin Rudalics <rudalics@gmx.at>
6329
6330 * window.el (display-buffer-use-some-window): Don't make window
6331 used smaller than it was before (Bug#17671).
6332
6333 2014-06-08 Eli Zaretskii <eliz@gnu.org>
6334
6335 * menu-bar.el (menu-bar-open): Fix last change: use the PC
6336 'redisplay' instead of '(sit-for 0)'.
6337
6338 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
6339
6340 * net/tramp.el (tramp-ssh-controlmaster-options):
6341 Improve search regexp. (Bug#17653)
6342
6343 2014-06-08 Glenn Morris <rgm@gnu.org>
6344
6345 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
6346
6347 2014-06-08 Eli Zaretskii <eliz@gnu.org>
6348
6349 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
6350
6351 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
6352
6353 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
6354 (bug#17586).
6355
6356 * vc/vc-hg.el (vc-hg-log-graph): New var.
6357 (vc-hg-print-log): Use it.
6358 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
6359 graph output (bug#17515).
6360
6361 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * mouse.el (mouse-posn-property): Ignore buffer position info when the
6364 even happened elsewhere.
6365
6366 2014-06-06 Mario Lang <mlang@delysid.org>
6367
6368 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
6369 `recenter' if `current-buffer' is equal to `window-buffer'.
6370
6371 2014-06-05 Leo Liu <sdl.web@gmail.com>
6372
6373 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
6374
6375 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
6376
6377 * textmodes/tildify.el (tildify-foreach-region-outside-env):
6378 New function which calls a callback on portions of the buffer that are
6379 outside of ignored environments.
6380 (tildify-build-regexp): Remove function since it is now
6381 incorporated in `tildify-foreach-region-outside-env' where it is
6382 optimized and simplified by the use of `mapconcat'.
6383 (tildify-tildify): Return number of substitutions made so that…
6384 (tildify-count): …can be removed.
6385 (tildify-find-env): Accept a new PAIRS argument which was
6386 previously looked up in `tildify-ignored-environments-alist' each
6387 time the function was called. With this change, the lookup is
6388 performed only once in `tildify-foreach-region-outside-env'.
6389 (tildify-region): Greatly simplify the function since now most of
6390 the work is done by `tildify-foreach-region-outside-env'.
6391 (tildify-mode-alist): Simplify slightly by avoiding if and setq
6392 and instead using or.
6393
6394 * textmodes/tildify.el (tildify-ignored-environments-alist):
6395 Optimize environments regexes
6396
6397 Each time beginning of an environment to ignore is found,
6398 `tildify-find-env' needs to identify regexp for the ending
6399 of the environment. This is done by trying all the opening
6400 regexes on matched text in a loop, so to speed that up, this
6401 loop should have fewer things to match, which can be done by
6402 using alternatives in the opening regexes.
6403
6404 Coincidentally, this should make matching of the opening
6405 regexp faster as well thanks to the use of `regexp-opt' and
6406 having common prefix pulled from many regexes.
6407
6408 * textmodes/tildify.el (tildify-string-alist)
6409 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
6410 of supported modes since `xml-mode' is no longer a thing but just
6411 an alias to the former. Also include comments and insides of tags
6412 in `tildify-ignored-environments-alist' for XML modes. Finally,
6413 since XML does not define “&nbsp;”[1], use a numeric reference for
6414 a no-break space (namely “&#160;”)
6415
6416 [1] XML specification defines only a handful of predefined entities.
6417 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
6418 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
6419 >, &, ' and " respectively). This is in contrast to HTML and even
6420 XHTML which defined a whole bunch of entities including “&nbsp;”.
6421
6422 * textmodes/tildify.el (tildify-pattern-alist)
6423 (tildify-string-alist, tildify-ignored-environments-alist):
6424 Improve defcustom's types by adding more tags explaining what each
6425 value means and replace “sexp” used in
6426 `tildify-ignored-environments-alist' with a full type declaration.
6427
6428 * textmodes/tildify.el (tildify-find-env): Fix matched group
6429 indexes in end-regex building
6430
6431 When looking for a start of an ignore-environment, the regex is built
6432 by concatenating regexes of all the environments configured in
6433 `tildify-ignored-environments-alist'. So for example, the following
6434 list could be used to match TeX's \verb and \verb* commands:
6435
6436 (("\\\\verb\\(.\\)" . (1))
6437 ("\\\\verb\\*\\(.\\)" . (1)))
6438
6439 This would result in the following regex being used to find the start
6440 of any of the variants of the \verb command:
6441
6442 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
6443
6444 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
6445 won't match anything, and thus (match-string 1) will be nil, which
6446 will cause building of the end-matching regex to fail.
6447
6448 Fix this by using capture groups from the time when the opening
6449 regexes are matched individually.
6450
6451 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
6452 in `tildify-find-env'
6453
6454 The `tildify-ignored-environments-alist' allows the end-regex to
6455 be provided not as a static string but mix of strings and indexes
6456 of groups matched the begin-regex. For example, the “\verb!…!”
6457 TeX-command (where “!” is an arbitrary character) is handled
6458 using:
6459
6460 ("\\\\verb\\*?\\(.\\)" . (1))
6461
6462 In the same way, the following should be supported as well:
6463
6464 ("open-\\(.\\)" . ("end-" 1))
6465
6466 However the tildify-find-env function fails at
6467
6468 (concat result
6469 (if (stringp (setq aux (car expression)))
6470 expression ; BUG: expression is a list
6471 (regexp-quote (match-string aux))))
6472
6473 where the string part is handled incorrectly.
6474
6475 The most trivial fix would be to replace `expression' in the
6476 true-part of the if-statement with `aux', but instead, this commit
6477 optimizes `tildify-find-env' by changing it to use `mapconcat'
6478 rather than open-coded while-loop.
6479
6480 2014-06-05 Mario Lang <mlang@delysid.org>
6481
6482 * woman.el (woman-mapcan): Remove.
6483 (woman-parse-colon-path): Use cl-mapcan instead.
6484
6485 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6486
6487 * register.el: Add link to Emacs manual in Commentary.
6488
6489 2014-06-02 Sam Steingold <sds@gnu.org>
6490
6491 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
6492 (popup-menu): ...here.
6493 (menu-bar-open): Use it to avoid an error when `lookup-key'
6494 returns a number.
6495
6496 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
6497
6498 * net/tramp.el (tramp-call-process): Add traces.
6499 (tramp-handle-unhandled-file-name-directory): Return "/".
6500
6501 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
6502
6503 Sync with upstream verilog-mode revision 3cd8144.
6504 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6505 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
6506 (verilog-type-font-keywords): Add nor.
6507 (verilog-batch-execute-func): Force reading of Local Variables.
6508 Fix printing "no changes to be saved" with verilog-batch.
6509 (verilog-auto-arg-ports): Doc fix.
6510 Add verilog-auto-arg-format to support newlines in AUTOARG.
6511 (verilog-auto-arg): Doc fix.
6512
6513 2014-06-02 Glenn Morris <rgm@gnu.org>
6514
6515 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
6516 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
6517 * emulation/ws-mode.el: Move to obsolete/.
6518 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
6519
6520 2014-06-02 Eli Zaretskii <eliz@gnu.org>
6521
6522 * simple.el (keyboard-quit): Force update of mode lines, to remove
6523 the "Def" indicator, if we were defining a macro. (Bug#17615)
6524
6525 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6526
6527 * minibuffer.el (minibuffer-force-complete-and-exit):
6528 Obey minibuffer-default (bug#17545).
6529
6530 * progmodes/js.el (js-indent-line): Don't mix columns and chars
6531 (bug#17619).
6532
6533 * subr.el (set-transient-map): Don't wait for some "nested"
6534 transient-map to finish if we're only supposed to be active for
6535 the next command (bug#17642).
6536
6537 2014-06-02 Leo Liu <sdl.web@gmail.com>
6538
6539 * emacs-lisp/gv.el (window-buffer, window-display-table)
6540 (window-dedicated-p, window-hscroll, window-point, window-start):
6541 Fix gv-expander. (Bug#17630)
6542
6543 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
6546 clicks (bug#17633).
6547
6548 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
6549 for the single comma, since ", " is *very* common in normal French text
6550 (bug#17643).
6551
6552 2014-06-02 Glenn Morris <rgm@gnu.org>
6553
6554 * emacs-lisp/package.el (package-check-signature)
6555 (package-unsigned-archives): Fix :version.
6556
6557 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * subr.el (sit-for): Don't run input-methods (bug#15614).
6560
6561 2014-06-02 Glenn Morris <rgm@gnu.org>
6562
6563 * cus-start.el: Fix some :version numbers.
6564
6565 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * simple.el (deactivate-mark): Set mark-active to nil even if
6568 deactivation is done via setting transient-mark-mode to nil,
6569 since one is buffer-local and the other is global.
6570
6571 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
6572 there can't be more than 2 arguments (bug#17584).
6573
6574 2014-06-02 Glenn Morris <rgm@gnu.org>
6575
6576 * simple.el (filter-buffer-substring-functions)
6577 (filter-buffer-substring-function, buffer-substring-filters)
6578 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
6579
6580 * minibuffer.el (completion-in-region-functions, completion-in-region)
6581 (completion--in-region): Doc fixes.
6582
6583 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
6584 (expand-abbrev, abbrev--default-expand): Doc fixes.
6585
6586 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
6587
6588 Include sources used to create macuvs.h.
6589 * international/README: Refer to the Unicode Terms of Use rather
6590 than copying it bodily here, as that simplifies maintenance.
6591
6592 2014-06-01 Glenn Morris <rgm@gnu.org>
6593
6594 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
6595
6596 2014-05-31 Glenn Morris <rgm@gnu.org>
6597
6598 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
6599
6600 2014-05-30 Glenn Morris <rgm@gnu.org>
6601
6602 * loadup.el: Treat `command-line-args' more flexibly.
6603
6604 2014-05-30 Alan Mackenzie <acm@muc.de>
6605
6606 Guard (looking-at "\\s!") from XEmacs.
6607 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
6608
6609 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
6610
6611 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
6612 The argument COUNT is now optional, to be more backward-compatible.
6613 Doc fix. (Bug#17560)
6614
6615 2014-05-29 Reuben Thomas <rrt@sc3d.org>
6616
6617 * whitespace.el (whitespace-report-region):
6618 Simplify documentation.
6619 (whitespace-report-region): Allow report-if-bogus to take the
6620 value `never', for non-interactive use.
6621 (whitespace-report): Refer to whitespace-report-region's
6622 documentation.
6623
6624 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * whitespace.el: Use font-lock-flush. Minimize refontifications.
6627 Side benefit: it works without jit-lock.
6628 (whitespace-point--used): New buffer-local var.
6629 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
6630 (whitespace-color-off): Use font-lock-flush.
6631 (whitespace-point--used, whitespace-point--flush-used): New functions.
6632 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
6633 (whitespace-empty-at-eob-regexp): Use them.
6634 (whitespace-post-command-hook): Rewrite.
6635
6636 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
6637 (font-lock-fontify-buffer): Mark interactive-only.
6638 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
6639 Make buffer-local.
6640 (font-lock-specified-p): Remove redundant boundp check.
6641 (font-lock-flush-function, font-lock-ensure-function): New vars.
6642 (font-lock-turn-on-thing-lock): Set them.
6643 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
6644 (font-lock-after-change-function): Make `old-len' optional.
6645 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
6646 Call font-lock-flush, just in case.
6647 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
6648 recent Emacsen.
6649 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
6650 (vera-mode-map, vera-mode-menu): Remove bindings to it.
6651 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
6652 and with-syntax-table.
6653 * textmodes/conf-mode.el (conf-quote-normal):
6654 * progmodes/sh-script.el (sh-set-shell):
6655 * progmodes/prog-mode.el (prettify-symbols-mode):
6656 * progmodes/f90.el (f90-font-lock-n):
6657 * progmodes/cwarn.el (cwarn-mode):
6658 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
6659 * progmodes/compile.el (compilation-setup, compilation--unsetup):
6660 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
6661 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
6662 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
6663 font-lock-fontify-buffer-function and
6664 font-lock-unfontify-buffer-function.
6665 (rmail-unfontify-buffer-function, rmail-fontify-message):
6666 Use with-silent-modifications.
6667 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
6668 and font-lock-ensure.
6669 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
6670
6671 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
6672
6673 * emacs-lisp/package.el (package-generate-autoloads):
6674 Inhibit backup files.
6675
6676 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
6679 (bug#17608).
6680
6681 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
6682
6683 * textmodes/tildify.el (tildify-buffer, tildify-region):
6684 Add dont-ask option.
6685
6686 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
6689 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
6690
6691 * subr.el (internal--funcall-interactively): New.
6692 (internal--call-interactively): Remove.
6693 (called-interactively-p): Detect funcall-interactively instead of
6694 call-interactively.
6695 * simple.el (repeat-complex-command): Use funcall-interactively.
6696 (repeat-complex-command--called-interactively-skip): Remove.
6697
6698 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * register.el (register-read-with-preview): Don't burp on
6701 frame switches (e.g. due to the frame we just popped).
6702
6703 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
6704 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
6705
6706 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
6707
6708 * cus-face.el (custom-face-attributes): Add :distant-foreground.
6709
6710 2014-05-26 Martin Rudalics <rudalics@gmx.at>
6711
6712 * window.el (window--dump-frame): Remove interactive specification.
6713
6714 2014-05-26 Glenn Morris <rgm@gnu.org>
6715
6716 * hippie-exp.el (he-line-search-regexp):
6717 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
6718
6719 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
6720
6721 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
6722 to avoid errors when trying to create or visit a file foo.todo
6723 located outside to todo-directory, and to allow having such files
6724 without them being tied to Todo mode (bug#17482).
6725 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
6726 (todo-archive-done-item, todo-find-filtered-items-file)
6727 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
6728 (todo-category-completions, todo-read-category): When visiting a
6729 Todo file, make sure we're in the right mode and the buffer local
6730 variables are set.
6731 (todo-make-categories-list, todo-reset-nondiary-marker)
6732 (todo-reset-done-string, todo-reset-comment-string):
6733 After processing all Todo files, kill the buffers of those files that
6734 weren't being visited before the processing.
6735 (todo-display-as-todo-file, todo-add-to-buffer-list)
6736 (todo-visit-files-commands): Comment out.
6737 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
6738 (auto-mode-alist): Remove add-to-list calls making Todo file
6739 extensions unrestrictedly tied to Todo modes.
6740
6741 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
6744 (advice-function-member-p): Tell it to check both names and functions
6745 (bug#17531).
6746 (advice--add-function): Adjust call accordingly.
6747
6748 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
6749
6750 * calendar/todo-mode.el: Miscellaneous bug fixes.
6751 (todo-delete-file): When deleting an archive but not its todo
6752 file, make sure to update the todo file's category sexp.
6753 (todo-move-category): Keep the moved category's name unless the
6754 file moved to already has a category with that name. If the
6755 numerically last category of the source file was moved, make the
6756 first category current to avoid selecting a nonexisting category.
6757 (todo-merge-category): Fix implementation to make merging to a
6758 category in another file work as documented. Eliminate now
6759 insufficient and unnecessary renaming of archive category, correct
6760 document string accordingly, and clarify it. If the numerically
6761 last category of the source file was merged, make the first
6762 category current to avoid selecting a nonexisting category.
6763 (todo-archive-done-item): When there are marked items and point
6764 happens to be on an unmarked item, ignore the latter. Don't leave
6765 point below last item after archiving marked items.
6766 (todo-unarchive-items): Fix logic to ensure unarchiving an item
6767 from an archive with only one category deletes the archive only
6768 when the category is empty after unarchiving. Make sure the todo
6769 file's category sexp is updated.
6770 (todo-read-file-name): Allow an existing file name even when it is
6771 not required (todo-move-category needs this to work as documented).
6772 (todo-add-file): Call todo-validate-name to reject the name of an
6773 existing todo file (needed due to fix in todo-read-file-name).
6774 (todo-reset-nondiary-marker): Also reset in filtered items files.
6775 (todo-reset-done-string, todo-reset-comment-string): Also reset in
6776 regexp filtered items files.
6777 (todo-reset-highlight-item): Also reset in filtered items files.
6778 Fix incorrect variable reference in document string.
6779
6780 2014-05-26 Glenn Morris <rgm@gnu.org>
6781
6782 * window.el (window--dump-frame): Avoid error in --without-x builds.
6783
6784 2014-05-26 Glenn Morris <rgm@gnu.org>
6785
6786 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
6787
6788 2014-05-26 Eli Zaretskii <eliz@gnu.org>
6789
6790 * frame.el (set-frame-font): Doc fix.
6791
6792 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
6793
6794 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
6795
6796 * emacs-lisp/package.el (package--download-one-archive):
6797 Use `write-region' instead of `save-buffer' to avoid running various
6798 hooks. (Bug#17155)
6799 (describe-package-1): Same. Insert newline at the end of the
6800 buffer if appropriate.
6801
6802 2014-05-26 Juri Linkov <juri@jurta.org>
6803
6804 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
6805 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
6806 Add more modifiers: meta, control, shift, hyper, super, alt.
6807 (Bug#17439)
6808
6809 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
6810 to allow changing its value with `set-variable'.
6811
6812 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
6815 #; comments.
6816 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
6817 New functions.
6818 (scheme-mode-variables): Set syntax-propertize-function instead of
6819 font-lock-syntactic-face-function.
6820 (scheme-font-lock-syntactic-face-function): Delete.
6821
6822 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
6823
6824 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
6825 (bug#17392).
6826
6827 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
6828
6829 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
6830 for a temporary file name.
6831
6832 2014-05-26 Eli Zaretskii <eliz@gnu.org>
6833
6834 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
6835
6836 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
6837
6838 * net/dbus.el (dbus-init-bus, dbus-call-method)
6839 (dbus-call-method-asynchronously, dbus-send-signal)
6840 (dbus-method-return-internal, dbus-method-error-internal):
6841 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
6842
6843 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6844
6845 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
6846 methods which do not have a doc string. (Bug#17490)
6847
6848 2014-05-25 Tassilo Horn <tsdh@gnu.org>
6849
6850 * textmodes/reftex-ref.el (reftex-format-special): Make it work
6851 also for AMS Math's \eqref macro.
6852
6853 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
6854
6855 Arrange to never byte-compile the generated -pkg.el file.
6856
6857 * emacs-lisp/package.el (package-generate-description-file):
6858 Output first-line comment to set buffer-local var `no-byte-compile'.
6859 Suggested by Dmitry Gutov:
6860 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
6861
6862 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
6863
6864 Fix bug: Properly quote args to generated -pkg.el `define-package'.
6865
6866 * emacs-lisp/package.el (package-generate-description-file):
6867 Inline `package--alist-to-plist'; rewrite to selectively
6868 quote alist values that are not self-quoting.
6869 (package--alist-to-plist): Delete func.
6870
6871 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
6872
6873 * term/xterm.el (xterm-function-map): Add mapping for shifted
6874 keypad keys.
6875
6876 2014-05-24 Daniel Colascione <dancol@dancol.org>
6877
6878 * progmodes/subword.el (subword-find-word-boundary): Move point to
6879 correct spot before search. (Bug#17580)
6880
6881 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
6882 breaking the build.
6883
6884 2014-05-24 Leo Liu <sdl.web@gmail.com>
6885
6886 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
6887
6888 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * minibuffer.el (completion--sreverse): Remove.
6891 (completion--common-suffix): Use `reverse' instead.
6892 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
6893
6894 2014-05-22 Glenn Morris <rgm@gnu.org>
6895
6896 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
6897
6898 2014-05-21 Daniel Colascione <dancol@dancol.org>
6899
6900 * files.el (interpreter-mode-alist): Add mksh.
6901
6902 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
6903 derivative.
6904 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
6905 mksh. Improve custom spec; allow regular expressions.
6906 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
6907 (sh-after-hack-local-variables): New function.
6908 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
6909 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
6910 the normalization.
6911 (sh-canonicalize-shell): Rewrite to support regexes.
6912
6913 2014-05-21 Leo Liu <sdl.web@gmail.com>
6914
6915 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
6916
6917 2014-05-19 Leo Liu <sdl.web@gmail.com>
6918
6919 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
6920
6921 2014-05-18 Glenn Morris <rgm@gnu.org>
6922
6923 * loadup.el:
6924 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
6925
6926 2014-05-14 Sam Steingold <sds@gnu.org>
6927
6928 * progmodes/python.el (python-shell-get-or-create-process):
6929 Do not bind `current-prefix-arg' so that C-c C-z does not talk
6930 back unless requested.
6931
6932 2014-05-14 Glenn Morris <rgm@gnu.org>
6933
6934 * subr.el (with-file-modes): New macro.
6935 * printing.el (pr-save-file-modes): Make obsolete.
6936 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
6937 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6938 Add with-file-modes.
6939 * doc-view.el (doc-view-make-safe-dir):
6940 * epg.el (epg--start):
6941 * files.el (locate-user-emacs-file, make-temp-file)
6942 (backup-buffer-copy, move-file-to-trash):
6943 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
6944 * eshell/esh-util.el (eshell-with-private-file-modes)
6945 (eshell-make-private-directory):
6946 * net/browse-url.el (browse-url-mosaic):
6947 * obsolete/mailpost.el (post-mail-send-it):
6948 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
6949 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
6950 Use with-file-modes.
6951
6952 * vc/emerge.el (emerge-make-temp-file): Simplify.
6953
6954 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
6955 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
6958 suffix (bug#15419).
6959
6960 2014-05-14 Glenn Morris <rgm@gnu.org>
6961
6962 * vc/emerge.el (emerge-temp-file-prefix):
6963 Make pointless option obsolete.
6964 (emerge-temp-file-mode): Make non-functional option obsolete.
6965
6966 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
6967
6968 * net/browse-url.el (browse-url):
6969 Use `unhandled-file-name-directory' when setting `default-directory',
6970 in order to circumvent stalled remote connections. (Bug#17425)
6971
6972 2014-05-14 Glenn Morris <rgm@gnu.org>
6973
6974 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
6975 Optimize on Emacs, which has the relevant functions for ages.
6976
6977 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 * simple.el (undo-make-selective-list): Obey undo-no-redo.
6980
6981 2014-05-12 Sam Steingold <sds@gnu.org>
6982
6983 * calendar/time-date.el (seconds-to-string): New function to
6984 pretty print time delay in seconds.
6985
6986 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * mpc.el (mpc-format): Trim Date to the year.
6989 (mpc-songs-hashcons): Shorten the Date field.
6990
6991 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
6992 into autoloading just because of a silly indirection.
6993
6994 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
6995
6996 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
6997
6998 2014-05-12 Glenn Morris <rgm@gnu.org>
6999
7000 * emacs-lisp/find-gc.el: Move to ../admin.
7001
7002 * printing.el (pr-version):
7003 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
7004
7005 * net/browse-url.el (browse-url-mosaic):
7006 Create /tmp/Mosaic.PID as a private file.
7007
7008 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7010 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
7011 (advice--member-p): If name is given, only compare the name.
7012 (advice--remove-function): Don't stop at the first match.
7013 (advice--normalize-place): New function.
7014 (add-function, remove-function): Use it.
7015 (advice--add-function): Pass the name, if any, to
7016 advice--remove-function.
7017
7018 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
7019
7020 * electric.el (electric-indent-post-self-insert-function): Don't use
7021 `pos' after modifying the buffer (bug#17449).
7022
7023 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
7024
7025 * calendar/todo-mode.el (todo-insert-item-from-calendar):
7026 Correct argument list to conform to todo-insert-item--basic.
7027
7028 2014-05-12 Glenn Morris <rgm@gnu.org>
7029
7030 * files.el (cd-absolute): Test if directory is accessible
7031 rather than executable. (Bug#17330)
7032
7033 * progmodes/compile.el (recompile):
7034 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
7035
7036 * net/browse-url.el (browse-url-mosaic):
7037 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
7038 This is CVE-2014-3423.
7039
7040 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * mouse.el: Use the normal toplevel loop while dragging.
7043 (mouse-set-point): Handle multi-clicks.
7044 (mouse-set-region): Handle multi-clicks for drags.
7045 (mouse-drag-region): Update call accordingly.
7046 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
7047 Use the normal event loop instead of a local while/read-event loop.
7048 (global-map): Remove redundant bindings for double/triple-mouse-1.
7049 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
7050 Generate synthetic down events when the protocol only sends up events.
7051 (xterm-mouse-last): Remove.
7052 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
7053 terminal parameter instead.
7054 (xterm-mouse--set-click-count): New function.
7055 (xterm-mouse-event): Detect/generate double/triple clicks.
7056 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
7057
7058 * info.el (Info-quoted): New face.
7059 (Info-mode-font-lock-keywords): New var.
7060 (Info-mode): Use it.
7061
7062 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
7063 are a hindrance for C-x C-e.
7064
7065 2014-05-11 Leo Liu <sdl.web@gmail.com>
7066
7067 * net/rcirc.el (rcirc-sentinel): Fix last change.
7068
7069 2014-05-08 Sam Steingold <sds@gnu.org>
7070
7071 * net/rcirc.el (rcirc-reconnect-delay): New user option.
7072 (rcirc-sentinel): Auto-reconnect to the server if
7073 `rcirc-reconnect-delay' is non-0 (but not more often than its
7074 value in case the host is off-line).
7075
7076 2014-05-09 Eli Zaretskii <eliz@gnu.org>
7077
7078 * progmodes/grep.el (lgrep): Fix a typo in last commit.
7079
7080 2014-05-09 Glenn Morris <rgm@gnu.org>
7081
7082 * files.el (file-expand-wildcards):
7083 * man.el (Man-support-local-filenames):
7084 * printing.el (pr-i-directory, pr-interface-directory):
7085 * progmodes/grep.el (lgrep, rgrep):
7086 * textmodes/ispell.el (ispell-call-process)
7087 (ispell-call-process-region, ispell-start-process)
7088 (ispell-init-process): Use file-accessible-directory-p.
7089
7090 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
7093 (xterm-mouse--read-event-sequence-1000): Return nil if something
7094 looks fishy.
7095 (xterm-mouse-event): Propagate it.
7096 (xterm-mouse-translate-1): Handle it.
7097
7098 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
7099
7100 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
7101 four slots of the parameter list are filled, make sure to pass it
7102 to the argument list of todo-insert-item--basic.
7103
7104 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
7107 Add optional `seen' argument to detect and break infinite loops.
7108
7109 2014-05-08 Eli Zaretskii <eliz@gnu.org>
7110
7111 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
7112 (trace-unsafe, trace-use-tree): Make parentheses style be
7113 according to Emacs style.
7114
7115 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
7116
7117 * net/tramp-sh.el (tramp-remote-process-environment):
7118 Remove HISTFILE and HISTSIZE; it's too late to set them here.
7119 Add :version entry.
7120 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
7121 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
7122 extra "PSx=..." commands.
7123 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
7124 (Bug#17295)
7125
7126 (tramp-uudecode): Replace the hard-coded temporary file name by a
7127 format specifier.
7128 (tramp-remote-coding-commands): Enhance docstring.
7129 (tramp-find-inline-encoding): Replace "%t" by a temporary file
7130 name. (Bug#17415)
7131 This is CVE-2014-3424.
7132
7133 2014-05-08 Glenn Morris <rgm@gnu.org>
7134
7135 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
7136 (find-gc-source-files): Update some names.
7137 (trace-call-tree): Simplify and update.
7138 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
7139 This is CVE-2014-3422.
7140
7141 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * minibuffer.el (completion--try-word-completion): Revert fix for
7144 Bug#15980 (bug#17375).
7145
7146 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
7147 Always store button numbers in the same way in xterm-mouse-last;
7148 Don't burp is xterm-mouse-last is not set as expected.
7149 Never return negative indices.
7150
7151 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
7152
7153 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7154 Backtrack one char if the global/char-literal var matcher hits
7155 inside a string. The next char could be the beginning of an
7156 expression expansion.
7157
7158 2014-05-08 Glenn Morris <rgm@gnu.org>
7159
7160 * help-fns.el (describe-function-1): Test for an autoload before a
7161 macro, since `macrop' works on autoloads. (Bug#17410)
7162
7163 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * electric.el (electric-indent-functions-without-reindent): Add yaml.
7166
7167 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
7168 Make sure the new point we return is within the new string (bug#17239).
7169
7170 2014-05-05 Daniel Colascione <dancol@dancol.org>
7171
7172 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7173 Port `gnu' pattern to rx.
7174
7175 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
7176
7177 Remove unneeded prompt when closing a buffer with active
7178 emacsclient ("Buffer ... still has clients"), #16548.
7179 * server.el (server-start): Remove the only call to:
7180 (server-kill-buffer-query-function): Remove.
7181
7182 2014-05-04 Leo Liu <sdl.web@gmail.com>
7183
7184 * calendar/diary-lib.el (calendar-chinese-month-name-array):
7185 Defvar to pacify compiler.
7186
7187 2014-05-04 Eli Zaretskii <eliz@gnu.org>
7188
7189 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
7190
7191 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
7194 Use nil rather than `default' for the "default" appearance (bug#17388).
7195 * vc/ediff-util.el (ediff-inferior-compare-regions)
7196 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
7197 a misleading `default' value when it's really a boolean.
7198 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
7199 overlay is not visible.
7200
7201 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
7202
7203 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
7204 (todo-menu): Uncomment and update.
7205
7206 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
7207
7208 * calendar/todo-mode.el: Reimplement item editing to have the same
7209 basic user interface as item insertion, and make small UI and
7210 larger internal improvements to the latter.
7211 (todo-insert-item): Add reference to the Todo mode user manual to
7212 the documentation string.
7213 (todo-insert-item--basic): Rename from todo-basic-insert-item and
7214 adjust all callers. Change signature to combine diary and
7215 nonmarking arguments. Incorporate functionality of deleted item
7216 copying command and add error checking. Remove detailed
7217 descriptions of the arguments from the documentation string, since
7218 this is treated in the Todo mode user manual.
7219 (todo-copy-item, todo-edit-multiline-item)
7220 (todo-edit-done-item-comment, todo-edit-item-header)
7221 (todo-edit-item-time, todo-edit-item-date-from-calendar)
7222 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
7223 (todo-edit-item-date-year, todo-edit-item-date-month)
7224 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
7225 Remove.
7226 (todo-edit-item): Reimplement as wrapper command for
7227 todo-edit-item--next-key and make it distinguish done and not done
7228 todo items.
7229 (todo-edit-item--text): New function, replacing old command
7230 todo-edit-item and incorporating deleted commands
7231 todo-edit-multiline-item and todo-edit-done-item-comment.
7232 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
7233 Use only numeric value of prefix argument. Remove detailed
7234 descriptions of the arguments from the documentation string, since
7235 this is treated in the Todo mode user manual.
7236 (todo-edit-item--diary-inclusion): New function, replacing old
7237 command todo-edit-item-diary-inclusion and incorporating and fixing
7238 functionality of deleted command todo-edit-item-diary-nonmarking,
7239 making sure to remove todo-nondiary-marker when adding
7240 diary-nonmarking-symbol.
7241 (todo-edit-category-diary-inclusion): Make sure to delete
7242 diary-nonmarking-symbol when adding todo-nondiary-marker.
7243 (todo-edit-category-diary-nonmarking): Fix indentation.
7244 (todo-insert-item--parameters): Group diary and nonmarking
7245 parameters together.
7246 (todo-insert-item--apply-args): Adjust to signature of
7247 todo-insert-item--basic and incorporate copy parameter.
7248 Make small code improvements.
7249 (todo-insert-item--next-param): Improve prompt and adjust it to
7250 new parameter grouping. Remove obsolete code.
7251 (todo-edit-item--param-key-alist)
7252 (todo-edit-item--date-param-key-alist)
7253 (todo-edit-done-item--param-key-alist): New defconsts.
7254 (todo-edit-item--prompt): New variable.
7255 (todo-edit-item--next-key): New function.
7256 (todo-key-bindings-t): Bind "e" to todo-edit-item.
7257 Remove bindings of deleted commands.
7258
7259 2014-05-04 Leo Liu <sdl.web@gmail.com>
7260
7261 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
7262
7263 2014-05-04 Glenn Morris <rgm@gnu.org>
7264
7265 * allout-widgets.el (allout-widgets-tally)
7266 (allout-decorate-item-guides):
7267 * menu-bar.el (menu-bar-positive-p):
7268 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7269 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
7270 * progmodes/js.el (js--inside-param-list-p)
7271 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
7272 * progmodes/prolog.el (region-exists-p):
7273 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
7274 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
7275 Doc fixes (replace `iff').
7276
7277 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
7280
7281 2014-05-04 Leo Liu <sdl.web@gmail.com>
7282
7283 Support Chinese diary entries in calendar and diary. (Bug#17393)
7284 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
7285 (calendar-chinese-from-absolute-for-diary)
7286 (calendar-chinese-to-absolute-for-diary)
7287 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
7288 (diary-chinese-list-entries): New functions to list and mark
7289 Chinese diary entries in the calendar window.
7290 (diary-chinese-anniversary)
7291 (diary-chinese-insert-anniversary-entry)
7292 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
7293 (diary-chinese-insert-yearly-entry): New commands to insert
7294 Chinese diary entries.
7295
7296 * calendar/diary-lib.el (diary-font-lock-keywords):
7297 Support font-locking Chinese dates.
7298
7299 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
7300 inserting Chinese diary entries.
7301
7302 * calendar/calendar.el (diary-chinese-entry-symbol):
7303 New customizable variable.
7304 (calendar-mode-map): Add bindings for inserting Chinese diary
7305 entries.
7306
7307 2014-05-03 Juri Linkov <juri@jurta.org>
7308
7309 * dired.el (dired-check-switches, dired-switches-recursive-p):
7310 New functions. (Bug#17218)
7311 (dired-switches-escape-p, dired-move-to-end-of-filename):
7312 Use `dired-check-switches'.
7313 (dired-insert-old-subdirs, dired-build-subdir-alist)
7314 (dired-sort-R-check): Use `dired-switches-recursive-p'.
7315
7316 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
7317
7318 * simple.el (undo-make-selective-list): New algorithm fixes
7319 incorrectness of position adjustments when undoing in region.
7320 (Bug#17235)
7321 (undo-elt-crosses-region): Make obsolete.
7322 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
7323 New functions to adjust positions using undo-deltas.
7324
7325 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
7328 the last consecutive closing paren (bug#17345).
7329
7330 2014-04-30 Reuben Thomas <rrt@sc3d.org>
7331
7332 * dired.el (dired-mode): make terminology for eXpunge command
7333 consistent. (Bug#17276)
7334
7335 2014-04-30 Eli Zaretskii <eliz@gnu.org>
7336
7337 * dired.el (dired-initial-position-hook, dired-initial-position):
7338 Doc string fixes.
7339
7340 2014-04-30 Glenn Morris <rgm@gnu.org>
7341
7342 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
7343
7344 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
7345
7346 * faces.el (face-spec-recalc): Apply X resources only after the
7347 defface spec has been applied. Thus, X resources are no longer
7348 overriden by the defface spec which also fixes issues on win32 where
7349 the toolbar coloring was wrong because it is set through X resources
7350 and was (wrongfully) overriden. (Bug#16694)
7351
7352 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * textmodes/rst.el (electric-pair-pairs): Declare.
7355 (rst-mode): Set it (bug#17131).
7356
7357 2014-04-30 Juri Linkov <juri@jurta.org>
7358
7359 * desktop.el (desktop-value-to-string): Let-bind `print-length'
7360 and `print-level' to nil. (Bug#17351)
7361
7362 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7363
7364 * battery.el (battery-update): Handle the case where battery
7365 status is "N/A" (bug#17319).
7366
7367 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7368
7369 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
7370 to syntax-propertize.
7371 (ps-mode-auto-indent): Mark as obsolete.
7372 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
7373 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
7374 word regexp operators.
7375 (ps-mode-map): Move initialization into declaration. Remove binding
7376 for TAB, RET, >, ], and }.
7377 (ps-mode-syntax-table): Move initialization into declaration.
7378 Don't give word syntax to non-word chars.
7379 (ps-run-mode-map): Move initialization into declaration.
7380 (ps-mode-menu-main): Remove auto-indent entry.
7381 (ps-mode-smie-rules): New function.
7382 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
7383 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
7384 (ps-mode--string-syntax-table): New const.
7385 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
7386 New functions.
7387 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
7388 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
7389
7390 2014-04-27 Daniel Colascione <dancol@dancol.org>
7391
7392 * term/xterm.el (xterm-paste): Use large finite timeout when
7393 reading event to avoid putting keys in this-command-keys.
7394
7395 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7396
7397 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
7398 (perl-syntax-propertize-function): Use it. Extend handling of
7399 here-docs to the unquoted case.
7400
7401 2014-04-25 Eli Zaretskii <eliz@gnu.org>
7402
7403 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
7404 Use equal-including-properties to compare help-echo strings (bug#17331).
7405
7406 2014-04-25 Leo Liu <sdl.web@gmail.com>
7407
7408 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7409 Fix syntax for @. (Bug#17325)
7410
7411 2014-04-25 Daniel Colascione <dancol@dancol.org>
7412
7413 * emacs-lisp/cl.el (gv): Require gv early to break eager
7414 macro-expansion cycles.
7415
7416 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * simple.el (region-active-p): Check there's a mark (bug#17324).
7419
7420 * simple.el (completion-list-mode-map): Use choose-completion for the
7421 mouse binding as well (bug#17302).
7422 (completion-list-mode, completion-setup-function): Adjust docstring and
7423 echo area message accordingly.
7424 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
7425 calling convention of choose-completion.
7426 * comint.el (comint-dynamic-list-completions):
7427 * term.el (term-dynamic-list-completions): Accept choose-completion.
7428
7429 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
7430 &, |, +, - and * can't be a division (bug#17317).
7431
7432 * term/xterm.el (xterm--version-handler): Don't use modern xterm
7433 features on gnome-terminal (bug#16988).
7434
7435 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
7436
7437 Improve Scheme font-locking for (define ((foo ...) ...) ...).
7438
7439 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
7440 the declared object, ignore zero or more parens, not zero or one.
7441
7442 2014-04-24 Leo Liu <sdl.web@gmail.com>
7443
7444 * progmodes/xscheme.el (xscheme-expressions-ring)
7445 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
7446 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
7447 (xscheme-allow-output-p, xscheme-prompt)
7448 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
7449
7450 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
7451 Comment out unused functions.
7452
7453 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * info.el: Use lexical-binding and cl-lib.
7456 Use defvar-local and setq-local instead of make-local-variable.
7457 (Info-apropos-matches): Avoid add-to-list.
7458 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
7459
7460 2014-04-24 Daniel Colascione <dancol@dancol.org>
7461
7462 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
7463
7464 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7465
7466 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
7467
7468 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
7469
7470 * dired.el (dired-insert-set-properties): Do not consider
7471 subdirectory headings and empty lines to be information that
7472 `dired-hide-details-mode' should hide. (Bug#17228)
7473
7474 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
7475
7476 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7477 Remove test messages.
7478 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
7479 and `target' twice.
7480
7481 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7482
7483 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
7484 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
7485
7486 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
7487
7488 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
7489
7490 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7491 Set "IFS=" when using read builtin, in order to preserve spaces in
7492 the file name. Add test messages for hunting a bug on hydra.
7493 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
7494
7495 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
7498 Don't prettify a word within a symbol.
7499
7500 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
7501
7502 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
7503 possible.
7504
7505 2014-04-22 Daniel Colascione <dancol@dancol.org>
7506
7507 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
7508 use defun to define `function-put'.
7509
7510 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
7513 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
7514 (lisp-mode-variables): Set font-lock-extra-managed-props.
7515
7516 * emacs-lisp/byte-run.el (function-put): New function.
7517 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
7518 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
7519 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
7520 Use them.
7521
7522 2014-04-22 Daniel Colascione <dancol@dancol.org>
7523
7524 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
7525 Add `full-p' parameter; when nil, call `macroexpand' instead of
7526 `macroexpand-all'.
7527
7528 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
7529 Improve docstrings.
7530
7531 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7532 Use lambda function values, not quoted lambdas.
7533 (byte-compile-recurse-toplevel): Remove extraneous &optional.
7534
7535 * emacs-lisp/cl-macs.el
7536 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
7537 (cl-struct-slot-value): Conditionally use aref or nth so that the
7538 compiler produces optimal code.
7539
7540 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
7543 (inline): Don't inline cl--set-elt.
7544 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
7545 Define as inlinable instead.
7546 (cl-struct-set-slot-value): Remove.
7547
7548 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
7549 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
7550 Use setf instead.
7551
7552 2014-04-21 Daniel Colascione <dancol@dancol.org>
7553
7554 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
7555 last two parameters after all.
7556 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
7557 (cl--compiler-macro-assoc,cl-struct-slot-value)
7558 (cl-struct-set-slot-value): Stop using them.
7559
7560 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
7563 entry in image-mode-winprops-alist.
7564
7565 2014-04-21 Daniel Colascione <dancol@dancol.org>
7566
7567 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
7568 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
7569 (byte-compile-toplevel-file-form): Use it.
7570
7571 * emacs-lisp/cl-macs.el:
7572 (cl--loop-let): Properly destructure `while' clauses.
7573
7574 2014-04-20 Daniel Colascione <dancol@dancol.org>
7575
7576 * vc/vc.el (vc-root-dir): New public autoloaded function for
7577 generically finding the current VC root.
7578 * vc/vc-hooks.el (vc-not-supported): New error.
7579 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
7580
7581 2014-04-20 Daniel Colascione <dancol@dancol.org>
7582
7583 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
7584 argument.
7585 (cl--const-expr-val): cl--const-expr-val should macroexpand its
7586 argument in case we're inside a symbol-macrolet.
7587 (cl--do-arglist, cl--compiler-macro-typep)
7588 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
7589 environment to `cl--const-expr-val'.
7590 (cl-struct-sequence-type,cl-struct-slot-info)
7591 (cl-struct-slot-offset, cl-struct-slot-value)
7592 (cl-struct-set-slot-value): New functions.
7593
7594 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
7597 assignments such as "case=hello" (bug#17297).
7598
7599 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
7600
7601 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
7602 Do not autoload.
7603 (tramp-file-name-handler, tramp-completion-file-name-handler):
7604 Revert patch from 2014-04-10, it isn't necessary anymore.
7605 (tramp-autoload-file-name-handler)
7606 (tramp-register-autoload-file-name-handlers): New defuns.
7607 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
7608 (tramp-register-file-name-handlers): Remove also
7609 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
7610 Do not autoload its invocation, but eval it after loading of 'tramp.
7611
7612 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
7613
7614 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
7615
7616 2014-04-17 Daniel Colascione <dancol@dancol.org>
7617
7618 Add support for bracketed paste mode; add infrastructure for
7619 managing terminal mode enabling and disabling automatically.
7620
7621 * xt-mouse.el:
7622 (xterm-mouse-mode): Simplify.
7623 (xterm-mouse-tracking-enable-sequence)
7624 (xterm-mouse-tracking-disable-sequence): New constants.
7625 (turn-on-xterm-mouse-tracking-on-terminal)
7626 (turn-off-xterm-mouse-tracking-on-terminal):
7627 Use tty-mode-set-strings and tty-mode-reset-strings terminal
7628 parameters instead of random hooks.
7629 (turn-on-xterm-mouse-tracking)
7630 (turn-off-xterm-mouse-tracking): Delete.
7631
7632 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
7633 (xterm-paste-ending-sequence): New constant.
7634 (xterm-paste): New command used for bracketed paste support.
7635
7636 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
7637 (terminal-init-xterm-bracketed-paste-mode): New function.
7638 (terminal-init-xterm): Call it.
7639 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
7640 and tty-mode-reset-strings instead of random hooks.
7641 (xterm-turn-on-modify-other-keys)
7642 (xterm-turn-off-modify-other-keys)
7643 (xterm-remove-modify-other-keys): Delete obsolete functions.
7644
7645 * term/screen.el: Rewrite to just use the xterm code.
7646 Add copyright notice. Mention tmux.
7647
7648 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
7649
7650 * image-mode.el (image-mode-window-put): Also update the property of
7651 the "default window".
7652 * doc-view.el (doc-view-new-window-function): If no window
7653 exists, move to the last known page.
7654
7655 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
7658 here-documents (bug#17262).
7659
7660 2014-04-16 Eli Zaretskii <eliz@gnu.org>
7661
7662 * term/pc-win.el (x-list-fonts, x-get-selection-value):
7663 Provide doc strings, as required by snarf-documentation.
7664
7665 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
7668 arg of overlays-at. Use `invisible-p'.
7669
7670 * obsolete/lucid.el (extent-at):
7671 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
7672 overlays-at.
7673 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
7674
7675 2014-04-16 João Távora <joaotavora@gmail.com>
7676
7677 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
7678 links. (Bug#17217).
7679
7680 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7681
7682 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
7683 Use mapc to loop over a vector. (Bug#17257).
7684
7685 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
7686
7687 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
7688 patch, there are new problems with file names containing spaces.
7689 Get rid of backticks. (Bug#17238)
7690
7691 2014-04-16 João Távora <joaotavora@gmail.com>
7692
7693 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
7694 possible bug.
7695
7696 2014-04-16 Eli Zaretskii <eliz@gnu.org>
7697
7698 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
7699 (blink-cursor-mode): Mention customization variables and the
7700 effect of 'blink-cursor-blinks'.
7701
7702 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
7703
7704 * simple.el (undo): Prevent insertion of identity mapping into
7705 undo-equiv-table so as undo-only does not inf loop in the presence
7706 of consecutive nils in undo list.
7707
7708 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
7709
7710 * faces.el (make-face): Deprecate optional argument as it is no
7711 longer needed/used since the conditional X resources handling
7712 has been pushed down to make-face-x-resource-internal itself.
7713 (make-empty-face): Don't pass optional argument to make-face.
7714
7715 2014-04-16 Karl Fogel <kfogel@red-bean.com>
7716
7717 * savehist.el (savehist-save): Remove workaround for a read-passwd
7718 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
7719 noticing that the shim was still present.
7720
7721 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
7724
7725 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
7726
7727 * faces.el (face-set-after-frame-default): Remove unused local variable.
7728
7729 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * progmodes/grep.el: Use lexical-binding.
7732 (grep-expand-template): Pass explicit lexical env to `eval'.
7733 (zrgrep): Let-bind grep-find-template explicitly.
7734
7735 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
7736 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
7737
7738 2014-04-12 Eli Zaretskii <eliz@gnu.org>
7739
7740 * international/characters.el <standard-case-table>: Add entries
7741 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
7742 Set category of Coptic characters be 'g' (Greek).
7743
7744 2014-04-12 Leo Liu <sdl.web@gmail.com>
7745
7746 * progmodes/octave.el (completion-table-with-cache):
7747 Define if not available.
7748 (octave-goto-function-definition, octave-sync-function-file-names)
7749 (octave-find-definition-default-filename):
7750 Backquote upattern for compatibility.
7751
7752 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
7753
7754 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
7755 name twice due to backticks. (Bug#17238)
7756
7757 2014-04-12 Glenn Morris <rgm@gnu.org>
7758
7759 * term/w32-win.el (x-win-suspend-error):
7760 * term/x-win.el (x-win-suspend-error): Sync docs.
7761
7762 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
7763
7764 * faces.el (make-face): Remove deprecated optional argument.
7765 The conditional application of X resources is handled directly by
7766 make-face-x-resource-internal since Emacs 24.4.
7767 (make-empty-face): Don't pass optional argument to make-face.
7768
7769 2014-04-11 Glenn Morris <rgm@gnu.org>
7770
7771 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
7772
7773 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7774
7775 Ediff's overlay priorities cause more trouble than they solve.
7776 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
7777 (ediff-highest-priority): Remove function (bug#17234).
7778 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
7779 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
7780 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
7781 overlay priorities.
7782
7783 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
7784
7785 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
7786 entry; use symbol boundaries to avoid mis-matches.
7787
7788 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
7789
7790 * net/tramp.el (tramp-file-name-handler)
7791 (tramp-completion-file-name-handler): Avoid recursive loading.
7792
7793 * net/tramp-sh.el (tramp-make-copy-program-file-name):
7794 Quote result also locally.
7795
7796 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
7799 Remove left-over code.
7800
7801 * newcomment.el (comment-indent-new-line): Sink code where it's used.
7802 Reuse the previous comment's indentation unconditionally if it's on its
7803 own line.
7804
7805 2014-04-09 Daniel Colascione <dancol@dancol.org>
7806
7807 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
7808 `no-syntax-crossing' arguments. Forward to `up-list'.
7809 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
7810 Implement logic for escaping from strings. Use narrowing to deal
7811 with corner cases.
7812
7813 2014-04-09 Leo Liu <sdl.web@gmail.com>
7814
7815 * net/rcirc.el (rcirc-connection-info): New variable.
7816 (rcirc-connect): Use it to store connection info.
7817 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
7818 for killed process.
7819 (rcirc-cmd-reconnect): New command. (Bug#17045)
7820 (rcirc-mode, set-rcirc-encode-coding-system)
7821 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
7822
7823 2014-04-09 Daniel Colascione <dancol@dancol.org>
7824
7825 * emacs-lisp/cl-indent.el: Add comment claiming
7826 facility is also good for elisp.
7827 (lisp-indent-find-method): New function.
7828 (common-lisp-indent-function): Recognize cl-loop.
7829 (common-lisp-indent-function-1): Recognize cl constructs; use
7830 `lisp-indent-find-method' instead of `get' directly.
7831 (if): Use else-body style for elisp.
7832
7833 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
7834
7835 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7836 Module methods. (Bug#17216)
7837
7838 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * help.el (describe-bindings): Fix buffer handling (bug#17210).
7841 (describe-bindings-internal): Mark obsolete.
7842
7843 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
7846 buffer-file-name, and buffer-file-truename any more.
7847
7848 2014-04-08 Leo Liu <sdl.web@gmail.com>
7849
7850 Use lexical-binding and require cl-lib.
7851 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
7852 (rcirc-handler-generic, rcirc-fill-paragraph)
7853 (rcirc-format-response-string, rcirc-target-buffer)
7854 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
7855 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
7856 (rcirc-ctcp-sender-PING, rcirc-browse-url)
7857 (rcirc-markup-timestamp, rcirc-markup-attributes)
7858 (rcirc-markup-my-nick, rcirc-markup-urls)
7859 (rcirc-markup-bright-nicks, rcirc-markup-fill)
7860 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
7861 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
7862 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
7863 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
7864 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
7865 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
7866 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
7867 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
7868 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
7869 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
7870 use cl-lib.
7871
7872 2014-04-07 João Távora <joaotavora@gmail.com>
7873
7874 * elec-pair.el (electric-pair--syntax-ppss):
7875 When inside comments parse from comment beginning.
7876 (electric-pair--balance-info): Fix typo in comment.
7877 (electric-pair--in-unterminated-string-p): Delete.
7878 (electric-pair--unbalanced-strings-p): New function.
7879 (electric-pair-string-bound-function): New var.
7880 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
7881 according to `electric-pair--in-unterminated-string-p'
7882
7883 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
7884 Inhibit quote pairing if point-max is inside an unterminated string.
7885 (electric-pair--looking-at-unterminated-string-p): Delete.
7886 (electric-pair--in-unterminated-string-p): New function.
7887
7888 2014-04-07 Glenn Morris <rgm@gnu.org>
7889
7890 * shell.el (shell-directory-tracker):
7891 Go back to just ignoring failures. (Bug#17159)
7892
7893 2014-04-07 João Távora <joaotavora@gmail.com>
7894
7895 Fix `electric-pair-delete-adjacent-pairs' in modes binding
7896 backspace. (Bug#16981)
7897 * elec-pair.el (electric-pair-backward-delete-char): Delete.
7898 (electric-pair-backward-delete-char-untabify): Delete.
7899 (electric-pair-mode-map): Bind backspace to a menu item filtering
7900 a new `electric-pair-delete-pair' command.
7901 (electric-pair-delete-pair): New command.
7902
7903 * progmodes/python.el (python-electric-pair-string-delimiter):
7904 Fix triple-quoting electricity. (Bug#17192)
7905
7906 * elec-pair.el (electric-pair-post-self-insert-function):
7907 Don't skip whitespace when `electric-pair-text-pairs' and
7908 `electric-pair-pairs' were used. syntax to
7909 electric-pair--skip-whitespace. (Bug#17183)
7910
7911 2014-04-07 Eli Zaretskii <eliz@gnu.org>
7912
7913 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
7914 "<F>". (Bug#17199)
7915
7916 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
7919 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
7920
7921 2014-04-07 Glenn Morris <rgm@gnu.org>
7922
7923 * help.el (view-lossage): Doc tweak.
7924
7925 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
7926
7927 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
7928 only when inhibit-x-resources is nil, and do that earlier in the
7929 function. Doc fix. (Bug#16694)
7930 (face-spec-choose): Accept additional optional argument, whose
7931 value is returned if no matching attributes are found.
7932 (face-spec-recalc): Use the new optional argument when calling
7933 face-spec-choose. (Bug#16378)
7934 (make-face-x-resource-internal): Do nothing when
7935 inhibit-x-resources is non-nil. Don't touch the default face if
7936 reversed video is given--as was done in previous versions of Emacs.
7937 (face-set-after-frame-default): Don't call
7938 make-face-x-resource-internal here. (Bug#16434)
7939
7940 2014-04-07 Tassilo Horn <tsdh@gnu.org>
7941
7942 * doc-view.el (doc-view-bookmark-jump):
7943 Use `bookmark-after-jump-hook' to jump to the right page after the
7944 buffer is shown in a window. (bug#16090)
7945
7946 2014-04-07 Eli Zaretskii <eliz@gnu.org>
7947
7948 * international/characters.el (mirroring): Fix last change:
7949 instead of loading uni-mirrored.el explicitly, do that implicitly
7950 by creating the 'mirroring' uniprop table. This avoids announcing
7951 the loading of uni-mirrored.el.
7952
7953 2014-04-07 Glenn Morris <rgm@gnu.org>
7954
7955 * files.el (buffer-stale--default-function)
7956 (buffer-stale-function, revert-buffer--default):
7957 * autorevert.el (auto-revert-buffers): Doc tweaks.
7958
7959 2014-04-07 Eli Zaretskii <eliz@gnu.org>
7960
7961 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
7962
7963 2014-04-07 Glenn Morris <rgm@gnu.org>
7964
7965 * files.el (make-backup-file-name-function)
7966 (make-backup-file-name, make-backup-file-name--default-function)
7967 (make-backup-file-name-1, find-backup-file-name)
7968 (revert-buffer-function, revert-buffer-insert-file-contents-function)
7969 (buffer-stale--default-function, buffer-stale-function)
7970 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
7971 (revert-buffer, revert-buffer--default)
7972 (revert-buffer-insert-file-contents--default-function):
7973 Doc fixes related to defaults no longer being nil.
7974 (make-backup-file-name-function): Bump :version.
7975 Restore nil as a valid but deprecated custom type.
7976
7977 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7980 Handle $' used as a variable (bug#17174).
7981
7982 * progmodes/perl-mode.el (perl-indent-new-calculate):
7983 Handle forward-sexp failure (bug#16985).
7984 (perl-syntax-propertize-function): Add "foreach" and "for" statement
7985 modifiers introducing expressions (bug#17116).
7986
7987 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
7990
7991 2014-04-05 Leo Liu <sdl.web@gmail.com>
7992
7993 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7994 Add define-compilation-mode.
7995
7996 2014-04-04 João Távora <joaotavora@gmail.com>
7997
7998 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
7999 parse from comment beginning.
8000 (electric-pair--balance-info): Fix typo in comment.
8001 (electric-pair--in-unterminated-string-p): Delete.
8002 (electric-pair--unbalanced-strings-p): New function.
8003 (electric-pair-string-bound-function): New var.
8004 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
8005 according to `electric-pair--in-unterminated-string-p'.
8006
8007 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
8010 Move declaration before first use.
8011 (reftex-move-to-next-arg): Silence compiler warning.
8012
8013 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
8014
8015 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
8016 Use `window-total-width' instead of `window-width'.
8017
8018 2014-04-03 Daniel Colascione <dancol@dancol.org>
8019
8020 * subr.el (set-transient-map): Remove rms's workaround entirely;
8021 use new `suspicious-object' subr to mark our lambda for closer
8022 scrutiny during gc.
8023
8024 2014-04-02 Richard Stallman <rms@gnu.org>
8025
8026 * subr.el (set-transient-map): Comment out previous change.
8027
8028 2014-04-02 Glenn Morris <rgm@gnu.org>
8029
8030 * menu-bar.el (menu-bar-file-menu):
8031 * vc/ediff.el (ediff-current-file):
8032 Update for revert-buffer-function no longer being nil by default.
8033
8034 * simple.el (command-execute): Respect nil disabled-command-function.
8035
8036 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8037
8038 * simple.el (command-execute): Do not execute the command when it
8039 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
8040
8041 2014-04-02 Juri Linkov <juri@jurta.org>
8042
8043 * dired-aux.el (dired-compress-file): Don't use string-match-p
8044 because its match data is used afterwards.
8045
8046 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
8047
8048 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
8049 0 like nil.
8050
8051 2014-04-02 João Távora <joaotavora@gmail.com>
8052
8053 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
8054 Inhibit quote pairing if point-max is inside an unterminated string.
8055 (electric-pair--looking-at-unterminated-string-p):
8056 Delete.
8057 (electric-pair--in-unterminated-string-p): New function.
8058
8059 2014-04-01 Daniel Colascione <dancol@dancol.org>
8060
8061 * minibuffer.el (minibuffer-complete): Prevent assertion failure
8062 when trying to complete the prompt.
8063
8064 2014-03-31 Leo Liu <sdl.web@gmail.com>
8065
8066 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8067 Refactor out eldoc-documentation-function-default.
8068 (eldoc-documentation-function-default): New function.
8069 (eldoc-documentation-function): Change value.
8070
8071 2014-03-31 Glenn Morris <rgm@gnu.org>
8072
8073 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
8074
8075 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
8076 (vhdl-compose-components-package, vhdl-compose-configuration):
8077 Abbreviate default-directory (missing from some previous upstream sync).
8078
8079 2014-03-31 Reto Zimmermann <reto@gnu.org>
8080
8081 Sync with upstream vhdl mode v3.35.2.
8082 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
8083 (top-level): No longer require assoc.
8084 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
8085 New functions. Use throughout to replace aget etc.
8086 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
8087 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
8088 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
8089 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
8090 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
8091 except `vhdl-compiler'.
8092 (vhdl-error-regexp-add-emacs): Remove all other compilers,
8093 when appropriate.
8094
8095 2014-03-31 Glenn Morris <rgm@gnu.org>
8096
8097 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
8098 Revert 2014-03-26 merge goof; go back to using defalias.
8099
8100 2014-03-30 Daniel Colascione <dancol@dancol.org>
8101
8102 * comint.el (comint-send-input):
8103 Deactivate completion-in-region-mode before we send comint input.
8104 (Bug#17139).
8105
8106 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
8107 on keyboard-quit.
8108
8109 2014-03-29 Glenn Morris <rgm@gnu.org>
8110
8111 * textmodes/reftex.el: Manage most autoloads automatically.
8112 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
8113 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
8114 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
8115 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
8116 * textmodes/reftex-toc.el: Set generated-autoload-file,
8117 and add autoload cookies for reftex.el.
8118 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
8119
8120 2014-03-28 Glenn Morris <rgm@gnu.org>
8121
8122 * cus-start.el (report-emacs-bug-address): Set custom properties.
8123 * mail/emacsbug.el (report-emacs-bug-address):
8124 Variable is now defined in emacs.c.
8125
8126 * mail/emacsbug.el (report-emacs-bug):
8127 Include system-configuration-features.
8128
8129 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
8130
8131 * simple.el (cycle-spacing): Never delete spaces on first run by
8132 default, but do so in a new 'fast mode and if there are already
8133 N spaces (the previous behavior).
8134 Compare N with its value in previous invocation so that changing
8135 prefix argument restarts `cycle-spacing' sequence.
8136 The idea is that with this change, binding M-SPC to
8137 `cycle-spacing' should not introduce any changes in behavior of
8138 the binding so long as users do not type M-SPC twice in a raw with
8139 the same prefix argument or lack thereof.
8140
8141 2014-03-28 Glenn Morris <rgm@gnu.org>
8142
8143 * faces.el (term-file-aliases): New variable.
8144 (tty-run-terminal-initialization): Respect term-file-aliases.
8145 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
8146 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
8147 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
8148
8149 2014-03-27 Glenn Morris <rgm@gnu.org>
8150
8151 * startup.el (inhibit-startup-hooks): Doc tweak.
8152 (normal-top-level): Simplify running of hooks.
8153 For window-setup-hook, respect inhibit-startup-hooks.
8154 (command-line-1): Don't set window-setup-hook to nil.
8155
8156 Allow selective autoloading from obsolete/ directory.
8157 * Makefile.in (obsolete-autoloads): New rule.
8158 (autoloads): Run obsolete-autoloads.
8159 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
8160 * simple.el (iswitchb-mode): Remove hand-written autoloads.
8161
8162 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
8163
8164 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8165 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8166
8167 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8168 Don't propertize `?' or `!' as symbol constituent when after
8169 colon. (Bug#17097)
8170
8171 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
8172
8173 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
8174 which is no longer needed and causes trouble in GTK builds (bug#17046).
8175
8176 * emacs-lisp/package-x.el (package--archive-contents-from-url):
8177 Use url-insert-file-contents; package-handle-response no longer exists.
8178
8179 2014-03-26 Daniel Colascione <dancol@dancol.org>
8180
8181 * simple.el (process-menu-mode-map): New variable.
8182 (process-menu-delete-process): New command.
8183
8184 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
8185
8186 * emacs-lisp/package.el: Fix bug#16733 (again).
8187 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
8188 (url-http-target-url): Remove unused declarations.
8189 (package-handle-response): Remove.
8190 (package--with-work-buffer): Use url-insert-file-contents and simplify.
8191 (package--download-one-archive): Use current-buffer instead of
8192 dynamic binding of `buffer'.
8193 (describe-package-1): Do not decode readme-string.
8194
8195 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
8196
8197 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
8198
8199 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
8200 from 2014-03-07, it decreases performance unnecessarily. Let-bind
8201 `remote-file-name-inhibit-cache' to nil in the second pass.
8202 (tramp-find-executable): Do not call "which" on SunOS.
8203 (tramp-send-command-and-check): Fix docstring.
8204 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
8205 check whether source directory has set the sticky bit.
8206
8207 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
8208
8209 * simple.el (primitive-undo): Only process marker adjustments
8210 validated against their corresponding (TEXT . POS). Issue warning
8211 for lone marker adjustments in undo history. (Bug#16818)
8212 (undo-make-selective-list): Add marker adjustments to selective
8213 undo list based on whether their corresponding (TEXT . POS) is in
8214 the region. Remove variable adjusted-markers, which was unused
8215 and only non nil during undo-make-selective-list.
8216 (undo-elt-in-region): Return nil when passed a marker adjustment
8217 and explain in function doc.
8218
8219 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8220
8221 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
8222
8223 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
8224
8225 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
8226 Match special global variables without curlies, too.
8227 (ruby-font-lock-keywords): Simplify the matcher for special global
8228 variables. Don't require a non-word character after the variable.
8229 (Bug#17057)
8230
8231 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * simple.el (redisplay-highlight-region-function): Increase priority of
8234 overlay to make sure boundaries are visible (bug#15899).
8235
8236 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
8237
8238 * frameset.el (frameset--initial-params): Fix typo in parameter name.
8239 (frameset-restore): Compare display strings with equal.
8240
8241 * frame.el (make-frame): Don't quote display name in error message,
8242 it is already a string.
8243
8244 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8245
8246 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
8247 the password.
8248
8249 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
8250
8251 * emacs-lisp/package.el (package--add-to-archive-contents):
8252 Include already installed and built-in packages in
8253 `package-archive-contents'.
8254 (package-install): Don't include already installed packages in the
8255 options during interactive invocation. (Bug#16762)
8256 (package-show-package-list): If the buffer is already displayed in
8257 another window, switch to that window.
8258
8259 2014-03-26 Reto Zimmermann <reto@gnu.org>
8260
8261 Sync with upstream vhdl mode v3.35.1.
8262 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
8263 (vhdl-compiler-alist): Doc fix.
8264 (vhdl-goto-line): Remove.
8265 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
8266 (vhdl-mode) <paragraph-start>: Fix value.
8267 (vhdl-fix-statement-region): Not `for' in wait-statement.
8268 (vhdl-beautify-region): Also (un)tabify.
8269 (vhdl-get-visible-signals):
8270 Scan declarative part of generate statements.
8271 (vhdl-template-record): Fix indentation for record type declaration.
8272 (vhdl-expand-abbrev, vhdl-expand-paren):
8273 Revert to using fset again rather than defalias.
8274 (vhdl-scan-directory-contents): Tweak.
8275 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
8276 (vhdl-compose-components-package):
8277 Replace vhdl-goto-line with forward-line.
8278 (top-level): Tweak speedbar frame selection.
8279 (vhdl-generate-makefile-1): Support for compilers with no
8280 unit-to-file name mapping (create directory with dummy files).
8281
8282 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
8283
8284 Sync with upstream verilog-mode revision 702457d.
8285 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8286 (create-lockfiles): Declare.
8287 (verilog-read-decls): Fix module header imports, bug709.
8288 Reported by Victor Lau.
8289 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
8290 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
8291 interface-only modules, bug721. Reported by Dean Hoyt.
8292
8293 2014-03-26 Glenn Morris <rgm@gnu.org>
8294
8295 * obsolete/gulp.el: Move here from emacs-lisp/.
8296
8297 * files.el (lock-buffer, unlock-buffer, file-locked-p):
8298 Remove fallback aliases, since they are always defined now.
8299
8300 2014-03-24 Daniel Colascione <dancol@dancol.org>
8301
8302 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
8303 instead of cl-loop search function.
8304
8305 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
8306
8307 * calendar/parse-time.el (parse-time-iso8601-regexp)
8308 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
8309 it more generally.
8310
8311 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
8312
8313 * net/dns.el (network-interface-list): Define for XEmacs.
8314
8315 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
8316
8317 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
8318 the network interfaces changed.
8319 (dns-query): Use it to flush the data.
8320
8321 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
8322
8323 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
8324
8325 2014-03-23 Daniel Colascione <dancol@dancol.org>
8326
8327 Change subword-mode to use `find-word-boundary-function-table' and
8328 replace `capitalized-words-mode'. Also, convert to lexical binding.
8329 * progmodes/cap-words.el: Delete now-obsolete file.
8330 * progmodes/subword.el: Reimplement using
8331 `find-word-boundary-function-table'.
8332 (subword-mode-map): Hollow out.
8333 (capitalized-words-mode): Define as obsolete alias for
8334 `subword-mode'.
8335 (subword-mode, superword-mode): Tweak documentation to reflect new
8336 implementation; call `subword-setup-buffer'.
8337 (subword-forward, subword-capitalize): Add underscore to indicate
8338 unused variable.
8339 (subword-find-word-boundary-function-table): New constant.
8340 (subword-empty-char-table): New constant.
8341 (subword-setup-buffer): New function.
8342 (subword-find-word-boundary): New function.
8343
8344 2014-03-23 Daniel Colascione <dancol@dancol.org>
8345
8346 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
8347 list to look for keyword arguments instead of `memq', fixing
8348 (Bug#3647) --- unfortunately, only for freshly-compiled code.
8349 Please make bootstrap.
8350
8351 2014-03-22 Glenn Morris <rgm@gnu.org>
8352
8353 * dired.el (dired-read-regexp): Make obsolete.
8354 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
8355 (dired-flag-files-regexp):
8356 * dired-aux.el (dired-mark-read-regexp):
8357 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
8358
8359 * startup.el (fancy-startup-text):
8360 * help.el (describe-gnu-project): Visit online info about GNU project.
8361
8362 * help-fns.el (help-fns--interactive-only): New function.
8363 (help-fns-describe-function-functions): Add the above function.
8364 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
8365 (next-line, previous-line): Remove hand-written interactive-only
8366 information from doc strings, it is auto-generated now.
8367 * bookmark.el (bookmark-write):
8368 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
8369 (epa-mail-import-keys): Mark interactive-only,
8370 and remove hand-written interactive-only information from doc strings.
8371 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
8372 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
8373 * files.el (not-modified):
8374 * simple.el (mark-whole-buffer): Mark interactive-only.
8375
8376 * emacs-lisp/byte-run.el (defun-declarations-alist):
8377 Add interactive-only. Doc tweak.
8378 (macro-declarations-alist): Doc tweak.
8379 * subr.el (declare): Doc tweak (add xref to manual).
8380 * comint.el (comint-run):
8381 * files.el (insert-file-literally, insert-file):
8382 * replace.el (replace-string, replace-regexp):
8383 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8384 (delete-forward-char, goto-line, insert-buffer, next-line)
8385 (previous-line): Set interactive-only via declare.
8386
8387 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
8388
8389 * emacs-lisp/package.el (package-desc): Use the contents of the
8390 quoted form, not its cdr. (Bug#16873)
8391
8392 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
8393
8394 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
8395 benefit of doc.c; change parameter profile to match the X function.
8396
8397 2014-03-22 Leo Liu <sdl.web@gmail.com>
8398
8399 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
8400 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
8401
8402 2014-03-21 Richard Stallman <rms@gnu.org>
8403
8404 * battery.el (battery-linux-sysfs): Search for each field
8405 from the beginning of the buffer.
8406
8407 * subr.el (set-transient-map): Clear out function and value
8408 of the temporary symbol when we're done with it.
8409
8410 * mail/rmailsum.el (rmail-summary-delete-forward):
8411 Optimize case of reaching end and handling count.
8412 (rmail-summary-mark-deleted): Optimize when N is current msg.
8413 Don't create new summary line.
8414 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
8415 (rmail-summary-undelete-many): Rewrite for speed.
8416 (rmail-summary-msg-number): New function.
8417
8418 * mail/rmail.el (rmail-delete-message): Update summary.
8419 (rmail-undelete-previous-message): Handle repeat count arg.
8420 (rmail-delete-backward, rmail-delete-forward): Likewise.
8421
8422 2014-03-21 Daniel Colascione <dancol@dancol.org>
8423
8424 * mail/emacsbug.el (report-emacs-bug): Include memory usage
8425 information in bug reports.
8426
8427 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
8428
8429 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
8430 and `tramp-copy-env'.
8431
8432 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
8433 (tramp-maybe-open-connection): Handle `tramp-login-env'.
8434
8435 2014-03-21 Glenn Morris <rgm@gnu.org>
8436
8437 * electric.el (electric-indent-post-self-insert-function): Add doc.
8438
8439 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
8440
8441 * emacs-lisp/package.el (package-compute-transaction):
8442 Use `version-list-<=' to compare the requirement version against
8443 the version of package already to be installed. Update the error
8444 message. (Bug#16826)
8445
8446 * progmodes/ruby-mode.el (ruby-smie-rules):
8447 Add indentation rule for ` @ '. (Bug#17050)
8448
8449 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
8450
8451 * align.el (align-regexp): Remove superfluous backslash.
8452
8453 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
8454 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
8455 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
8456 Fix docstring typos.
8457 (ffap-next): Use C-u in docstring.
8458 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
8459 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
8460 Remove superfluous backslashes.
8461 (ffap-string-at-point): Reflow docstring.
8462
8463 * server.el (server-host): Reflow docstring.
8464 (server-unload-function): Fix docstring typo.
8465 (server-eval-at): Remove superfluous backslash.
8466
8467 * skeleton.el (skeleton-insert): Remove superfluous backslash.
8468 (skeleton-insert): Doc fix.
8469 (skeleton-insert): Reflow docstring.
8470
8471 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
8472 (tty-color-approximate, tty-color-by-index, tty-color-values)
8473 (tty-color-desc): Remove superfluous backslashes.
8474
8475 2014-03-21 Glenn Morris <rgm@gnu.org>
8476
8477 * cus-start.el (history-length): Bump :version.
8478
8479 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8480 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8481 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8482 Don't set `make-backup-files'.
8483
8484 * info.el (info--prettify-description): New function,
8485 to give info-finder descriptions consistent case, punctuation.
8486 (Info-finder-find-node): Use it. Sort packages.
8487 Refer to "description" rather than "commentary".
8488
8489 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
8490
8491 * frameset.el (frameset--print-register): New function.
8492 (frameset-to-register): Use it.
8493
8494 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
8495
8496 * progmodes/hideif.el (hif-string-to-number): New function.
8497 (hif-tokenize): Use it to understand non-decimal floats.
8498
8499 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
8500
8501 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
8502
8503 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8504
8505 * electric.el (electric-newline-and-maybe-indent): New command.
8506 Bind it globally to C-j.
8507 (electric-indent-mode): Don't mess with the global map any more.
8508 Don't drop the post-self-insert-hook is some buffer is still using it
8509 (bug#16770).
8510
8511 * bindings.el (global-map): Remove C-j binding.
8512
8513 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
8514 the docstring of functions advised before dumping (bug#16993).
8515
8516 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
8517
8518 * ps-print.el (ps-generate-postscript-with-faces):
8519 Explicitly deactivate the mark (bug#16866).
8520 * simple.el (deactivate-mark): Update region highlight.
8521
8522 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
8523
8524 * emacs-lisp/package.el (describe-package-1):
8525 Decode commentary (bug#16733).
8526
8527 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
8528
8529 * custom.el (defcustom): Doc fix: recommend avoiding destructive
8530 modification of the value argument of :set (bug#16755).
8531
8532 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * simple.el (newline-and-indent): Do autofill (bug#17031).
8535
8536 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
8537
8538 * newcomment.el (comment-normalize-vars): Only add escaping check
8539 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
8540 (comment-beginning): Use `narrow-to-region' instead of moving back
8541 one character.
8542 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
8543 (comment-start-skip): Update the docstring.
8544
8545 2014-03-18 Richard Stallman <rms@gnu.org>
8546
8547 * dired.el (dired-display-file): Force use of other window.
8548
8549 2014-03-18 Daniel Colascione <dancol@dancol.org>
8550
8551 * startup.el (tty-handle-args): Remove debug message from 2007.
8552
8553 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
8556 (advice--make-interactive-form): Use it to avoid (auto)loading function.
8557 (advice--make-1, advice-add, advice-remove):
8558 Remove braindead :advice-pending hack.
8559
8560 2014-03-17 Glenn Morris <rgm@gnu.org>
8561
8562 * calendar/calendar.el (calendar-generate-month): Apply weekend
8563 face to the right days; fixes 2013-08-06 change. (Bug#17028)
8564
8565 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
8566
8567 * net/tramp.el (tramp-action-out-of-band): Read pending output.
8568 (tramp-call-process): Trace also DESTINATION.
8569
8570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8571 Quote file names when they are local. Remove superfluous trace.
8572
8573 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
8574
8575 * newcomment.el (comment-beginning): If `comment-start-skip'
8576 doesn't match, move back one char and try again. (Bug#16971)
8577
8578 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8579 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
8580 Set `comment-start-skip' to a simpler value that doesn't try to
8581 check if the semicolon is escaped (this is handled by
8582 `syntax-ppss' now). (Bug#16971)
8583
8584 * progmodes/scheme.el (scheme-mode-variables): Same.
8585
8586 2014-03-16 Martin Rudalics <rudalics@gmx.at>
8587
8588 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
8589 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
8590 current (Bug#16816, Bug#17007).
8591 (with-current-buffer-window): New macro doing the same as
8592 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
8593 * help.el (help-print-return-message): Warn in doc-string to not
8594 use this in `with-help-window'.
8595 (describe-bindings-internal): Call `describe-buffer-bindings'
8596 from within help buffer. See Juanma's scenario in (Bug#16816).
8597 (with-help-window): Update doc-string.
8598 * dired.el (dired-mark-pop-up):
8599 * files.el (save-buffers-kill-emacs):
8600 * register.el (register-preview): Use `with-current-buffer-window'
8601 instead of `with-temp-buffer-window'.
8602
8603 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
8604
8605 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
8606 Implement inserting into current buffer, documented in their docstrings.
8607 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
8608 (rst-section-tree-point, rst-forward-section, rst-indent)
8609 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
8610 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
8611 (rst-font-lock-handle-adornment-pre-match-form)
8612 (rst-repeat-last-character): Reflow docstrings.
8613 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
8614 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
8615 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
8616 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
8617 Fix docstring typos.
8618 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
8619 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
8620 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
8621
8622 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
8623
8624 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
8625 for compatibility with other ports.
8626 (ns-initialize-window-system): Use it. It is set in term/common-win.el
8627 from the -xrm command line argument, but in the Nextstep port its value
8628 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
8629
8630 * progmodes/python.el (defconst, python-syntax-count-quotes)
8631 (python-indent-region, python-indent-shift-right)
8632 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
8633 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
8634 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
8635 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
8636 (inferior-python-mode, python-shell-make-comint, run-python-internal)
8637 (python-shell-buffer-substring, python-shell-send-buffer)
8638 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
8639 (python-completion-complete-at-point, python-fill-docstring-style)
8640 (python-eldoc-function, python-imenu-format-item-label)
8641 (python-imenu-format-parent-item-label)
8642 (python-imenu-format-parent-item-jump-label)
8643 (python-imenu--build-tree, python-imenu-create-index)
8644 (python-imenu-create-flat-index): Fix docstring typos.
8645 (python-indent-context, python-shell-prompt-regexp, run-python):
8646 Remove superfluous backslashes.
8647 (python-indent-line, python-nav-beginning-of-defun)
8648 (python-shell-get-buffer, python-shell-get-process)
8649 (python-info-current-defun, python-info-current-line-comment-p)
8650 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
8651 (python-indent-post-self-insert-function, python-shell-send-file)
8652 (python-shell-completion-get-completions)
8653 (python-shell-completion-complete-or-indent)
8654 (python-eldoc--get-doc-at-point): Reflow docstrings.
8655
8656 2014-03-14 Glenn Morris <rgm@gnu.org>
8657
8658 * emacs-lisp/package.el (package-menu-mode-map):
8659 Replace use of obsolete function alias. Tweak menu item text.
8660
8661 * info.el (Info-finder-find-node):
8662 Ignore the `emacs' metapackage. (Bug#10813)
8663
8664 * finder.el (finder-list-matches): Include unversioned packages
8665 in the result of a keyword search.
8666
8667 * finder.el (finder--builtins-descriptions): New constant.
8668 (finder-compile-keywords): Use finder--builtins-descriptions.
8669
8670 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
8671
8672 * simple.el (blink-matching-paren): Describe the new value,
8673 `jump', enabling the old behavior.
8674 (blink-matching-open): Use that value. (Bug#17008)
8675
8676 2014-03-14 Glenn Morris <rgm@gnu.org>
8677
8678 * finder.el (finder-no-scan-regexp): Add leim-list.
8679 (finder-compile-keywords):
8680 Don't skip files with same basename. (Bug#14010)
8681 * Makefile.in (setwins_finder): New, excluding leim.
8682 (finder-data): Use setwins_finder.
8683
8684 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
8685 (help-function-arglist, help-make-usage): Move from here...
8686 * help.el (help-split-fundoc, help-add-fundoc-usage)
8687 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
8688 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
8689
8690 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
8691
8692 * net/socks.el (socks, socks-override-functions)
8693 (socks-find-services-entry):
8694 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
8695 (hif-find-ifdef-block):
8696 * progmodes/modula2.el (m2-indent): Fix docstring typos.
8697
8698 * net/tls.el (tls-program): Reflow docstring.
8699
8700 * progmodes/pascal.el (pascal-mode-abbrev-table)
8701 (pascal-imenu-generic-expression, pascal-auto-endcomments)
8702 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
8703 (pascal-outline-mode): Fix docstring typos.
8704 (pascal-mode): Let define-derived-mode document mode hook.
8705 (pascal-uncomment-area): Reflow.
8706 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
8707
8708 * progmodes/opascal.el (opascal-compound-block-indent)
8709 (opascal-case-label-indent): Fix docstring typos.
8710 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
8711
8712 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
8713
8714 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8715 Fontify multiple adjacent negation chars. (Bug#17004)
8716
8717 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
8718
8719 * emacs-lisp/package.el (package--prepare-dependencies):
8720 Accept requirements without explicit version (bug#14941).
8721
8722 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
8723
8724 * register.el (register-separator, copy-to-register): Doc fixes.
8725 (register-preview-default): Remove unnecessary call to concat.
8726
8727 * frameset.el (frameset-restore): When checking for a visible frame,
8728 use the action map instead of calling visible-frame-list.
8729
8730 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
8731
8732 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
8733
8734 2014-03-12 Martin Rudalics <rudalics@gmx.at>
8735
8736 * window.el (fit-frame-to-buffer): Get maximum width from
8737 display's width instead of height.
8738
8739 2014-03-12 Glenn Morris <rgm@gnu.org>
8740
8741 * desktop.el (desktop-restore-frames)
8742 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
8743 (desktop-restore-reuses-frames): Doc tweaks.
8744
8745 * electric.el (electric-indent-mode): Doc fix.
8746
8747 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
8748
8749 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
8750 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
8751 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
8752 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
8753 (cvs-dired-use-hook): Fix docstring typos.
8754 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
8755 Doc fixes.
8756
8757 * vc/pcvs-defs.el (cvs-auto-remove-handled)
8758 (cvs-auto-remove-directories, cvs-default-ignore-marks)
8759 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
8760 (cvs-execute-single-dir): Fix docstring typos.
8761
8762 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
8763 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
8764
8765 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
8766
8767 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
8768 Fix docstring typos.
8769
8770 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
8771
8772 * frameset.el (frameset--jump-to-register): Add autoload; it could be
8773 called from jump-to-register after unloading the frameset package.
8774
8775 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
8778 (bug#16975). Deactivate the mark before setting it to nil.
8779 (activate-mark): Do nothing if region is already active.
8780
8781 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
8782
8783 * frameset.el (frameset--target-display): Remove definition; declare.
8784 (frameset-save, frameset-restore): Let-bind frameset--target-display.
8785
8786 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
8789 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
8790 when the advice is pending.
8791 (advice-remove): Remove this marker when not needed any more.
8792
8793 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
8794
8795 * frameset.el: Separate options for reusing frames and cleaning up.
8796 (frameset--reuse-list): Remove definition; declare.
8797 (frameset--action-map): Declare.
8798 (frameset--find-frame-if): Doc fix.
8799 (frameset--restore-frame): Cache frame action.
8800 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
8801 how to clean up the frame list after restoring. Remove cleaning
8802 options from REUSE-FRAMES. Change all keyword values to symbols.
8803 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
8804
8805 * desktop.el (desktop-restore-forces-onscreen)
8806 (desktop-restore-reuses-frames): Use non-keyword values.
8807 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
8808
8809 2014-03-10 Glenn Morris <rgm@gnu.org>
8810
8811 * files.el (find-file): Doc fix: update info node name.
8812
8813 * emacs-lisp/advice.el (ad-add-advice, defadvice):
8814 Doc fix: remove references to deleted info nodes.
8815
8816 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
8817
8818 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8819 Do not add nil to the environment, when there's no remote `locale'.
8820 (tramp-find-inline-encoding): Check, that the remote host has
8821 installed perl, before sending scripts.
8822
8823 2014-03-10 Leo Liu <sdl.web@gmail.com>
8824
8825 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8826 Clear eldoc-last-message. (Bug#16920)
8827
8828 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
8831 (bug#14430).
8832
8833 2014-03-09 Juri Linkov <juri@jurta.org>
8834
8835 * ansi-color.el (ansi-color-names-vector): Copy default colors
8836 from `xterm-standard-colors' that look well on the default white
8837 background (and also on the black background) to avoid illegible
8838 color combinations like yellow-on-white and white-on-white.
8839 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
8840
8841 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
8842
8843 * frameset.el (frameset-restore): When no frame is visible, do not
8844 generate a list of frames, just make visible the selected one.
8845
8846 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
8847
8848 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
8849 it only contains the repository root. (Bug#16897)
8850
8851 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
8852
8853 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
8854 only when `remote-file-name-inhibit-cache' is nil.
8855 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
8856
8857 2014-03-06 Martin Rudalics <rudalics@gmx.at>
8858
8859 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
8860 Fix doc-strings.
8861 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
8862 fit-frame-to-buffer variable. Fix doc-string.
8863 (fit-window-to-buffer): Set ONLY argument in call of
8864 fit-frame-to-buffer. Fix doc-string.
8865
8866 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
8867
8868 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
8869 (tramp-action-password): Clear password cache if needed.
8870 (tramp-read-passwd): Do not clear password cache.
8871
8872 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
8873 cache unless it is the first password request.
8874
8875 2014-03-06 Glenn Morris <rgm@gnu.org>
8876
8877 * simple.el (newline): Doc tweak.
8878
8879 * emacs-lisp/shadow.el (load-path-shadows-find):
8880 Ignore dir-locals. (Bug#12357)
8881
8882 2014-03-05 Glenn Morris <rgm@gnu.org>
8883
8884 * files.el (interpreter-mode-alist):
8885 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
8886
8887 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
8888
8889 * frameset.el (frameset--initial-params): Filter out null entries.
8890
8891 2014-03-05 Martin Rudalics <rudalics@gmx.at>
8892
8893 * window.el (window-min-height, window-min-width):
8894 Rewrite doc-strings.
8895 (window-body-size): Add PIXELWISE argument to make it consistent
8896 with its callees.
8897
8898 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
8899
8900 * finder.el (finder-mode-map, finder-mode-syntax-table):
8901 Revert part of 2014-02-28 change.
8902
8903 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
8904
8905 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
8906 (eww-setup-buffer): Clear next/prev/etc more reliably.
8907 (eww-textarea-map): [tab] doesn't work on tty.
8908 Reported by Mario Lang.
8909
8910 * net/shr.el (shr-map): Ditto.
8911
8912 2014-03-04 Glenn Morris <rgm@gnu.org>
8913
8914 * minibuffer.el (completion-hilit-commonality):
8915 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
8916
8917 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
8918
8919 * hilit-chg.el (hilit-chg-unload-function): New function.
8920 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
8921 (hilit-chg-map-changes): Prefer cardinal number to digit.
8922 (hilit-chg-display-changes): Reflow docstring.
8923 (highlight-changes-rotate-faces): Remove superfluous backslash.
8924
8925 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
8926
8927 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
8928 `tramp-send-command-and-check'.
8929
8930 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
8931
8932 * hexl.el (hexl-address-region, hexl-ascii-region)
8933 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
8934 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
8935 (hexl-forward-word, hexl-previous-line, hexl-next-line):
8936 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
8937 (hexl-mode): Doc fix.
8938 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
8939 (hexl-mode-ruler): Fix typos in docstrings.
8940
8941 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
8942 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
8943 Remove superfluous backslashes.
8944 (strokes-last-stroke, strokes-global-map, strokes-mode):
8945 Reflow docstrings.
8946 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
8947 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
8948 (strokes-distance-squared, strokes-global-set-stroke)
8949 (strokes-global-set-stroke-string): Doc fixes.
8950 (strokes-help): Fix typos; reflow docstring.
8951
8952 2014-03-04 Martin Rudalics <rudalics@gmx.at>
8953
8954 * window.el (window-in-direction): Fix doc-string.
8955
8956 2014-03-04 Glenn Morris <rgm@gnu.org>
8957
8958 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
8959 Explicit error if no grammar.
8960 (smie-config-save): Doc fix. Fix quote typo.
8961
8962 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
8965 electric-indent-mode-hook if we obey electric-indent-mode.
8966 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
8967 decide whether we obey electric-indent-mode.
8968 (c-change-set-fl-decl-start, c-extend-after-change-region):
8969 Silence warnings.
8970 (c-electric-indent-mode-hook): Assume we do want to obey
8971 electric-indent-mode.
8972
8973 * electric.el (electric-indent-mode-has-been-called): Remove.
8974 (electric-indent-mode): Fix accordingly.
8975
8976 * files.el (hack-local-variables): Mention file name in warning.
8977
8978 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
8979
8980 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
8981
8982 * bindings.el: Add comment describing why C-d binds to `delete-char'.
8983 * simple.el (delete-forward-char): Mark as interactive-only.
8984
8985 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
8986
8987 * icomplete.el (icomplete-completions):
8988 Follow-up to 2014-03-01 change.
8989
8990 * icomplete.el: Miscellaneous doc fixes.
8991 Use Icomplete everywhere instead of icomplete for consistency.
8992 (icomplete-max-delay-chars): Fix typo.
8993 (icomplete-mode): Use \[].
8994 (icomplete-tidy, icomplete-exhibit): Reflow.
8995 (icomplete-minibuffer-setup-hook, icomplete-completions):
8996 Remove superfluous backlashes.
8997
8998 * ido.el: Miscellaneous doc fixes.
8999 Use Ido everywhere instead of ido or `ido' for consistency.
9000 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
9001 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
9002 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
9003 (ido-separator): Extract obsolescence info from docstring and declare
9004 with make-obsolete-variable.
9005 (ido-minibuffer-setup-hook): Simplify example.
9006 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
9007 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
9008 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
9009 (ido-everywhere): Reflow docstring.
9010 (ido-toggle-vc): Doc fix.
9011 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
9012 of long list of keybindings.
9013
9014 2014-03-03 Glenn Morris <rgm@gnu.org>
9015
9016 * frame.el (display-pixel-height, display-pixel-width)
9017 (display-mm-dimensions-alist, display-mm-height)
9018 (display-mm-width): Doc tweaks.
9019
9020 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
9021
9022 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
9023 case of undo in region.
9024
9025 2014-03-02 Martin Rudalics <rudalics@gmx.at>
9026
9027 * window.el (fit-window-to-buffer): Fix argument in window-size
9028 call when window is horizontally combined.
9029
9030 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
9031
9032 * icomplete.el (icomplete-completions): Use string-width.
9033 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9034
9035 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
9036
9037 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9038 Highlight regexp options. (Bug#16914)
9039
9040 2014-03-01 Martin Rudalics <rudalics@gmx.at>
9041
9042 * window.el (window--max-delta-1): Round down when calculating
9043 how many lines/columns we can get from a window.
9044
9045 2014-03-01 Glenn Morris <rgm@gnu.org>
9046
9047 * isearch.el (search-invisible): Doc fix.
9048
9049 * minibuffer.el (completion-hilit-commonality):
9050 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
9051 * comint.el (comint-dynamic-list-completions): Doc fix.
9052 * comint.el (comint-dynamic-list-completions):
9053 * filecache.el (file-cache-minibuffer-complete):
9054 * tempo.el (tempo-display-completions):
9055 * eshell/em-hist.el (eshell-list-history):
9056 Replace use of obsolete argument of display-completion-list.
9057
9058 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
9059
9060 * icomplete.el (icomplete-completions):
9061 Revert back to using "..." when ?… cannot be displayed.
9062
9063 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
9064
9065 * finder.el (finder-unload-function): New function.
9066
9067 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
9068
9069 * dframe.el (dframe-detach):
9070 * find-dired.el (find-dired, find-name-dired):
9071 * finder.el (finder-mode-map, finder-mode-syntax-table)
9072 (finder-headmark, finder-select, finder-mouse-select):
9073 Fix docstring typos.
9074
9075 2014-02-28 Martin Rudalics <rudalics@gmx.at>
9076
9077 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
9078 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
9079 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9080 Fix doc-string based on a suggestion by Nicolas Richard
9081 <theonewiththeevillook@yahoo.fr>.
9082 * help.el (with-help-window): Fix doc-string.
9083
9084 2014-02-28 Ivan Kanis <ivan@kanis.fr>
9085
9086 * net/shr.el (shr-image-animate): New option.
9087 (shr-put-image): Respect shr-image-animate.
9088
9089 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
9090
9091 * net/tramp-adb.el (tramp-adb-parse-device-names):
9092 Use `accept-process-output'.
9093 (tramp-adb-handle-file-truename): Cache the localname only.
9094 (tramp-adb-handle-make-directory)
9095 (tramp-adb-handle-delete-directory): Flush file properties correctly.
9096 (tramp-adb-handle-set-file-modes): Do not raise an error when file
9097 modes cannot be changed.
9098
9099 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
9100 file properties of symlinks.
9101
9102 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
9103
9104 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
9105 required/optional fields to match development biblatex. (Bug#16781)
9106
9107 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
9108
9109 * saveplace.el (toggle-save-place):
9110 Fix argument handling. (Bug#16673)
9111
9112 2014-02-28 Glenn Morris <rgm@gnu.org>
9113
9114 * minibuffer.el (completions-first-difference)
9115 (completions-common-part, completion-hilit-commonality): Doc fixes.
9116
9117 2014-02-28 Karl Berry <karl@gnu.org>
9118
9119 * info.el (Info-mode-map): Add H for describe-mode,
9120 to synchronize with standalone Info.
9121
9122 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
9123
9124 * progmodes/sql.el (sql-interactive-mode):
9125 Avoid setting global comint-input-ring-separator. (Bug#16814)
9126
9127 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
9128
9129 * net/dbus.el (dbus--init-bus): Declare function.
9130 (dbus-path-local, dbus-interface-local): New defconst.
9131 (dbus-init-bus): Use them.
9132 (dbus-return-values-table): Extend doc.
9133 (dbus-handle-bus-disconnect): Extend error message.
9134
9135 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
9136
9137 * subr.el (y-or-n-p): Fix double space issue in message.
9138
9139 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
9140
9141 * net/tramp.el (tramp-call-process): Improve trace message.
9142 (tramp-handle-insert-file-contents): Trace error case.
9143
9144 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
9145 <insert-directory>: Use `tramp-handle-insert-directory'.
9146 (tramp-adb-handle-insert-directory): Remove function.
9147 (tramp-adb-send-command-and-check): New defun, replacing
9148 `tramp-adb-command-exit-status'. Change all callees.
9149 (tramp-adb-handle-file-attributes)
9150 (tramp-adb-handle-directory-files-and-attributes): Use it.
9151 (tramp-adb-ls-output-name-less-p):
9152 Use `directory-listing-before-filename-regexp'.
9153 (tramp-adb-handle-delete-directory): Flush also file properties of
9154 the truename of directory.
9155 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
9156 (tramp-adb-handle-file-local-copy): Make the local copy readable.
9157 (tramp-adb-handle-write-region): Implement APPEND.
9158 (tramp-adb-handle-rename-file): Make it more robust. Flush file
9159 properties correctly.
9160 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
9161 variables. Check for connected devices only when needed.
9162
9163 2014-02-27 Glenn Morris <rgm@gnu.org>
9164
9165 * minibuffer.el (completion-table-dynamic)
9166 (completion-table-with-cache): Doc fixes.
9167
9168 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
9169 (completing-read-multiple): Doc fixes.
9170
9171 2014-02-27 Daniel Colascione <dancol@dancol.org>
9172
9173 * minibuffer.el (completion--nth-completion): Fix indentation.
9174
9175 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
9176 explicit tramp path is empty.
9177
9178 2014-02-27 Glenn Morris <rgm@gnu.org>
9179
9180 * emacs-lisp/crm.el (completing-read-multiple):
9181 Empower help-enable-auto-load.
9182
9183 2014-02-26 Glenn Morris <rgm@gnu.org>
9184
9185 * startup.el (command-line): Don't init the tty in daemon mode.
9186
9187 Avoid calling tty-setup-hook twice, eg if a term file
9188 explicitly calls tty-run-terminal-initialization. (Bug#16859)
9189 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
9190 (tty-create-frame-with-faces): Use it.
9191 * startup.el (command-line): Pass run-hook argument
9192 to tty-run-terminal-initialization.
9193
9194 * dired.el (dired-restore-desktop-buffer): Demote errors;
9195 eg in case a glob match fails. (Bug#16884)
9196
9197 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
9198
9199 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
9200 error from `read-from-string'. (Bug#16850)
9201
9202 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
9203 result of `completing-read' in the interactive form. (Bug#16854)
9204
9205 2014-02-25 Glenn Morris <rgm@gnu.org>
9206
9207 * image.el (image-animate, image-animate-timeout):
9208 Stop animating images in dead buffers. (Bug#16878)
9209
9210 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
9211
9212 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
9213 Doc fixes.
9214 * startup.el (term-setup-hook): Doc fix. Make obsolete.
9215 * term/sun.el (sun-raw-prefix-hooks):
9216 Use tty-setup-hook instead of term-setup-hook.
9217 (terminal-init-sun): Construct message from bytecomp plist.
9218 * term/wyse50.el (enable-arrow-keys): Doc fix.
9219
9220 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
9223 Fix docstring typos.
9224
9225 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
9226
9227 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
9228
9229 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9230
9231 * minibuffer.el (completion--try-word-completion):
9232 Fix error when completing M-x commands (bug#16808).
9233
9234 2014-02-24 Leo Liu <sdl.web@gmail.com>
9235
9236 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
9237
9238 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
9239
9240 * apropos.el (apropos-print): Avoid formatting error when
9241 apropos-do-all and apropos-compact-layout are both t.
9242
9243 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
9244
9245 * apropos.el (apropos-property, apropos-all-words-regexp)
9246 (apropos-true-hit, apropos-variable, apropos-print):
9247 Fix docstring typos, and remove obsolete comment.
9248
9249 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
9250
9251 * net/tramp-sh.el (tramp-sh-handle-file-truename):
9252 Preserve trailing "/". (Bug#16851)
9253
9254 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
9255
9256 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
9257 after `=>' (bug#16811).
9258 (ruby-smie-rules): Handle the inconsistent second element of the
9259 list returned by `smie-indent--parent'.
9260 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
9261 method call.
9262
9263 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
9264
9265 * elec-pair.el (electric-pair-text-syntax-table)
9266 (electric-pair-syntax-info, electric-pair--syntax-ppss)
9267 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
9268 (electric-pair--looking-at-unterminated-string-p): Doc fix.
9269 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
9270
9271 2014-02-22 Glenn Morris <rgm@gnu.org>
9272
9273 * imenu.el (imenu--generic-function): Doc fix.
9274
9275 * register.el (frame-configuration-to-register): Make obsolete.
9276
9277 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
9278
9279 * desktop.el (desktop-save-buffer-p): Do not fail when
9280 desktop-files-not-to-save is nil. Return t for true result
9281 as the doc says.
9282
9283 2014-02-22 Daniel Colascione <dancol@dancol.org>
9284
9285 * net/secrets.el (secrets-create-item, secrets-search-items):
9286 Check that attribute values are strings, avoiding the construction
9287 of invalid dbus messages.
9288
9289 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9290
9291 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
9292 defun-declarations-alist.
9293
9294 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
9297 (bug#16829).
9298
9299 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9300
9301 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
9302 (whitespace-newline, whitespace-trailing, whitespace-line)
9303 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
9304 (whitespace-space-after-tab): Fix typo in docstrings.
9305
9306 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
9307
9308 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
9309
9310 * electric.el (electric-indent-functions-without-reindent):
9311 Add `yaml-indent-line'.
9312
9313 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9314
9315 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
9316 It has done nothing for years; should be removed after the release.
9317
9318 * simple.el (choose-completion): Fix docstring typo.
9319 (read-quoted-char-radix): Remove unneeded * in docstring.
9320 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
9321 Don't escape parentheses unnecessarily in docstrings.
9322
9323 2014-02-21 Martin Rudalics <rudalics@gmx.at>
9324
9325 Fix handling of window-min-height/-width (Bug#16738).
9326 * window.el (window--dump-window, window--dump-frame):
9327 New functions.
9328 (window--min-size-1): Account for window dividers.
9329 When window-resize-pixelwise is nil, delay rounding till after the
9330 sum of the window components has been calculated.
9331 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
9332 nil make sure at least one text line and two text columns remain
9333 fully visible.
9334 (window-resize): Signal an error when window-resize-apply fails.
9335 (window--resize-child-windows): Fix calculation of by how many
9336 pixels a window can still be shrunk via window-new-normal.
9337 (adjust-window-trailing-edge): Call window--resizable with
9338 correct TRAIL argument.
9339
9340 (with-temp-buffer-window): Don't evaluate BODY within
9341 with-current-buffer (Bug#16816).
9342
9343 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
9344
9345 * net/tramp.el (tramp-check-cached-permissions):
9346 Call `file-attributes' with `suffix' being a symbol but a string.
9347
9348 2014-02-21 Daniel Colascione <dancol@dancol.org>
9349
9350 * net/dbus.el (dbus-init-bus-1): Declare new subr.
9351 (dbus-init-bus): New function: call into dbus-init-bus-1
9352 and installs a handler for the disconnect signal.
9353 (dbus-call-method): Rewrite to look for result in cons.
9354 (dbus-call-method-handler): Store result in cons.
9355 (dbus-check-event): Recognize events with nil sender as valid.
9356 (dbus-handle-bus-disconnect): New function. React to bus
9357 disconnection signal by synthesizing dbus error for each
9358 pending synchronous or asynchronous call.
9359 (dbus-notice-synchronous-call-errors): New function.
9360 (dbus-handle-event): Raise errors directly only when `dbus-debug'
9361 is true, not all the time.
9362
9363 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9364
9365 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
9366 Remove obsolescence declarations, these variables do not exist anymore.
9367
9368 * savehist.el (savehist-save-minibuffer-history)
9369 (savehist-additional-variables, savehist-file, savehist-mode-hook)
9370 (savehist-save-hook, savehist-coding-system, savehist-loaded)
9371 (savehist-load, savehist-install, savehist-autosave): Fix typos;
9372 mostly, refer to "Savehist mode" when talking about the mode,
9373 and not the function.
9374
9375 * saveplace.el (save-place): Remove redundant info in docstring.
9376 (save-place-forget-unreadable-files, toggle-save-place)
9377 (save-place-forget-unreadable-files, save-place-dired-hook):
9378 Fix typos and remove unneeded backslashes.
9379
9380 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
9381
9382 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
9383 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
9384
9385 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9386 <insert-directory>: Use `tramp-handle-insert-directory'.
9387 (tramp-gvfs-handle-insert-directory): Remove function.
9388
9389 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9390 Call `tramp-handle-insert-directory'.
9391
9392 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
9393
9394 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
9395 before the start of buffer/region (bug#16799).
9396
9397 2014-02-20 Glenn Morris <rgm@gnu.org>
9398
9399 * isearch.el (search-invisible): Doc fix.
9400
9401 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
9402
9403 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
9404 (bug#16657).
9405
9406 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * frameset.el (frameset-restore): Delay removing an old frame's
9409 duplicate id until the new frame has been correctly created.
9410
9411 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
9414 (tramp-check-cached-permissions): Call `file-attributes' if the
9415 cache is empty.
9416
9417 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
9418 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
9419
9420 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9421 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
9422 (tramp-gvfs-maybe-open-connection): Set always connection
9423 properties, even if target is mounted already.
9424
9425 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
9426 Set tramp-autoload cookie.
9427 (tramp-get-remote-touch): New defun.
9428 (tramp-sh-handle-set-file-times): Use it.
9429 (tramp-sh-handle-directory-files-and-attributes):
9430 Use `tramp-handle-directory-files-and-attributes' if neither stat
9431 nor perl are available on the remote host.
9432
9433 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
9434 "/". Write long listing only when "l" belongs to the switches.
9435
9436 * net/trampver.el: Update release number.
9437
9438 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
9439
9440 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
9441
9442 2014-02-19 Martin Rudalics <rudalics@gmx.at>
9443
9444 * window.el (window-state-put): Allow WINDOW to refer to an
9445 internal window (Bug#16793).
9446
9447 2014-02-19 Glenn Morris <rgm@gnu.org>
9448
9449 * textmodes/remember.el: Move provide statement to end.
9450 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
9451 (remember-notes): Doc fixes.
9452
9453 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * delsel.el (delete-char): Restore incorrectly erased property
9456 (bug#16795).
9457
9458 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
9459
9460 * frameset.el (frameset--restore-frame): When a frame is being reused
9461 and its root window is not alive, delete all the frame's windows before
9462 restoring the window state. This works around the issue in bug#16793.
9463
9464 2014-02-18 Glenn Morris <rgm@gnu.org>
9465
9466 * textmodes/remember.el (remember-data-directory)
9467 (remember-directory-file-name-format, remember-store-in-files)
9468 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
9469 (remember-notes-save-and-bury-buffer)
9470 (remember-notes--kill-buffer-query): Doc fixes.
9471
9472 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
9473
9474 2014-02-17 Alan Mackenzie <acm@muc.de>
9475
9476 Connect electric-indent-mode up with CC Mode. Bug #15478.
9477 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
9478 to electric-indent-{,local-}-mode.
9479 (c-basic-common-init): Set electric-indent-inhibit.
9480 Initialise c-electric-flag from electric-indent-mode.
9481 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
9482 New hook functions which propagate electric-indent-mode to CC mode.
9483
9484 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
9485 hit, toggle electric-indent-local-mode.
9486
9487 * electric.el (electric-indent-mode-has-been-called):
9488 New variable.
9489
9490 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
9491
9492 * frameset.el (frameset-cfg-id): New function.
9493 (frameset--reuse-frame, frameset-restore): Use it.
9494 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
9495
9496 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * ido.el (ido-file-internal): Remove unused var `d'.
9499 Use \` for to match BoS. Fit within 80n columns.
9500
9501 2014-02-17 Daniel Colascione <dancol@dancol.org>
9502
9503 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
9504 dbus-call-method check for completion using a busy-wait loop with
9505 gradual backoff.
9506
9507 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
9508
9509 Sync with Tramp 2.2.9.
9510
9511 * net/trampver.el: Update release number.
9512
9513 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
9514
9515 * ido.el (ido-file-internal): Don't add the name of an existing
9516 directory twice. (Bug#16747)
9517
9518 2014-02-16 Glenn Morris <rgm@gnu.org>
9519
9520 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
9521 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
9522
9523 2014-02-15 Michael R. Mauger <michael@mauger.com>
9524
9525 * progmodes/sql.el: Version 3.4
9526 (sql-oracle-options): New default value ("-L").
9527 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9528 (sql-placeholders-filter): Correct placeholder pattern.
9529 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9530 (sql-login-delay): New variable.
9531 (sql-product-interactive): Use it.
9532
9533 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
9534
9535 * frameset.el (frameset--jump-to-register): Check that buffer is live
9536 (bug#16749).
9537
9538 2014-02-15 Glenn Morris <rgm@gnu.org>
9539
9540 * info.el (info-initialize): Revert 2014-01-10 change.
9541
9542 2014-02-14 Glenn Morris <rgm@gnu.org>
9543
9544 * replace.el (map-query-replace-regexp)
9545 (read-regexp-defaults-function, read-regexp): Doc fixes.
9546
9547 * dired.el (dired-read-regexp):
9548 * faces.el (list-faces-display):
9549 * misearch.el (multi-isearch-read-matching-buffers)
9550 (multi-isearch-read-matching-files):
9551 * play/cookie1.el (cookie-apropos):
9552 * progmodes/grep.el (grep-read-regexp): Doc fixes.
9553
9554 * textmodes/remember.el (remember): Use frameset-to-register
9555 rather than frame-configuration-to-register.
9556
9557 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
9558
9559 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
9560 incorrect keybinding.
9561
9562 2014-02-13 Daniel Colascione <dancol@dancol.org>
9563
9564 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
9565 when adding overlays so that line numbers from compiler match line
9566 numbers we use.
9567
9568 2014-02-13 Glenn Morris <rgm@gnu.org>
9569
9570 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
9571
9572 * jit-lock.el (jit-lock-mode): Doc fix.
9573
9574 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
9575
9576 * apropos.el (apropos-read-pattern): When the user passes an empty
9577 string, give a more helpful error message than "Wrong type
9578 argument: stringp, nil".
9579
9580 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
9581
9582 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
9583
9584 2014-02-13 Glenn Morris <rgm@gnu.org>
9585
9586 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
9587
9588 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
9591 shift-select commands.
9592
9593 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
9594
9595 * progmodes/js.el (js-indent-line): Don't widen.
9596 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
9597
9598 2014-02-12 Glenn Morris <rgm@gnu.org>
9599
9600 * icomplete.el (icomplete): Add info-link to defgroup.
9601 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
9602 (icomplete-minibuffer-map, icomplete-mode)
9603 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
9604
9605 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
9606 (package-menu-filter): Rename from package-menu-filter-interactive.
9607 Doc fix.
9608
9609 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
9610
9611 * frameset.el (frameset--jump-to-register): Select the required
9612 window and buffer before restoring position (bug#16696).
9613
9614 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
9615
9616 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
9617
9618 2014-02-10 Glenn Morris <rgm@gnu.org>
9619
9620 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
9621
9622 2014-02-10 Eli Zaretskii <eliz@gnu.org>
9623
9624 * w32-common-fns.el (x-get-selection): Doc fix.
9625 * select.el (x-get-selection): Doc fix. (Bug#15109)
9626
9627 * face-remap.el (face-remap-add-relative)
9628 (face-remap-remove-relative, face-remap-reset-base)
9629 (face-remap-set-base): Call force-mode-line-update to redisplay
9630 the current buffer due to potential change in faces. (Bug#16709)
9631
9632 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
9633
9634 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
9635 script more robustly.
9636
9637 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9638
9639 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
9640
9641 * simple.el (choose-completion): Doc fix (bug#14160).
9642
9643 * subr.el (event-start): Say what a nil EVENT value means.
9644
9645 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
9646 (bug#14197).
9647
9648 * progmodes/grep.el (find-program): Doc fix (bug#14289).
9649
9650 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
9651
9652 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
9653
9654 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
9655 predicate function (bug#15455).
9656
9657 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
9658
9659 * ielm.el (inferior-emacs-lisp-mode): Instead of
9660 `comment-use-global-state', set `comment-use-syntax'.
9661
9662 2014-02-10 Glenn Morris <rgm@gnu.org>
9663
9664 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
9665
9666 2014-02-09 Alan Mackenzie <acm@muc.de>
9667
9668 Fix c-invalidate-state-cache on narrowed buffers.
9669 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
9670 Widen when setting and clearing the CPP delimiter properties.
9671
9672 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
9673
9674 * help.el (describe-bindings): Doc fix (bug#9888).
9675
9676 * files.el (save-buffer): Use ARG as the parameter name for
9677 consistency (bug#10346).
9678 (save-buffer): Clarify the 0 argument (bug#10346).
9679
9680 * cus-edit.el (customize-apropos): Fix error string.
9681 (custom-buffer-create): Doc fix (bug#11122).
9682 (custom-sort-items): Doc fix (bug#11121).
9683
9684 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
9685
9686 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
9687 (icomplete-simple-completing-p): Mention the previous variable.
9688
9689 * font-lock.el (font-lock-value-in-major-mode): Clarify the
9690 meaning of the parameter (bug#12282).
9691
9692 * files.el (find-file-noselect): Clarify prompt when changing
9693 readedness (bug#13261).
9694 (locate-file): Suffixes aren't returned, so don't say that they
9695 are (bug#12674).
9696 (backup-inhibited): Doc clarification (bug#12525).
9697
9698 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
9699 before we actually start to delete things (bug#16331).
9700
9701 * subr.el (event-start): Doc fix (bug#14228).
9702 (event-end): Ditto.
9703
9704 2014-02-09 Glenn Morris <rgm@gnu.org>
9705
9706 * emacs-lisp/warnings.el (lwarn):
9707 Empower help-enable-auto-load. (Bug#15940)
9708
9709 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9710
9711 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
9712 (Bug#16690)
9713
9714 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
9715
9716 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9717 Insert output at end of buffer. (Bug#16120)
9718
9719 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
9720
9721 * simple.el (choose-completion-string-functions): Document new
9722 calling convention (bug#14153).
9723 (execute-extended-command): Clarify doc string (bug#13373).
9724
9725 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
9726
9727 * find-dired.el (find-name-dired): Doc fix (bug#14290).
9728 (find-grep-dired): Doc fix (bug#14288).
9729
9730 2014-02-08 Juri Linkov <juri@jurta.org>
9731
9732 * isearch.el (isearch-quote-char): Check character validity
9733 like in `quoted-insert' (bug#16677).
9734
9735 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
9736
9737 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
9738
9739 * isearch.el (isearch-hide-immediately): Doc clarification
9740 (bug#14723).
9741
9742 * simple.el (line-move): Document utility function used many
9743 places in the Emacs sources (bug#14843).
9744
9745 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
9746 (dired-prev-marked-file): Doc fix (bug#14855).
9747 (dired-up-directory): Doc fix (bug#14848).
9748
9749 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
9750
9751 * files.el (file-relative-name): Doc fix (bug#15159).
9752
9753 * fringe.el (fringe-styles): Doc fix (bug#15239).
9754
9755 * isearch.el (isearch-filter-predicate): Documentation typo fix
9756 (bug#15474).
9757
9758 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
9759
9760 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
9761
9762 * replace.el (replace-match-maybe-edit): Doc clarification
9763 (bug#15632).
9764
9765 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
9766
9767 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
9768
9769 2014-02-08 Glenn Morris <rgm@gnu.org>
9770
9771 * help-fns.el (describe-variable):
9772 Check {file,dir}-local-variables-alist, and buffer-file-name,
9773 in the correct buffer.
9774
9775 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
9776
9777 * help-fns.el (describe-variable): Fix the case where
9778 a value is directory-local with no dir-locals file. (Bug#16635)
9779
9780 2014-02-08 Glenn Morris <rgm@gnu.org>
9781
9782 * abbrev.el (edit-abbrevs-mode):
9783 Derive from fundamental-mode. (Bug#16682)
9784
9785 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
9786
9787 * simple.el (quoted-insert): Check character validity (bug#16677).
9788
9789 2014-02-07 Juri Linkov <juri@jurta.org>
9790
9791 * desktop.el (desktop-read): Claim the lock when the owner is not
9792 the current process. (Bug#16157)
9793
9794 2014-02-07 Juri Linkov <juri@jurta.org>
9795
9796 * desktop.el (desktop-buffers-not-to-save): Change default from nil
9797 to "\\` ". (Bug#16651)
9798
9799 2014-02-07 Juri Linkov <juri@jurta.org>
9800
9801 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
9802 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
9803 (desktop-auto-save-cancel-timer): New function with some code from
9804 `desktop-auto-save-set-timer'.
9805 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
9806 Instead of setting `desktop-save-mode' to nil, call
9807 `desktop-save-mode' with arg 0. (Bug#16630)
9808
9809 2014-02-07 Glenn Morris <rgm@gnu.org>
9810
9811 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
9812 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
9813 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
9814
9815 * obsolete/iswitchb.el: Move to obsolete/.
9816 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
9817 since obsolete/ is not scanned for autoloads.
9818 * emacs-lisp/authors.el (authors-valid-file-names):
9819 Add iswitchb.el.
9820
9821 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
9822 Disable now non-functional find-file-hook.
9823
9824 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
9825
9826 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
9827 instead of ";" in order to avoid additional prompts. Let heredoc
9828 scripts read from tty. (Bug#16582)
9829 (tramp-send-command): No special handling of heredocs, it isn't
9830 necessary anymore.
9831
9832 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
9833
9834 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
9835 with a space (bug#16664). Limit the symbols considered to the ones
9836 that are bound or fbound (bug#16646).
9837
9838 2014-02-06 Glenn Morris <rgm@gnu.org>
9839
9840 * epa.el (epa-mail-aliases): Doc fix.
9841
9842 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
9843
9844 * emacs-lisp/lisp.el (lisp-completion-at-point):
9845 Use `completion-table-merge' instead of `completion-table-in-turn'
9846 (bug#16604).
9847
9848 * minibuffer.el (completion-table-merge): New function.
9849
9850 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
9851
9852 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
9853 (tramp-sh-handle-set-file-acl)
9854 (tramp-sh-handle-start-file-process)
9855 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
9856 (tramp-find-executable, tramp-send-command): Use it.
9857
9858 2014-02-05 Glenn Morris <rgm@gnu.org>
9859
9860 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
9861
9862 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
9863
9864 * progmodes/python.el (python-shell-send-string)
9865 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
9866
9867 2014-02-04 Anders Lindgren <andlind@gmail.com>
9868
9869 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
9870 the names (bug#16620).
9871
9872 2014-02-03 Martin Rudalics <rudalics@gmx.at>
9873
9874 * faces.el (window-divider): New default value. Rewrite doc-string.
9875 (window-divider-first-pixel, window-divider-last-pixel): New faces.
9876
9877 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
9878
9879 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
9880 `protected' and `public' can also be called without arguments.
9881
9882 2014-02-03 Glenn Morris <rgm@gnu.org>
9883
9884 * register.el (window-configuration-to-register)
9885 (frame-configuration-to-register): Unadvertise unused argument.
9886 * frameset.el (frameset-to-register): Remove unused argument.
9887
9888 * frameset.el (frameset-to-register):
9889 * kmacro.el (kmacro-to-register):
9890 * register.el (increment-register):
9891 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
9892 (calc-append-to-register, calc-prepend-to-register):
9893 * play/gametree.el (gametree-layout-to-register)
9894 (gametree-apply-register-layout):
9895 * textmodes/picture.el (picture-clear-rectangle-to-register)
9896 (picture-yank-rectangle-from-register):
9897 * vc/emerge.el (emerge-combine-versions-register):
9898 Use register-read-with-preview to read registers.
9899
9900 2014-02-03 João Távora <joaotavora@gmail.com>
9901
9902 * elec-pair.el (electric-pair-backward-delete-char): Don't error
9903 when at beginning of (possibly narrowed) buffer.
9904
9905 2014-02-02 Daniel Colascione <dancol@dancol.org>
9906
9907 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
9908 Also try to display local help from just before point.
9909
9910 2014-02-02 Alan Mackenzie <acm@muc.de>
9911
9912 c-parse-state. Don't "append-lower-brace-pair" in certain
9913 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
9914 recognised as a comment.
9915
9916 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
9917 as well as normal comment starter.
9918 (c-parse-state-get-strategy): Extra return possibility
9919 'back-and-forward.
9920 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
9921 return value list to indicate replacement of a brace-pair cons
9922 with its car.
9923 (c-parse-state-1): With 'back-and-forward, only call
9924 c-append-lower-brace-pair-to state-cache when cons-separated.
9925
9926 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
9927
9928 * term/ns-win.el (ns-suspend-error): New function.
9929 (ns-initialize-window-system): Add ns-suspend-error to
9930 suspend-hook (Bug#16612).
9931
9932 2014-02-02 Daniel Colascione <dancol@dancol.org>
9933
9934 * progmodes/cc-defs.el (c-find-assignment-for-mode):
9935 Make loading cc-mode silent.
9936
9937 2014-02-02 Daniel Colascione <dancol@dancol.org>
9938
9939 * comint.el (comint-prompt-read-only): Change doc to suggest
9940 remap keybinding.
9941
9942 2014-02-02 Glenn Morris <rgm@gnu.org>
9943
9944 * register.el (register-read-with-preview, point-to-register)
9945 (window-configuration-to-register, frame-configuration-to-register)
9946 (jump-to-register, number-to-register, view-register, insert-register)
9947 (copy-to-register, append-to-register, prepend-to-register)
9948 (copy-rectangle-to-register): Doc fixes.
9949
9950 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
9953 * emacs-lisp/find-func.el (find-function-C-source): Idem.
9954 * emacs-lisp/nadvice.el (advice--cd*r): New function.
9955 * help-fns.el (describe-function-1): Use it.
9956
9957 2014-02-02 Glenn Morris <rgm@gnu.org>
9958
9959 * register.el (register-preview-default): New function,
9960 split from register-preview.
9961 (register-preview-function): Rename from register-preview-functions,
9962 make it not a hook.
9963 (register-preview): Use register-preview-function.
9964 (register-read-with-preview): Error on non-character event. (Bug#16595)
9965
9966 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
9967
9968 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
9969 `:' before binary operators (bug#16609). Don't check for `:'
9970 before `[' and `(', or their syntax status. A percent literal
9971 can't end with either.
9972 (ruby-font-lock-keywords): For built-ins that require arguments,
9973 check that they're followed by something that looks like argument
9974 (bug#16610).
9975
9976 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
9977
9978 * subr.el (butlast): Document what an omitted N means (bug#13437).
9979 (nbutlast): Ditto.
9980
9981 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
9982
9983 * net/shr.el (shr-generic): Make into a defsubst to make the stack
9984 depth shallower (bug#16587).
9985 (shr-tag-svg): Respect `shr-inhibit-images'.
9986 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
9987
9988 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
9989
9990 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
9991 (ruby-smie-grammar): Make "." right-associative. Make its priority
9992 lower than the ternary and all binary operators.
9993 (ruby-smie-rules): Indent "(" relative to the first non-"."
9994 parent, or the first "." parent at indentation.
9995 Use `ruby-align-chained-calls' for indentation of "." tokens.
9996 (Bug#16593)
9997
9998 2014-01-31 Juri Linkov <juri@jurta.org>
9999
10000 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
10001 from `make-hash-table'.
10002
10003 * textmodes/ispell.el (ispell-init-process): Change message format
10004 to be consistent with other messages.
10005
10006 2014-01-31 Glenn Morris <rgm@gnu.org>
10007
10008 * delsel.el (delete-selection-mode): Doc fix.
10009
10010 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
10011 (trace-function-background): Doc fixes.
10012
10013 * ido.el (ido-use-virtual-buffers): Doc fix.
10014 Reset :version, since the default value has not changed.
10015
10016 * register.el (register-preview-delay, register-read-with-preview):
10017 Doc fixes.
10018
10019 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
10020 do not mess with mail-buffer position (fixes 2009-11-03 change).
10021 * progmodes/cc-mode.el (c-submit-bug-report):
10022 Check auto-fill-mode is bound. (Bug#16592)
10023
10024 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
10025
10026 * startup.el (fancy-splash-image-file): New function,
10027 split from fancy-splash-head.
10028 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
10029 so that we are both using the same image. (Bug#16574)
10030
10031 2014-01-30 Glenn Morris <rgm@gnu.org>
10032
10033 * simple.el (eval-expression): Doc fix.
10034
10035 * hexl.el (hexl-mode-hook):
10036 * ielm.el (ielm-mode-hook):
10037 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
10038 (lisp-interaction-mode-hook):
10039 * progmodes/cfengine.el (cfengine3-documentation-function):
10040 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
10041
10042 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
10043
10044 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
10045 is a symbol (bug#16584).
10046
10047 2014-01-30 Glenn Morris <rgm@gnu.org>
10048
10049 * help.el (help-for-help-internal): Add "P" to text.
10050
10051 2014-01-29 Glenn Morris <rgm@gnu.org>
10052
10053 * simple.el (just-one-space, cycle-spacing): Doc fixes.
10054
10055 2014-01-28 Martin Rudalics <rudalics@gmx.at>
10056
10057 * window.el (fit-frame-to-buffer): Fix calculations for margins and
10058 height constraints.
10059
10060 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
10061
10062 * progmodes/hideif.el: Extend to full CPP expression syntax.
10063 (hif-token-alist): Add missing tokens.
10064 (hif-token-regexp): Add support for float/octal/hex immediates.
10065 (hif-string-literal-regexp): New const.
10066 (hif-tokenize): Recognize strings and float/octal/hex immediates.
10067 (hif-exprlist): New function.
10068 (hif-parse-if-exp): Use it.
10069 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
10070 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
10071 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
10072 (hif-logxor, hif-comma): New functions.
10073
10074 2014-01-28 Glenn Morris <rgm@gnu.org>
10075
10076 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
10077
10078 * indent.el (tab-stop-list): Doc fix. Add :version.
10079
10080 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
10081 (cvs-append-to-ignore): Add compatibility alias.
10082
10083 2014-01-27 Glenn Morris <rgm@gnu.org>
10084
10085 * dired.el (dired-hide-details-mode): Don't autoload it,
10086 since it cannot be used outside Dired buffers anyway.
10087
10088 * emulation/cua-base.el (cua-mode): Doc fix.
10089
10090 * dired.el (dired-hide-details-hide-symlink-targets)
10091 (dired-hide-details-hide-information-lines)
10092 (dired-hide-details-mode): Doc fixes.
10093
10094 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
10095 * strokes.el (strokes-file): Doc fix. Bump :version.
10096 (strokes-help): Doc fix.
10097 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
10098 * emulation/viper.el (viper): Doc fix for custom group.
10099 (top-level): Remove oh-so-no-longer-relevant text about vip.
10100 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
10101
10102 * ido.el (ido-save-directory-list-file):
10103 * saveplace.el (save-place-file):
10104 * calendar/timeclock.el (timeclock-file):
10105 * net/quickurl.el (quickurl-url-file):
10106 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10107 * progmodes/idlwave.el (idlwave-config-directory):
10108 * textmodes/remember.el (remember-data-file):
10109 Bump :version.
10110
10111 2014-01-26 Glenn Morris <rgm@gnu.org>
10112
10113 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
10114 Doc fix. Make obsolete.
10115 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
10116
10117 * sort.el (delete-duplicate-lines): Doc fix.
10118
10119 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10120
10121 * progmodes/ada-mode.el (ada):
10122 * woman.el (woman): Link to info manual and Commentary section.
10123
10124 * progmodes/flymake.el (flymake):
10125 * nxml/nxml-mode.el (nxml):
10126 * net/eww.el (eww):
10127 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
10128 * htmlfontify.el (htmlfontify):
10129 * ses.el (ses):
10130 * epa.el (epa):
10131 * ido.el (ido): Link to info manual.
10132
10133 2014-01-25 Leo Liu <sdl.web@gmail.com>
10134
10135 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
10136
10137 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
10138
10139 * net/shr.el (shr-tag-img): Prefer the title over the alt text
10140 (bug#16537).
10141
10142 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
10143
10144 * net/eww.el (eww-download-callback):
10145 Fix reference to eww-download-directory.
10146
10147 * emacs-lisp/bytecomp.el (byte-compile-file):
10148 Remove unused local variable `file-name'.
10149
10150 2014-01-24 Glenn Morris <rgm@gnu.org>
10151
10152 * woman.el (woman-default-faces, woman-monochrome-faces):
10153 Fix obsolescence specification.
10154
10155 * subr.el (with-demoted-errors): Doc fix.
10156
10157 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
10160 (cl--macroexp-fboundp): New function.
10161 (cl--make-type-test): Use it.
10162
10163 2014-01-23 Glenn Morris <rgm@gnu.org>
10164
10165 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
10166 * simple.el (eval-expression): Doc fixes.
10167
10168 2014-01-22 Glenn Morris <rgm@gnu.org>
10169
10170 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
10171
10172 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10173
10174 * emacs-lisp/package.el: Write files silently.
10175 (package-autoload-ensure-default-file, package--write-file-no-coding)
10176 (package-generate-description-file, package--download-one-archive)
10177 (package-install-from-archive): Tell `write-region' to stay quiet.
10178 (package-menu-mode, package-menu--print-info): Omit the Archive column
10179 if there's only one archive.
10180 (package-all-keywords, package--has-keyword-p): Remove dead code.
10181
10182 2014-01-22 Glenn Morris <rgm@gnu.org>
10183
10184 * version.el (emacs-bzr-version-bzr): Fix typo.
10185
10186 * version.el (emacs-repository-get-version):
10187 Check either .bzr or .git, but not both.
10188 Make the git case actually use the DIR argument, and return nil
10189 rather than the empty string.
10190 Avoid error if .git exists but the git executable is not found.
10191
10192 2014-01-22 Martin Rudalics <rudalics@gmx.at>
10193
10194 Fixes in window size functions around Bug#16430 and Bug#16470.
10195 * window.el (window-total-size, window-size): New argument ROUND.
10196 (window--min-delta-1, window-min-delta, window--max-delta-1):
10197 Be more conservative when calculating the numbers of lines or
10198 columns a window can shrink (Bug#16430).
10199 (fit-window-to-buffer): Simplify code.
10200 * term.el (term-window-width): Call window-body-width again.
10201
10202 2014-01-22 Glenn Morris <rgm@gnu.org>
10203
10204 * image.el (image-format-suffixes): Doc fix.
10205
10206 * international/quail.el (quail-define-package): Doc fix.
10207
10208 * emacs-lisp/authors.el (authors-valid-file-names)
10209 (authors-renamed-files-alist): Additions.
10210
10211 * vc/vc-git.el (vc-git-print-log): Remove --follow;
10212 reverts 2014-01-09 change. (Bug#16422)
10213
10214 * calc/calc-embed.el (thing-at-point-looking-at):
10215 * emacs-lisp/map-ynp.el (x-popup-dialog):
10216 * obsolete/lmenu.el (x-popup-dialog):
10217 * emacs-lisp/package.el (url-recreate-url):
10218 * mail/mailclient.el (clipboard-kill-ring-save):
10219 * subr.el (x-popup-dialog): Update declaration.
10220 * mail/rmail.el (rmail-mime-message-p):
10221 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
10222
10223 2014-01-21 Daniel Colascione <dancol@dancol.org>
10224
10225 * progmodes/sh-script.el (sh--inside-noncommand-expression):
10226 Correctly detect when we're inside an arithmetic expansion form
10227 containing nested parenthesis.
10228 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
10229 to detect cases where we shouldn't expand "<<" to a heredoc
10230 skeleton.
10231
10232 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
10235 (eldoc--message-command-p): New function.
10236 (eldoc-display-message-p): Use it.
10237 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
10238 message is not automatically erased for us.
10239 (eldoc-print-current-symbol-info): Erase previous message, if any.
10240
10241 2014-01-21 Tassilo Horn <tsdh@gnu.org>
10242
10243 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
10244 specify it's an interactive function.
10245
10246 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
10247 Fix regex used for scanning for citation keys which failed for
10248 citations with optional arguments.
10249
10250 2014-01-21 Leo Liu <sdl.web@gmail.com>
10251
10252 * simple.el (read--expression): Don't enable eldoc-mode.
10253
10254 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * simple.el (move-beginning-of-line): Make sure we don't move forward
10257 (bug#16497).
10258
10259 2014-01-20 Juri Linkov <juri@jurta.org>
10260
10261 * saveplace.el (toggle-save-place, save-place-to-alist)
10262 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
10263 'dired-mode) before checking for dired-directory. (Bug#16477)
10264
10265 2014-01-20 Juri Linkov <juri@jurta.org>
10266
10267 * indent.el (indent-line-to): Use backward-to-indentation
10268 instead of back-to-indentation. (Bug#16461)
10269
10270 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
10271
10272 Revert some of the CANNOT_DUMP fix (Bug#16494).
10273 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
10274 but fixing this can wait until after the next release.
10275 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
10276
10277 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
10278
10279 * eshell/esh-mode.el (eshell-password-prompt-regexp):
10280 Use `password-word-equivalents'.
10281 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
10282 to t. (Bug#5664, Bug#13124)
10283
10284 2014-01-19 Alan Mackenzie <acm@muc.de>
10285
10286 Bind open-paren-in-column-0-is-defun-start to nil at some entry
10287 points.
10288 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
10289 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
10290 * progmodes/cc-mode.el (c-before-change, c-after-change)
10291 (c-font-lock-fontify-region): Bind it here.
10292
10293 2014-01-19 Martin Rudalics <rudalics@gmx.at>
10294
10295 * term.el (term-window-width): Call window-text-width instead of
10296 window-width (Bug#16470).
10297
10298 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
10299
10300 * simple.el (password-word-equivalents): Remove duplicates.
10301 Sort, to make this easier next time.
10302 Downcase. Omit ": " after "jelszó".
10303
10304 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
10305
10306 * term/common-win.el (saved-region-selection): Defvar it.
10307 (x-select-text): Set saved-region-selection (Bug#16382).
10308
10309 2014-01-18 Glenn Morris <rgm@gnu.org>
10310
10311 * emacs-lisp/authors.el (authors-aliases)
10312 (authors-renamed-files-alist): Add some entries.
10313
10314 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
10315
10316 * net/tramp.el (tramp-password-prompt-regexp):
10317 Use `password-word-equivalents' if available.
10318 (tramp-action-password, tramp-process-one-action)
10319 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
10320
10321 2014-01-17 Chong Yidong <cyd@gnu.org>
10322
10323 * simple.el (password-word-equivalents): New defcustom.
10324 * comint.el (comint-password-prompt-regexp): Use it. Bump version
10325 to 24.4.
10326 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
10327 to t. (Bug#13124)
10328
10329 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
10330
10331 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
10332 (ruby-align-to-stmt-keywords): Change the default value.
10333 Use `ruby-alignable-keywords' to generate the possible customization
10334 choices.
10335 (ruby-smie-rules): Instead of using a hardcoded list of alignable
10336 keywords, check against the value of `ruby-alignable-keywords'
10337 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
10338
10339 2014-01-17 Glenn Morris <rgm@gnu.org>
10340
10341 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
10342
10343 Make M-x authors return zero *Authors Errors* from current logs.
10344 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
10345 (authors-ignored-files): Add some entries, remove others.
10346 (authors-ambiguous-files, authors-valid-file-names):
10347 Add some entries.
10348 (authors-renamed-files-alist): Add, remove, and adjust entries.
10349 (authors-renamed-files-regexps): Add some entries.
10350 Remove some very broad ones. Make some entries `lax'.
10351 (authors-lax-changelogs): New constant.
10352 (authors-disambiguate-file-name): Treat top-level specially.
10353 (authors-lax-changelog-p): New function.
10354 (authors-canonical-file-name): Check file as written against
10355 authors-valid-file-names. Do not special-case etc/.
10356 Handle `lax' logs and authors-renamed-files-regexps elements.
10357
10358 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
10359
10360 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
10361 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
10362 callers.
10363
10364 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10365
10366 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
10367 Assume we're already in the proper buffer.
10368 Inspired by Anders Lindgren <andlind@gmail.com>.
10369 (follow-post-command-hook): Call it from the right buffer.
10370 (follow-comint-scroll-to-bottom): Adjust call.
10371 (follow-all-followers): Use get-buffer-window-list.
10372
10373 2014-01-15 Daniel Colascione <dancol@dancol.org>
10374
10375 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
10376 `buffer-file-name' in interactive-form so that we don't leave
10377 pathless file names in `file-name-history'.
10378
10379 2014-01-15 Juri Linkov <juri@jurta.org>
10380
10381 * indent.el (indent-rigidly): Set deactivate-mark to nil
10382 in transient indentation mode. (Bug#16438)
10383
10384 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
10385
10386 * emacs-lisp/package.el (package-desc-keywords): New function
10387 (Bug#16222).
10388 (describe-package-1, package-all-keywords)
10389 (package--has-keyword-p): Use it.
10390
10391 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10392
10393 * simple.el (define-alternatives): When creating the
10394 COMMAND-alternatives variable, assign COMMAND as its definition
10395 name so that `describe-variable' can relocate it.
10396
10397 2014-01-14 Matthew Leach <matthew@mattleach.net>
10398
10399 * font-lock.el (font-lock-keywords): Fix typo in docstring
10400 (bug#16307).
10401
10402 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10403
10404 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
10405 line instead of wrongly reset `add-coment' (bug#13577).
10406
10407 2014-01-14 Daiki Ueno <ueno@gnu.org>
10408
10409 * epa-file.el (epa-file-write-region): Encode the region according
10410 to `buffer-file-format'. Problem reported at:
10411 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
10412
10413 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
10416 so it applies in the right buffer (bug#16410).
10417
10418 2014-01-13 Daniel Colascione <dancol@dancol.org>
10419
10420 * textmodes/rst.el (rst-define-key): Provide deprecated
10421 keybindings through named functions instead of anonymous ones so
10422 that "??" doesn't appear in describe-mode output.
10423
10424 2014-01-13 Bastien Guerry <bzg@gnu.org>
10425
10426 * simple.el (define-alternatives): Call the selected command
10427 interactively. When setting `COMMAND--implementation' for the
10428 first time, tell the user how to chose another implementation.
10429 Enhance the docstring.
10430
10431 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
10432
10433 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
10434 (log-edit--match-first-line): New function.
10435 (log-edit-font-lock-keywords): Use it.
10436 (log-edit-mode): Make jit-lock-defer-multiline work.
10437
10438 2014-01-13 Bastien Guerry <bzg@gnu.org>
10439
10440 * rect.el (rectangle-mark-mode): When the region is not active,
10441 display a message saying that the mark as been set and that
10442 rectangle mode is in use.
10443 (rectangle--highlight-for-redisplay): Only put an overlay with a
10444 visible vertical bar when (display-graphic-p) is non-nil.
10445 This partially fixes Bug#16403.
10446
10447 2014-01-13 Juri Linkov <juri@jurta.org>
10448
10449 * info.el (Info-find-file): Go to DIR before displaying the error
10450 about a nonexistent file if no previous Info file is visited.
10451 Use `user-error' instead of `error' for "Info file %s does not exist".
10452 (Info-find-node-2): In case of a nonexistent node in unwind forms
10453 go to the Top node if there is no previous node to revert to.
10454 (Bug#16405)
10455
10456 2014-01-13 Martin Rudalics <rudalics@gmx.at>
10457
10458 fit-frame/window-to-buffer code fixes including one for Bug#14096.
10459 * window.el (fit-frame-to-buffer): Fix doc-string.
10460 Respect window-min-height/-width. Fit pixelwise when
10461 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
10462 when avoiding that frame goes partially off-screen.
10463 (fit-window-to-buffer): Respect window-min-height/-width
10464 (Bug#14096).
10465
10466 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
10469 after an empty line.
10470
10471 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * net/shr.el (shr-render-region): Autoload.
10474
10475 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
10476
10477 * net/eww.el (eww-download-directory): Rename from
10478 `eww-download-path' (Bug#16419).
10479
10480 2014-01-12 Leo Liu <sdl.web@gmail.com>
10481
10482 * dired-x.el (dired-mode-map): Fix last change.
10483
10484 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
10485
10486 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
10487
10488 Spelling fixes.
10489 * emacs-lisp/generic.el (generic--normalize-comments):
10490 Rename from generic--normalise-comments. All uses changed.
10491 * play/bubbles.el (bubbles--neighborhood-score)
10492 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
10493 (bubbles--neighborhood-available)
10494 (bubbles--update-neighborhood-score):
10495 Rename from names with 'neighbourhood'. All uses changed.
10496
10497 2014-01-12 Leo Liu <sdl.web@gmail.com>
10498
10499 Re-implement the feature of showing eldoc info after editing.
10500 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
10501 (eldoc-edit-message-commands): New function.
10502 (eldoc-print-after-edit): New variable.
10503 (eldoc-pre-command-refresh-echo-area): Emit message only by
10504 eldoc-message-commands.
10505 (eldoc-mode): Restrict eldoc-message-commands to editing commands
10506 if eldoc-print-after-edit is set. (Bug#16346)
10507 * simple.el (read--expression): Enable eldoc-mode.
10508 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
10509
10510 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
10511 Eric S. Raymond <esr@thyrsus.com>
10512
10513 * version.el (emacs-repository-get-version): Enhance so the
10514 function works correctly in either a Bazaar or Git repo.
10515
10516 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
10517
10518 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
10519 Goes with removal of the joke manpages from /etc.
10520
10521 2014-01-10 Kenichi Handa <handa@gnu.org>
10522
10523 * mail/rmail.el (rmail-get-coding-system):
10524 Check rmail-get-coding-function before "funcall"ing it.
10525
10526 2014-01-10 Glenn Morris <rgm@gnu.org>
10527
10528 * emacs-lisp/authors.el (authors-fixed-entries):
10529 Update for files that no longer exist.
10530
10531 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
10532
10533 * version.el (emacs-bzr-get-version): Restore compatibilty with
10534 24.3 (Tested).
10535
10536 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
10537
10538 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
10539 and Podfile.
10540
10541 2014-01-10 Eli Zaretskii <eliz@gnu.org>
10542
10543 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
10544
10545 2014-01-10 Chong Yidong <cyd@gnu.org>
10546
10547 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
10548
10549 2014-01-10 Anders Lindgren <andlind@gmail.com>
10550
10551 * follow.el (follow-cache-command-list): Include right-char and
10552 left-char.
10553
10554 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
10555
10556 Spelling fixes.
10557 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
10558 * woman.el (woman-mark-horizontal-position):
10559 Rename from woman-mark-horizonal-position. Use changed.
10560
10561 2014-01-10 Glenn Morris <rgm@gnu.org>
10562
10563 * info.el (info-initialize): If running uninstalled, ensure our
10564 own info files are always found first, even if INFOPATH is set.
10565
10566 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
10567
10568 2014-01-09 David Engster <deng@randomsample.de>
10569
10570 * emacs-lisp/eieio-custom.el:
10571 * emacs-lisp/eieio-opt.el: Set generated autoload file to
10572 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
10573 * emacs-lisp/eieio.el: Regenerate autoloads.
10574
10575 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
10576
10577 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
10578 following renames. (Bug#8756)
10579
10580 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
10581
10582 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
10583 (bug#16382).
10584 (activate-mark): Add `no-tmm' argument.
10585 (set-mark, push-mark-command): Use it instead of running
10586 activate-mark-hook by hand.
10587
10588 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
10589
10590 In preparation for the move to git, sanitize out some
10591 Bazaar-specific names.
10592
10593 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
10594
10595 * version.el (emacs-bzr-version): Name changed to
10596 emacs-repository-version. Obsolete-variable alias made.
10597 * loadup.el: Follow through on this name change.
10598 * mail/emacsbug.el (report-emacs-bug): Factor out any
10599 assumption about the version control system in use.
10600
10601 2014-01-08 David Engster <deng@randomsample.de>
10602
10603 * help-fns.el (help-fns-describe-function-functions):
10604 New variable to call functions for augmenting help buffers.
10605 (describe-function-1): Remove explicit calls to
10606 `help-fns--compiler-macro', `help-fns--parent-mode' and
10607 `help-fns--obsolete'. Put them in above new variable instead, and
10608 call them through `run-hook-with-args'.
10609 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
10610 `eieio-describe-class'. Not meant for interactive use anymore,
10611 but to augment existing help buffers. Remove optional second
10612 argument. Create proper button for file location.
10613 Rewrite function to use `insert' instead of `princ' and `prin1' where
10614 possible.
10615 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
10616 (eieio-method-def, eieio-class-def): Move further up.
10617 (describe-method, describe-generic, eieio-describe-method):
10618 Remove aliases.
10619 (eieio-help-constructor, eieio-help-generic): Rename from
10620 `eieio-describe-constructor' and `eieio-describe-generic', resp.
10621 Rewrite to use `insert' in the current buffer and use proper help
10622 buttons.
10623 (eieio-help-find-method-definition)
10624 (eieio-help-find-class-definition): Also accept symbols as
10625 arguments.
10626 (eieio-help-mode-augmentation-maybee): Remove.
10627 (eieio-describe-class-sb): Use `describe-function'.
10628 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
10629 Add `eieio-help-generic' and `eieio-help-constructor'.
10630
10631 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
10632
10633 Spelling fixes.
10634 * language/china-util.el (hz-ascii-designation):
10635 Rename from hz-ascii-designnation.
10636 (hz-ascii-designation): Rename from hz-ascii-designnation.
10637 All uses changed.
10638
10639 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
10640
10641 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
10642 package-alist.
10643
10644 2014-01-08 Bastien Guerry <bzg@gnu.org>
10645
10646 * emacs-lisp/package.el (package-delete):
10647 Correctly delete the package from package-alist.
10648
10649 2014-01-08 Daiki Ueno <ueno@gnu.org>
10650
10651 * emacs-lisp/package.el (url-recreate-url): Declare.
10652 (url-http-target-url): Declare.
10653 (package-handle-response): Include requested URL in the error message.
10654 (package--check-signature): Don't re-signal errors from
10655 package--with-work-buffer. Suggested by Stefan Monnier.
10656
10657 2014-01-07 Bastien Guerry <bzg@gnu.org>
10658
10659 * minibuffer.el (completion--try-word-completion): When both a
10660 hyphen and a space are possible candidates for the character
10661 following a word, display both candidates. (Bug#15980)
10662
10663 2014-01-07 Martin Rudalics <rudalics@gmx.at>
10664
10665 * window.el (balance-windows-2): While rounding don't give a
10666 window more than the remainder. Bug#16351, bug#16383.
10667
10668 2014-01-07 Glenn Morris <rgm@gnu.org>
10669
10670 * menu-bar.el (menu-bar-help-extra-packages): Remove.
10671 (menu-bar-help-menu): Use view-external-packages instead.
10672
10673 2014-01-07 Bastien Guerry <bzg@gnu.org>
10674
10675 * emacs-lisp/package.el (package-delete): Also delete the package
10676 name from `package-alist', not its description only.
10677
10678 2014-01-07 Glenn Morris <rgm@gnu.org>
10679
10680 * help.el (view-external-packages):
10681 * menu-bar.el (menu-bar-help-extra-packages):
10682 Visit efaq.info rather than etc/MORE.STUFF.
10683
10684 2014-01-07 Juri Linkov <juri@jurta.org>
10685
10686 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
10687 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
10688
10689 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
10690 that shadows RET. (Bug#16342)
10691
10692 2014-01-07 Chong Yidong <cyd@gnu.org>
10693
10694 * isearch.el (isearch-yank-char, isearch-yank-word)
10695 (isearch-yank-line): Doc fix.
10696
10697 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
10700 * emacs-lisp/elint.el (elint-find-builtins):
10701 * emacs-lisp/eldoc.el (eldoc-symbol-function):
10702 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
10703 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
10704 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10705 * apropos.el (apropos-safe-documentation):
10706 * subr.el (symbol-file): Remove redundant fboundp.
10707 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
10708
10709 2014-01-06 Bastien Guerry <bzg@gnu.org>
10710
10711 * hl-line.el (global-hl-line-overlay): Make a local variable.
10712 (global-hl-line-overlays): New variable to store all overlays.
10713 (global-hl-line-mode): Don't delete overlays from the current
10714 buffer when `global-hl-line-sticky-flag' is non-nil.
10715 (global-hl-line-highlight): Add new overlays to
10716 `global-hl-line-overlays'.
10717 (global-hl-line-unhighlight-all): New function to delete all
10718 overlays when turning off `global-hl-line-mode'.
10719 This fixes Bug#16183.
10720
10721 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * subr.el (set-transient-map): Fix nested case and docstring.
10724
10725 2014-01-06 Tassilo Horn <tsdh@gnu.org>
10726
10727 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
10728 `Texinfo' entry.
10729
10730 2014-01-06 Daniel Colascione <dancol@dancol.org>
10731
10732 Fix defun navigation in vc log view.
10733
10734 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
10735 like `beginning-of-defun'.
10736 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
10737 log-view-end-of-defun to log-view-end-of-defun-1. Replace
10738 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
10739 (log-view-extract-comment): Call `log-view-current-entry' directly
10740 instead of relying on broken `log-view-beginning-of-defun' behavior.
10741
10742 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
10743
10744 Spelling fixes.
10745 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
10746 * emacs-lisp/debug.el (cancel-debug-on-entry):
10747 * epg.el (epg-error-to-string):
10748 * files.el (recover-file):
10749 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
10750 * mail/emacsbug.el (report-emacs-bug-hook):
10751 * mail/sendmail.el (mail-recover):
10752 * ses.el (ses-yank-resize):
10753 * term/ns-win.el (ns-print-buffer):
10754 Spelling fixes in diagnostics, mostly for "canceled" with one L.
10755 * epg.el (epg-key-capability-alist): Rename from misspelled version.
10756 All uses changed.
10757 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
10758
10759 2014-01-06 Leo Liu <sdl.web@gmail.com>
10760
10761 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
10762 to avoid shadowing global key. (Bug#16354)
10763
10764 2014-01-06 Daniel Colascione <dancol@dancol.org>
10765
10766 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
10767 rst-mode.
10768
10769 2014-01-05 Martin Rudalics <rudalics@gmx.at>
10770
10771 * window.el (balance-windows): Add mising t to fix Bug#16351.
10772
10773 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10774
10775 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
10776 (bug#16285).
10777 (shr-insert): If we have a word that's longer than `shr-width',
10778 break after it anyway. Otherwise we'll do no breaking once we get
10779 such a long word.
10780
10781 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10782
10783 * net/eww.el (eww): Support single/double quote for search.
10784 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
10785 (eww-history-quit): Delete and use quit-window.
10786 (eww-history-kill): Delete, because it doesn't work well and
10787 not necessary.
10788 (eww-history-mode-map): Delete some keys and add easy-menu.
10789
10790 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
10791
10792 Fix misspelling of 'chinese' in rx (Bug#16237).
10793 * emacs-lisp/rx.el (rx-categories): Correct spelling of
10794 chinese-two-byte.
10795
10796 Change subword regexps back to vars (Bug#16296).
10797 * progmodes/subword.el (subword-forward-regexp)
10798 (subword-backward-regexp): Change these back to variables.
10799
10800 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
10803 syntax-begin-function (bug#16247).
10804
10805 2014-01-03 Chong Yidong <cyd@gnu.org>
10806
10807 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
10808 (advice--docstring): Delete variable.
10809 (advice--make-1): Leave the docstring empty.
10810 (advice-add): Use function-documentation for advised docstring.
10811
10812 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
10813 Ignore function-documentation property when getting documentation.
10814 (ad-activate-advised-definition): Use function-documentation
10815 generate the docstring.
10816 (ad-make-advised-definition): Don't call
10817 ad-make-advised-definition-docstring.
10818 (ad-make-advised-definition-docstring, ad-advised-definition-p):
10819 Delete functions.
10820
10821 * progmodes/sql.el (sql-help): Use function-documentation instead
10822 of dynamic-docstring-function property. No need to autoload now.
10823 (sql--help-docstring): New variable.
10824 (sql--make-help-docstring): Use it.
10825
10826 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
10827
10828 * ielm.el (ielm-tab): Retarget.
10829 (ielm-map): Use ielm-tab for tab.
10830 (ielm-complete-filename): Use comint-filename-completion.
10831 (ielm-complete-symbol): Remove.
10832 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
10833 remove ielm-tab from completion-at-point-functions (bug#16224).
10834
10835 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
10836 Beware signals raised by predicates (bug#16201).
10837
10838 2014-01-02 Richard Stallman <rms@gnu.org>
10839
10840 * dired-aux.el (dired-do-print): Handle printer-name.
10841
10842 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
10843 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
10844 (rmail-epa-decrypt): Turn off mime processing.
10845
10846 * mail/rmail.el (rmail-make-in-reply-to-field):
10847 Add parens in message-id.
10848
10849 * mail/rmail.el (rmail-get-coding-function): Variable.
10850 (rmail-get-coding-system): Use it.
10851
10852 2013-12-31 Eli Zaretskii <eliz@gnu.org>
10853
10854 * international/mule-conf.el: Unify the charset indian-is13194.
10855 (indian-is13194): Specify unify-map.
10856
10857 2013-12-31 Leo Liu <sdl.web@gmail.com>
10858
10859 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
10860
10861 2013-12-30 Daniel Colascione <dancol@dancol.org>
10862
10863 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
10864 of printing a useless when we resume from sleep.
10865
10866 * progmodes/sh-script.el
10867 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
10868 in indentation code. (Bug#16233)
10869
10870 2013-12-28 João Távora <joaotavora@gmail.com>
10871
10872 * elec-pair.el (electric-pair-post-self-insert-function):
10873 Don't open extra newlines at beginning of buffer. (Bug#16272)
10874
10875 2013-12-28 Eli Zaretskii <eliz@gnu.org>
10876
10877 * frame.el (window-system-for-display): Don't allow to create a
10878 GUI frame from a -nw session on MS-Windows. (Bug#14739)
10879
10880 2013-12-28 Glenn Morris <rgm@gnu.org>
10881
10882 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
10883 Update callers.
10884
10885 * apropos.el (apropos-match-face):
10886 * calculator.el (calculator-displayer):
10887 * dabbrev.el (dabbrev-search-these-buffers-only):
10888 * face-remap.el (buffer-face-mode-face):
10889 * simple.el (yank-handled-properties):
10890 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
10891 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
10892 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
10893 (hashcash-double-spend-database):
10894 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
10895 (ruby-deep-indent-paren-style):
10896 * textmodes/flyspell.el (flyspell-auto-correct-binding):
10897 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
10898 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
10899 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
10900 Specify custom types.
10901
10902 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
10903 * bookmark.el (bookmark-bmenu-use-header-line):
10904 * doc-view.el (doc-view-scale-internally):
10905 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
10906 * register.el (register-preview-delay):
10907 * net/shr.el (shr-bullet):
10908 * progmodes/cfengine.el (cfengine-cf-promises)
10909 (cfengine-parameters-indent):
10910 * progmodes/octave.el (inferior-octave-error-regexp-alist):
10911 * textmodes/reftex-vars.el (reftex-label-regexps):
10912 * vc/log-edit.el (log-edit-setup-add-author): Add version.
10913
10914 * net/tls.el (tls-certtool-program): Fix default value.
10915
10916 * desktop.el (desktop-restore-in-current-display):
10917 * newcomment.el (comment-empty-lines):
10918 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
10919 (idlwave-pad-keyword):
10920 * progmodes/tcl.el (tcl-tab-always-indent):
10921 * textmodes/reftex-vars.el (reftex-index-default-tag):
10922 * elec-pair.el (electric-pair-skip-whitespace):
10923 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
10924
10925 * emacs-lisp/authors.el (authors-ignored-files)
10926 (authors-valid-file-names, authors-renamed-files-alist): Additions.
10927
10928 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
10929
10930 * shell.el (shell-dynamic-complete-command): Doc fix.
10931 (shell--command-completion-data): Shell completion now matches
10932 executable filenames from the current buffer's directory, on
10933 systems in which this behavior is the default (windows-nt, ms-dos).
10934
10935 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
10936
10937 * net/shr.el (shr-insert): Don't infloop if the width is zero.
10938
10939 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
10940
10941 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
10942 (bug#16251).
10943
10944 * electric.el: Move all electric-pair-* to elec-pair.el.
10945 * elec-pair.el: New file, split from electric.el.
10946
10947 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
10948
10949 * net/shr.el (shr-find-fill-point): Don't try to fill if the
10950 indentation level is larger than the width, because that will
10951 infloop.
10952 (shr-insert): Fill repeatedly long texts, so that Japanese is
10953 formatted correctly (bug#16263).
10954 (shr-find-fill-point): Off by one error in comparison with the
10955 indentation.
10956
10957 2013-12-26 João Távora <joaotavora@gmail.com>
10958
10959 * electric.el (electric-pair-mode): More flexible engine for skip-
10960 and inhibit predicates, new options for pairing-related functionality.
10961 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
10962 if that keeps or improves their balance in buffers.
10963 (electric-pair-delete-adjacent-pairs): Delete the pair when
10964 backspacing over adjacent matched delimiters.
10965 (electric-pair-open-extra-newline): Open extra newline when
10966 inserting newlines between adjacent matched delimiters.
10967 (electric--sort-post-self-insertion-hook):
10968 Sort post-self-insert-hook according to priority values when
10969 minor-modes are activated.
10970 * simple.el (newline-and-indent): Call newline with interactive
10971 set to t.
10972 (blink-paren-post-self-insert-function): Set priority to 100.
10973 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10974 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
10975 comments. Locally set electric-pair-skip-whitespace to 'chomp and
10976 electric-pair-open-newline-between-pairs to nil.
10977
10978 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
10979
10980 * progmodes/python.el: Use lexical-binding.
10981 (python-nav-beginning-of-defun): Stop searching ASAP.
10982
10983 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
10984
10985 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
10986 Fix interactive spec. Doc fix. (Bug#15754)
10987
10988 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
10989
10990 * emacs-lisp/byte-run.el (eval-when-compile):
10991 * progmodes/cc-defs.el (cc-eval-when-compile):
10992 Fix edebug spec (bug#16184).
10993
10994 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
10995
10996 * net/shr.el (shr-visit-file): Remove debugging function.
10997 (shr-insert): Don't infloop if we can't find a good place to break
10998 the line (bug#16256).
10999
11000 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
11001
11002 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
11003 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
11004 python-nav-lisp-forward-sexp-safe.
11005 (python-nav--forward-sexp): New argument SAFE allows switching
11006 forward sexp movement behavior for parens.
11007 (python-nav-forward-sexp): Throw errors on unterminated parens
11008 (Bug#16191).
11009 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
11010 (python-nav-backward-sexp-safe): New functions.
11011 (python-shell-buffer-substring):
11012 Use `python-nav-forward-sexp-safe'.
11013
11014 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11015
11016 * net/shr.el (shr-find-fill-point): Don't break lines before a
11017 quotation mark.
11018 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
11019 (shr-find-fill-point): Remove the special checks for the quotation
11020 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
11021
11022 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11023
11024 * net/eww.el (eww-form-textarea): Use a different face for
11025 textareas than text input since they have different keymaps
11026 (bug#16142).
11027
11028 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
11029
11030 * progmodes/python.el (python-nav-beginning-of-statement):
11031 Speed up (Bug#15295).
11032
11033 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11034
11035 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
11036 the window configuration.
11037
11038 2013-12-24 Eli Zaretskii <eliz@gnu.org>
11039
11040 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
11041 we run on MS-Windows or MS-DOS.
11042
11043 2013-12-24 Martin Rudalics <rudalics@gmx.at>
11044
11045 * window.el (balance-windows-area): Call window-size instead of
11046 window-height and window-width. Bug#16241.
11047
11048 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11049
11050 * net/eww.el (eww-bookmark-quit): Remove.
11051 (eww-bookmark-browse): Restore the window configuration when you
11052 choose a bookmark (bug#16144).
11053
11054 2013-12-24 Daniel Colascione <dancol@dancol.org>
11055
11056 * icomplete.el: Remove redundant :group arguments to `defcustom'
11057 throughout.
11058 (icomplete-show-matches-on-no-input): New customizable variable.
11059 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
11060 we have something to show.
11061 (icomplete-exhibit): Compute completions even if we have no user input.
11062
11063 2013-12-23 Daniel Colascione <dancol@dancol.org>
11064
11065 * icomplete.el: Move `provide' to end of file.
11066
11067 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
11068
11069 * net/gnutls.el (gnutls-verify-error): Add version tag.
11070
11071 2013-12-23 Chong Yidong <cyd@gnu.org>
11072
11073 * subr.el (set-transient-map): Rename from
11074 set-temporary-overlay-map. Doc fix.
11075
11076 * face-remap.el (text-scale-adjust):
11077 * indent.el (indent-rigidly):
11078 * kmacro.el (kmacro-call-macro):
11079 * minibuffer.el (minibuffer-force-complete):
11080 * repeat.el (repeat):
11081 * simple.el (universal-argument--mode):
11082 * calendar/todo-mode.el (todo-insert-item--next-param):
11083 * progmodes/f90.el (f90-abbrev-start): Callers changed.
11084
11085 * indent.el (indent-rigidly): Use substitute-command-keys.
11086
11087 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11088
11089 * net/eww.el (eww-tag-select): Add text-property to jump to next
11090 select field.
11091 (eww): Add non-supported ftp error.
11092
11093 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11094
11095 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
11096 comments. Handle electric indent after typing `?' and `!'.
11097
11098 2013-12-22 Chong Yidong <cyd@gnu.org>
11099
11100 * faces.el (face-spec-recalc): If the theme specs are not
11101 applicable to a frame, fall back on the defface spec.
11102 This prevents themes from obliterating faces on low-color terminals.
11103
11104 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11105
11106 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
11107 after `{'. We need it after block openers, and it doesn't seem
11108 to hurt after hash openers.
11109
11110 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11111
11112 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
11113 extracted from `ruby-smie-rules'.
11114 (ruby--electric-indent-chars): New variable.
11115 (ruby--electric-indent-p): New function.
11116 (ruby-mode): Use `electric-indent-functions' instead of
11117 `electric-indent-chars'.
11118
11119 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11120
11121 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
11122 docstring.
11123 (ruby-smie-rules): Indent plus one level after `=>'.
11124
11125 2013-12-21 Richard Stallman <rms@gnu.org>
11126
11127 * simple.el (newline): Doc fix.
11128
11129 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11130
11131 * net/eww.el (eww-list-histories, eww-list-histories)
11132 (eww-history-browse, eww-history-quit, eww-history-kill)
11133 (eww-history-mode-map, eww-history-mode): New command and
11134 functions to list browser histories.
11135 (eww-form-text): Support text form with disabled
11136 and readonly attributes.
11137 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
11138
11139 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11140
11141 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
11142 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
11143 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
11144 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
11145 Use `user-error'.
11146 (eww-bookmark-mode-map): Add menu.
11147 (eww-render, eww-mode): Use `setq-local'.
11148 (eww-tool-bar-map): New variable.
11149 (eww-mode): Set `tool-bar-map'.
11150 (eww-view-source): Check for `html-mode' with `fboundp'.
11151
11152 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11153
11154 * net/shr.el (shr--extract-best-source): Don't bug out on audio
11155 elements with text inside. Also remove debugging.
11156
11157 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
11158
11159 * cus-start.el (all): Add ns-use-srgb-colorspace.
11160
11161 2013-12-21 Chong Yidong <cyd@gnu.org>
11162
11163 * custom.el (custom-theme-recalc-face): Do nothing if the face is
11164 undefined. Thus, theme settings for undefined faces do not take
11165 effect until the faces are defined with defface, the same as with
11166 theme variables.
11167
11168 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
11169 (face-spec-reset-face): Don't assign extra properties in temacs.
11170 (face-spec-recalc): Apply X resources too.
11171
11172 2013-12-21 Chong Yidong <cyd@gnu.org>
11173
11174 * faces.el (face-spec-set):
11175 * cus-face.el (custom-theme-set-faces, custom-set-faces):
11176 * custom.el (defface): Doc fixes (Bug#16203).
11177
11178 * indent.el (indent-rigidly-map): Add docstring, and move commands
11179 into named functions.
11180 (indent-rigidly-left, indent-rigidly-right)
11181 (indent-rigidly-left-to-tab-stop)
11182 (indent-rigidly-right-to-tab-stop): New functions. Decide on
11183 indentation direction based on bidi direction, and accumulate
11184 sequential commands in a single undo boundary.
11185 (indent-rigidly--pop-undo): New utility function.
11186
11187 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
11188
11189 * faces.el (read-face-name): Require crm.el when using crm-separator.
11190
11191 2013-12-20 Daniel Colascione <dancol@dancol.org>
11192
11193 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
11194 so that we don't reflow comments into the shebang line.
11195
11196 2013-12-20 Juri Linkov <juri@jurta.org>
11197
11198 * saveplace.el (save-place-to-alist): Add `dired-filename' as
11199 a position when `dired-directory' is non-nil. Check integer
11200 positions with `integerp'.
11201 (toggle-save-place, save-places-to-alist): Add check for
11202 `dired-directory'.
11203 (save-place-find-file-hook): Check integer positions with
11204 `integerp'.
11205 (save-place-dired-hook): Use `dired-goto-file' when
11206 `dired-filename' is found in the assoc list. Check integer
11207 positions with `integerp'.
11208 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
11209
11210 * dired.el (dired-initial-position-hook): Rename back from
11211 `dired-initial-point-hook'.
11212 (dired-initial-position): Rename `dired-initial-point-hook' to
11213 `dired-initial-position-hook'.
11214 (dired-file-name-at-point): Doc fix. (Bug#15329)
11215
11216 2013-12-20 Juri Linkov <juri@jurta.org>
11217
11218 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
11219 (read-regexp-suggestions): New function.
11220 (read-regexp): Use `read-regexp-defaults-function' to get default values.
11221 Use `read-regexp-suggestions'. Add non-empty default to history
11222 for empty input.
11223 (occur-read-regexp-defaults-function): Remove function.
11224 (occur-read-primary-args): Use `regexp-history-last' instead of
11225 `occur-read-regexp-defaults-function'.
11226
11227 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
11228 (hi-lock-line-face-buffer, hi-lock-face-buffer)
11229 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
11230 `hi-lock-read-regexp-defaults-function'. Doc fix.
11231 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
11232 with `find-tag-default-as-symbol-regexp'. Doc fix.
11233 (hi-lock-read-regexp-defaults): Remove function.
11234 (hi-lock-regexp-okay): Add check for null.
11235
11236 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
11237 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
11238
11239 * subr.el (find-tag-default-as-symbol-regexp): New function.
11240 (find-tag-default-as-regexp): Move symbol regexp formatting to
11241 `find-tag-default-as-symbol-regexp'.
11242
11243 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
11244
11245 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
11246 (Bug#14179)
11247
11248 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
11249
11250 * calendar/todo-mode.el: New implementation of item insertion
11251 commands and key bindings.
11252 (todo-key-prompt): New face.
11253 (todo-insert-item): New command.
11254 (todo-insert-item--parameters): New defconst, replacing defvar
11255 todo-insertion-commands-args-genlist.
11256 (todo-insert-item--param-key-alist): New defconst, replacing
11257 defvar todo-insertion-commands-arg-key-list.
11258 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
11259 (todo-insert-item--argsleft, todo-insert-item--apply-args)
11260 (todo-insert-item--next-param): New functions.
11261 (todo-insert-item--args, todo-insert-item--argleft)
11262 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
11263 New variables.
11264 (todo-key-bindings-t): Change binding of "i" from
11265 todo-insertion-map to todo-insert-item.
11266 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
11267 (todo-insertion-command-name, todo-insertion-commands-names)
11268 (todo-define-insertion-command, todo-insertion-commands)
11269 (todo-insertion-key-bindings, todo-insertion-map): Remove.
11270
11271 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
11272
11273 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
11274 (todo-toggle-item-highlighting): Use eval-and-compile instead of
11275 eval-when-compile.
11276 (todo-move-category): Allow choosing a non-existing todo file to
11277 move the category to, and create that file.
11278 (todo-default-priority): New user option.
11279 (todo-set-item-priority): Use it.
11280 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
11281 (desktop-restore-file-buffer): Declare.
11282 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
11283 (todo-modes-set-2): Locally set desktop-save-buffer to
11284 todo-desktop-save-buffer.
11285 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
11286 (auto-mode-alist): Add autoload cookie.
11287
11288 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
11289
11290 * emacs-lisp/subr-x.el: Renamed from helpers.el.
11291 helpers.el was a poor choice of name.
11292 (string-remove-prefix): New function.
11293 (string-remove-suffix): New function.
11294
11295 2013-12-20 Martin Rudalics <rudalics@gmx.at>
11296
11297 Fix assignment for new window total sizes.
11298 * window.el (window--pixel-to-size): Remove function.
11299 (window--pixel-to-total-1, window--pixel-to-total):
11300 Fix calculation of new total sizes.
11301
11302 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
11303
11304 * comint.el (comint-output-filter): Fix rear-nonsticky property
11305 placement (Bug#16010).
11306
11307 2013-12-20 Chong Yidong <cyd@gnu.org>
11308
11309 * faces.el (read-color): Minor fix for completion function.
11310
11311 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
11312
11313 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
11314 New option. (Bug#16182)
11315 (ruby-smie--indent-to-stmt-p): Use it.
11316 (ruby-smie-rules): Revert the logic in the handling of `when'.
11317 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
11318 (ruby-deep-arglist, ruby-deep-indent-paren)
11319 (ruby-deep-indent-paren-style): Update docstrings to note that the
11320 vars don't have any effect with SMIE.
11321
11322 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
11323
11324 * calc/calc.el (calc-enter, calc-pop): Use the variable
11325 `calc-context-sensitive-enter'.
11326
11327 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11328
11329 * net/shr.el (shr-insert): Protect against infloops in degenerate
11330 tables.
11331
11332 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11333
11334 * progmodes/octave.el (octave): Add link to manual and octave
11335 homepage.
11336 (octave-mode-menu): Link to octave-mode manual.
11337
11338 2013-12-20 Leo Liu <sdl.web@gmail.com>
11339
11340 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
11341 insertion using skeleton-end-newline. (Bug#16138)
11342
11343 2013-12-20 Juri Linkov <juri@jurta.org>
11344
11345 * replace.el (occur-engine): Use `add-face-text-property'
11346 to add the face property to matches and titles. (Bug#14645)
11347
11348 * hi-lock.el (hi-green): Use lighter color "light green" closer to
11349 the palette of other hi-lock colors.
11350 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
11351
11352 2013-12-19 Juri Linkov <juri@jurta.org>
11353
11354 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
11355 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
11356 (minibuffer-history-symbol): Move variable declaration closer to
11357 its usage.
11358
11359 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
11360 (Bug#14785)
11361
11362 2013-12-19 Juri Linkov <juri@jurta.org>
11363
11364 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
11365 New function.
11366 (log-edit-hook): Add it to :options. (Bug#16170)
11367
11368 2013-12-19 Juri Linkov <juri@jurta.org>
11369
11370 * simple.el (eval-expression-print-format): Don't check for
11371 command names and the last command. Always display additional
11372 formats of the integer result in the echo area, and insert them
11373 to the current buffer only with a zero prefix arg.
11374 Display character when char-displayable-p is non-nil.
11375 (eval-expression): With a zero prefix arg, set `print-length' and
11376 `print-level' to nil, and insert the integer values from
11377 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
11378
11379 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
11380 `eval-last-sexp-arg-internal'. Doc fix.
11381 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
11382 `eval-last-sexp-print-value'. Doc fix.
11383 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
11384 Set `print-length' and `print-level' to nil when arg is zero.
11385 (eval-last-sexp): Doc fix.
11386 (eval-defun-2): Print the integer values from
11387 `eval-expression-print-format' at the end.
11388
11389 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
11390 values from `eval-expression-print-format' at the end.
11391
11392 * ielm.el (ielm-eval-input): Print the integer
11393 values from `eval-expression-print-format' at the end.
11394
11395 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
11396
11397 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
11398 2013-12-11T19:01:44Z!tzz@lifelogs.com.
11399
11400 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
11403 (hl-line-highlight, global-hl-line-highlight): Use it.
11404 (hl-line-overlay): Use defvar-local.
11405
11406 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
11407
11408 * term/ns-win.el: Require dnd.
11409 (global-map): Remove drag items.
11410 (ns-insert-text, ns-set-foreground-at-mouse)
11411 (ns-set-background-at-mouse):
11412 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
11413 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
11414 New functions.
11415
11416 2013-12-19 Glenn Morris <rgm@gnu.org>
11417
11418 * emacs-lisp/ert.el (ert-select-tests):
11419 Fix string/symbol mixup. (Bug#16121)
11420
11421 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
11422
11423 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
11424 keywords to their parent.
11425
11426 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
11427
11428 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
11429 first arg to be a string (fixed dead code), or an operator symbol.
11430 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
11431 operator symbols.
11432 (ruby-smie-rules): Remove parent token check in the `.' clause, it
11433 did nothing. Don't respond to `(:after ".")', it will be called
11434 with :before anyway. Remove the ` @ ' rule, it didn't seem to
11435 change anything. Only return indentation for binary operators
11436 when they are hanging. De-dent opening paren when its parent is
11437 `.', otherwise it looks bad when the dot is not at bol or eol
11438 (bug#16182).
11439
11440 2013-12-19 Juri Linkov <juri@jurta.org>
11441
11442 * replace.el (query-replace-read-args): Split a non-negative arg
11443 and a negative arg into separate elements.
11444 (query-replace, query-replace-regexp, replace-string)
11445 (replace-regexp): Add arg `backward'. Doc fix.
11446 (replace-match-maybe-edit): When new arg `backward' is non-nil,
11447 move point to the beginning of the match.
11448 (replace-search, replace-highlight): Use new arg `backward'
11449 to set the value of `isearch-forward'.
11450 (perform-replace): Add arg `backward' and use it to perform
11451 replacement backward. (Bug#14979)
11452
11453 * isearch.el (isearch-query-replace): Use a negative prefix arg
11454 to call `perform-replace' with a non-nil arg `backward'.
11455
11456 2013-12-18 Juri Linkov <juri@jurta.org>
11457
11458 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
11459 to the default list. Move `log-edit-show-files' to the end.
11460 Add more available functions to options.
11461 (log-edit): Move default specific settings to
11462 `log-edit-insert-message-template'. Don't move point.
11463 (log-edit-insert-message-template): New function.
11464 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
11465 (Bug#16170)
11466
11467 2013-12-18 Juri Linkov <juri@jurta.org>
11468
11469 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
11470 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
11471
11472 2013-12-18 Leo Liu <sdl.web@gmail.com>
11473
11474 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
11475 (Bug#16186)
11476
11477 2013-12-18 Eli Zaretskii <eliz@gnu.org>
11478
11479 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
11480 formats for displaying file sizes when the -s switch is given.
11481 Instead, compute a separate format for displaying the size in
11482 blocks, which is displayed in addition to the "regular" size.
11483 When -h is given in addition to -s, produce size in blocks in
11484 human-readable form as well. (Bug#16179)
11485
11486 2013-12-18 Tassilo Horn <tsdh@gnu.org>
11487
11488 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11489 Reference tables with ~\ref{...} instead of only \ref{...}.
11490
11491 2013-12-18 Chong Yidong <cyd@gnu.org>
11492
11493 * cus-edit.el (custom-magic-alist): Fix "themed" description
11494 (Bug#14348).
11495
11496 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
11497 is non-nil, do not create a new entry in the symbol's theme-value
11498 or theme-face property; update theme-settings only (Bug#14664).
11499 (custom-available-themes): Doc fix.
11500
11501 * cus-theme.el (custom-new-theme-mode-map): Add bindings
11502 (Bug#15674).
11503
11504 * replace.el (occur-engine): Avoid infloop (Bug#7593).
11505
11506 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
11507
11508 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
11509 (Bug#13914).
11510
11511 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11512
11513 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
11514
11515 2013-12-18 Glenn Morris <rgm@gnu.org>
11516
11517 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
11518 * cus-start.el (load-prefer-newer): New option.
11519
11520 2013-12-18 Le Wang <l26wang@gmail.com>
11521
11522 * comint.el (comint-previous-matching-input-from-input):
11523 Retain point (Bug#13404).
11524
11525 2013-12-18 Chong Yidong <cyd@gnu.org>
11526
11527 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
11528
11529 2013-12-18 Glenn Morris <rgm@gnu.org>
11530
11531 * mail/emacsbug.el (report-emacs-bug):
11532 Only mention enable-multibyte-characters if non-standard.
11533
11534 2013-12-17 Juri Linkov <juri@jurta.org>
11535
11536 * arc-mode.el (archive-extract-by-file): Check if directory exists
11537 before deletion to not show irrelevant errors if it doesn't exist.
11538
11539 2013-12-17 Juri Linkov <juri@jurta.org>
11540
11541 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
11542 (Bug#14751)
11543
11544 * net/eww.el (browse-web): Add alias to `eww'.
11545 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
11546 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
11547
11548 * net/browse-url.el (browse-url-browser-function): Move `eww'
11549 closer to similar functions.
11550
11551 * startup.el (fancy-startup-screen, fancy-about-screen):
11552 Set browse-url-browser-function to eww-browse-url locally.
11553 (Bug#14751)
11554
11555 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * window.el (window--pixel-to-total): Remove unused `mini' var.
11558 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
11559 (split-window): Remove unused `new' var.
11560 (window--display-buffer): Remove unused `frame' and `delta' vars.
11561 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
11562 and display-width'.
11563
11564 2013-12-17 Martin Rudalics <rudalics@gmx.at>
11565
11566 * dired.el (dired-mark-pop-up):
11567 * register.el (register-preview): Don't bind
11568 split-height-threshold here since it's now done in
11569 display-buffer-below-selected.
11570
11571 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
11572
11573 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
11574 xterm-rgb-convert-to-16bit.
11575 (rxvt-register-default-colors): Standardize with
11576 xterm-register-default-colors (Bug#14078).
11577
11578 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
11579
11580 * simple.el (kill-region): Pass mark first, then point, so that
11581 kill-append works right (Bug#12819).
11582 (copy-region-as-kill, kill-ring-save): Likewise.
11583
11584 2013-12-17 Leo Liu <sdl.web@gmail.com>
11585
11586 * net/rcirc.el (rcirc-add-face):
11587 * eshell/em-prompt.el (eshell-emit-prompt):
11588 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
11589 (Bug#16167)
11590
11591 2013-12-17 Chong Yidong <cyd@gnu.org>
11592
11593 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
11594 Suggested by Xue Fuqiao.
11595
11596 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
11597
11598 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
11599
11600 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
11601
11602 * net/shr.el (shr-insert-document): Remove unused var
11603 `shr-preliminary-table-render'.
11604 (shr-rescale-image): Remove unused arg `force'.
11605 (shr-put-image): Update calls accordingly.
11606 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
11607
11608 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
11609
11610 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
11611 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
11612 :close-all, to see which indentation method to use (Bug#16116).
11613 (smie-rules-function): Document the method :close-all.
11614
11615 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11616
11617 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
11618
11619 * net/eww.el (eww-display-html): If we can't find the anchor we're
11620 looking for, then go to point-min.
11621
11622 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
11623
11624 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
11625 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
11626 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
11627 Expand dir too, in case it's relative.
11628
11629 2013-12-16 Juri Linkov <juri@jurta.org>
11630
11631 * desktop.el (desktop-auto-save-timeout): Change default to
11632 `auto-save-timeout'. Doc fix.
11633 (desktop-save): Skip the timestamp in desktop-saved-frameset
11634 when checking for auto-save changes.
11635 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
11636 `desktop-auto-save' is called repeatedly by the idle timer.
11637 (desktop-auto-save-set-timer): Replace `run-with-timer' with
11638 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
11639 (Bug#15331)
11640
11641 2013-12-16 Juri Linkov <juri@jurta.org>
11642
11643 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
11644 (Bug#16035)
11645 (isearch-pre-command-hook): Check `this-command' for symbolp.
11646
11647 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
11648
11649 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
11650
11651 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
11652
11653 * progmodes/cfengine.el (cfengine3--current-word): Remove.
11654 (cfengine3--current-function): Bring in the current-function
11655 functionality from `cfengine3--current-word'.
11656 (cfengine3-completion-function): Bring in the
11657 bounds-of-current-word functionality from
11658 `cfengine3--current-word'.
11659
11660 2013-12-16 Martin Rudalics <rudalics@gmx.at>
11661
11662 * window.el (display-buffer-below-selected):
11663 Bind split-height-threshold to 0 as suggested by Juri Linkov.
11664
11665 2013-12-16 Leo Liu <sdl.web@gmail.com>
11666
11667 * progmodes/compile.el (compile-goto-error): Do not push-mark.
11668 Remove NOMSG arg and all uses changed.
11669
11670 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
11671
11672 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
11673 (cua--deactivate-rectangle): Don't deactivate the mark.
11674 (cua-set-rectangle-mark): Don't set mark-active since
11675 cua--activate-rectangle already does it for us.
11676 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
11677 non-rectangular region.
11678
11679 * emulation/cua-base.el (cua-repeat-replace-region):
11680 Use with-current-buffer.
11681
11682 * net/gnutls.el: Use cl-lib.
11683 (gnutls-negotiate): `mapcan' -> cl-mapcan.
11684
11685 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
11686
11687 * emacs-lisp/package.el (package-built-in-p): Support both
11688 built-in and the package.el converted package descriptions.
11689 (package-show-package-list): Allow keywords.
11690 (package-keyword-button-action): Use it instead of
11691 `finder-list-matches'.
11692 (package-menu-filter-interactive): Interactive filtering (by
11693 keyword) function.
11694 (package-menu--generate): Support keywords and change keymappings
11695 and headers when they are given.
11696 (package--has-keyword-p): Helper function.
11697 (package-menu--refresh): Use it.
11698 (package--mapc): Helper function.
11699 (package-all-keywords): Use it.
11700 (package-menu-mode-map): Set up menu items and keybindings to
11701 provide a filtering UI.
11702
11703 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
11704
11705 * net/gnutls.el (gnutls-verify-error): New defcustom to control
11706 the behavior when a certificate fails validation. Defaults to
11707 old behavior: never abort, just warn.
11708 (gnutls-negotiate): Use it.
11709
11710 2013-12-14 Martin Rudalics <rudalics@gmx.at>
11711
11712 * window.el (display-buffer-below-selected): Never split window
11713 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
11714
11715 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
11716
11717 * emacs-lisp/package.el (package--prepare-dependencies): New function.
11718 (package-buffer-info): Use it (bug#15108).
11719
11720 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
11721
11722 * icomplete.el (icomplete-completions): Make sure the prefix is already
11723 displayed elsewhere before hiding it (bug#16219).
11724
11725 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
11726
11727 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
11728 open-paren tokens when preceded by a open-paren, too.
11729 (ruby-smie-rules): Handle virtual indentation after open-paren
11730 tokens specially. If there is code between it and eol, return the
11731 column where is starts (Bug#16118).
11732
11733 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
11734
11735 * progmodes/cfengine.el: Fix `add-hook' doc.
11736 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
11737 (cfengine3--current-word): Fix parameters.
11738 (cfengine3-make-syntax-cache): Simplify further.
11739 (cfengine3-completion-function, cfengine3--current-function):
11740 Use `assq' for symbols.
11741 (cfengine3--current-function): Fix `cfengine3--current-word' call.
11742
11743 2013-12-13 Glenn Morris <rgm@gnu.org>
11744
11745 * loadup.el (load-path): Warn if site-load or site-init changes it.
11746 No more need to reset it when bootstrapping.
11747
11748 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
11749
11750 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
11751 locations for cf-promises.
11752 (cfengine-mode-syntax-functions-regex): New caching variable.
11753 (cfengine3-fallback-syntax): Fallback syntax for cases where
11754 cf-promises doesn't run.
11755 (cfengine3--current-word): Reimplement using
11756 `cfengine-mode-syntax-functions-regex'.
11757 (cfengine3-completion-function, cfengine3--current-function):
11758 Use `cfengine3-make-syntax-cache' directly.
11759 (cfengine3-clear-syntax-cache): New function.
11760 (cfengine3-make-syntax-cache): Simplify and create
11761 `cfengine-mode-syntax-functions-regex' on demand.
11762 (cfengine3-format-function-docstring): Don't call
11763 `cfengine3-make-syntax-cache' explicitly.
11764
11765 2013-12-13 Martin Rudalics <rudalics@gmx.at>
11766
11767 Fix windmove-find-other-window broken after pixelwise resizing
11768 (Bug#16017).
11769 * windmove.el (windmove-other-window-loc): Revert change from
11770 2013-12-04.
11771 (windmove-find-other-window): Call window-in-direction.
11772 * window.el (window-in-direction): New arguments SIGN, WRAP and
11773 MINI to emulate original windmove-find-other-window behavior.
11774
11775 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
11776
11777 * simple.el (blink-matching--overlay): New variable.
11778 (blink-matching-open): Instead of moving point, highlight the
11779 matching paren with an overlay
11780 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
11781
11782 * faces.el (paren-showing-faces, show-paren-match)
11783 (show-paren-mismatch): Move from paren.el.
11784
11785 2013-12-13 Leo Liu <sdl.web@gmail.com>
11786
11787 * indent.el (indent-region): Disable progress reporter in
11788 minibuffer. (Bug#16108)
11789
11790 * bindings.el (visual-order-cursor-movement): Fix version.
11791
11792 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11793
11794 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
11795 Also match after beginning of line.
11796 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
11797 files. Thanks to Russell Sim. (Bug#15378)
11798
11799 2013-12-13 Juri Linkov <juri@jurta.org>
11800
11801 * simple.el <Keypad support>: Remove key bindings duplicated
11802 with bindings.el. (Bug#14397)
11803
11804 2013-12-13 Juri Linkov <juri@jurta.org>
11805
11806 * comint.el (comint-mode-map): Replace `delete-char' with
11807 `delete-forward-char'. (Bug#16109)
11808
11809 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
11810
11811 * progmodes/python.el (python-indent-calculate-indentation):
11812 Fix de-denters cornercase. (Bug#15731)
11813
11814 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11815
11816 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
11817 (advice--make): Pay attention to `depth'.
11818 (advice--make-1): Don't autoload commands eagerly.
11819 * emacs-lisp/elp.el (elp-instrument-function):
11820 * emacs-lisp/trace.el (trace-function-internal):
11821 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
11822
11823 * iswitchb.el (iswitchb-mode): Don't belittle ido.
11824
11825 2013-12-12 Eli Zaretskii <eliz@gnu.org>
11826
11827 * term/w32-win.el (w32-handle-dropped-file):
11828 * startup.el (normal-top-level):
11829 * net/browse-url.el (browse-url-file-url):
11830 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
11831 decode file names using 'utf-8' rather than
11832 file-name-coding-system.
11833
11834 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
11835
11836 * progmodes/python.el (python-indent-context)
11837 (python-indent-calculate-indentation): Fix auto-identation
11838 behavior for comment blocks. (Bug#15916)
11839
11840 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11841
11842 * progmodes/python.el (python-indent-calculate-indentation):
11843 When determining indentation, don't treat "return", "pass", etc., as
11844 operators when they are just string constituents. (Bug#15812)
11845
11846 2013-12-12 Juri Linkov <juri@jurta.org>
11847
11848 * uniquify.el (uniquify-buffer-name-style): Change default to
11849 `post-forward-angle-brackets'.
11850
11851 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
11852 `uniquify'. Change default to `post-forward-angle-brackets'.
11853
11854 2013-12-11 Glenn Morris <rgm@gnu.org>
11855
11856 * emacs-lisp/package.el (finder-list-matches):
11857 Autoload rather than falsely declaring.
11858
11859 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
11860
11861 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
11862 (eww-mode-map): Use them.
11863
11864 2013-12-11 Martin Rudalics <rudalics@gmx.at>
11865
11866 * window.el (display-buffer-in-side-window): Fix doc-string
11867 (Bug#16115).
11868
11869 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
11870
11871 * vc/vc-git.el: Silence byte-compiler warnings.
11872 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
11873 (log-edit-set-header): Declare.
11874
11875 2013-12-11 Eli Zaretskii <eliz@gnu.org>
11876
11877 * Makefile.in (custom-deps, finder-data): Run output file names
11878 through unmsys--file-name. (Bug#16099)
11879
11880 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
11881
11882 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
11883 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
11884
11885 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
11886 instead of deleting the selection "by hand" (bug#16098).
11887 Rely on insert-for-yank to yank rectangles.
11888 (cua-highlight-region-shift-only): Mark obsolete.
11889 (cua-mode): Don't enable/disable transient-mark-mode,
11890 shift-select-mode (cua-mode works both with and without them), and
11891 pc-selection-mode (obsolete).
11892 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
11893 (cua--deactivate-rectangle): Deactivate it.
11894
11895 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
11896 (delete-selection-helper): Make sure yank starts at the top of the
11897 deleted region.
11898 (minibuffer-keyboard-quit): Use region-active-p.
11899
11900 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
11901
11902 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
11903 to `delete' (bug#16109).
11904
11905 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11906
11907 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
11908 info manual and show keybindings and set `:group' keyword.
11909
11910 2013-12-11 Juri Linkov <juri@jurta.org>
11911
11912 * delsel.el (delete-active-region): Let-bind `this-command'
11913 to prevent `kill-region' from changing its original value.
11914 (delete-selection-helper): Handle `overwrite-mode' for the type
11915 `kill' exactly the same way as for the type `t'.
11916 (insert-char, quoted-insert, reindent-then-newline-and-indent):
11917 Support more commands. (Bug#13312)
11918
11919 2013-12-11 Juri Linkov <juri@jurta.org>
11920
11921 * bindings.el: Map kp keys to non-kp keys systematically
11922 with basic modifiers control, meta and shift. (Bug#14397)
11923
11924 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11925
11926 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
11927 "Close browser" menu items. Fix wrong function of "List
11928 bookmarks".
11929
11930 2013-12-11 Juri Linkov <juri@jurta.org>
11931
11932 * misearch.el (multi-isearch-buffers): Set the value of
11933 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
11934 arg of isearch-forward to t.
11935 (multi-isearch-buffers-regexp): Set the value of
11936 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
11937 arg of isearch-forward-regexp to t.
11938 (multi-isearch-files): Set the value of
11939 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
11940 arg of isearch-forward to t.
11941 (multi-isearch-files-regexp): Set the value of
11942 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
11943 arg of isearch-forward-regexp to t. (Bug#16035)
11944
11945 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
11946 arg of isearch-forward to t.
11947 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
11948 arg of isearch-forward-regexp to t.
11949 (dired-isearch-filter-filenames): Remove unnecessary check for
11950 `dired-isearch-filenames'.
11951
11952 * comint.el (comint-history-isearch-backward):
11953 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
11954 (comint-history-isearch-backward-regexp):
11955 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
11956
11957 2013-12-10 Eli Zaretskii <eliz@gnu.org>
11958
11959 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
11960 unmsys--file-name. (Bug#16099)
11961
11962 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
11963
11964 * emacs-lisp/package.el (package-keyword-button-action):
11965 Remove finder.el require dependency.
11966
11967 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
11968
11969 * emacs-lisp/package.el: Require finder.el.
11970 (describe-package-1): Add keyword buttons.
11971 (package-make-button): New convenience function.
11972 (package-keyword-button-action): Keyword button action using
11973 `finder-list-matches'.
11974
11975 2013-12-09 Eli Zaretskii <eliz@gnu.org>
11976
11977 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
11978 last commit.
11979
11980 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
11981
11982 * autorevert.el (auto-revert-notify-add-watch): Do not handle
11983 symlinked files.
11984
11985 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
11986
11987 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
11988 after the end of a percent literal.
11989
11990 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
11991
11992 * progmodes/ruby-mode.el (ruby-forward-string): Document.
11993 Handle caret-delimited strings (Bug#16079).
11994
11995 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
11996
11997 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
11998 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
11999 `ruby-parse-partial' (Bug#16078).
12000
12001 2013-12-09 Leo Liu <sdl.web@gmail.com>
12002
12003 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
12004
12005 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
12006
12007 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
12008 (js-switch-indent-offset): New option.
12009 (js--proper-indentation): Use it. And handle the case when
12010 "default" is actually a key in an object literal.
12011 (js--same-line): New function.
12012 (js--multi-line-declaration-indentation): Use it.
12013 (js--indent-in-array-comp, js--array-comp-indentation):
12014 New functions.
12015 (js--proper-indentation): Use them, to handle array comprehension
12016 continuations.
12017
12018 2013-12-08 Leo Liu <sdl.web@gmail.com>
12019
12020 * progmodes/flymake.el (flymake-highlight-line): Re-write.
12021 (flymake-make-overlay): Remove arg MOUSE-FACE.
12022 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
12023
12024 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12025
12026 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
12027 New function.
12028 (redisplay-highlight-region-function): Use it.
12029
12030 * emulation/cua-base.el (cua--explicit-region-start)
12031 (cua--last-region-shifted): Remove.
12032 (cua--deactivate): Use deactivate-mark.
12033 (cua--pre-command-handler-1): Don't handle shift-selection.
12034 (cua--post-command-handler-1): Don't change transient-mark-mode.
12035 (cua--select-keymaps): Use region-active-p rather than
12036 cua--explicit-region-start or cua--last-region-shifted.
12037 (cua-mode): Enable shift-select-mode.
12038
12039 2013-12-08 Leo Liu <sdl.web@gmail.com>
12040
12041 * progmodes/flymake.el (flymake-popup-current-error-menu):
12042 Rename from flymake-display-err-menu-for-current-line. Reimplement.
12043 (flymake-posn-at-point-as-event, flymake-popup-menu)
12044 (flymake-make-emacs-menu): Remove. (Bug#16077)
12045
12046 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * rect.el (rectangle-mark-mode): Activate mark even if
12049 transient-mark-mode is off (bug#16066).
12050 (rectangle--highlight-for-redisplay): Fix boundary condition when point
12051 is > mark and at bolp.
12052
12053 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
12054 (region-extract-function): Use it.
12055 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
12056 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
12057 Delete functions.
12058 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
12059 kill-ring-save, kill-region, delete-char, delete-forward-char.
12060 Ignore self-insert-iso.
12061
12062 * emulation/cua-gmrk.el (cua--init-global-mark):
12063 Ignore `self-insert-iso'.
12064
12065 * emulation/cua-base.el (cua--prefix-copy-handler)
12066 (cua--prefix-cut-handler): Rely on region-extract-function rather than
12067 checking cua--rectangle.
12068 (cua-delete-region): Use region-extract-function.
12069 (cua-replace-region): Delete function.
12070 (cua-copy-region, cua-cut-region): Obey region-extract-function.
12071 (cua--pre-command-handler-1): Don't do the delete-selection thing.
12072 (cua--self-insert-char-p): Ignore `self-insert-iso'.
12073 (cua--init-keymaps): Don't remap delete-selection commands.
12074 (cua-mode): Use delete-selection-mode instead of rolling our own
12075 (bug#16085).
12076
12077 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
12078 Obey region-extract-function.
12079
12080 Make registers and delete-selection-mode work on rectangles.
12081 * register.el (describe-register-1): Don't modify the register's value.
12082 (copy-to-register): Obey region-extract-function.
12083 * delsel.el (delete-active-region): Obey region-extract-function.
12084
12085 2013-12-08 Leo Liu <sdl.web@gmail.com>
12086
12087 * progmodes/flymake.el (flymake, flymake-error-bitmap)
12088 (flymake-warning-bitmap, flymake-fringe-indicator-position)
12089 (flymake-compilation-prevents-syntax-check)
12090 (flymake-start-syntax-check-on-newline)
12091 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
12092 (flymake-start-syntax-check-on-find-file, flymake-log-level)
12093 (flymake-xml-program, flymake-master-file-dirs)
12094 (flymake-master-file-count-limit)
12095 (flymake-allowed-file-name-masks): Relocate.
12096 (flymake-makehash, flymake-float-time)
12097 (flymake-replace-regexp-in-string, flymake-split-string)
12098 (flymake-get-temp-dir): Remove.
12099 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
12100 (flymake-current-row, flymake-selected-frame)
12101 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
12102 related functions. (Bug#16077)
12103
12104 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
12105
12106 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
12107
12108 2013-12-07 Tassilo Horn <tsdh@gnu.org>
12109
12110 * help-fns.el (describe-function-1): Use new advice-* functions
12111 rather than old ad-* functions. Fix function type description and
12112 source links for advised functions and subrs.
12113
12114 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12115
12116 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
12117
12118 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
12119
12120 * progmodes/compile.el (compilation-start):
12121 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
12122
12123 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12124 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
12125
12126 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12127
12128 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12129 Touch up the last change.
12130
12131 2013-12-06 Leo Liu <sdl.web@gmail.com>
12132
12133 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
12134 (inferior-octave-startup): Always use "octave> " for prompt.
12135 (octave-goto-function-definition)
12136 (octave-sync-function-file-names)
12137 (octave-find-definition-default-filename): Remove redundant backquotes.
12138
12139 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12140
12141 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
12142 syntax for `?'.
12143 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
12144 where appropriate already.
12145 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
12146 end of method names (Bug#15874).
12147
12148 2013-12-06 Juri Linkov <juri@jurta.org>
12149
12150 * isearch.el (isearch--saved-overriding-local-map):
12151 New internal variable.
12152 (isearch-mode): Set it to the initial value of
12153 `overriding-terminal-local-map'.
12154 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
12155 with `isearch--saved-overriding-local-map'. (Bug#16035)
12156
12157 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12158
12159 * progmodes/octave.el (inferior-octave-completion-table):
12160 Turn back into function, use `completion-table-with-cache'
12161 (Bug#11906). Update all references.
12162
12163 * minibuffer.el (completion-table-with-cache): New function.
12164
12165 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
12166
12167 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
12168
12169 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
12170
12171 * net/eww.el (eww-current-source): New variable to store page
12172 source.
12173 (eww-display-html, eww-mode, eww-save-history)
12174 (eww-restore-history): Use it.
12175 (eww-view-source): New command to view page source.
12176 Opportunistically uses `html-mode' to highlight the buffer.
12177 (eww-mode-map): Install it.
12178
12179 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
12180
12181 * net/dbus.el (dbus-unregister-service)
12182 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
12183 Fix docstring.
12184 (dbus-unregister-service): Skip :serial entries in
12185 `dbus-registered-objects-table'.
12186 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
12187
12188 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
12189
12190 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
12191 around keywords with extra `split-string' argument.
12192
12193 2013-12-04 Martin Rudalics <rudalics@gmx.at>
12194
12195 * windmove.el (windmove-other-window-loc): Handle navigation
12196 between windows (excluding the minibuffer window - Bug#16017).
12197
12198 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
12199
12200 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
12201 in D-Bus type syntax.
12202 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
12203 preserve unibyte strings. (Bug#16048)
12204
12205 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12206
12207 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12208 Call force-mode-line-update is the proper buffer (bug#16042).
12209
12210 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
12211
12212 * vc/log-edit.el (log-edit-add-new-comment): Rename to
12213 `log-edit-remember-comment', make argument optional. Adjust all
12214 callers.
12215 (log-edit-mode): Add `log-edit-remember-comment' to
12216 `kill-buffer-hook' locally.
12217 (log-edit-kill-buffer): Don't remember comment explicitly since
12218 the buffer is killed anyway.
12219
12220 2013-12-04 Juri Linkov <juri@jurta.org>
12221
12222 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
12223 add-hook and remove-hook for multi-buffer search. (Bug#16035)
12224
12225 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
12226
12227 * notifications.el (notifications-close-notification): Call the
12228 D-Bus method with ID being a `:uint32'. (Bug#16030)
12229
12230 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
12231
12232 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
12233
12234 2013-12-03 Juri Linkov <juri@jurta.org>
12235
12236 * progmodes/compile.el (compilation-start): Rename window alist
12237 entry `no-display-ok' to `allow-no-window'.
12238
12239 * simple.el (shell-command): Add window alist entry
12240 `allow-no-window' to `display-buffer'.
12241 (async-shell-command): Doc fix.
12242
12243 * window.el (display-buffer-no-window): New action function.
12244 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
12245
12246 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
12247
12248 * vc/log-edit.el (log-edit-set-header): Extract from
12249 `log-edit-toggle-header'.
12250 (log-edit-extract-headers): Separate the summary, when extracted
12251 from header, from the rest of the message with an empty line.
12252
12253 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
12254 line, if present, to the Summary header.
12255
12256 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
12259 in current-buffer (bug#16029).
12260
12261 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
12262
12263 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
12264 (debugger-mode-map): Bind it.
12265 (debugger--backtrace-base): New function.
12266 (debugger-eval-expression): Use it.
12267 (debugger-frame-number): Skip local vars when present.
12268 (debugger--locals-visible-p, debugger--insert-locals)
12269 (debugger--show-locals, debugger--hide-locals): New functions.
12270
12271 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
12272
12273 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
12274 "LC_ALL".
12275 (tramp-get-remote-locale): New defun.
12276 (tramp-open-connection-setup-interactive-shell): Use it.
12277
12278 2013-12-02 Leo Liu <sdl.web@gmail.com>
12279
12280 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
12281
12282 * progmodes/sh-script.el (sh-shell-process):
12283 * progmodes/octave.el (inferior-octave-process-live-p):
12284 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
12285 (gdb-inferior-io-sentinel):
12286 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
12287
12288 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
12289
12290 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
12291 `save-selected-window' to `log-edit-hide-buf'. This makes
12292 `log-edit-show-files' idempotent.
12293 (log-edit-show-files): Mark the new window as dedicated.
12294
12295 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
12296
12297 * vc/log-edit.el (log-edit-mode-map): Add binding for
12298 `log-edit-kill-biffer'.
12299 (log-edit-hide-buf): Add a FIXME comment.
12300 (log-edit-add-new-comment): New function, extracted from
12301 `log-edit-done'.
12302 (log-edit-done, log-edit-add-to-changelog): Use it.
12303 (log-edit-kill-buffer): New command.
12304
12305 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12306
12307 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
12308 instead of killing the buffer.
12309
12310 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12311
12312 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
12313
12314 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12315
12316 * net/eww.el (eww-form-checkbox-selected-symbol)
12317 (eww-form-checkbox-symbol): New customizable variable.
12318 (eww-form-checkbox, eww-toggle-checkbox):
12319 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
12320
12321 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
12322 (shr--get-media-pref, shr--extract-best-source): New function.
12323 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
12324 no :src tag was specified.
12325
12326 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
12327 (eww-render): Handle `eww-use-external-browser-for-content-type'.
12328 Use \\` to match beginning of string instead of ^.
12329 (eww-browse-with-external-browser): Provide optional URL parameter.
12330 (eww-render): Set `eww-current-title' back to "".
12331
12332 * net/shr.el (shr-tag-video): Display content for video if no
12333 poster is available.
12334 (shr-tag-audio): Add support for <audio> tag.
12335
12336 * net/eww.el (eww-text-input-types): New const.
12337 (eww-process-text-input): Treat input types in
12338 `eww-text-input-types' as text.
12339
12340 * net/shr.el (shr-tag-table): Fix comment typo.
12341
12342 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12343
12344 * net/eww.el (eww-follow-link): New command to avoid reloading
12345 pages when we follow #target links (bug#15243).
12346 (eww-quit): Special mode buffers shouldn't query before exiting.
12347
12348 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12349
12350 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
12351 forms.
12352
12353 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12354
12355 * net/eww.el (eww-restore-history): Update the window title after
12356 moving in the history.
12357 (eww-current-dom): New variable used to save the current DOM.
12358
12359 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
12360
12361 * vc/log-edit.el (log-edit-mode-map): Add binding for
12362 `log-edit-beginning-of-line'.
12363 (log-edit-setup-add-author): New user option.
12364 (log-edit-beginning-of-line): New command.
12365 (log-edit): Move major mode call above the contents setup so that
12366 the local variable values are already applied.
12367 (log-edit): Only insert "Author: " when
12368 `log-edit-setup-add-author' is non-nil.
12369 (log-edit): When SETUP is non-nil, position point after ": "
12370 instead of point-min.
12371
12372 2013-12-01 Glenn Morris <rgm@gnu.org>
12373
12374 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
12375
12376 2013-11-30 Eli Zaretskii <eliz@gnu.org>
12377
12378 * startup.el (fancy-splash-frame): On MS-Windows, trigger
12379 redisplay to make sure the initial frame gets a chance to become
12380 visible. (Bug#16014)
12381
12382 2013-11-30 Martin Rudalics <rudalics@gmx.at>
12383
12384 Support resizing frames and windows pixelwise.
12385 * cus-start.el (frame-resize-pixelwise)
12386 (window-resize-pixelwise): New entries.
12387 * emacs-lisp/debug.el (debug): Use window-total-height instead
12388 of window-total-size.
12389 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
12390 * help.el (describe-bindings-internal): Use help-buffer as
12391 argument for with-help-window.
12392 (temp-buffer-max-width): New option.
12393 (resize-temp-buffer-window, help-window-setup)
12394 (with-help-window): Rewrite.
12395 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
12396 dragging dividers.
12397 * window.el (frame-char-size, window-min-pixel-height)
12398 (window-safe-min-pixel-height, window-safe-min-pixel-width)
12399 (window-min-pixel-width, window-safe-min-pixel-size)
12400 (window-combination-p, window-safe-min-size)
12401 (window-resizable-p, window--size-to-pixel)
12402 (window--pixel-to-size, window--resize-apply-p): New functions.
12403 (window-safe-min-height): Fix doc-string.
12404 (window-size, window-min-size, window--min-size-1)
12405 (window-sizable, window-sizable-p, window--min-delta-1)
12406 (window-min-delta, window--max-delta-1, window-max-delta)
12407 (window--resizable, window--resizable-p, window-resizable)
12408 (window-full-height-p, window-full-width-p, window-at-side-p)
12409 (window--in-direction-2, window-in-direction)
12410 (window--resize-reset-1, window--resize-mini-window)
12411 (window-resize, window-resize-no-error)
12412 (window--resize-child-windows-normal)
12413 (window--resize-child-windows, window--resize-siblings)
12414 (window--resize-this-window, window--resize-root-window)
12415 (window--resize-root-window-vertically)
12416 (adjust-window-trailing-edge, enlarge-window, shrink-window)
12417 (maximize-window, minimize-window, delete-window)
12418 (quit-restore-window, window-split-min-size, split-window)
12419 (balance-windows-2, balance-windows)
12420 (balance-windows-area-adjust, balance-windows-area)
12421 (window--state-get-1, window-state-get, window--state-put-1)
12422 (window--state-put-2, window-state-put)
12423 (display-buffer-record-window, window--display-buffer):
12424 Make functions handle pixelwise sizing of windows.
12425 (display-buffer--action-function-custom-type)
12426 (display-buffer-fallback-action):
12427 Add display-buffer-in-previous-window.
12428 (display-buffer-use-some-window): Resize window to height it had
12429 before.
12430 (fit-window-to-buffer-horizontally): New option.
12431 (fit-frame-to-buffer): Describe new values.
12432 (fit-frame-to-buffer-bottom-margin): Replace with
12433 fit-frame-to-buffer-margins.
12434 (window--sanitize-margin): New function.
12435 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
12436 using window-text-pixel-size.
12437
12438 2013-11-30 Glenn Morris <rgm@gnu.org>
12439
12440 * emacs-lisp/bytecomp.el (byte-compile-form):
12441 Make the `interactive-only' warning like the `obsolete' one.
12442 * comint.el (comint-run):
12443 * files.el (insert-file-literally, insert-file):
12444 * replace.el (replace-string, replace-regexp):
12445 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
12446 (goto-line, insert-buffer, next-line, previous-line):
12447 Tweak `interactive-only' spec.
12448
12449 Stop keeping (most) generated cedet grammar files in the repository.
12450 * Makefile.in (semantic): New.
12451 (compile-main): Depend on semantic.
12452
12453 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12454
12455 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
12456 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
12457
12458 * uniquify.el (uniquify-buffer-name-style): Change default.
12459
12460 * loadup.el: Preload "uniquify".
12461
12462 * time.el (display-time-update): Update all mode lines (bug#15999).
12463
12464 * electric.el (electric-indent-mode): Enable by default.
12465 * loadup.el: Preload "electric".
12466
12467 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
12468
12469 * emacs-lisp/helpers.el (string-empty-p): New function.
12470 (string-blank-p): New function.
12471
12472 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
12473
12474 * imenu.el (imenu--index-alist): Add missing dot to the docstring
12475 (Bug#14029).
12476
12477 2013-11-29 Andreas Politz <politza@fh-trier.de>
12478 * imenu.el (imenu--subalist-p): Don't error on non-conses and
12479 allow non-lambda lists as functions.
12480 (imenu--in-alist): Don't recurse into non-subalists.
12481 (imenu): Don't pass function itself as an argument (Bug#14029).
12482
12483 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12484
12485 * progmodes/python.el (python-mode-map): Remove binding for ":".
12486 (python-indent-electric-colon): Remove command.
12487 (python-indent-post-self-insert-function): Integrate the previous code
12488 of python-indent-electric-colon. Make it conditional on
12489 electric-indent-mode.
12490 (python-mode): Add ?: to electric-indent-chars.
12491 Move python-indent-post-self-insert-function to the end of
12492 post-self-insert-hook.
12493
12494 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * doc-view.el (doc-view-goto-page): Update mode-line.
12497
12498 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
12499
12500 2013-11-27 Glenn Morris <rgm@gnu.org>
12501
12502 * international/charprop.el, international/uni-bidi.el:
12503 * international/uni-category.el, international/uni-combining.el:
12504 * international/uni-comment.el, international/uni-decimal.el:
12505 * international/uni-decomposition.el, international/uni-digit.el:
12506 * international/uni-lowercase.el, international/uni-mirrored.el:
12507 * international/uni-name.el, international/uni-numeric.el:
12508 * international/uni-old-name.el, international/uni-titlecase.el:
12509 * international/uni-uppercase.el:
12510 Remove generated files from VCS repository.
12511
12512 2013-11-27 Eli Zaretskii <eliz@gnu.org>
12513
12514 * filenotify.el (file-notify-add-watch): Don't special-case
12515 w32notify when computing the directory to watch.
12516
12517 2013-11-27 Glenn Morris <rgm@gnu.org>
12518
12519 Make bootstrap without generated uni-*.el files possible again.
12520 * loadup.el: Update command-line-args checking for unidata-gen.
12521 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
12522 * composite.el, international/characters.el:
12523 Handle unicode tables being undefined.
12524
12525 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
12526 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
12527 (compile-main): Depend on leim rule.
12528 (leim): New rule.
12529 * loadup.el: Move leim-list.el to leim/ subdirectory.
12530 * startup.el (normal-top-level): No more leim directory.
12531 * international/ja-dic-cnv.el (skkdic-convert):
12532 Disable version-control and autoloads in output files.
12533 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
12534 Disable version-control and autoloads in output files.
12535 * leim/quail: Move here from ../leim.
12536 * leim/quail/hangul.el (hangul-input-method-activate):
12537 Add autoload cookie.
12538 (generated-autoload-load-name): Set file-local value.
12539 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
12540 (generated-autoload-load-name): Set file-local value.
12541
12542 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
12543
12544 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
12545 (eww-add-bookmark): Ask confirmation when add to bookmarks.
12546 (eww-quit): Ask confirmation before quitting eww.
12547
12548 2013-11-26 Eli Zaretskii <eliz@gnu.org>
12549
12550 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
12551 reading output from Diff on MS-Windows and MS-DOS.
12552
12553 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
12554
12555 * emacs-lisp/helpers.el (string-reverse): New function.
12556
12557 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
12558
12559 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
12560 names on MS Windows, like "/[::1]:".
12561
12562 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
12563 SWITCHES.
12564
12565 2013-11-26 Glenn Morris <rgm@gnu.org>
12566
12567 * progmodes/python.el (python-indent-guess-indent-offset):
12568 Avoid corner-case error. (Bug#15975)
12569
12570 Preload leim-list.el. (Bug#4789)
12571 * loadup.el: Load leim-list.el when found.
12572 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
12573
12574 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
12575
12576 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
12577
12578 * emacs-lisp/helpers.el (string-join): New function.
12579
12580 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
12581
12582 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12583 Mark as obsolete and replace it with a symbol property.
12584 (byte-compile-form): Use new 'interactive-only property.
12585 * comint.el, files.el, replace.el, simple.el:
12586 Apply new 'interactive-only properly.
12587
12588 2013-11-25 Martin Rudalics <rudalics@gmx.at>
12589
12590 * window.el (display-buffer-at-bottom): Make sure that
12591 split-window-sensibly creates the new window on bottom
12592 (Bug#15961).
12593
12594 2013-11-23 David Kastrup <dak@gnu.org>
12595
12596 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
12597 on the conflict markers when available.
12598 (smerge--get-marker): New function.
12599 (smerge-end-re, smerge-base-re): Add subgroup.
12600
12601 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * frame.el (handle-focus-in, handle-focus-out): Add missing
12604 interactive spec.
12605
12606 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
12607
12608 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
12609 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
12610
12611 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12612
12613 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
12614 (gomoku--last-pos): New var.
12615 (gomoku--intangible-chars): New const.
12616 (gomoku--intangible): New function.
12617 (gomoku-mode): Use it. Derive from special-mode.
12618 (gomoku-move-up): Adjust line count.
12619 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
12620 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
12621 Simplify accordingly.
12622
12623 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
12624 Remove blink-cursor code.
12625 (blink-cursor-timer-function, blink-cursor-suspend):
12626 Don't special-case GUIs.
12627 (blink-cursor-mode): Use focus-in/out-hook.
12628
12629 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
12630
12631 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
12632 work when annotation is invisible (Bug#13886).
12633
12634 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
12635
12636 * json.el (json-alist-p): Only return non-nil if the alist has
12637 simple keys (Bug#13518).
12638
12639 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
12640
12641 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
12642 when control-statement is the first statement in a buffer (Bug#15956).
12643
12644 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
12645
12646 * imenu.el (imenu-generic-skip-comments-and-strings):
12647 New option (Bug#15560).
12648 (imenu--generic-function): Use it.
12649
12650 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
12651
12652 * minibuffer.el (completion--in-region-1): Scroll the correct window.
12653 (Bug#13898)
12654
12655 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
12656
12657 * emacs-lisp/helpers.el: Add some string helpers.
12658 (string-trim-left): Removes leading whitespace.
12659 (string-trim-right): Removes trailing whitespace.
12660 (string-trim): Removes leading and trailing whitespace.
12661
12662 * subr.el (string-suffix-p): New function.
12663
12664 2013-11-23 Glenn Morris <rgm@gnu.org>
12665
12666 * progmodes/python.el (python-shell-send-file):
12667 Add option to delete file when done. (Bug#15647)
12668 (python-shell-send-string, python-shell-send-region): Use it.
12669
12670 2013-11-23 Ivan Shmakov <ivan@siamics.net>
12671
12672 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
12673 to set buffer-read-only to t, never to nil. (Bug#15938)
12674
12675 * textmodes/tex-mode.el (latex-noindent-environments):
12676 Add safe-local-variable property. (Bug#15936)
12677
12678 2013-11-23 Glenn Morris <rgm@gnu.org>
12679
12680 * textmodes/enriched.el (enriched-mode): Doc fix.
12681 * emacs-lisp/authors.el (authors-renamed-files-alist):
12682 Add enriched.doc -> enriched.txt.
12683
12684 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
12685
12686 2013-11-22 Leo Liu <sdl.web@gmail.com>
12687
12688 * progmodes/octave.el (inferior-octave-startup): Spit out error
12689 message.
12690
12691 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
12692
12693 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
12694 Improve docstring.
12695 Add :version.
12696 (ruby-encoding-magic-comment-style): Add :version.
12697
12698 2013-11-22 Leo Liu <sdl.web@gmail.com>
12699
12700 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
12701 (Bug#15076)
12702 (octave-help-mode): Adapt to change to help-mode-finish to use
12703 derived-mode-p on 2013-09-17.
12704 (inferior-octave-prompt): Also match octave-gui.
12705 (octave-kill-process): Don't ask twice. (Bug#10564)
12706
12707 2013-11-22 Leo Liu <sdl.web@gmail.com>
12708
12709 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
12710 (inferior-octave-startup, inferior-octave-check-process)
12711 (inferior-octave-track-window-width-change)
12712 (octave-completion-at-point, octave-eldoc-function): Use it.
12713 (octave-kill-process): Provide confirmation. (Bug#10564)
12714
12715 2013-11-21 Leo Liu <sdl.web@gmail.com>
12716
12717 * progmodes/octave.el (octave-mode, inferior-octave-mode):
12718 Fix obsolete variable comment-use-global-state.
12719
12720 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12721
12722 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
12723 Add `octave-source-file'.
12724 (octave-source-file): New function. (Bug#15935)
12725
12726 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
12727
12728 * net/eww.el (eww-local-regex): New variable.
12729 (eww): Use it to detect localhost and similar.
12730
12731 2013-11-21 Leo Liu <sdl.web@gmail.com>
12732
12733 Add completion for command `ag'.
12734 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
12735 (pcomplete/ag): New function.
12736 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
12737
12738 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12739
12740 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
12741 (bug#14646).
12742 (make-obsolete): Remove interactive spec.
12743
12744 2013-11-21 Glenn Morris <rgm@gnu.org>
12745
12746 * startup.el (command-line-1): Use path-separator with -L.
12747
12748 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
12749
12750 * emacs-lisp/package.el (describe-package-1): Add package archive
12751 to shown fields.
12752
12753 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
12754
12755 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
12756 Change default to "# encoding: %s" to differentiate it from the
12757 default Ruby encoding comment template.
12758
12759 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
12760
12761 * ses.el (ses-mode): Doc fix. (Bug#14748)
12762
12763 2013-11-20 Leo Liu <sdl.web@gmail.com>
12764
12765 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
12766
12767 2013-11-19 Dan Nicolaescu <dann@gnu.org>
12768
12769 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
12770 when rebase or bisect are in progress.
12771
12772 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
12773
12774 * filenotify.el (file-notify-add-watch): Doc fix.
12775
12776 2013-11-19 Leo Liu <sdl.web@gmail.com>
12777
12778 * obsolete/rcompile.el: Mark obsolete.
12779
12780 * progmodes/compile.el (compilation-start)
12781 (compilation-goto-locus, compilation-find-file):
12782 Pass no-display-ok and handle nil value from display-buffer.
12783 (Bug#13594)
12784
12785 * window.el (display-buffer-alist, display-buffer): Document the
12786 new parameter no-display-ok. Return either a window or nil
12787 but never a non-window value.
12788
12789 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12790
12791 * electric.el (electric-indent-mode-map): Remove.
12792 (electric-indent-mode): Change the global-map instead (bug#15915).
12793
12794 * textmodes/text-mode.el (paragraph-indent-minor-mode):
12795 Use add-function.
12796
12797 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * emacs-lisp/nadvice.el (remove-function): Align with
12800 add-function's behavior.
12801
12802 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
12803 (gdb--string-regexp): New constant.
12804 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
12805 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
12806 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
12807 submatch 1.
12808 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
12809 Adjust use accordingly.
12810 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
12811
12812 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
12813
12814 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
12815 interpolation curlies (Bug#15914).
12816
12817 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
12818
12819 * calc/calc.el (calc-context-sensitive-enter): New variable.
12820 (calc-enter): Use `calc-context-sensitive-enter'.
12821
12822 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
12823
12824 * progmodes/cfengine.el: Version bump.
12825 (cfengine-cf-promises): New defcustom to locate cf-promises.
12826 (cfengine3-vartypes): Add new "data" type.
12827 (cfengine3--current-word): New function to get current name-like
12828 word or its bounds.
12829 (cfengine3--current-function): New function to look up a CFEngine
12830 function's definition.
12831 (cfengine3-format-function-docstring): New function.
12832 (cfengine3-make-syntax-cache): New function.
12833 (cfengine3-documentation-function): New function: ElDoc glue.
12834 (cfengine3-completion-function): New function: completion glue.
12835 (cfengine3-mode): Set `compile-command',
12836 `eldoc-documentation-function', and add to
12837 `completion-at-point-functions'.
12838
12839 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
12840
12841 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
12842 `tramp-current-connection'.
12843
12844 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
12845
12846 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
12847 nil/self/true/false with "end of symbol".
12848
12849 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
12850
12851 * subr.el (version-regexp-alist): Fix a typo.
12852
12853 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
12854
12855 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
12856 "en_US.utf8" and "LC_CTYPE" to "".
12857 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
12858 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
12859
12860 2013-11-15 Leo Liu <sdl.web@gmail.com>
12861
12862 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
12863
12864 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
12865
12866 * progmodes/gud.el (ctl-x-map):
12867 Remove C-x SPC binding. (Bug#12342)
12868 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
12869
12870 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
12871
12872 * subr.el (version-regexp-alist):
12873 Recognize hg, svn and darcs versions as snapshot versions.
12874
12875 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
12876 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
12877 (ruby--encoding-comment-required-p): Extract from
12878 `ruby-mode-set-encoding'.
12879 (ruby-mode-set-encoding): Add the ability to always insert an
12880 utf-8 encoding comment. Fix and simplify coding comment update
12881 logic.
12882
12883 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
12884
12885 * net/tramp-gvfs.el (top): Run init code only when
12886 `tramp-gvfs-enabled' is not nil.
12887 (tramp-gvfs-enabled): Check also :system bus.
12888
12889 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
12890
12891 Sync with upstream verilog-mode revision 78e66ba.
12892 * progmodes/verilog-mode.el (verilog-end-of-defun)
12893 (verilog-type-completion, verilog-get-list): Remove unused funcs.
12894 (verilog-get-end-of-defun): Remove unused argument.
12895 (verilog-comment-depth): Remove unused local `e'.
12896 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
12897 Don't pass arg to verilog-get-end-of-defun.
12898
12899 2013-11-14 Glenn Morris <rgm@gnu.org>
12900
12901 * obsolete/assoc.el (aget): Prefix dynamic variable.
12902
12903 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
12904
12905 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
12906
12907 * widget.el, hfy-cmap.el: Remove bogus package version number.
12908
12909 2013-11-13 Glenn Morris <rgm@gnu.org>
12910
12911 * replace.el (replace-eval-replacement):
12912 Try to give more helpful error message. (Bug#15836)
12913
12914 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12915 (archive-7z-update): Avoid custom type mismatches.
12916
12917 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
12918
12919 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
12920
12921 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
12922 address can be empty.
12923
12924 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
12925 Accept nil SWITCHES.
12926 (tramp-gvfs-handle-write-region): Implement APPEND.
12927
12928 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
12929
12930 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
12931 binary "|" operator and closing block args delimiter.
12932 Remove FIXME comment referring to Ruby 1.8-only syntax.
12933 (ruby-smie--implicit-semi-p): Not after "|" operator.
12934 (ruby-smie--closing-pipe-p): New function.
12935 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
12936 (ruby-smie-rules): Indent after "|".
12937
12938 2013-11-12 Glenn Morris <rgm@gnu.org>
12939
12940 * ps-print.el (ps-face-attribute-list):
12941 Handle anonymous faces. (Bug#15827)
12942
12943 2013-11-12 Martin Rudalics <rudalics@gmx.at>
12944
12945 * window.el (display-buffer-other-frame): Fix doc-string.
12946 (Bug#15868)
12947
12948 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * subr.el (force-mode-line-update): Delete, move to buffer.c.
12951
12952 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
12953
12954 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
12955 (tramp-sh-handle-file-local-copy): Don't write a message when
12956 saving temporary files.
12957
12958 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
12959 both directories are remote.
12960 (tramp-smb-handle-directory-files): Do not return double entries.
12961 Do not expand full file names.
12962 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
12963 (tramp-smb-handle-write-region): Implement APPEND.
12964 (tramp-smb-get-stat-capability): Fix a stupid bug.
12965
12966 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
12969
12970 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
12971
12972 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
12973 throwing error over malformed let/let* (bug#15814).
12974
12975 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * iswitchb.el (iswitchb-mode): Mark obsolete.
12978
12979 2013-11-11 Glenn Morris <rgm@gnu.org>
12980
12981 * international/uni-bidi.el, international/uni-category.el:
12982 * international/uni-name.el, international/uni-numeric.el:
12983 Regenerate for Unicode 6.3.0.
12984
12985 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
12986
12987 * net/tramp.el (tramp-methods):
12988 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
12989 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
12990
12991 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
12992
12993 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12994 Force highlighting text after Summary keyword in doc face for rpm.
12995
12996 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
12997
12998 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
12999 available and the word has no wildcards, append one to the grep pattern.
13000 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
13001 (ispell-complete-word): Call `ispell-lookup-words' with the value
13002 independent of `ispell-look-p'.
13003
13004 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13005
13006 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
13007 Not after "||".
13008 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
13009 their parent.
13010
13011 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
13014 (ruby-font-lock-keywords): Use backquote.
13015
13016 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13017
13018 * progmodes/ruby-mode.el (ruby-smie--forward-token)
13019 (ruby-smie--backward-token): Only consider full-string matches.
13020
13021 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
13022
13023 * faces.el (describe-face): Add distant-foreground.
13024
13025 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
13026
13027 * progmodes/ruby-mode.el: Improve encoding comment handling.
13028 (ruby-encoding-magic-comment-style): New option.
13029 (ruby-custom-encoding-magic-comment-template): New option.
13030 (ruby--insert-coding-comment, ruby--detect-encoding):
13031 New functions extracted from `ruby-mode-set-encoding'.
13032 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
13033 to control the style of the auto-inserted encoding comment.
13034
13035 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13036
13037 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
13038 Use `smie-backward-sexp' with token argument.
13039
13040 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
13041
13042 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13043 Remove instrumentation code.
13044
13045 2013-11-08 Glenn Morris <rgm@gnu.org>
13046
13047 * progmodes/autoconf.el (autoconf-mode):
13048 Tweak comment-start-skip. (Bug#15822)
13049
13050 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
13053 at bobp (bug#15826).
13054 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
13055
13056 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
13057
13058 * man.el (Man-start-calling): New macro, extracted from
13059 Man-getpage-in-background.
13060 (Man-getpage-in-background): Use it.
13061 (Man-update-manpage): New command.
13062 (Man-mode-map): Bind it.
13063
13064 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13065
13066 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
13067 of "and", "or", "&&" and "||".
13068 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
13069 argument. Prohibit opening curly brace because it could only be a
13070 block opener in that position.
13071 (ruby-smie--forward-token, ruby-smie--backward-token):
13072 Separate "|" from "&" or "*" going after it. That can happen in block
13073 arguments.
13074 (ruby-smie--indent-to-stmt): New function, seeks the end of
13075 previous statement or beginning of buffer.
13076 (ruby-smie-rules): Use it.
13077 (ruby-smie-rules): Check if there's a ":" before a curly block
13078 opener candidate; if there is, it's a hash.
13079
13080 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13081
13082 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
13083 (cl--block-wrapper): Fix last accidental change.
13084
13085 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
13086
13087 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13088 Instrument, in order to hunt failure on hydra.
13089
13090 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13091
13092 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
13093 malformed bindings form (bug#15814).
13094
13095 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
13096
13097 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
13098 "." compared to " @ ". This incidentally fixes some indentation
13099 examples with "do".
13100 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
13101 (ruby-smie-grammar): New tokens: "and" and "or".
13102 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
13103 Exclude "and" and "or". Remove "do" in order to work around token
13104 priorities.
13105 (ruby-smie-rules): Add all infix tokens. Handle the case of
13106 beginning-of-buffer.
13107
13108 2013-11-06 Glenn Morris <rgm@gnu.org>
13109
13110 * Makefile.in (setwins_almost, setwins_for_subdirs):
13111 Avoid accidental matches.
13112
13113 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
13114
13115 * menu-bar.el (popup-menu): Use key-binding.
13116
13117 2013-11-06 Eli Zaretskii <eliz@gnu.org>
13118
13119 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
13120 menus, support also the menus produced by minor modes.
13121 (Bug#15817)
13122
13123 2013-11-06 Leo Liu <sdl.web@gmail.com>
13124
13125 * thingatpt.el (thing-at-point-looking-at): Add optional arg
13126 DISTANCE to bound the search. All uses changed. (Bug#15808)
13127
13128 2013-11-06 Glenn Morris <rgm@gnu.org>
13129
13130 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
13131 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
13132 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
13133
13134 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
13135
13136 * electric.el (electric-indent-just-newline): New command.
13137 (electric-indent-mode-map): New keymap.
13138 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
13139 Re-add :group which weren't redundant.
13140
13141 * electric.el (electric-indent-local-mode): New minor mode.
13142 (electric-indent-functions-without-reindent): New var.
13143 (electric-indent-post-self-insert-function): Use it.
13144 * emacs-lisp/gv.el (buffer-local-value): Add setter.
13145
13146 2013-11-05 Eli Zaretskii <eliz@gnu.org>
13147
13148 * international/quail.el (quail-help): Be more explicit about the
13149 meaning of the labels shown on the keys. (Bug#15800)
13150
13151 * startup.el (normal-top-level): Load the subdirs.el files before
13152 setting the locale environment. (Bug#15805)
13153
13154 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13155
13156 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
13157 via arguments so as to get the right ones (bug#15418).
13158
13159 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
13160
13161 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
13162
13163 Fix problems found while writing a test suite.
13164
13165 * net/tramp-compat.el (tramp-compat-load): New defun.
13166 * net/tramp.el (tramp-handle-load): Use it.
13167
13168 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
13169 "(numberp ok-if-already-exists)" correctly.
13170
13171 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
13172
13173 * international/characters.el (glyphless-char-display-control):
13174 Add usage note.
13175
13176 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
13177
13178 * progmodes/python.el (python-mode):
13179 * progmodes/scheme.el (scheme-mode):
13180 * progmodes/prolog.el (prolog-mode):
13181 * progmodes/ruby-mode.el (ruby-mode):
13182 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
13183 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
13184
13185 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 * rect.el (rectangle--highlight-for-redisplay):
13188 * emacs-lisp/smie.el (smie--next-indent-change):
13189 Use buffer-chars-modified-tick.
13190
13191 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
13192
13193 * electric.el (electric-indent-post-self-insert-function):
13194 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
13195
13196 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
13197
13198 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
13199
13200 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13201
13202 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
13203 (bug#15786).
13204
13205 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13206
13207 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
13208
13209 * progmodes/python.el: Fix up last change.
13210 (python-shell--save-temp-file): New function.
13211 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
13212 `string' comes from the current buffer.
13213 (python-shell-send-string-no-output): Remove `msg' arg.
13214 (python--use-fake-loc): New var.
13215 (python-shell-buffer-substring): Obey it. Try to compensate for the
13216 extra coding line added by python-shell--save-temp-file.
13217 (python-shell-send-region): Use python-shell--save-temp-file and
13218 python-shell-send-file directly. Add `nomain' argument.
13219 (python-shell-send-buffer): Use python-shell-send-region.
13220 (python-electric-pair-string-delimiter): New function.
13221 (python-mode): Use it.
13222
13223 2013-11-04 Eli Zaretskii <eliz@gnu.org>
13224
13225 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
13226 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
13227 environment and decoding all of the default-directory's to here
13228 from command-line.
13229 (command-line): Decode also argv[0].
13230
13231 * loadup.el: Error out if default-directory is a multibyte string
13232 when we are dumping.
13233
13234 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
13235
13236 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
13237
13238 * emacs-lisp/package.el (package-menu-mode)
13239 (package-menu--print-info, package-menu--archive-predicate):
13240 Add Archive column to package list.
13241
13242 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
13243
13244 Fix problems found while writing a test suite.
13245
13246 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
13247 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
13248 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
13249 to nil when running original file name handler. Otherwise,
13250 there are problems with constructs like "$$FOO".
13251
13252 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
13253 for `localname'.
13254
13255 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
13256
13257 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
13258
13259 * subr.el (version<, version<=, version=):
13260 Update docstrings with information for snapshot versions.
13261
13262 * helpers.el: New library for misc helper functions.
13263 (hash-table-keys): New function returning a list of hash keys.
13264 (hash-table-values): New function returning a list of hash values.
13265
13266 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
13267
13268 * progmodes/ruby-mode.el (ruby-smie--forward-token)
13269 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
13270
13271 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
13272
13273 * textmodes/fill.el (fill-single-char-nobreak-p): New function
13274 checking whether point is after a 1-letter word.
13275
13276 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13277
13278 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
13279 Don't infloop when expanding region over `multiline' syntax-type that
13280 begins a line (bug#15778).
13281
13282 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13283
13284 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
13285 Make it into a proper minor mode.
13286 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
13287 (rectangle-mark-mode-map): New keymap.
13288 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
13289
13290 2013-11-04 Glenn Morris <rgm@gnu.org>
13291
13292 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
13293
13294 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13295
13296 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
13297 (ruby-smie-rules): Use smie-rule-parent instead.
13298
13299 * emacs-lisp/smie.el (smie-rule-parent): Always call
13300 smie-indent-virtual rather than only for hanging tokens.
13301 (smie--next-indent-change): New helper command.
13302
13303 2013-11-03 Glenn Morris <rgm@gnu.org>
13304
13305 * Makefile.in (abs_srcdir): Remove.
13306 (emacs): Unset EMACSLOADPATH.
13307
13308 2013-11-02 Glenn Morris <rgm@gnu.org>
13309
13310 * Makefile.in (EMACS): Use a relative filename.
13311 (abs_top_builddir): Remove.
13312 (custom-deps, finder-data, autoloads): Use --chdir.
13313
13314 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
13315
13316 Use relative filenames in TAGS files.
13317 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
13318 (lisptagsfiles4, TAGS): Use relative file names.
13319 (TAGS-LISP): Remove.
13320 (maintainer-clean): No more TAGS-LISP file.
13321
13322 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
13323 (lisptagsfiles4): Use absolute filenames again.
13324 (TAGS, TAGS-LISP): Not everything needs to run in one line.
13325 Remove all *loaddefs files, not just the first. Remove esh-groups.
13326 (maintainer-clean): Delete TAGS, TAGS-LISP.
13327
13328 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
13329
13330 * emacs-lisp/package.el (package-version-join):
13331 Recognize snapshot versions.
13332
13333 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
13334
13335 * subr.el (version-regexp-alist): Add support for snapshot versions.
13336
13337 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
13338
13339 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
13340 New function, replacement for `smie-rule-parent' for when we want to
13341 skip over our direct parent if it's an assignment token..
13342 (ruby-smie-rules): Use it.
13343
13344 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
13345
13346 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
13347 unconditionally. Remove now unnecessary forward declarations.
13348 Remove XEmacs-specific setup.
13349 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
13350 (ruby-font-lock-syntactic-keywords)
13351 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
13352 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
13353 (ruby-here-doc-end-syntax): Remove.
13354 (ruby-mode): Don't check whether `syntax-propertize-rules' is
13355 defined as function.
13356
13357 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
13358
13359 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
13360
13361 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
13362
13363 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
13364 table and abbrev table, `define-derived-mode' does that for us
13365 anyway.
13366
13367 2013-11-01 Glenn Morris <rgm@gnu.org>
13368
13369 * Makefile.in: Remove manual mh-e dependencies (writing .elc
13370 files is atomic for some time, so no parallel compilation issues).
13371
13372 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
13373
13374 * faces.el (face-x-resources): Add :distant-foreground.
13375 (region): Use :distant-foreground for gtk and ns.
13376
13377 2013-11-01 Tassilo Horn <tsdh@gnu.org>
13378
13379 Allow multiple bibliographies when BibLaTeX is used rather than
13380 BibTeX.
13381 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
13382 (reftex-locate-bibliography-files): Us it.
13383
13384 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
13385
13386 * image.el (image-type-header-regexps): Fix the 'pbm' part to
13387 allow comments in pbm files.
13388
13389 * term/w32-win.el (dynamic-library-alist): Support newer versions
13390 of libjpeg starting with v7: look only for the DLL from the
13391 version against which Emacs was built.
13392 Support versions of libpng beyond 1.4.x.
13393 Support libtiff v4.x.
13394
13395 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
13396
13397 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
13398 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
13399 Add property :safe.
13400 (ruby-deep-arglist): Add property :type.
13401
13402 2013-10-31 Glenn Morris <rgm@gnu.org>
13403
13404 * Makefile.in (custom-deps, finder-data): No need to setq the target
13405 variables, we are in the right directory and the defaults work fine.
13406
13407 2013-10-30 Glenn Morris <rgm@gnu.org>
13408
13409 * Makefile.in (autoloads): Do not use abs_lisp.
13410
13411 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13412 `newline' does not respect `standard-output', so use `princ'.
13413
13414 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
13415
13416 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
13417 * buff-menu.el (Buffer-menu--unmark): New function.
13418 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
13419
13420 2013-10-30 Glenn Morris <rgm@gnu.org>
13421
13422 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
13423
13424 * emacs-lisp/package.el (lm-homepage): Declare.
13425
13426 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
13427 Fix doc typos.
13428
13429 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
13430
13431 * Makefile.in (finder-data, autoloads, update-subdirs)
13432 (compile-main, compile-clean, compile-always, bootstrap-clean):
13433 Check return value of cd.
13434 (compile-calc): Remove.
13435
13436 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13437
13438 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
13439
13440 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
13441 (byte-compile-and-folded): New function.
13442 (=, <, >, <=, >=): Use it.
13443
13444 * dos-w32.el (minibuffer-history-case-insensitive-variables)
13445 (path-separator, null-device, buffer-file-coding-system)
13446 (lpr-headers-switches): Check system-type before modifying them.
13447 (find-buffer-file-type-coding-system): Mark obsolete.
13448 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
13449 find-file-not-found-set-buffer-file-coding-system.
13450 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
13451 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
13452 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
13453 (w32-direct-print-region-helper, w32-direct-print-region-function)
13454 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
13455 * startup.el (normal-top-level-add-subdirs-to-load-path):
13456 * ps-print.el (ps-print-region-function):
13457 * lpr.el (print-region-function): Use new name.
13458
13459 * subr.el (custom-declare-variable-early): Remove function.
13460 (custom-declare-variable-list): Remove var.
13461 (error, user-error): Remove `while' loop.
13462 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
13463 (user-emacs-directory-warning, locate-user-emacs-file):
13464 Move to files.el.
13465 * simple.el (read-quoted-char-radix, read-quoted-char):
13466 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
13467 Move from subr.el.
13468 * custom.el (custom-declare-variable-list): Don't process
13469 custom-declare-variable-list.
13470
13471 * progmodes/python.el (python-shell-get-buffer): New function.
13472 (python-shell-get-process): Use it.
13473 (python-shell-send-string): Always use utf-8 and add a cookie to tell
13474 Python which encoding was used. Don't split-string since we only care
13475 about the first line. Return the temp-file, if applicable.
13476 (python-shell-send-region): Tell compile.el how to turn locations in
13477 the temp-file into locations in the source buffer.
13478
13479 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
13480
13481 * subr.el (undefined): Add missing behavior from the C code for
13482 unbound keys.
13483
13484 * rect.el: Use lexical-binding. Add new rectangular region support.
13485 (rectangle-mark): New command.
13486 (rectangle--region): New var.
13487 (deactivate-mark-hook): Reset rectangle--region.
13488 (rectangle--extract-region, rectangle--insert-for-yank)
13489 (rectangle--highlight-for-redisplay)
13490 (rectangle--unhighlight-for-redisplay): New functions.
13491 (region-extract-function, redisplay-unhighlight-region-function)
13492 (redisplay-highlight-region-function): Use them to handle
13493 rectangular region.
13494 * simple.el (region-extract-function): New var.
13495 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
13496 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
13497 (kill-region): Replace obsolete `yank-handler' arg with `region'.
13498 (copy-region-as-kill, kill-ring-save): Add `region' argument.
13499 (redisplay-unhighlight-region-function)
13500 (redisplay-highlight-region-function): New vars.
13501 (redisplay--update-region-highlight): New function.
13502 (pre-redisplay-function): Use it.
13503 (exchange-point-and-mark): Don't deactivate the mark before
13504 reactivate-it anyway.
13505 * comint.el (comint-kill-region): Remove yank-handler argument.
13506 * delsel.el (delete-backward-char, backward-delete-char-untabify)
13507 (delete-char): Remove property, since it's now part of their
13508 default behavior.
13509 (self-insert-iso): Remove property since this command doesn't exist.
13510
13511 * emacs-lisp/package.el (package--download-one-archive)
13512 (describe-package-1): Don't query the user about final newline.
13513
13514 2013-10-29 Daniel Colascione <dancol@dancol.org>
13515
13516 * net/tramp.el (tramp-methods): Document new functionality.
13517 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
13518 tramp-hostname-checker if method provides one instead of scanning
13519 argument list for "%h" to decide hostname acceptability.
13520
13521 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
13522
13523 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13524 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13525 Handle COPY-CONTENTS. (Bug#15737)
13526
13527 2013-10-28 Daiki Ueno <ueno@gnu.org>
13528
13529 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13530 Document that this option has no effect with GnuPG 2.0 (bug#15552).
13531
13532 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
13533
13534 * image.el (defimage, image-load-path): Doc fixes.
13535
13536 2013-10-27 Alan Mackenzie <acm@muc.de>
13537
13538 Indent statements in macros following "##" correctly.
13539 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13540 Modify the "#" arm of a cond form to handle "#" and "##" operators.
13541
13542 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13543
13544 * linum.el (linum-update-window): Fix boundary test (bug#13446).
13545
13546 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
13547
13548 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
13549 after `=' is probably a new expression.
13550
13551 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13552
13553 * man.el (man-imenu-title): New option.
13554 (Man-mode-map): Add menu. (Bug#15722)
13555 (Man-mode): Add imenu to menu.
13556
13557 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
13558
13559 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
13560 specific in what the first arg can be: a non-keyword word,
13561 string/regexp/percent literal opener, opening paren, or unary
13562 operator followed directly by word.
13563
13564 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13565
13566 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
13567 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
13568 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
13569 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
13570 Remove vars, they do not apply any more.
13571 (prolog-mode-abbrev-table): Remove redundant declaration.
13572 (prolog-upper-case-string, prolog-lower-case-string): Remove.
13573 (prolog-use-smie): Remove.
13574 (prolog-smie-rules): Add indentation rule for the if-then-else layout
13575 supported by prolog-electric-if-then-else-flag.
13576 (prolog-mode-variables, prolog-menu): Use setq-local.
13577 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
13578 Remove binding to `Backspace' since this key doesn't exist anyway.
13579 Remove bindings for electric self-inserting keys.
13580 (prog-mode): Assume it's defined.
13581 (prolog-post-self-insert): New function.
13582 (prolog-mode): Use it.
13583 (prolog-indent-line, prolog-indent-level)
13584 (prolog-find-indent-of-matching-paren)
13585 (prolog-indentation-level-of-line, prolog-goto-comment-column)
13586 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
13587 (prolog-goto-next-paren, prolog-in-string-or-comment)
13588 (prolog-tokenize, prolog-inside-mline-comment)
13589 (prolog-find-start-of-mline-comment): Remove functions.
13590 (prolog-find-unmatched-paren, prolog-clause-end)
13591 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
13592 (prolog-electric--if-then-else): Rename from
13593 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
13594 (prolog-tokenize-searchkey): Remove const.
13595 (prolog-clause-info): Use forward-sexp.
13596 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
13597 (prolog-electric-if-then-else): Remove commands.
13598 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
13599 for use in post-self-insert-hook.
13600 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
13601 for use in post-self-insert-hook.
13602 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
13603 for use in post-self-insert-hook.
13604 (prolog-electric--underscore): Rename from prolog-electric--underscore;
13605 adapt it for use in post-self-insert-hook.
13606
13607 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
13608
13609 * emacs-lisp/ert.el (ert-run-tests-interactively):
13610 Use `completing-read'. (Bug#9756)
13611
13612 2013-10-25 Eli Zaretskii <eliz@gnu.org>
13613
13614 * simple.el (line-move): Call line-move-1 instead of
13615 line-move-visual when the current window hscroll is zero, but
13616 temporary-goal-column indicates we will need to hscroll as result
13617 of the movement. (Bug#15712)
13618
13619 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
13620
13621 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
13622 capitalization. Use :visible instead of :active.
13623 Fix `ruby-indent-exp' reference. Add menu items for the generic
13624 commands that are used with SMIE.
13625 (ruby-do-end-to-brace): Insert space after `{'.
13626
13627 2013-10-25 John Anthony <john@jo.hnanthony.com>
13628
13629 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
13630
13631 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
13632
13633 2013-10-25 Glenn Morris <rgm@gnu.org>
13634
13635 * vc/vc.el (vc-print-log): Don't use a working revision unless
13636 one was explicitly specified. (Bug#15322)
13637
13638 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13639
13640 * subr.el (add-to-list): Preserve return value in compiler-macro
13641 (bug#15692).
13642
13643 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13644
13645 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
13646 result. Ask user to retry using '-all' flag. (Bug#15701)
13647
13648 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13649
13650 * emacs-lisp/smie.el: New smie-config system.
13651 (smie-config): New defcustom.
13652 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
13653 (smie-config-guess, smie-config-save): New commands.
13654 (smie-config--mode-local, smie-config--buffer-local)
13655 (smie-config--trace, smie-config--modefuns): New vars.
13656 (smie-config--advice, smie-config--mode-hook)
13657 (smie-config--setter, smie-config-local, smie-config--get-trace)
13658 (smie-config--guess-value, smie-config--guess): New functions.
13659 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
13660 text properties. Treat "string fence" syntax like string syntax.
13661
13662 * progmodes/sh-script.el (sh-use-smie): Change default.
13663 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
13664 (sh-var-value): Simplify by CSE.
13665 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
13666 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
13667 is used.
13668 (sh-guess-basic-offset): Use cl-incf.
13669 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
13670
13671 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
13672
13673 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
13674 (bug#15699).
13675
13676 2013-10-24 Glenn Morris <rgm@gnu.org>
13677
13678 * Makefile.in (abs_top_srcdir): Remove.
13679 (update-subdirs): Use relative path to update-subdirs.
13680
13681 2013-10-24 Eli Zaretskii <eliz@gnu.org>
13682
13683 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
13684 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
13685 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
13686 Call unmsys--file-name before expand-file-name, not after it.
13687
13688 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
13689
13690 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
13691 (ert-test-skipped): New error.
13692 (ert-skip, ert-stats-skipped): New defuns.
13693 (ert--skip-unless): New macro.
13694 (ert-test-skipped): New struct.
13695 (ert--run-test-debugger, ert-test-result-type-p)
13696 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
13697 (ert--stats-set-test-and-result, ert-char-for-test-result)
13698 (ert-string-for-test-result, ert-run-tests-batch)
13699 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
13700 Handle skipped tests. (Bug#9803)
13701
13702 2013-10-24 Glenn Morris <rgm@gnu.org>
13703
13704 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
13705
13706 * Makefile.in (abs_top_srcdir): New, set by configure.
13707 (update-subdirs): Correct build-aux location.
13708
13709 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
13710
13711 * vc/vc.el (vc-print-root-log): Always set `default-directory'
13712 value, whether we could auto-deduce `backend', or not.
13713
13714 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
13715 with parameters" example. Simplify the "is it block or is it
13716 hash" check, but also make it more thorough.
13717
13718 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
13719
13720 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
13721
13722 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
13725 { if it is hanging.
13726
13727 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
13728 :before ";".
13729
13730 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
13731
13732 * progmodes/compile.el (compilation-directory-matcher)
13733 (compilation-page-delimiter):
13734 Support GNU Make-4.0 directory quoting. (Bug#15678)
13735
13736 2013-10-23 Leo Liu <sdl.web@gmail.com>
13737
13738 * ido.el (ido-tidy): Handle read-only text.
13739
13740 2013-10-23 Glenn Morris <rgm@gnu.org>
13741
13742 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
13743 (emacs, compile, compile-always):
13744 Quote entities that might contain whitespace.
13745 (custom-deps, finder-data, autoloads): Use abs_lisp.
13746 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13747 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13748 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
13749
13750 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
13751
13752 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
13753 Use `following-char'.
13754
13755 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
13758 * progmodes/ruby-mode.el (ruby-smie-rules):
13759 Remove corresponding workaround. Fix indentation rule of ";" so it
13760 also applies when ";" is the parent.
13761
13762 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
13763
13764 * frame.el (display-screens, display-pixel-height)
13765 (display-pixel-width, display-mm-width, display-backing-store)
13766 (display-save-under, display-planes, display-color-cells)
13767 (display-visual-class, display-monitor-attributes-list):
13768 Mention the optional ‘display’ argument in doc strings.
13769
13770 2013-10-22 Michael Gauland <mikelygee@amuri.net>
13771
13772 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
13773 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
13774
13775 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
13776
13777 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
13778 TODO. Add "." after " @ ".
13779 (ruby-smie--at-dot-call): New function. Checks if point at method
13780 call with explicit target.
13781 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
13782 to the method name tokens when it precedes them.
13783 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
13784 (ruby-smie-rules): Add rule for indentation before and after "."
13785 token.
13786
13787 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * textmodes/remember.el (remember-diary-extract-entries):
13790 Avoid add-to-list.
13791
13792 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
13793 an instruction.
13794
13795 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
13796
13797 * progmodes/ruby-mode.el (ruby-smie-grammar):
13798 Add (almost) all infix operators.
13799 (ruby-smie--implicit-semi-p): Add new operator chars.
13800
13801 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
13802 `smie-down-list'.
13803 (ruby-smie--args-separator-p): Check that there's no newline
13804 between method call and its arguments.
13805
13806 2013-10-20 Alan Mackenzie <acm@muc.de>
13807
13808 Allow comma separated lists after Java "implements".
13809
13810 * progmodes/cc-engine.el (c-backward-over-enum-header):
13811 Parse commas.
13812 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
13813 from a "disallowed" list in enum fontification.
13814
13815 2013-10-20 Johan Bockgård <bojohan@gnu.org>
13816
13817 * startup.el (default-frame-background-mode): Remove unused defvar.
13818
13819 * progmodes/verilog-mode.el (verilog-mode): Don't set
13820 comment-indent-function globally.
13821
13822 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
13823
13824 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
13825 Move Info menu item creation to ns-win.el.
13826
13827 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
13828 in menu bar.
13829
13830 * menu-bar.el: Move GNUstep specific menus...
13831
13832 * term/ns-win.el (ns-initialize-window-system): ... to here.
13833
13834 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13835
13836 * simple.el (newline): Only run post-self-insert-hook when
13837 called interactively.
13838
13839 2013-10-19 Johan Bockgård <bojohan@gnu.org>
13840
13841 * icomplete.el (icomplete-with-completion-tables): Add :version.
13842
13843 2013-10-19 Alan Mackenzie <acm@muc.de>
13844
13845 Fix fontification bugs with constructors and const.
13846
13847 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
13848 CASE 2) Remove the check for the absence of a suffix construct
13849 after a function declaration with only types (no identifiers) in
13850 the parentheses. Also, accept a function declaration with just a
13851 type inside the parentheses, if this type can be positively
13852 recognised as such, or if a prefix keyword like "explicit" nails
13853 down the construct as a declaration.
13854
13855 2013-10-19 Eli Zaretskii <eliz@gnu.org>
13856
13857 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
13858 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
13859 the problem whereby selecting a menu item that leads to a
13860 minibuffer prompt moves the cursor out of the minibuffer window,
13861 making it hard to type at the prompt. Suggested by Stefan Monnier
13862 <monnier@iro.umontreal.ca>.
13863
13864 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
13865
13866 * menu-bar.el: Don't make Services menu.
13867
13868 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13869
13870 * ffap.el: Handle "/usr/include/c++/<version>" directories.
13871 (ffap-alist): Use ffap-c++-mode for c++-mode.
13872 (ffap-c++-path): New variable.
13873 (ffap-c++-mode): New function.
13874
13875 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
13876
13877 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
13878
13879 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
13880
13881 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
13882 introduced on 2013-09-08, which results in an infinite loop
13883 requesting a password.
13884
13885 2013-10-18 Glenn Morris <rgm@gnu.org>
13886
13887 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
13888
13889 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
13890
13891 Sync with upstream verilog-mode revision 1a6ecec7.
13892 * progmodes/verilog-mode.el (verilog-mode-version): Update.
13893 (verilog-mode-release-date): Remove.
13894 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
13895 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
13896 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
13897 (verilog-auto-tieoff-ignore-regexp)
13898 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
13899 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
13900 (verilog-signals-with, verilog-dir-cache-preserving)
13901 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
13902 Doc fixes.
13903 (verilog-case-fold): New option, to control case folding in
13904 regexp searches, bug597.
13905 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
13906 (verilog-string-match-fold, verilog-in-paren-count)
13907 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
13908 (verilog-at-close-struct-p): New functions.
13909 (verilog-beg-block-re-ordered, verilog-extended-case-re)
13910 (verilog-forward-sexp, verilog-set-auto-endcomments)
13911 (verilog-leap-to-case-head): Handle "unique0" case.
13912 (verilog-in-constraint-re): New constant.
13913 (verilog-keywords, verilog-type-font-keywords):
13914 Add some SystemVerilog 1800-2012 keywords.
13915 (verilog-label-be): Remove unimplemented argument, bug669.
13916 (verilog-batch-execute-func): When batch expanding clear
13917 create-lockfiles to prevent spurious user locks when a file ends
13918 up not changing.
13919 (verilog-calculate-indent, verilog-calc-1)
13920 (verilog-at-close-constraint-p, verilog-at-constraint-p)
13921 (verilog-do-indent): Fix indentation of nested constraints
13922 and structures.
13923 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
13924 (verilog-auto-inst-param): Use verilog-string-match-fold.
13925 (verilog-read-inst-module-matcher):
13926 Fix AUTOINST on gate primitives with #1.
13927 (verilog-read-decls): Fix double-declaring user-defined typed signals.
13928 Reads all user-defined typed variables.
13929 (verilog-read-defines): Fix reading definitions inside comments, bug647.
13930 (verilog-signals-matching-regexp)
13931 (verilog-signals-not-matching-regexp, verilog-auto):
13932 Respect verilog-case-fold.
13933 (verilog-diff-report): Fix line count.
13934 (verilog-auto-assign-modport): Remove unused local `modi'.
13935 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
13936 better handle multidimensional arrays.
13937 Fix packed array ports misadding bit index in AUTOINST, bug637.
13938 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
13939 to not double-declare existing outputs and inputs, respectively.
13940 (verilog-template-map): Bind U to verilog-sk-uvm-component.
13941 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
13942 (verilog-sk-uvm-component): New skeleton.
13943 (verilog-submit-bug-report): Add verilog-case-fold,
13944 remove verilog-mode-release-date.
13945
13946 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
13947
13948 * subr.el (sit-for): Call (input-pending-p t) so as to behave
13949 as before.
13950
13951 2013-10-18 Reuben Thomas <rrt@sc3d.org>
13952
13953 * textmodes/remember.el (remember): Set buffer-offer-save in
13954 remember buffers (bug#13566).
13955
13956 2013-10-18 Daniel Colascione <dancol@dancol.org>
13957
13958 When evaluating forms in ielm, direct standard output to ielm
13959 buffer. Add new ielm-return-for-effect command. Remove trailing
13960 whitespace throughout.
13961
13962 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
13963 (ielm-return-for-effect): New command.
13964 (ielm-send-input): Accept optional `for-effect' parameter.
13965 (ielm-eval-input): Accept optional `for-effect' parameter.
13966 Bind `standard-output' to stream we create using
13967 `ielm-standard-output-impl'. Suppress printing result when
13968 `for-effect'.
13969 (ielm-standard-output-impl): New function.
13970 (inferior-emacs-lisp-mode): Explain new features in documentation.
13971
13972 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
13973
13974 Code cleanup.
13975
13976 * net/tramp.el (tramp-debug-message): Do not check for connection
13977 buffer.
13978 (tramp-message): Use "vector" connection property.
13979
13980 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
13981 (tramp-equal-remote, tramp-eshell-directory-change)
13982 * net/tramp-adb.el (tramp-adb-handle-copy-file)
13983 (tramp-adb-handle-rename-file)
13984 * net/tramp-cmds.el (tramp-list-remote-buffers)
13985 (tramp-cleanup-connection, tramp-cleanup-this-connection)
13986 * net/tramp-compat.el (tramp-compat-process-running-p)
13987 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
13988 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
13989 (tramp-gvfs-handle-rename-file)
13990 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13991 (tramp-set-file-uid-gid)
13992 * net/tramp-smb.el (tramp-smb-handle-copy-file)
13993 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
13994 of `file-remote-p'.
13995
13996 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
13997 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
13998 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
13999 (tramp-gw-open-network-stream): Suppress unrelated traces.
14000
14001 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
14002 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14003 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14004 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
14005 connection property.
14006
14007 * net/tramp-cache.el (top): Suppress traces when reading
14008 persistency file.
14009
14010 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14011 Refactor common code. Improve debug message.
14012 (tramp-maybe-open-connection)
14013 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
14014 connection buffer too early.
14015
14016 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
14017 from `tramp-smb-actions-with-acl'.
14018 (tramp-smb-actions-set-acl): New defconst.
14019 (tramp-smb-handle-copy-directory)
14020 (tramp-smb-action-get-acl): New defun, renamed from
14021 `tramp-smb-action-with-acl'.
14022 (tramp-smb-action-set-acl): New defun.
14023 (tramp-smb-handle-set-file-acl): Rewrite.
14024
14025 2013-10-17 Glenn Morris <rgm@gnu.org>
14026
14027 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
14028
14029 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 * skeleton.el (skeleton-newline): Remove.
14032 (skeleton-internal-1): Use (insert "\n") instead.
14033
14034 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
14035 let-bindings.
14036
14037 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
14038 forward-sexp-function while we redo its job (bug#15613).
14039
14040 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
14041
14042 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
14043 represented by lists.
14044
14045 2013-10-16 Glenn Morris <rgm@gnu.org>
14046
14047 * tmm.el (tmm--history): New dynamic variable.
14048 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
14049
14050 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
14051
14052 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
14053 (tramp-smb-errors): Add error messages.
14054 (tramp-smb-actions-with-acl): New defconst.
14055 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
14056 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
14057 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
14058 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
14059 (tramp-smb-get-stat-capability): Fix tests.
14060
14061 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
14062
14063 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
14064 (bug#15580).
14065
14066 2013-10-16 Glenn Morris <rgm@gnu.org>
14067
14068 * ansi-color.el (ansi-color-drop-regexp):
14069 Add 1J, 1K, 2K. (Bug#15617)
14070
14071 * files.el (hack-local-variables--warned-lexical): New.
14072 (hack-local-variables):
14073 Warn about misplaced lexical-binding. (Bug#15616)
14074
14075 * net/eww.el (eww-render): Always set eww-current-url,
14076 and update header line. (Bug#15622)
14077 (eww-display-html): ... Rather than just doing it here.
14078
14079 2013-10-15 Eli Zaretskii <eliz@gnu.org>
14080
14081 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
14082 menu navigations commands.
14083
14084 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
14085
14086 * progmodes/subword.el (subword-capitalize): Be careful when
14087 the search for [[:alpha:]] fails (bug#15580).
14088
14089 2013-10-14 Eli Zaretskii <eliz@gnu.org>
14090
14091 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
14092 to commands that scroll the menu.
14093
14094 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
14095
14096 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
14097 Handle methods ending with `?' and `!'.
14098
14099 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
14100
14101 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
14102 `japanese-cp932' to `cp932' to fix the problem where saving a
14103 source file written in Shift_JIS twice would end up having
14104 `coding: japanese-cp932' which Ruby could not recognize.
14105 (ruby-mode-set-encoding): Add support for encodings mapped to nil
14106 in `ruby-encoding-map'.
14107 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
14108 doesn't need to be explicitly declared in magic comment.
14109 (ruby-encoding-map): Add type declaration for better customize UI.
14110
14111 2013-10-13 Glenn Morris <rgm@gnu.org>
14112
14113 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
14114 Occur buffers are read-only. http://bugs.debian.org/720775
14115
14116 * emacs-lisp/authors.el (authors-fixed-entries):
14117 Comment out old alpha stuff.
14118
14119 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
14120
14121 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
14122 to `after-save-hook' instead of `before-save-hook'.
14123 (ruby-mode-set-encoding): Use the value of coding system used to
14124 write the file. Call `basic-save-buffer-1' after modifying the
14125 buffer.
14126
14127 2013-10-13 Alan Mackenzie <acm@muc.de>
14128
14129 Fix indentation/fontification of Java enum with
14130 "implements"/generic.
14131
14132 * progmodes/cc-engine.el (c-backward-over-enum-header):
14133 Extracted from the three other places and enhanced to handle generics.
14134 (c-inside-bracelist-p): Uses new function above.
14135 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
14136 function above.
14137 (c-font-lock-enum-tail): Uses new function above.
14138
14139 2013-10-13 Kenichi Handa <handa@gnu.org>
14140
14141 * international/mule-cmds.el (select-safe-coding-system): Remove a
14142 superfluous condition in chekcing whether a coding system is safe
14143 or not.
14144
14145 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
14146
14147 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
14148
14149 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
14150
14151 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
14152
14153 2013-10-13 Glenn Morris <rgm@gnu.org>
14154
14155 * menu-bar.el (menu-bar-update-buffers):
14156 Unify Buffers menu prompt string. (Bug#15576)
14157
14158 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
14159
14160 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
14161 Add some entries.
14162 (authors-fixed-entries): Use accented form of name.
14163
14164 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14165
14166 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
14167 method calls (bug#15594).
14168 (ruby-smie--args-separator-p): New function.
14169 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
14170 recognize paren-free method calls.
14171
14172 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
14173 internals of universal-argument.
14174
14175 2013-10-11 Eli Zaretskii <eliz@gnu.org>
14176
14177 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
14178 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
14179 dropped menu on second mouse click on the menu bar.
14180
14181 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14182
14183 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
14184 (explicit-shell-file-name): Declare.
14185 (sh--vars-before-point, sh--cmd-completion-table): New functions.
14186 (sh-completion-at-point-function): New function.
14187 (sh-mode): Use it.
14188 (sh-smie--keyword-p): Remove unused argument.
14189 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
14190 vars.
14191 (sh-set-shell): Always setup SMIE, even if we use the
14192 old indentation code.
14193
14194 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
14195
14196 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
14197 cases of ? and =.
14198 (ruby-smie-rules): Simplify the "do" rule. The cases when the
14199 predicate would return nil are almost non-existent.
14200 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
14201
14202 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
14203 cache also after commands that modify the buffer but don't move
14204 point.
14205
14206 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
14207
14208 * env.el (substitute-env-in-file-name): New function.
14209 (substitute-env-vars): Extend the meaning of the optional arg.
14210
14211 2013-10-10 Eli Zaretskii <eliz@gnu.org>
14212
14213 * term/w32-win.el (dynamic-library-alist): Define separate lists
14214 of GIF DLLs for versions before and after 5.0.0 of giflib.
14215 (Bug#15531)
14216
14217 2013-10-10 João Távora <joaotavora@gmail.com>
14218
14219 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
14220 not locked, use last revision and current source as
14221 defaults. (Bug#15569)
14222
14223 2013-10-10 Masatake YAMATO <yamato@redhat.com>
14224
14225 * menu-bar.el (menu-bar-open): Don't use popup-menu if
14226 menu-bar is hidden.
14227
14228 2013-10-10 Martin Rudalics <rudalics@gmx.at>
14229
14230 * window.el (pop-to-buffer-same-window): Fix doc-string.
14231 (Bug#15492)
14232
14233 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
14234
14235 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
14236
14237 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
14238
14239 * calendar/icalendar.el (icalendar-import-file):
14240 Fix interactive spec. (Bug#15482)
14241
14242 2013-10-10 Glenn Morris <rgm@gnu.org>
14243
14244 * desktop.el (desktop-save): Default to saving in .emacs.d,
14245 since PWD is no longer in desktop-path by default. (Bug#15319)
14246
14247 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
14248 now that text mode has a menu with the same entry.
14249 (menu-bar-text-mode-auto-fill): Remove now unused func.
14250 * textmodes/text-mode.el (text-mode-map):
14251 Use auto-fill help text from menu-bar.el.
14252
14253 2013-10-10 John Anthony <john@jo.hnanthony.com>
14254
14255 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
14256
14257 2013-10-09 Juri Linkov <juri@jurta.org>
14258
14259 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
14260 instead of this-command-keys. Add universal-argument-more and
14261 universal-argument-minus to the list of prefix commands. (Bug#15568)
14262
14263 2013-10-09 Glenn Morris <rgm@gnu.org>
14264
14265 * vc/vc-svn.el (vc-svn-create-repo):
14266 Expand paths in file://... url. (Bug#15446)
14267
14268 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
14269 Add some entries.
14270 (authors): Remove unused local variables.
14271
14272 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
14273
14274 * profiler.el: Create a more coherent calltree from partial backtraces.
14275 (profiler-format): Hide the tail with `invisible' so that C-s can still
14276 find the hidden elements.
14277 (profiler-calltree-depth): Don't recurse so enthusiastically.
14278 (profiler-function-equal): New hash-table-test.
14279 (profiler-calltree-build-unified): New function.
14280 (profiler-calltree-build): Use it.
14281 (profiler-report-make-name-part): Indent the calltree less.
14282 (profiler-report-mode): Add visibility specs for profiler-format.
14283 (profiler-report-expand-entry, profiler-report-toggle-entry):
14284 Expand the whole subtree when provided with a prefix arg.
14285
14286 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
14287
14288 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
14289 iuwu-mod token.
14290 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
14291 hanging iuwu-mod token.
14292 (ruby-smie--forward-token): Do not include a dot after a token in
14293 that token.
14294 (ruby-smie--backward-token): Likewise.
14295
14296 2013-10-08 Juri Linkov <juri@jurta.org>
14297
14298 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
14299 to isearch-other-control-char.
14300 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
14301 and isearch-post-command-hook to post-command-hook.
14302 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
14303 and isearch-post-command-hook from post-command-hook.
14304 (isearch-unread-key-sequence)
14305 (isearch-reread-key-sequence-naturally)
14306 (isearch-lookup-scroll-key, isearch-other-control-char)
14307 (isearch-other-meta-char): Remove functions.
14308 (isearch-pre-command-hook, isearch-post-command-hook):
14309 New functions based on isearch-other-meta-char rewritten
14310 relying on the new behavior of overriding-terminal-local-map
14311 that does not replace the local keymaps any more. (Bug#15200)
14312
14313 2013-10-08 Eli Zaretskii <eliz@gnu.org>
14314
14315 Support menus on text-mode terminals.
14316 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
14317 functionality.
14318
14319 * tooltip.el (tooltip-mode): Don't error out on TTYs.
14320
14321 * menu-bar.el (popup-menu, popup-menu-normalize-position):
14322 Move here from mouse.el.
14323 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
14324 and arrow keys.
14325 (tty-menu-navigation-map): New map for TTY menu navigation.
14326
14327 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
14328
14329 * frame.el (display-mouse-p): Report text-mode mouse as available
14330 on w32.
14331 (display-popup-menus-p): Report availability if mouse is
14332 available; don't condition on window-system.
14333
14334 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
14335 (tty-menu-selected-face): New faces.
14336
14337 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
14340 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
14341 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
14342 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
14343 New constants.
14344 (lisp-mode-variables): New `elisp' argument.
14345 (emacs-lisp-mode): Use it.
14346 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
14347 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
14348
14349 * indent.el: Use lexical-binding.
14350 (indent-region): Add progress reporter.
14351 (tab-stop-list): Make it implicitly extend to infinity by repeating the
14352 last step.
14353 (indent--next-tab-stop): New function to implement this behavior.
14354 (tab-to-tab-stop, move-to-tab-stop): Use it.
14355
14356 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
14357
14358 * indent.el (indent-rigidly--current-indentation): New function.
14359 (indent-rigidly-map): New var.
14360 (indent-rigidly): Use it to provide interactive mode (bug#8196).
14361
14362 2013-10-08 Bastien Guerry <bzg@gnu.org>
14363
14364 * register.el (insert-register): Fix 2013-10-07 change.
14365
14366 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
14367
14368 * progmodes/perl-mode.el: Use lexical-binding.
14369 Remove redundant :group args.
14370 (perl-nochange): Change default to be closer to other major modes's
14371 standard behavior.
14372 (perl-indent-line): Don't consider text on current line as a
14373 valid beginning of function from which to indent.
14374
14375 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
14376 with more than one argument (bug#15538).
14377
14378 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
14379
14380 * vc/pcvs.el: Use lexical-binding.
14381 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
14382 environment of `eval'.
14383 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
14384 than a list of expressions. Adjust callers.
14385 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
14386
14387 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
14388
14389 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
14390 case of the dot in a chained method call being on the following line.
14391
14392 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14393
14394 * electric.el (electric-indent-inhibit): New var.
14395 (electric-indent-post-self-insert-function): Use it.
14396 * progmodes/python.el (python-mode): Set it.
14397
14398 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
14399 open braces.
14400
14401 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
14402
14403 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
14404 (css-mode): Use electric-indent-chars.
14405
14406 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
14407 (font-lock-beg, font-lock-end): Move before first use.
14408 (nxml-mode): Use syntax-propertize-function.
14409 (nxml-after-change, nxml-after-change1): Adjust accordingly.
14410 (nxml-extend-after-change-region): Remove.
14411 * nxml/xmltok.el: Use lexical-binding.
14412 (xmltok-save): Use `declare'.
14413 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
14414 * nxml/nxml-util.el: Use lexical-binding.
14415 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
14416 Use `declare'.
14417 * nxml/nxml-ns.el: Use lexical-binding.
14418 (nxml-ns-save): Use `declare'.
14419 (nxml-ns-prefixes-for): Avoid add-to-list.
14420 * nxml/rng-match.el: Use lexical-binding.
14421 (rng--ipattern): Use cl-defstruct.
14422 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
14423 (rng-cons-group-after, rng-subst-group-after)
14424 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
14425 Use closures instead of `(lambda...).
14426
14427 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
14428
14429 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
14430 of BEG and END.
14431
14432 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14433 Use `tramp-handle-insert-file-contents'.
14434 (tramp-gvfs-handle-insert-file-contents): Remove function.
14435
14436 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14437 Use `save-restriction' in order to keep markers.
14438
14439 * net/trampver.el: Update release number.
14440
14441 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14442
14443 * progmodes/compile.el (compilation-parse-errors):
14444 Use compilation--put-prop.
14445 (compilation--ensure-parse): Check compilation-multiline.
14446
14447 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
14448
14449 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
14450 lexical-binding.
14451
14452 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
14453
14454 * progmodes/ruby-mode.el: Fix recently added tests.
14455 (ruby-smie-grammar): Add - and +.
14456 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
14457 (ruby-smie--backward-id): New functions.
14458 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
14459 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
14460 any more.
14461
14462 2013-10-07 Leo Liu <sdl.web@gmail.com>
14463
14464 * register.el (register-preview-delay)
14465 (register-preview-functions): New variables.
14466 (register-read-with-preview, register-preview)
14467 (register-describe-oneline): New functions.
14468 (point-to-register, window-configuration-to-register)
14469 (frame-configuration-to-register, jump-to-register)
14470 (number-to-register, view-register, insert-register)
14471 (copy-to-register, append-to-register, prepend-to-register)
14472 (copy-rectangle-to-register): Use register-read-with-preview to
14473 read register. (Bug#15525)
14474
14475 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
14476
14477 * net/network-stream.el (network-stream-open-starttls): Don't add
14478 --insecure if it's already present, because that gnutls-cli
14479 rejects getting that parameter twice.
14480
14481 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
14482
14483 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
14484 keyword, too.
14485
14486 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
14487
14488 * newcomment.el (comment-use-global-state): Change default value
14489 to t, mark obsolete (Bug#15251).
14490 (comment-beginning): In addition to `comment-to-syntax', check the
14491 value of `comment-use-global-state'.
14492
14493 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
14496 (ruby-comment-column): Follow the global default, by default.
14497 (ruby-smie-grammar): Add assignment syntax.
14498 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
14499 open-paren, a comma, or a \.
14500 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
14501 and line continuations.
14502 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
14503 followed by implicit semi-colons. Add rule for string concatenation
14504 and for indentation at BOB.
14505 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
14506
14507 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
14508 calling next-sexp, since next-token may have skipped chars which
14509 next-sexp doesn't know should be skipped!
14510
14511 2013-10-05 Leo Liu <sdl.web@gmail.com>
14512
14513 * progmodes/octave.el (octave-send-region):
14514 Call compilation-forget-errors.
14515
14516 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
14517
14518 * vc/vc-svn.el (vc-svn-find-admin-dir):
14519 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
14520 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
14521 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
14522 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
14523
14524 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
14527
14528 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * subr.el (read-passwd): Hide chars even when called within a context
14531 where after-change-functions is disabled (bug#15501).
14532 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
14533 until we removed ourself from overriding-terminal-local-map.
14534
14535 2013-10-04 Leo Liu <sdl.web@gmail.com>
14536
14537 * progmodes/octave.el (inferior-octave-mode):
14538 Call compilation-forget-errors.
14539
14540 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
14541
14542 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
14543
14544 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
14545
14546 * net/secrets.el (secrets-create-collection): Add optional
14547 argument ALIAS. Use proper Label keyword. Append ALIAS as
14548 dbus-call-method argument. (Bug#15516)
14549
14550 2013-10-04 Leo Liu <sdl.web@gmail.com>
14551
14552 * progmodes/octave.el (inferior-octave-error-regexp-alist)
14553 (inferior-octave-compilation-font-lock-keywords): New variables.
14554 (compilation-error-regexp-alist)
14555 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
14556 (inferior-octave-mode): Use compilation-shell-minor-mode.
14557
14558 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
14559
14560 * minibuffer.el (completion--replace): Be careful that `end' might be
14561 a marker.
14562
14563 2013-10-03 Daiki Ueno <ueno@gnu.org>
14564
14565 Add support for package signature checking.
14566 * emacs-lisp/package.el (url-http-file-exists-p)
14567 (epg-make-context, epg-context-set-home-directory)
14568 (epg-verify-string, epg-context-result-for)
14569 (epg-signature-status, epg-signature-to-string)
14570 (epg-check-configuration, epg-configuration)
14571 (epg-import-keys-from-file): Declare.
14572 (package-check-signature): New user option.
14573 (package-unsigned-archives): New user option.
14574 (package-desc): Add `signed' field.
14575 (package-load-descriptor): Set `signed' field if .signed file exists.
14576 (package--archive-file-exists-p): New function.
14577 (package--check-signature): New function.
14578 (package-install-from-archive): Check package signature.
14579 (package--download-one-archive): Check archive signature.
14580 (package-delete): Remove .signed file.
14581 (package-import-keyring): New command.
14582 (package-refresh-contents): Import default keyring.
14583 (package-desc-status): Add "unsigned" status.
14584 (describe-package-1, package-menu--print-info)
14585 (package-menu-mark-delete, package-menu--find-upgrades)
14586 (package-menu--status-predicate): Support "unsigned" status.
14587
14588 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14589
14590 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
14591 the new compilation scheme using the new byte-codes.
14592
14593 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
14594 (byte-pophandler): New byte codes.
14595 (byte-goto-ops): Adjust accordingly.
14596 (byte-compile--use-old-handlers): New var.
14597 (byte-compile-catch): Use new byte codes depending on
14598 byte-compile--use-old-handlers.
14599 (byte-compile-condition-case--old): Rename from
14600 byte-compile-condition-case.
14601 (byte-compile-condition-case--new): New function.
14602 (byte-compile-condition-case): New function that dispatches depending
14603 on byte-compile--use-old-handlers.
14604 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
14605 when we can.
14606
14607 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
14608 Optimize under `condition-case' and `catch' if
14609 byte-compile--use-old-handlers is nil.
14610 (disassemble-offset): Handle new bytecodes.
14611
14612 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14613
14614 * subr.el (error): Use `declare'.
14615 (decode-char, encode-char): Use advertised-calling-convention instead
14616 of the docstring to discourage use of the `restriction' arg.
14617
14618 2013-10-03 Daiki Ueno <ueno@gnu.org>
14619
14620 * epg.el (epg-verify-file): Add a comment saying that it does not
14621 notify verification error as a return value nor a signal.
14622 (epg-verify-string): Ditto.
14623
14624 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14625
14626 * progmodes/compile.el (compilation-start): Try globbing the arg to
14627 `cd' (bug#15417).
14628
14629 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
14630
14631 Sync with Tramp 2.2.8.
14632
14633 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
14634 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
14635 * net/trampver.el: Update release number.
14636
14637 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
14638
14639 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
14640 and default-process-coding-system for darwin only.
14641
14642 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14643
14644 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
14645
14646 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
14647
14648 * vc/vc-git.el (vc-git-grep): Disable pager.
14649
14650 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
14651
14652 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
14653 Use :url instead of :homepage, as per
14654 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
14655
14656 * newcomment.el (comment-beginning): When `comment-use-syntax' is
14657 non-nil, use `syntax-ppss' (Bug#15251).
14658
14659 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14660
14661 * progmodes/octave.el (inferior-octave-startup-file):
14662 Prefer ~/.emacs.d/init_octave.m.
14663
14664 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
14665
14666 * emacs-lisp/package.el (package-desc-from-define):
14667 Accept additional arguments as plist, convert them to an alist and store
14668 them in the `extras' slot.
14669 (package-generate-description-file): Convert extras alist back to
14670 plist and append to the `define-package' form arguments.
14671 (package--alist-to-plist): New function.
14672 (package--ac-desc): Add `extras' slot.
14673 (package--add-to-archive-contents): Check if the archive-contents
14674 vector is long enough, and if it is, pass its `extras' slot value
14675 to `package-desc-create'.
14676 (package-buffer-info): Call `lm-homepage', pass the returned value
14677 to `package-desc-from-define'.
14678 (describe-package-1): Render the homepage button (Bug#13291).
14679
14680 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14681 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
14682
14683 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
14684
14685 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
14686 and default-process-coding-system to utf-8-unix (Bug#15402).
14687
14688 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
14689
14690 * subr.el (looking-back): Do not recommend using looking-back.
14691
14692 2013-09-28 Alan Mackenzie <acm@muc.de>
14693
14694 Fix indentation/fontification of Java enum with "implements".
14695
14696 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
14697 regexp which matches "implements", etc., in Java.
14698 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
14699 specifier clauses coming after "enum".
14700 * progmodes/cc-fonts.el (c-font-lock-declarations)
14701 (c-font-lock-enum-tail): Check for extra specifier clauses coming
14702 after "enum".
14703
14704 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
14705
14706 * faces.el (region): Change ns_selection_color to
14707 ns_selection_fg_color, add ns_selection_bg_color.
14708
14709 2013-09-28 Leo Liu <sdl.web@gmail.com>
14710
14711 * progmodes/octave.el (inferior-octave-completion-table)
14712 (inferior-octave-completion-at-point): Minor tweaks.
14713
14714 * textmodes/ispell.el (ispell-lookup-words): Rename from
14715 lookup-words. (Bug#15460)
14716 (lookup-words): Obsolete.
14717 (ispell-complete-word, ispell-command-loop): All uses changed.
14718
14719 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14720
14721 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
14722 (octave-mode-menu): Add octave-send-buffer.
14723 (octave-send-buffer): New function.
14724
14725 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14726
14727 * progmodes/octave.el (octave-mode-map): Add key binding for
14728 octave-lookfor.
14729 (octave-mode-menu): Add octave-lookfor.
14730 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
14731 octave-lookfor.
14732 (octave-lookfor): New function.
14733
14734 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14735
14736 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
14737 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
14738 its convention.
14739 (cl--loop-set-iterator-function): New function.
14740 (cl-loop): Adjust accordingly, so as not to use cl-subst.
14741 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
14742 Bind `it' with `let' instead of substituting it with `cl-subst'.
14743 (cl--unused-var-p): New function.
14744 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
14745 Eliminate some unused variable warnings (bug#15326).
14746
14747 2013-09-27 Tassilo Horn <tsdh@gnu.org>
14748
14749 * doc-view.el (doc-view-scale-reset): Rename from
14750 `doc-view-reset-zoom-level'.
14751 (doc-view-scale-adjust): New command.
14752 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
14753 `doc-view-scale-adjust'.
14754
14755 2013-09-26 Tassilo Horn <tsdh@gnu.org>
14756
14757 * doc-view.el (doc-view-reset-zoom-level): New command.
14758 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
14759 zoom commands (bug#15466).
14760
14761 2013-09-26 Kenichi Handa <handa@gnu.org>
14762
14763 * international/quail.el (quail-help): Make it not a command.
14764
14765 2013-09-26 Leo Liu <sdl.web@gmail.com>
14766
14767 * minibuffer.el (completion-all-sorted-completions): Make args
14768 optional as they are.
14769
14770 2013-09-25 Daniel Colascione <dancol@dancol.org>
14771
14772 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
14773 specs are and that they're not evaluated.
14774
14775 2013-09-24 Sam Steingold <sds@gnu.org>
14776
14777 * midnight.el (clean-buffer-list-kill-regexps)
14778 (clean-buffer-list-kill-buffer-names): Update for the new Man
14779 buffer naming which includes the object name.
14780
14781 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 * eshell/esh-cmd.el (eshell--sep-terms): New var.
14784 (eshell-parse-command, eshell-parse-pipeline): Use it since
14785 eshell-separate-commands requires a dynamic scoped var.
14786 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
14787
14788 2013-09-23 Leo Liu <sdl.web@gmail.com>
14789
14790 * autoinsert.el (auto-insert-alist): Make the value of
14791 lexical-binding match its file setting.
14792
14793 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
14794
14795 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
14796
14797 * autoarg.el (autoarg-kp-digit-argument):
14798 * electric.el (Electric-command-loop):
14799 * kmacro.el (kmacro-step-edit-insert):
14800 Do not set universal-argument-num-events.
14801
14802 2013-09-22 Leo Liu <sdl.web@gmail.com>
14803
14804 * files.el (interpreter-mode-alist): Add octave.
14805
14806 2013-09-21 Alan Mackenzie <acm@muc.de>
14807
14808 C++: fontify identifier in declaration following "public:" correctly.
14809 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
14810 to match "public", etc.
14811 (c-decl-prefix-re): Add ":" into the C++ value.
14812 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
14813 bit. Add a check for a ":" preceded by "public", etc.
14814
14815 2013-09-21 Eli Zaretskii <eliz@gnu.org>
14816
14817 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
14818 recognized by GDB 7.5 and later.
14819
14820 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
14821
14822 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
14823
14824 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14825
14826 * subr.el (internal--call-interactively): New const.
14827 (called-interactively-p): Use it (bug#3984).
14828
14829 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
14830
14831 * vc/pcvs.el (cvs-mode-ignore):
14832 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
14833 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
14834
14835 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14836
14837 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
14838 (eshell-ls-orig-insert-directory): Remove.
14839 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
14840 (eshell-ls-use-in-dired): Use advice-add/remove.
14841 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
14842 Add `orig-fun' arg for use in :around advice.
14843 Make it check (redundantly) eshell-ls-use-in-dired.
14844
14845 2013-09-19 Glenn Morris <rgm@gnu.org>
14846
14847 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
14848
14849 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
14850
14851 * emacs-lisp/eieio.el (class-parent): Undo previous change.
14852
14853 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
14854
14855 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
14856 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
14857 (tramp-get-remote-python): New defuns.
14858 (tramp-get-remote-uid-with-perl)
14859 (tramp-get-remote-gid-with-perl): New defuns. Perl code
14860 contributed by yary <not.com@gmail.com> (tiny change).
14861 (tramp-get-remote-uid-with-python)
14862 (tramp-get-remote-gid-with-python): New defuns. Python code
14863 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
14864 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
14865
14866 2013-09-19 Glenn Morris <rgm@gnu.org>
14867
14868 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
14869
14870 * eshell/em-unix.el (eshell-remove-entries):
14871 Rename argument to avoid name-clash with global `top-level'.
14872
14873 * eshell/esh-proc.el (eshell-kill-process-function):
14874 Remove eshell-reset-after-proc from eshell-kill-hook if present.
14875 (eshell-reset-after-proc): Remove unused arg `proc'.
14876
14877 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
14878 (directory-files-and-attributes): Mark unused arg.
14879
14880 * eshell/em-unix.el (eshell-remove-entries):
14881 Remove unused arg `path'. Update callers.
14882
14883 * eshell/em-hist.el (eshell-hist-parse-arguments):
14884 Remove unused arg `silent'. Update callers.
14885
14886 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
14887 Fix (f)boundp mix-up.
14888
14889 * eshell/em-smart.el (eshell-smart-scroll-window)
14890 (eshell-disable-after-change):
14891 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
14892
14893 2013-09-18 Alan Mackenzie <acm@muc.de>
14894
14895 Fix fontification of type when followed by "const".
14896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
14897 "known" types from fontification.
14898
14899 2013-09-18 Glenn Morris <rgm@gnu.org>
14900
14901 * emacs-lisp/chart.el (x-display-color-cells): Declare.
14902 (chart-face-list): Drop Emacsen without display-color-p.
14903
14904 * net/eww.el (libxml-parse-html-region): Declare.
14905 (eww-display-html): Explicit error if no libxml2 support.
14906
14907 * doc-view.el (doc-view-mode): Silence --without-x compilation.
14908
14909 * image.el (image-type-from-buffer, image-multi-frame-p):
14910 Remove --without-x warning/error.
14911
14912 * mouse.el (mouse-yank-primary):
14913 * term.el (term-mouse-paste):
14914 Reorder to silence --without-x compilation.
14915
14916 * mpc.el (doc-view-mode): Silence --without-x compilation.
14917
14918 * mail/rmailmm.el (rmail-mime-set-bulk-data):
14919 Silence --without-x compilation.
14920
14921 * progmodes/gud.el (gud-find-file, gud-mode):
14922 Silence --without-x compilation.
14923 (tooltip-mode): Declare.
14924
14925 * wdired.el (dired-backup-overwrite): Remove declaration.
14926 (wdired-mode-map): Add doc string.
14927
14928 * custom.el (x-get-resource): Declare.
14929
14930 * eshell/em-glob.el (ange-cache):
14931 * eshell/em-unix.el (ange-cache): Declare.
14932
14933 * faces.el (x-display-list, x-open-connection, x-get-resource):
14934 Declare.
14935
14936 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
14937 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
14938 Declare.
14939
14940 * frame.el (x-display-grayscale-p, x-display-name): Declare.
14941
14942 * net/gnutls.el (gnutls-log-level): Declare.
14943
14944 * net/shr.el (image-size, image-animate): Declare.
14945
14946 * simple.el (font-info): Declare.
14947
14948 * subr.el (x-popup-dialog): Declare.
14949
14950 * term/common-win.el (x-select-enable-primary)
14951 (x-last-selected-text-primary, x-last-selected-text-clipboard):
14952 Declare.
14953
14954 * term/ns-win.el (x-handle-args): Declare.
14955
14956 * term/x-win.el (x-select-enable-clipboard): Declare.
14957
14958 * term/w32-win.el (create-default-fontset): Declare.
14959
14960 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
14961 Declare.
14962
14963 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
14964 (fit-frame-to-buffer): Explicit error if --without-x.
14965 (mouse-autoselect-window-select): Silence compiler.
14966
14967 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14968
14969 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
14970 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
14971 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
14972 * eshell/esh-util.el (eshell-sublist):
14973 Remove unused local variables.
14974
14975 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
14976
14977 * textmodes/two-column.el: Make 2C-split work for --without-x.
14978 (scroll-bar-columns): Autoload.
14979 (top-level): Require fringe when compiling.
14980
14981 2013-09-18 Leo Liu <sdl.web@gmail.com>
14982
14983 * subr.el (add-hook): Robustify to handle closure as well.
14984
14985 2013-09-17 Glenn Morris <rgm@gnu.org>
14986
14987 * simple.el (messages-buffer-mode-map): Unbind "g".
14988
14989 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14990
14991 * help-mode.el (help-mode-finish): Use derived-mode-p.
14992 Remove obsolete highlighting.
14993
14994 * play/life.el (life-mode): Use define-derived-mode. Derive from
14995 special-mode.
14996 (life): Let-bind inhibit-read-only.
14997 (life-setup): Avoid `setq'. Use `life-mode'.
14998
14999 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
15000 which should not be needed any more.
15001 (package-menu-refresh, package-menu-describe-package): Use user-error.
15002
15003 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
15004 (eshell-post-rewrite-command-hook): Make obsolete.
15005 (eshell-parse-command): Simplify.
15006 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
15007 (eshell--cmd): Declare.
15008 (eshell-parse-pipeline): Remove unused var `final-p'.
15009 Pass a dynvar to eshell-post-rewrite-command-hook.
15010 Implement the new eshell-post-rewrite-command-function.
15011 (eshell-invoke-directly): Remove unused arg `input'.
15012 * eshell/esh-io.el (eshell-io-initialize):
15013 Use eshell-post-rewrite-command-function (bug#15399).
15014 (eshell--apply-redirections): Rename from eshell-apply-redirections;
15015 adjust to new calling convention.
15016 (eshell-create-handles): Rename args to avoid clashing with dynvar
15017 `standard-output'.
15018
15019 2013-09-17 Glenn Morris <rgm@gnu.org>
15020
15021 * simple.el (messages-buffer-mode): New major mode.
15022 (messages-buffer): New function.
15023 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
15024 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
15025 (ert-run-test): Use `messages-buffer' function.
15026 (ert--force-message-log-buffer-truncation): Ignore read-only.
15027 * help.el (view-echo-area-messages): Use `messages-buffer' function.
15028 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
15029
15030 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15031
15032 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
15033
15034 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
15035
15036 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15037
15038 * icomplete.el (icomplete-in-buffer): New var.
15039 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
15040 vars and replace them with functions.
15041 (icomplete-minibuffer-setup): Adjust accordingly.
15042 (icomplete--completion-table, icomplete--completion-predicate)
15043 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
15044 New functions.
15045 (icomplete-forward-completions, icomplete-backward-completions)
15046 (icomplete-simple-completing-p, icomplete-exhibit)
15047 (icomplete-completions): Use them.
15048 (icomplete--in-region-buffer): New var.
15049 (icomplete--in-region-setup): New function.
15050 (icomplete-mode): Use it.
15051
15052 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
15053 (bug#15379).
15054 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
15055 return args and options.
15056 (eshell-eval-using-options): Use the new return value of
15057 eshell--do-opts to set the options's vars in their scope.
15058 (eshell--set-option): Rename from eshell-set-option.
15059 Add arg `opt-vals'.
15060 (eshell--process-option): Rename from eshell-process-option.
15061 Add arg `opt-vals'.
15062 (eshell--process-args): Use an `opt-vals' alist to store the options's
15063 values during their processing and return them additionally to the
15064 remaining args.
15065
15066 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
15067
15068 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
15069 continuation character an operator, as far as indentation is
15070 concerned (Bug#15369).
15071
15072 2013-09-15 Martin Rudalics <rudalics@gmx.at>
15073
15074 * window.el (window--state-put-2): Don't process buffer state
15075 when buffer doesn't exist any more (Bug#15382).
15076
15077 2013-09-15 Glenn Morris <rgm@gnu.org>
15078
15079 * eshell/em-unix.el (eshell/rm):
15080 Make -f ignore missing files. (Bug#15373)
15081
15082 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
15083 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
15084 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
15085
15086 2013-09-14 Glenn Morris <rgm@gnu.org>
15087
15088 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
15089
15090 2013-09-13 Glenn Morris <rgm@gnu.org>
15091
15092 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
15093 (dired-guess-default): Make `file' available in the env. (Bug#15363)
15094
15095 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
15096
15097 * frame.el (x-focus-frame): Mark as declared in frame.c.
15098
15099 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15100
15101 * ls-lisp.el: Use advice-add.
15102 (original-insert-directory): Remove.
15103 (ls-lisp--insert-directory): Rename from insert-directory; add
15104 `orig-fun' argument.
15105 (insert-directory): Advise.
15106
15107 2013-09-13 Eli Zaretskii <eliz@gnu.org>
15108
15109 * term.el (term-emulate-terminal): Decode the command string
15110 before passing it to term-command-hook. (Bug#15337)
15111
15112 2013-09-13 Glenn Morris <rgm@gnu.org>
15113
15114 * eshell/esh-util.el (ange-cache): Move declaration earlier.
15115
15116 * eshell/esh-ext.el (eshell-search-path): Declare.
15117
15118 * eshell/em-prompt.el (eshell/pwd): Autoload it.
15119 Otherwise an error occurs if eshell-dirs module not loaded.
15120
15121 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
15122
15123 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
15124
15125 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
15126 `tramp-check-proper-host'. Check for a valid method name.
15127
15128 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15129 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15130 * net/tramp-sh.el (tramp-maybe-open-connection):
15131 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
15132
15133 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
15134 also for hash values.
15135
15136 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15137
15138 * term/ns-win.el (parameters): Don't declare as dynamic.
15139 (before-make-frame-hook): Don't add ineffective function.
15140
15141 * eshell/*.el: Use lexical-binding (bug#15231).
15142
15143 2013-09-12 Kenichi Handa <handa@gnu.org>
15144
15145 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
15146
15147 2013-09-12 Glenn Morris <rgm@gnu.org>
15148
15149 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
15150 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
15151
15152 * subr.el (do-after-load-evaluation): Also give compiler warnings
15153 when obsolete files are used (except by obsolete files).
15154
15155 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
15156 in the status output, assume `filename' is the first. (Bug#15322)
15157
15158 * vc/vc.el (vc-deduce-fileset): Doc fix.
15159
15160 * calc/calc-help.el (Info-goto-node):
15161 * progmodes/cperl-mode.el (Info-find-node):
15162 * vc/ediff.el (Info-goto-node): Update declarations.
15163
15164 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
15165
15166 * vc/vc-bzr.el (vc-compilation-mode): Declare.
15167 (vc-bzr-pull): Require vc-dispatcher.
15168 * vc/vc-git.el (vc-compilation-mode): Declare.
15169 (vc-git-pull): Require vc-dispatcher.
15170
15171 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
15172
15173 * progmodes/octave.el (help-button-action): Declare.
15174
15175 * shell.el (shell-directory-tracker): Output error as a message
15176 rather than just returning it as a string.
15177 (shell-process-pushd): Remove useless use of message.
15178
15179 * dframe.el (dframe-timer-fn):
15180 * files.el (dir-locals-read-from-file):
15181 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
15182 (mpc-format):
15183 * reveal.el (reveal-post-command):
15184 * saveplace.el (load-save-place-alist-from-file):
15185 * shell.el (shell-resync-dirs):
15186 * w32-common-fns.el (x-get-selection-value):
15187 * emacs-lisp/copyright.el (copyright-find-copyright):
15188 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
15189 * emulation/tpu-edt.el (tpu-copy-keyfile):
15190 * play/bubbles.el (bubbles--mark-neighbourhood):
15191 * progmodes/executable.el
15192 (executable-make-buffer-file-executable-if-script-p):
15193 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
15194
15195 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15196
15197 Cleanup Eshell to rely less on dynamic scoping.
15198 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
15199 last-value, and ext-command here. Bind `args' closer to `body'.
15200 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
15201 (eshell--args): Declare new dynamic var.
15202 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
15203 last-value, and ext-command. Pass `args' to `body'.
15204 (eshell-process-args): Bind eshell--args.
15205 (eshell-set-option): Use eshell--args.
15206 * eshell/eshell.el (eshell): Use derived-mode-p.
15207 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
15208 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
15209 (eshell-glob-function): Declare.
15210 * eshell/esh-util.el: Require cl-lib.
15211 (eshell-read-hosts-file): Avoid add-to-list.
15212 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
15213 `err'.
15214 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
15215 Declare.
15216 (eshell/diff): Remove unused var `err'.
15217 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
15218 `killflag'.
15219 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
15220 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
15221 first use.
15222 * eshell/em-glob.el (eshell-glob-matches, message-shown):
15223 Move declaration before first use.
15224 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
15225 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
15226 rely on cl-return.
15227
15228 2013-09-12 Glenn Morris <rgm@gnu.org>
15229
15230 * term/ns-win.el (global-map): Remove binding for ispell-next,
15231 deleted 1999-05-29. (Bug#15357)
15232
15233 2013-09-11 Glenn Morris <rgm@gnu.org>
15234
15235 * echistory.el (electric-command-history): Remove call to deleted func.
15236
15237 * play/landmark.el (landmark-mode): Fix typos.
15238
15239 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
15240 Check cvs-sort-ignore-file is bound.
15241
15242 * savehist.el: No need for cl when compiling on Emacs.
15243
15244 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15245
15246 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
15247 (bug#15338).
15248 (eshell-self-insert-command, eshell-send-invisible):
15249 Remove unused argument.
15250 (eshell-handle-control-codes): Remove unused var `orig'.
15251 Avoid delete-backward-char.
15252
15253 * files.el (set-auto-mode): Simplify a bit further.
15254
15255 2013-09-11 Glenn Morris <rgm@gnu.org>
15256
15257 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
15258 (set-auto-mode): Don't regexp-quote elements.
15259 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
15260 * progmodes/cc-mode.el (interpreter-mode-alist):
15261 * progmodes/ruby-mode.el (interpreter-mode-alist):
15262 Revert previous change.
15263
15264 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15265
15266 * play/snake.el (snake-mode):
15267 * play/mpuz.el (mpuz-mode):
15268 * play/landmark.el (lm-mode):
15269 * play/blackbox.el (blackbox-mode):
15270 * play/5x5.el (5x5-mode):
15271 * obsolete/options.el (Edit-options-mode):
15272 * net/quickurl.el (quickurl-list-mode):
15273 * net/newst-treeview.el (newsticker-treeview-mode):
15274 * mail/rmailsum.el (rmail-summary-mode):
15275 * mail/mspools.el (mspools-mode):
15276 * locate.el (locate-mode):
15277 * ibuffer.el (ibuffer-mode):
15278 * emulation/ws-mode.el (wordstar-mode):
15279 * emacs-lisp/debug.el (debugger-mode):
15280 * array.el (array-mode):
15281 * net/eudc.el (eudc-mode): Use define-derived-mode.
15282 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
15283 Move initialization into declaration.
15284 (mairix-searches-mode): Use define-derived-mode.
15285 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
15286 (eudc-edit-hotlist): Use dolist.
15287 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
15288 (Man-mode): Use define-derived-mode.
15289 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
15290 (Info-edit-mode): Use define-derived-mode.
15291 (Info-cease-edit): Use Info-mode.
15292 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
15293 into declaration.
15294 (eshell-mode): Use define-derived-mode.
15295 * chistory.el (command-history-mode-map): Rename from
15296 command-history-map.
15297 (command-history-mode): Use define-derived-mode.
15298 (Command-history-setup): Remove function.
15299 * calc/calc.el (calc-trail-mode-map): New var.
15300 (calc-trail-mode): Use define-derived-mode.
15301 (calc-trail-buffer): Set calc-main-buffer manually.
15302 * bookmark.el (bookmark-insert-annotation): New function.
15303 (bookmark-edit-annotation): Use it.
15304 (bookmark-edit-annotation-mode): Make it a proper major mode.
15305 (bookmark-send-edited-annotation): Use derived-mode-p.
15306 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
15307 closer to its ideal place. Use \' to match EOS.
15308
15309 * profiler.el (profiler-calltree-find): Use function-equal.
15310
15311 2013-09-10 Glenn Morris <rgm@gnu.org>
15312
15313 * files.el (interpreter-mode-alist): Convert to regexps.
15314 (set-auto-mode): Adapt for this. (Bug#15306)
15315 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
15316 Comment out unused variable.
15317 * progmodes/cc-mode.el (interpreter-mode-alist):
15318 * progmodes/python.el (interpreter-mode-alist):
15319 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
15320 * progmodes/sh-script.el (sh-set-shell):
15321 No longer use interpreter-mode-alist to get list of shells.
15322
15323 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
15324
15325 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15326
15327 * simple.el: Use set-temporary-overlay-map for universal-argument.
15328 (universal-argument-map): Don't use default-bindings (bug#15317).
15329 Bind switch-frame explicitly. Replace universal-argument-minus with
15330 a conditional binding.
15331 (universal-argument-num-events, saved-overriding-map): Remove.
15332 (restore-overriding-map): Remove.
15333 (universal-argument--mode): Rename from save&set-overriding-map,
15334 and rewrite.
15335 (universal-argument, universal-argument-more, negative-argument)
15336 (digit-argument): Adjust accordingly.
15337 (universal-argument-minus): Remove.
15338 (universal-argument-other-key): Remove.
15339
15340 * subr.el (with-demoted-errors): Add `format' argument.
15341
15342 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
15343
15344 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
15345 `tramp-cleanup-connection'.
15346
15347 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
15348 parameters KEEP-DEBUG and KEEP-PASSWORD.
15349
15350 * net/tramp.el (tramp-file-name-handler):
15351 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15352 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15353 (tramp-maybe-open-connection):
15354 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
15355 Use `tramp-cleanup-connection'.
15356
15357 * net/tramp-sh.el (tramp-maybe-open-connection):
15358 Catch 'uname-changed inside the progress reporter.
15359
15360 2013-09-10 Glenn Morris <rgm@gnu.org>
15361
15362 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
15363
15364 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
15365 returns "alternate access method" in mode (eg "-rw-r--r--.").
15366
15367 2013-09-08 Glenn Morris <rgm@gnu.org>
15368
15369 * saveplace.el (load-save-place-alist-from-file):
15370 Demote errors. (Bug#15305)
15371
15372 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
15373
15374 Improve compatibility with older Emacsen, and XEmacs.
15375
15376 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
15377 only if it is bound. It isn't for XEmacs.
15378 (with-tramp-progress-reporter): Do not let-bind `result'.
15379 This yields to scoping errors in XEmacs.
15380 (tramp-handle-make-auto-save-file-name): New function, moved from
15381 tramp-sh.el.
15382
15383 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
15384 for `make-auto-save-file-name'.
15385 (tramp-adb--gnu-switches-to-ash):
15386 Use `tramp-compat-replace-regexp-in-string'.
15387
15388 * net/tramp-cache.el (tramp-cache-print): Call
15389 `substring-no-properties' only if it is bound. It isn't for XEmacs.
15390
15391 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
15392 bound. It isn't for XEmacs.
15393
15394 * net/tramp-compat.el (tramp-compat-copy-file):
15395 Catch `wrong-number-of-arguments' error.
15396 (tramp-compat-replace-regexp-in-string): New defun.
15397
15398 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
15399 for `make-auto-save-file-name'.
15400 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
15401 `copy-file'.
15402 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
15403 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
15404 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
15405
15406 * net/tramp-gw.el (tramp-gw-open-network-stream):
15407 Use `tramp-compat-replace-regexp-in-string'.
15408
15409 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15410 Call `tramp-handle-make-auto-save-file-name'.
15411 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
15412 (tramp-sh-file-gvfs-monitor-dir-process-filter)
15413 (tramp-sh-file-inotifywait-process-filter):
15414 Use `tramp-compat-replace-regexp-in-string'.
15415 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
15416
15417 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
15418 for `make-auto-save-file-name'.
15419 (tramp-smb-handle-copy-directory):
15420 Call `tramp-compat-replace-regexp-in-string'.
15421 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
15422 (tramp-smb-handle-copy-file): Improve error message.
15423 (tramp-smb-handle-rename-file): Rename directly only in case
15424 `newname' does not exist yet. This is a restriction of smbclient.
15425 (tramp-smb-maybe-open-connection): Rerun the function only when
15426 `auth-sources' is non-nil.
15427
15428 2013-09-08 Kenichi Handa <handa@gnu.org>
15429
15430 * international/characters.el: Set category "^" (Combining) for
15431 more characters.
15432
15433 2013-09-07 Alan Mackenzie <acm@muc.de>
15434
15435 Correctly fontify Java class constructors.
15436 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
15437 in Java Mode.
15438 (c-recognize-typeless-decls): Set the Java value to t.
15439 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15440 While handling a "(", add a check for, effectively, Java, and handle a
15441 "typeless" declaration there.
15442
15443 2013-09-07 Roland Winkler <winkler@gnu.org>
15444
15445 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
15446 field subtitle for entry type book.
15447
15448 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
15449
15450 * minibuffer.el: Make minibuffer-complete call completion-in-region
15451 rather than other way around.
15452 (completion--some, completion-pcm--find-all-completions):
15453 Don't delay signals when debugging.
15454 (minibuffer-completion-contents): Beware fields within the
15455 minibuffer contents.
15456 (completion-all-sorted-completions): Use defvar-local.
15457 (completion--do-completion, completion--cache-all-sorted-completions)
15458 (completion-all-sorted-completions, minibuffer-force-complete):
15459 Add args `beg' and `end'.
15460 (completion--in-region-1): New fun, extracted from minibuffer-complete.
15461 (minibuffer-complete): Use completion-in-region.
15462 (completion-complete-and-exit): New fun, extracted from
15463 minibuffer-complete-and-exit.
15464 (minibuffer-complete-and-exit): Use it.
15465 (completion--complete-and-exit): Rename from
15466 minibuffer--complete-and-exit.
15467 (completion-in-region--single-word): New function, extracted from
15468 minibuffer-complete-word.
15469 (minibuffer-complete-word): Use it.
15470 (display-completion-list): Make `common-substring' argument obsolete.
15471 (completion--in-region): Call completion--in-region-1 instead of
15472 minibuffer-complete.
15473 (completion-help-at-point): Pass boundaries to
15474 minibuffer-completion-help as args rather than via an overlay.
15475 (completion-pcm--string->pattern): Use `any-delim'.
15476 (completion-pcm--optimize-pattern): New function.
15477 (completion-pcm--pattern->regex): Handle `any-delim'.
15478 * icomplete.el (icomplete-forward-completions)
15479 (icomplete-backward-completions, icomplete-completions):
15480 Adjust calls to completion-all-sorted-completions and
15481 completion--cache-all-sorted-completions.
15482 (icomplete-with-completion-tables): Default to t.
15483 * emacs-lisp/crm.el (crm--current-element): Rename from
15484 crm--select-current-element. Don't put an overlay but return the
15485 boundaries instead.
15486 (crm--completion-command): Take two new args to bind to the boundaries.
15487 (crm-completion-help): Adjust accordingly.
15488 (crm-complete): Use completion-in-region.
15489 (crm-complete-word): Use completion-in-region--single-word.
15490 (crm-complete-and-exit): Use completion-complete-and-exit.
15491
15492 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
15493
15494 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
15495 than dynamically.
15496
15497 2013-09-06 Juri Linkov <juri@jurta.org>
15498
15499 * info.el (Info-display-images-node): When image file doesn't exist
15500 display text version of the image if it's provided in the Info file.
15501 Otherwise, display the location of missing image from SRC attribute.
15502 Add help-echo text property from ALT attribute. (Bug#15279)
15503
15504 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
15505
15506 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
15507 (edit-abbrevs-mode): Use define-derived-mode.
15508
15509 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
15510 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
15511 that it's defined.
15512 (epa-key-list-mode, epa-key-mode, epa-info-mode):
15513 Use define-derived-mode.
15514
15515 * epg.el (epg-start-encrypt): Minor CSE simplification.
15516
15517 2013-09-06 William Xu <william.xwl@gmail.com>
15518
15519 * arc-mode.el: Add support for 7za (bug#15264).
15520 (archive-7z-program): New var.
15521 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
15522 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
15523 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
15524
15525 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
15526
15527 Remove URL syntax.
15528
15529 * net/tramp.el (tramp-syntax, tramp-prefix-format)
15530 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
15531 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
15532 (tramp-postfix-host-format, tramp-file-name-regexp)
15533 (tramp-completion-file-name-regexp)
15534 (tramp-completion-dissect-file-name)
15535 (tramp-handle-substitute-in-file-name): Remove 'url case.
15536 (tramp-file-name-regexp-url)
15537 (tramp-completion-file-name-regexp-url): Remove constants.
15538
15539 2013-09-06 Glenn Morris <rgm@gnu.org>
15540
15541 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
15542
15543 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
15544
15545 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
15546 keywords" below "here-doc beginnings" (Bug#15270).
15547
15548 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * subr.el (pop): Use `car-safe'.
15551 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
15552 to detect unused `pop' return value.
15553
15554 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
15555 var `block-regexp'.
15556 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
15557 (python-fill-string): Remove unused var `marker'.
15558 (python-skeleton-add-menu-items): Remove unused var `items'.
15559
15560 * international/mule-cmds.el: Require CL.
15561 (find-coding-systems-for-charsets): Avoid add-to-list.
15562 (sanitize-coding-system-list): New function, extracted from
15563 select-safe-coding-system-interactively.
15564 (select-safe-coding-system-interactively): Use it.
15565 (read-input-method-name): Accept symbols for `default'.
15566
15567 * emacs-lisp/advice.el (defadvice): Add indent rule.
15568
15569 2013-09-05 Daniel Hackney <dan@haxney.org>
15570
15571 * dired-x.el:
15572 * net/ange-ftp.el:
15573 * net/browse-url.el:
15574 * net/dbus.el:
15575 * net/eudc.el:
15576 * net/eudcb-ldap.el:
15577 * net/eww.el:
15578 * net/imap.el:
15579 * printing.el:
15580 * vc/ediff-diff.el:
15581 * vc/ediff-init.el:
15582 * vc/ediff-merg.el:
15583 * vc/ediff-mult.el:
15584 * vc/ediff-util.el:
15585 * vc/ediff-wind.el:
15586 * vc/ediff.el:
15587 * vc/emerge.el:
15588 * vc/pcvs.el:
15589 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
15590 byte compiler. Remove some unused let-bound variables.
15591
15592 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
15593
15594 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
15595 a "ref-cell", since it gets better optimized (bug#14883).
15596
15597 2013-09-05 Glenn Morris <rgm@gnu.org>
15598
15599 * progmodes/cc-awk.el (c-forward-sws): Declare.
15600
15601 2013-09-04 Glenn Morris <rgm@gnu.org>
15602
15603 * generic-x.el [rul-generic-mode]: Require cc-mode.
15604 (c++-mode-syntax-table): Declare.
15605 (rul-generic-mode-syntax-table): Init in the defvar.
15606
15607 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
15610 (vc-do-command, vc-set-async-update):
15611 * vc/vc-mtn.el (vc-mtn-dir-status):
15612 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
15613 (vc-hg-pull, vc-hg-merge-branch):
15614 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
15615 (vc-git-merge-branch):
15616 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
15617 (vc-cvs-dir-status-files):
15618 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
15619 (vc-bzr-dir-status-files):
15620 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
15621 * vc/vc-annotate.el: Use lexical-binding.
15622 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
15623 (vc-sentinel-movepoint): Declare.
15624 (vc-annotate): Don't use `goto-line'.
15625 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
15626 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
15627 (vc-sentinel-movepoint): Declare.
15628 * vc/vc-svn.el: Use lexical-binding.
15629 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
15630 * vc/vc-sccs.el:
15631 * vc/vc-rcs.el: Use lexical-binding.
15632
15633 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
15634 `deleted'. Don't drop errors silently.
15635
15636 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
15637
15638 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
15639
15640 * vc/vc.el (vc-ignore): Rewrite.
15641 (vc-default-ignore): New function.
15642 (vc-default-ignore-completion-table): Use find-ignore-file.
15643
15644 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
15645 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
15646 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
15647 Remove. Most code moved to vc.el.
15648
15649 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
15650
15651 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
15652 * net/tramp-smb.el (tramp-smb-get-file-entries):
15653 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
15654 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
15655
15656 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
15657 Update call to it.
15658 (eww-change-select): Remove unused var `properties'.
15659 (eww-make-unique-file-name): Remove unused var `base'.
15660
15661 * finder.el (finder-compile-keywords): Don't mess with windows.
15662
15663 * calculator.el (calculator-funcall): Fix typo in last change.
15664
15665 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
15666
15667 * emacs-lisp/package.el (package-activate-1): Don't let a missing
15668 <pkg>-autoloads.el file stop us.
15669
15670 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
15671 warnings, and factor out common code.
15672
15673 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
15674
15675 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
15676 two-character operators and whether the character preceding them
15677 changes their meaning (Bug#15208).
15678
15679 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
15680
15681 Format code sent to Python shell for robustness.
15682 * progmodes/python.el (python-shell-buffer-substring):
15683 New function.
15684 (python-shell-send-region, python-shell-send-buffer): Use it.
15685
15686 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
15687
15688 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
15689 * net/tramp.el (tramp-user-error): ... here.
15690 (tramp-find-method, tramp-check-proper-host)
15691 (tramp-dissect-file-name, tramp-debug-message)
15692 (tramp-handle-shell-command):
15693 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15694 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
15695
15696 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
15697
15698 2013-09-02 Martin Rudalics <rudalics@gmx.at>
15699
15700 * avoid.el (mouse-avoidance-point-position)
15701 (mouse-avoidance-too-close-p): Handle case where posn-at-point
15702 returns nil.
15703
15704 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
15705
15706 * progmodes/python.el (python-shell-completion-get-completions):
15707 Drop use of deleted `comint-last-prompt-overlay'.
15708 (python-nav-if-name-main): New command.
15709
15710 2013-09-01 Glenn Morris <rgm@gnu.org>
15711
15712 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
15713 Avoid leading space in $wins. Otherwise the sed command used by
15714 eg compile-main ends up containing "/*.el". (Bug#15170)
15715
15716 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
15717
15718 2013-08-30 Glenn Morris <rgm@gnu.org>
15719
15720 * emacs-lisp/bytecomp.el (byte-recompile-directory):
15721 Fix is-this-a-directory logic. (Bug#15220)
15722
15723 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15724
15725 * textmodes/css-mode.el: Use SMIE.
15726 (css-smie-grammar): New var.
15727 (css-smie--forward-token, css-smie--backward-token)
15728 (css-smie-rules): New functions.
15729 (css-mode): Use them.
15730 (css-navigation-syntax-table): Remove var.
15731 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
15732 (css-indent-calculate, css-indent-line): Remove functions.
15733
15734 Misc changes to reduce use of `(lambda...); and other cleanups.
15735 * cus-edit.el: Use lexical-binding.
15736 (customize-push-and-save, customize-apropos)
15737 (custom-buffer-create-internal): Use closures.
15738 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
15739 * progmodes/ada-xref.el: Use setq.
15740 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
15741 * dframe.el: Use lexical-binding.
15742 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
15743 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
15744 * descr-text.el: Use lexical-binding.
15745 (describe-text-widget, describe-text-sexp, describe-property-list):
15746 Use closures.
15747 * comint.el (comint-history-isearch-push-state): Use a closure.
15748 * calculator.el: Use lexical-binding.
15749 (calculator-number-to-string): Make it work with lexical-binding.
15750 (calculator-funcall): Same and use cl-letf.
15751
15752 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
15753 (lisp--company-doc-string, lisp--company-location): New functions.
15754 (lisp-completion-at-point): Use them to improve Company support.
15755
15756 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
15757 params of lambda expressions.
15758 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
15759 (ruby-smie--opening-pipe-p): New function.
15760 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
15761 symbols and matched |...| for formal params.
15762 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
15763 from being treated as hanging. Handle "rescue".
15764
15765 2013-08-29 Glenn Morris <rgm@gnu.org>
15766
15767 * progmodes/cc-engine.el (c-pull-open-brace):
15768 Move definition before use.
15769
15770 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15771
15772 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
15773 are immutable. Don't use `unsafe' any more.
15774 (cl--defsubst-expand): Don't substitute at the same time as keeping
15775 a residual unused let-binding. Don't use `unsafe' any more.
15776
15777 2013-08-29 Glenn Morris <rgm@gnu.org>
15778
15779 * calendar/cal-china.el (calendar-chinese-year-cache):
15780 Recenter on 2015.
15781
15782 * nxml/nxml-util.el (nxml-debug-clear-inside):
15783 Use cl-loop rather than loop.
15784
15785 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
15786
15787 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
15788
15789 2013-08-28 Glenn Morris <rgm@gnu.org>
15790
15791 * progmodes/antlr-mode.el: No need to require cc-mode twice.
15792
15793 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
15794
15795 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
15796
15797 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * simple.el (repeat-complex-command--called-interactively-skip):
15800 New function.
15801 (repeat-complex-command): Use it (bug#14136).
15802
15803 * progmodes/cc-mode.el: Minor cleanup of var declarations.
15804 (c-define-abbrev-table): Add `doc' argument.
15805 (c-mode-abbrev-table, c++-mode-abbrev-table)
15806 (objc-mode-abbrev-table, java-mode-abbrev-table)
15807 (idl-mode-abbrev-table, pike-mode-abbrev-table)
15808 (awk-mode-abbrev-table): Use it.
15809 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
15810 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
15811 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
15812 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
15813 Move initialization into the declaration; and remove any
15814 autoload cookie.
15815
15816 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
15817 and dynamic let binding.
15818
15819 * vc/smerge-mode.el: Remove redundant :group args.
15820
15821 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
15822 to load-path.
15823
15824 2013-08-28 Juri Linkov <juri@jurta.org>
15825
15826 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
15827 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
15828 (isearch-other-meta-char): Handle an undefined shifted printing
15829 character by downshifting it. (Bug#15200)
15830
15831 2013-08-28 Juri Linkov <juri@jurta.org>
15832
15833 * isearch.el (isearch-search): Change regexp error message for
15834 non-regexp searches. (Bug#15166)
15835
15836 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
15837
15838 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
15839 for portability to hosts where /bin/sh has problems.
15840
15841 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15842
15843 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
15844
15845 2013-08-27 Juri Linkov <juri@jurta.org>
15846
15847 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
15848 in the keyboard macro. (Bug#15126)
15849
15850 2013-08-27 Juri Linkov <juri@jurta.org>
15851
15852 * isearch.el (isearch-quote-char): Comment out converting unibyte
15853 to multibyte, thus syncing with its `quoted-insert' counterpart.
15854 (Bug#15166)
15855
15856 2013-08-27 Martin Rudalics <rudalics@gmx.at>
15857
15858 * window.el (display-buffer-use-some-window): Add missing
15859 argument in call of get-largest-window (Bug#15185).
15860 Reported by Stephen Leake.
15861
15862 2013-08-27 Glenn Morris <rgm@gnu.org>
15863
15864 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
15865
15866 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15867
15868 * progmodes/python.el (python-font-lock-keywords): Don't return nil
15869 from a matcher-function unless there's no more matches (bug#15161).
15870
15871 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
15872
15873 * minibuffer.el: Revert change from 2013-08-20.
15874
15875 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
15876 with text property `tramp-default', if appropriate.
15877 (tramp-check-proper-host): New defun.
15878 (tramp-dissect-file-name): Do not check hostname. Revert change
15879 of 2013-03-18.
15880 (tramp-backtrace): Make VEC-OR-PROC optional.
15881
15882 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15883 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15884 * net/tramp-sh.el (tramp-maybe-open-connection):
15885 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
15886 Apply `tramp-check-proper-host'.
15887
15888 2013-08-26 Tassilo Horn <tsdh@gnu.org>
15889
15890 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
15891 lambda expression in order to have `describe-variable' display it.
15892
15893 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
15894
15895 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
15896 BUF can be optional. (Bug#15186)
15897
15898 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
15899
15900 * progmodes/flymake.el (flymake-get-real-file-name-function):
15901 Fix broken customization. (Bug#15184)
15902
15903 2013-08-25 Alan Mackenzie <acm@muc.de>
15904
15905 Improve indentation of bracelists defined by macros (without "=").
15906
15907 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
15908 expansion begins with "{", regard it as bracelist when it doesn't
15909 contain a ";".
15910
15911 Parse C++ inher-intro when there's a template split over 2 lines.
15912
15913 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
15914 rigorously the search for "class" etc. followed by ":".
15915
15916 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
15917 random languages a regexp which never matches rather than nil.
15918
15919 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
15920
15921 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
15922 (c-awk-regexp-one-line-possibly-open-char-list-re)
15923 (c-awk-one-line-possibly-open-regexp-re)
15924 (c-awk-one-line-non-syn-ws*-re): Remove.
15925 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
15926 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
15927 (c-awk-space*-unclosed-regexp-/-re): New constants.
15928 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
15929 aren't regexp delimiters.
15930
15931 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
15932 handling for a rare situation in AWK Mode involving unterminated
15933 strings/regexps.
15934
15935 2013-08-23 Glenn Morris <rgm@gnu.org>
15936
15937 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
15938
15939 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
15940
15941 * files.el (create-file-buffer): If the result would begin with
15942 spaces, prepend a "|" instead of removing them. (Bug#15162)
15943
15944 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15945
15946 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
15947 text-properties (bug#15155).
15948
15949 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
15950 exist any more.
15951 (calc-keypad-redraw): Remove unused var `pad'.
15952 (calc-keypad-press): Remove unused var `menu'.
15953
15954 2013-08-23 Martin Rudalics <rudalics@gmx.at>
15955
15956 * window.el (display-buffer-pop-up-frame):
15957 Call pop-up-frame-function with BUFFER current so `make-frame' will
15958 use it as the new frame's buffer (Bug#15133).
15959
15960 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15961
15962 * calendar/timeclock.el: Minor cleanups.
15963 (timeclock-ask-before-exiting, timeclock-use-display-time):
15964 Use `symbol'.
15965 (timeclock-modeline-display): Define as alias before the
15966 actual definition.
15967 (timeclock-mode-line-display): Use define-minor-mode.
15968 (timeclock-day-list-template): Make it a function, add an argument.
15969 (timeclock-day-list-required, timeclock-day-list-length)
15970 (timeclock-day-list-debt, timeclock-day-list-span)
15971 (timeclock-day-list-break): Adjust calls accordingly.
15972
15973 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15974
15975 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
15976 Use read--expression so that completion works again.
15977
15978 2013-08-21 Sam Steingold <sds@gnu.org>
15979
15980 Add rudimentary inferior shell interaction
15981 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
15982 (sh-set-shell): Reset it.
15983 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
15984 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
15985
15986 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
15987
15988 * align.el: Use lexical-binding.
15989 (align-region): Simplify accordingly.
15990
15991 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
15992
15993 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
15994
15995 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
15996 `non-essential' up.
15997
15998 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
15999
16000 * net/tramp.el:
16001 * net/tramp-adb.el:
16002 * net/tramp-cmds.el:
16003 * net/tramp-ftp.el:
16004 * net/tramp-gvfs.el:
16005 * net/tramp-gw.el:
16006 * net/tramp-sh.el: Don't wrap external variable declarations by
16007 `eval-when-compile'.
16008
16009 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16010
16011 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
16012 now that Emacs supports ImageMagick animations.
16013
16014 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
16015
16016 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
16017 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
16018
16019 2013-08-16 Martin Rudalics <rudalics@gmx.at>
16020
16021 * window.el (mouse-autoselect-window-select): Do autoselect when
16022 mouse pointer is on margin.
16023
16024 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
16025
16026 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
16027
16028 2013-08-16 Glenn Morris <rgm@gnu.org>
16029
16030 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
16031 Handle "Remote Directory" response of some clients. (Bug#15058)
16032
16033 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
16034 Tweak warning. (Bug#14926)
16035
16036 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
16037 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
16038
16039 * image-mode.el (image-mode-map): Add menu items to reverse,
16040 increase, decrease, reset animation speed.
16041 (image--set-speed, image-increase-speed, image-decrease-speed)
16042 (image-reverse-speed, image-reset-speed): New functions.
16043 (image-mode-map): Add bindings for speed commands.
16044
16045 * image.el (image-animate-get-speed, image-animate-set-speed):
16046 New functions.
16047 (image-animate-timeout): Respect image :speed property.
16048
16049 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
16052 previous line (bug#15101).
16053 (debugger-eval-expression, debugger-record-expression):
16054 Use read--expression (bug#15102).
16055
16056 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
16057
16058 Remove byte compiler warnings, visible when compiling with
16059 `byte-compile-force-lexical-warnings' set to t.
16060
16061 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
16062 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
16063 (tramp-handle-unhandled-file-name-directory)
16064 (tramp-handle-file-notify-add-watch, tramp-action-login)
16065 (tramp-action-succeed, tramp-action-permission-denied)
16066 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
16067 arguments with "_".
16068
16069 * net/tramp-adb.el (tramp-adb-parse-device-names)
16070 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
16071 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
16072 (tramp-adb-handle-file-truename): Remove unused arguments.
16073
16074 * net/tramp-cache.el (tramp-flush-directory-property)
16075 (tramp-flush-connection-property, tramp-list-connections)
16076 (tramp-parse-connection-properties): Prefix unused arguments with "_".
16077
16078 * net/tramp-compat.el (tramp-compat-make-temp-file):
16079 Rename FILENAME to F.
16080
16081 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16082 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
16083 (tramp-zeroconf-parse-workstation-device-names)
16084 (tramp-zeroconf-parse-webdav-device-names)
16085 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
16086
16087 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16088 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
16089
16090 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
16091 arguments.
16092 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
16093 (tramp-sh-handle-insert-file-contents-literally)
16094 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
16095 with "_".
16096 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
16097 Remove unused variables.
16098
16099 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16100 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
16101 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
16102
16103 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
16104 Make them a defconst.
16105 (tramp-uuencode-region): Remove unused variable.
16106
16107 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
16108
16109 * frameset.el (frameset--prop-setter): New function.
16110 (frameset-prop): Add gv-setter declaration.
16111 (frameset-filter-minibuffer): Deal with the case that the minibuffer
16112 parameter was already set in FILTERED. Doc fix.
16113 (frameset--record-minibuffer-relationships): Allow saving a
16114 minibufferless frame without its corresponding minibuffer frame.
16115 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
16116 frame, if the frame id matches.
16117 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
16118 frames before orphaned ones.
16119 (frameset-restore): Warn about orphaned windows, instead of error out.
16120
16121 2013-08-14 Martin Rudalics <rudalics@gmx.at>
16122
16123 * window.el (window-make-atom): Don't overwrite parameter
16124 already present.
16125 (display-buffer-in-atom-window): Handle special case where we
16126 split an already atomic window.
16127 (window--major-non-side-window, display-buffer-in-side-window)
16128 (window--side-check): Ignore minibuffer window when walking
16129 window tree.
16130 (window-deletable-p): Return 'frame only if no other frame uses
16131 our minibuffer window.
16132 (record-window-buffer): Run buffer-list-update-hook.
16133 (split-window): Make sure window--check-frame won't destroy an
16134 existing atomic window in case the new window gets nested
16135 inside.
16136 (display-buffer-at-bottom): Ignore minibuffer window when
16137 walking window tree. Don't split a side window.
16138 (pop-to-buffer): Don't set-buffer here, the select-window call
16139 should do that.
16140 (mouse-autoselect-window-select): Autoselect only if we are in the
16141 text portion of the window.
16142
16143 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16144
16145 * net/shr.el (shr-parse-image-data): New function to grab both the
16146 data itself and the Content-Type.
16147 (shr-put-image): Use it.
16148
16149 * net/eww.el (eww-display-image): Ditto.
16150
16151 * image.el (image-content-type-suffixes): New variable.
16152
16153 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
16154
16155 * progmodes/python.el (python-imenu--build-tree)
16156 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
16157
16158 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
16159
16160 * simple.el (backward-word): Mention the optional argument.
16161
16162 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
16163
16164 * frameset.el (frameset--make): Rename constructor from make-frameset.
16165 (frameset-p, frameset-valid-p): Don't autoload.
16166 (frameset-valid-p): Use normal accessors.
16167
16168 2013-08-13 Glenn Morris <rgm@gnu.org>
16169
16170 * progmodes/compile.el (compile-command): Tweak example in doc.
16171 * obsolete/scribe.el (scribe-mode):
16172 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
16173
16174 * mail/feedmail.el (feedmail-confirm-outgoing)
16175 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
16176
16177 * cus-start.el (truncate-partial-width-windows): Fix type.
16178
16179 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
16180
16181 * net/shr.el (shr-table-horizontal-line): Fix custom type.
16182
16183 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
16184
16185 * emacs-lisp/timer.el (timer--time-setter): New function.
16186 (timer--time): Use it as gv-setter.
16187
16188 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
16189 setter is not a symbol.
16190
16191 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
16192
16193 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
16194 if sending fails. This makes debugging easier.
16195
16196 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
16197
16198 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
16199 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
16200 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
16201
16202 2013-08-12 Eli Zaretskii <eliz@gnu.org>
16203
16204 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
16205
16206 2013-08-12 Glenn Morris <rgm@gnu.org>
16207
16208 * format.el (format-annotate-function):
16209 Handle read-only text properties in the source. (Bug#14887)
16210
16211 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16212
16213 * net/eww.el (eww-display-html): Ignore coding system errors.
16214 One web site uses "utf-8lias" as the coding system.
16215
16216 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
16217
16218 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
16219
16220 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
16221
16222 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
16223 (tutorial--detailed-help): Remove unused local variables.
16224 (tutorial--save-tutorial-to): Use ignore-errors.
16225 (help-with-tutorial): Use looking-at-p.
16226
16227 * view.el (view-buffer-other-window, view-buffer-other-frame):
16228 Mark unused arguments.
16229
16230 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
16231 (woman-select-symbol-fonts, woman, woman-find-file)
16232 (woman-insert-file-contents, woman-non-underline-faces):
16233 Use string-match-p.
16234 (woman1-unquote): Move declaration.
16235
16236 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
16237 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
16238 argument. Remove unused local variable.
16239 (xml-parse-elem-type): Use string-match-p.
16240 (xml-substitute-numeric-entities): Use ignore-errors.
16241
16242 * calculator.el (calculator): Mark unused argument.
16243 (calculator-paste, calculator-quit, calculator-integer-p):
16244 Use ignore-errors.
16245 (calculator-string-to-number, calculator-decimal, calculator-exp)
16246 (calculator-op-or-exp): Use string-match-p.
16247
16248 * dired.el (dired-buffer-more-recently-used-p): Declare.
16249 (dired-insert-set-properties, dired-insert-old-subdirs):
16250 Use ignore-errors.
16251
16252 * dired-aux.el (dired-compress): Use ignore-errors.
16253 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
16254 (dired-do-async-shell-command, dired-do-shell-command)
16255 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
16256 (dired-insert-subdir-validate): Use string-match-p.
16257 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
16258 (dired-add-entry): Use string-match-p, looking-at-p.
16259 (dired-insert-subdir-newpos): Remove unused local variable.
16260
16261 * filenotify.el (file-notify-callback): Remove unused local variable.
16262
16263 * filesets.el (filesets-error): Mark unused argument.
16264 (filesets-which-command-p, filesets-filter-dir-names)
16265 (filesets-directory-files, filesets-get-external-viewer)
16266 (filesets-ingroup-get-data): Use string-match-p.
16267
16268 * find-file.el (ff-other-file-name, ff-other-file-name)
16269 (ff-find-the-other-file, ff-cc-hh-converter):
16270 Remove unused local variables.
16271 (ff-get-file-name): Use string-match-p.
16272 (ff-all-dirs-under): Use ignore-errors.
16273
16274 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
16275 (follow-select-if-visible): Remove unused local variable.
16276
16277 * forms.el (read-file-filter): Move declaration.
16278 (forms--make-format, forms--make-parser, forms-insert-record):
16279 Quote function with #'.
16280 (forms--update): Use string-match-p. Quote function with #'.
16281
16282 * help-mode.el (help-dir-local-var-def): Mark unused argument.
16283 (help-make-xrefs): Use looking-at-p.
16284 (help-xref-on-pp): Use looking-at-p, ignore-errors.
16285
16286 * ibuffer.el (ibuffer-ext-visible-p): Declare.
16287 (ibuffer-confirm-operation-on): Use string-match-p.
16288
16289 * msb.el (msb-item-handler, msb-dired-item-handler):
16290 Mark unused arguments.
16291
16292 * ses.el (ses-decode-cell-symbol)
16293 (ses-kill-override): Remove unused local variable.
16294 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
16295 (ses-load): Use ignore-errors, looking-at-p.
16296 (ses-jump-safe): Use ignore-errors.
16297 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
16298
16299 * tabify.el (untabify, tabify): Mark unused arguments.
16300
16301 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
16302 Mark unused argument.
16303 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
16304 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
16305
16306 * emacs-lisp/timer.el (timer--time): Define setter with
16307 gv-define-setter to avoid deprecation warning.
16308
16309 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
16310 (*record-cmpl-statistics-p*): Remove (was commented out).
16311 (cmpl-statistics-block): Remove (body was commented out).
16312 All callers changed.
16313 (add-completions-from-buffer, load-completions-from-file):
16314 Remove unused variables.
16315
16316 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
16317
16318 * filecache.el (file-cache-delete-file-list):
16319 Print message only when told so.
16320 (file-cache-files-matching): Use #' in mapconcat argument.
16321
16322 * ffap.el (ffap-url-at-point): Fix reference to variable
16323 thing-at-point-default-mail-uri-scheme.
16324
16325 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
16326
16327 * subr.el (define-error): New function.
16328 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
16329 error-file-not-found and define with define-error.
16330 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
16331 and define with define-error.
16332 * userlock.el (file-locked, file-supersession):
16333 * simple.el (mark-inactive):
16334 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
16335 * progmodes/ada-mode.el (ada-mode-errors):
16336 * play/life.el (life-extinct):
16337 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
16338 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
16339 * nxml/rng-util.el (rng-error):
16340 * nxml/rng-uri.el (rng-uri-error):
16341 * nxml/rng-match.el (rng-compile-error):
16342 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
16343 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
16344 * nxml/nxml-rap.el (nxml-scan-error):
16345 * nxml/nxml-outln.el (nxml-outline-error):
16346 * net/soap-client.el (soap-error):
16347 * net/gnutls.el (gnutls-error):
16348 * net/ange-ftp.el (ftp-error):
16349 * mpc.el (mpc-proc-error):
16350 * json.el (json-error, json-readtable-error, json-unknown-keyword)
16351 (json-number-format, json-string-escape, json-string-format)
16352 (json-key-format, json-object-format):
16353 * jka-compr.el (compression-error):
16354 * international/quail.el (quail-error):
16355 * international/kkc.el (kkc-error):
16356 * emacs-lisp/ert.el (ert-test-failed):
16357 * calc/calc.el (calc-error, inexact-result, math-overflow)
16358 (math-underflow):
16359 * bookmark.el (bookmark-error-no-filename):
16360 * epg.el (epg-error): Define with define-error.
16361
16362 * time.el (display-time-event-handler)
16363 (display-time-next-load-average): Don't call sit-for since it seems
16364 unnecessary (bug#15045).
16365
16366 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
16367 Use #' instead of ' to quote functions.
16368 (checkdoc-output-mode): Use setq-local.
16369 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
16370 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
16371 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
16372 (checkdoc-ispell, checkdoc-ispell-current-buffer)
16373 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
16374 (checkdoc-ispell-message-text, checkdoc-ispell-start)
16375 (checkdoc-ispell-continue, checkdoc-ispell-comments)
16376 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
16377
16378 * ido.el (ido-completion-help): Fix up compiler warning.
16379
16380 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
16381
16382 * frameset.el (frameset-p): Add autoload cookie.
16383 (frameset--jump-to-register): New function, based on code moved from
16384 register.el.
16385 (frameset-to-register): Move from register.el. Adapt to `registerv'.
16386
16387 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
16388 (frameset-restore, frameset-save, frameset-session-filter-alist):
16389 Remove declarations.
16390 (register-alist): Doc fix.
16391 (frameset-to-register): Move to frameset.el.
16392 (jump-to-register, describe-register-1): Remove frameset-specific code.
16393
16394 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16395
16396 * allout-widgets.el (allout-widgets-pre-command-business)
16397 (allout-widgets-post-command-business)
16398 (allout-widgets-after-change-handler)
16399 (allout-decorate-item-and-context, allout-set-boundary-marker)
16400 (allout-body-modification-handler)
16401 (allout-graphics-modification-handler): Mark ignored arguments.
16402 (allout-widgets-post-command-business)
16403 (allout-widgets-exposure-change-processor)
16404 (allout-widgets-exposure-undo-processor)
16405 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
16406 (allout-parse-item-at-point, allout-decorate-item-guides)
16407 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
16408 * allout.el (epa-passphrase-callback-function): Declare.
16409 (allout-overlay-insert-in-front-handler)
16410 (allout-overlay-interior-modification-handler)
16411 (allout-isearch-end-handler, allout-chart-siblings)
16412 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
16413 (allout-yank-processing, allout-process-exposed)
16414 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
16415 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
16416 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
16417 (lisp-indent-defform): Mark ignored arguments.
16418 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
16419 (calculate-lisp-indent): Remove unused variables.
16420 * international/characters.el (indian-2-column, arabic-2-column)
16421 (tibetan): Mark ignored arguments.
16422 (use-cjk-char-width-table): Mark ignored arguments.
16423 Remove unused variables.
16424 * international/fontset.el (build-default-fontset-data)
16425 (x-compose-font-name, create-fontset-from-fontset-spec):
16426 Mark ignored arguments.
16427 (fontset-plain-name): Remove unused variables.
16428 * international/mule.el (charset-id, charset-bytes, generic-char-p)
16429 (keyboard-coding-system): Mark ignored arguments.
16430 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
16431 * help.el (resize-temp-buffer-window):
16432 * window.el (display-buffer-in-major-side-window)
16433 (display-buffer-in-side-window, display-buffer-in-previous-window):
16434 Remove unused variables.
16435 * isearch.el (isearch-forward-symbol):
16436 * version.el (emacs-bzr-version-bzr):
16437 * international/mule-cmds.el (current-language-environment):
16438 * term/common-win.el (x-handle-iconic, x-handle-geometry)
16439 (x-handle-display):
16440 * term/pc-win.el (x-list-fonts, x-display-planes)
16441 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
16442 (x-server-version, x-display-screens, x-display-mm-height)
16443 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
16444 (x-selection-owner-p, x-own-selection-internal)
16445 (x-disown-selection-internal, x-get-selection-internal)
16446 (msdos-initialize-window-system):
16447 * term/tty-colors.el (tty-color-alist, tty-color-clear):
16448 * term/x-win.el (x-handle-no-bitmap-icon):
16449 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
16450 (vc-default-find-file-hook, vc-default-extra-menu):
16451 Mark ignored arguments.
16452
16453 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
16454
16455 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
16456 break-condition in the context of the debugged code (bug#12685).
16457
16458 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
16459
16460 * comint.el:
16461 Do not use an overlay to highlight the last prompt. (Bug#14744)
16462 (comint-mode): Make comint-last-prompt buffer local.
16463 (comint-last-prompt): New variable.
16464 (comint-last-prompt-overlay): Remove. Superseded by
16465 comint-last-prompt.
16466 (comint-snapshot-last-prompt, comint-output-filter):
16467 Use comint-last-prompt.
16468
16469 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16470
16471 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
16472 (frameset-save): Check validity of the resulting frameset.
16473
16474 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
16475
16476 * ido.el (ido-record-command): Add doc string.
16477
16478 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16479
16480 * frameset.el (frameset): Do not disable creation of the default
16481 frameset-p predicate. Doc fix.
16482 (frameset-valid-p): New function, copied from the old predicate-p.
16483 Add additional checks.
16484 (frameset-restore): Check with frameset-valid-p.
16485 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
16486 (frameset-name, frameset-description, frameset-properties)
16487 (frameset-states): Add docstring.
16488 (frameset-session-filter-alist, frameset-persistent-filter-alist)
16489 (frameset-filter-alist): Doc fixes.
16490
16491 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16492
16493 * frameset.el (frameset-p, frameset-prop): Doc fixes.
16494
16495 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
16496
16497 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
16498 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
16499 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
16500 (byte-compile-normal-call): Remove obsolescence check.
16501
16502 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16503
16504 * frameset.el (frameset-restore): Doc fix.
16505
16506 * register.el (frameset-frame-id, frameset-frame-with-id)
16507 (frameset-p, frameset-restore, frameset-save): Declare.
16508 (register-alist): Document framesets.
16509 (frameset-session-filter-alist): Declare.
16510 (frameset-to-register): New function.
16511 (jump-to-register): Implement jumping to framesets. Doc fix.
16512 (describe-register-1): Describe framesets.
16513
16514 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
16515
16516 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
16517
16518 * desktop.el (desktop-save-frameset): Use new frameset-save args.
16519 Use lexical-binding.
16520
16521 * frameset.el (frameset): Use type vector, not list (incompatible
16522 change). Do not declare a new constructor, use the default one.
16523 Upgrade suggested properties `app', `name' and `desc' to slots `app',
16524 `name' and `description', respectively, and add read-only slot
16525 `timestamp'. Doc fixes.
16526 (frameset-copy, frameset-persistent-filter-alist)
16527 (frameset-filter-alist, frameset-switch-to-gui-p)
16528 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
16529 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
16530 (frameset-filter-iconified, frameset-keep-original-display-p):
16531 Doc fixes.
16532 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
16533 Rename from frameset-filter-(save|restore)-param. All callers changed.
16534 Doc fix.
16535 (frameset-p): Adapt to change to vector and be more thorough.
16536 Change arg name to OBJECT. Doc fix.
16537 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
16538 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
16539 All callers changed.
16540 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
16541 All callers changed.
16542 (frameset--record-minibuffer-relationships): Rename from
16543 frameset--process-minibuffer-frames. All callers changed.
16544 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
16545 Use new default constructor (again). Doc fix.
16546 (frameset--find-frame-if): Rename from `frameset--find-frame'.
16547 All callers changed.
16548 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
16549 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
16550 Doc fix.
16551 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
16552 PARAMETERS and WINDOW-STATE, respectively.
16553 (frameset-restore): Add new keyword argument PREDICATE.
16554 Reset frameset--target-display to nil. Doc fix.
16555
16556 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
16557
16558 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
16559 (bat-mode): Use it.
16560 (bat-mode-syntax-table): Mark \n as end-of-comment.
16561 (bat-font-lock-keywords): Remove comment rule.
16562
16563 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
16564 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
16565
16566 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
16567 (byte-compile-callargs-warn): Use `push'.
16568 (byte-compile-arglist-warn): Ignore higher-order "calls".
16569 (byte-compile-file-form-autoload): Use `pcase'.
16570 (byte-compile-function-form): If quoting a symbol, check that it exists.
16571
16572 2013-08-07 Eli Zaretskii <eliz@gnu.org>
16573
16574 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
16575 and add a few popular commands found in batch files.
16576 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
16577 (dos-mode): Doc fixes.
16578
16579 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
16580
16581 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
16582 (dos-mode): Use setq-local. Add space after "rem".
16583 (dos-mode-syntax-table): Don't use "w" for symbol chars.
16584 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
16585
16586 2013-08-07 Arni Magnusson <arnima@hafro.is>
16587
16588 * progmodes/dos.el: New file.
16589 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
16590 dos-mode.
16591
16592 2013-08-06 Glenn Morris <rgm@gnu.org>
16593
16594 * calendar/calendar.el: Add new faces, and day-header-array.
16595 (calendar-weekday-header, calendar-weekend-header)
16596 (calendar-month-header): New faces.
16597 (calendar-day-header-construct): New function.
16598 (calendar-day-header-width): Also :set calendar-day-header-array.
16599 (calendar-american-month-header, calendar-european-month-header)
16600 (calendar-iso-month-header): Use calendar- faces.
16601 (calendar-generate-month):
16602 Use calendar-day-header-array for day headers; apply faces to them.
16603 (calendar-mode): Check calendar-font-lock-keywords non-nil.
16604 (calendar-abbrev-construct): Add optional maxlen argument.
16605 (calendar-day-name-array): Doc fix.
16606 (calendar-day-name-array, calendar-abbrev-length)
16607 (calendar-day-abbrev-array):
16608 Also :set calendar-day-header-array, and maybe redraw.
16609 (calendar-day-header-array): New option. (Bug#15007)
16610 (calendar-font-lock-keywords): Set to nil and make obsolete.
16611 (calendar-day-name): Add option to use header array.
16612
16613 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16614
16615 * net/shr.el (shr-render-td): Remove debugging.
16616 (shr-render-td): Make width computation consistent by defaulting
16617 all zero-width columns to 10 characters. This may not be optimal,
16618 but it's at least consistent.
16619 (shr-make-table-1): Redo last change to fix the real problem in
16620 colspan handling.
16621
16622 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
16623
16624 * files.el (cache-long-line-scans):
16625 Make obsolete alias to `cache-long-scans'.
16626
16627 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
16628
16629 * frameset.el (frameset, frameset-filter-alist)
16630 (frameset-filter-params, frameset-save, frameset--reuse-frame)
16631 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
16632 (frameset-compute-pos): Rename from frameset--compute-pos,
16633 and add docstring.
16634 (frameset-move-onscreen): Use frameset-compute-pos.
16635 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
16636
16637 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
16638 Fix typos in docstrings.
16639
16640 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
16641
16642 * frame.el (get-other-frame): Tiny cleanup.
16643
16644 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
16645
16646 * vc/vc.el (vc-default-ignore-completion-table):
16647 Silence byte-compiler warning.
16648
16649 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
16650 slot, which can indeed be nil.
16651 (frameset-live-filter-alist, frameset-persistent-filter-alist):
16652 Move entry for `left' from persistent to live filter alist.
16653 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
16654 Doc fixes.
16655 (frameset-filter-params): When restoring a frame, copy items added to
16656 `filtered', to avoid unwittingly modifying the original parameters.
16657 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
16658 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
16659
16660 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
16661 to use looking-at-p instead of looking-at. (Bug#15028)
16662
16663 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16664
16665 Revert introduction of isearch-filter-predicates (bug#14714).
16666 Rely on add-function instead.
16667 * isearch.el (isearch-filter-predicates): Rename it back to
16668 isearch-filter-predicate.
16669 (isearch-message-prefix): Use advice-function-mapc and advice
16670 properties to get the isearch-message-prefix.
16671 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
16672 instead of run-hook-with-args-until-failure.
16673 (isearch-filter-visible): Not obsolete any more.
16674 * loadup.el: Preload nadvice.
16675 * replace.el (perform-replace): Revert to funcall
16676 instead of run-hook-with-args-until-failure.
16677 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
16678 * dired-aux.el (dired-isearch-filenames-mode): Rename from
16679 dired-isearch-filenames-toggle; make it into a proper minor mode.
16680 Use add/remove-function.
16681 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
16682 Call the minor-mode rather than add/remove-hook.
16683 (dired-isearch-filter-filenames):
16684 Remove isearch-message-prefix property.
16685 * info.el (Info--search-loop): New function, extracted from Info-search.
16686 Funcall isearch-filter-predicate instead of
16687 run-hook-with-args-until-failure isearch-filter-predicates.
16688 (Info-search): Use it.
16689 (Info-mode): Use isearch-filter-predicate instead of
16690 isearch-filter-predicates.
16691
16692 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
16693
16694 Do not call to `selected-window' where it is assumed by default.
16695 Affected functions are `window-minibuffer-p', `window-dedicated-p',
16696 `window-hscroll', `window-width', `window-height', `window-buffer',
16697 `window-frame', `window-start', `window-point', `next-window'
16698 and `window-display-table'.
16699 * abbrev.el (abbrev--default-expand):
16700 * bs.el (bs--show-with-configuration):
16701 * buff-menu.el (Buffer-menu-mouse-select):
16702 * calc/calc.el (calc):
16703 * calendar/calendar.el (calendar-generate-window):
16704 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
16705 (diary-make-entry):
16706 * comint.el (send-invisible, comint-dynamic-complete-filename)
16707 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
16708 * completion.el (complete):
16709 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
16710 * disp-table.el (describe-current-display-table):
16711 * doc-view.el (doc-view-insert-image):
16712 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
16713 * ehelp.el (with-electric-help):
16714 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16715 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
16716 * emacs-lisp/helper.el (Helper-help-scroller):
16717 * emulation/cua-base.el (cua--post-command-handler-1):
16718 * eshell/esh-mode.el (eshell-output-filter):
16719 * ffap.el (ffap-gnus-wrapper):
16720 * help-macro.el (make-help-screen):
16721 * hilit-chg.el (highlight-compare-buffers):
16722 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
16723 * hl-line.el (global-hl-line-highlight):
16724 * icomplete.el (icomplete-simple-completing-p):
16725 * isearch.el (isearch-done):
16726 * jit-lock.el (jit-lock-stealth-fontify):
16727 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
16728 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
16729 * mpc.el (mpc-tagbrowser, mpc):
16730 * net/rcirc.el (rcirc-any-buffer):
16731 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
16732 * play/landmark.el (landmark-max-width, landmark-max-height):
16733 * play/zone.el (zone):
16734 * progmodes/compile.el (compilation-goto-locus):
16735 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
16736 * progmodes/etags.el (find-tag-other-window):
16737 * progmodes/fortran.el (fortran-column-ruler):
16738 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16739 * progmodes/verilog-mode.el (verilog-point-text):
16740 * reposition.el (reposition-window):
16741 * rot13.el (toggle-rot13-mode):
16742 * server.el (server-switch-buffer):
16743 * shell.el (shell-dynamic-complete-command)
16744 (shell-dynamic-complete-environment-variable):
16745 * simple.el (insert-buffer, set-selective-display)
16746 (delete-completion-window):
16747 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
16748 (speedbar-recenter):
16749 * startup.el (fancy-splash-head):
16750 * textmodes/ispell.el (ispell-command-loop):
16751 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
16752 * tutorial.el (help-with-tutorial):
16753 * vc/add-log.el (add-change-log-entry):
16754 * vc/compare-w.el (compare-windows):
16755 * vc/ediff-help.el (ediff-indent-help-message):
16756 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
16757 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
16758 (ediff-setup-control-frame):
16759 * vc/emerge.el (emerge-position-region):
16760 * vc/pcvs-util.el (cvs-bury-buffer):
16761 * window.el (walk-windows, mouse-autoselect-window-select):
16762 * winner.el (winner-set-conf, winner-undo): Related users changed.
16763
16764 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
16765
16766 * frameset.el (frameset--set-id): Doc fix.
16767 (frameset-frame-id, frameset-frame-id-equal-p)
16768 (frameset-locate-frame-id): New functions.
16769 (frameset--process-minibuffer-frames, frameset--reuse-frame)
16770 (frameset-restore): Use them.
16771
16772 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
16773
16774 Do not call to `selected-frame' where it is assumed by default.
16775 Affected functions are `raise-frame', `redraw-frame',
16776 `frame-first-window', `frame-terminal' and `delete-frame'.
16777 * calendar/appt.el (appt-disp-window):
16778 * epg.el (epg-wait-for-completion):
16779 * follow.el (follow-delete-other-windows-and-split)
16780 (follow-avoid-tail-recenter):
16781 * international/mule.el (set-terminal-coding-system):
16782 * mail/rmail.el (rmail-mail-return):
16783 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16784 * progmodes/f90.el (f90-add-imenu-menu):
16785 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
16786 * server.el (server-switch-buffer):
16787 * simple.el (delete-completion-window):
16788 * talk.el (talk):
16789 * term/xterm.el (terminal-init-xterm-modify-other-keys)
16790 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
16791 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
16792 * vc/ediff.el (ediff-documentation): Related users changed.
16793 * frame.el (selected-terminal): Remove the leftover.
16794
16795 2013-08-05 Glenn Morris <rgm@gnu.org>
16796
16797 * calendar/calendar.el (calendar-generate-month):
16798 Fix for calendar-column-width != 1 + calendar-day-digit-width.
16799 (calendar-generate-month, calendar-font-lock-keywords):
16800 Fix for calendar-day-header-width > length of any day name.
16801
16802 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
16803
16804 * desktop.el (desktop-clear): Use new name of sort predicate.
16805
16806 * frameset.el (frameset): Add docstring. Move :version property to its
16807 own `version' slot.
16808 (frameset-copy): Rename from copy-frameset.
16809 (frameset-p): Check more thoroughly.
16810 (frameset-prop): Do not check for :version, which is no longer a prop.
16811 (frameset-live-filter-alist, frameset-persistent-filter-alist):
16812 Use new :never value instead of t.
16813 (frameset-filter-alist): Expand and clarify docstring.
16814 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
16815 (frameset-filter-minibuffer, frameset-filter-save-param)
16816 (frameset-filter-restore-param, frameset-filter-iconified):
16817 Add pointer to docstring of frameset-filter-alist.
16818 (frameset-filter-params): Rename filter values to be more meaningful:
16819 :never instead of t, and reverse the meanings of :save and :restore.
16820 (frameset--process-minibuffer-frames): Clarify error message.
16821 (frameset-save): Avoid unnecessary and confusing call to framep.
16822 Use new BOA constructor for framesets.
16823 (frameset--reuse-list): Doc fix.
16824 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
16825 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
16826 (frameset-minibufferless-first-p): Doc fix.
16827 Rename from frameset-sort-frames-for-deletion.
16828 (frameset-restore): Doc fixes. Use new function names.
16829 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
16830
16831 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
16832
16833 * desktop.el (desktop-restore-forces-onscreen)
16834 (desktop-restore-reuses-frames): Document :keyword constant values.
16835 (desktop-filter-parameters-alist): Remove, now identical to
16836 frameset-filter-alist.
16837 (desktop--filter-tty*): Remove, moved to frameset.el.
16838 (desktop-save-frameset, desktop-restore-frameset):
16839 Do not pass :filters argument.
16840
16841 * frameset.el (frameset-live-filter-alist)
16842 (frameset-persistent-filter-alist): New variables.
16843 (frameset-filter-alist): Use them. Add autoload cookie.
16844 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
16845 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
16846 `frameset--id' (it's supposed to be internal to frameset.el).
16847 (frameset--process-minibuffer-frames): Ditto. Doc fix.
16848 (frameset--initial-params): New function.
16849 (frameset--get-frame): Use it. Doc fix.
16850 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
16851 Accept :all, not 'all.
16852 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
16853 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
16854 with fbound symbols. Fix frame id matching, and remove matching ids if
16855 the frame being restored is deleted. Obey :delete.
16856
16857 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
16858
16859 * subr.el (macrop): New function.
16860 (text-clone--maintaining): New var.
16861 (text-clone--maintain): Rename from text-clone-maintain. Use it
16862 instead of inhibit-modification-hooks.
16863
16864 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
16865 a proxy, so as handle autoloads and redefinitions of the target.
16866 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
16867
16868 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
16869 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
16870 (pcase--mutually-exclusive-p): New function.
16871 (pcase--split-consp): Use it.
16872 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
16873 mutually exclusive with the current predicate.
16874
16875 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
16876 (edebug-macrop): Remove. Use `macrop' instead.
16877 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
16878 (ad-macro-p):
16879 * eshell/esh-cmd.el (eshell-macrop):
16880 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
16881
16882 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
16883
16884 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
16885 (advice-mapc): New function, using it.
16886 (advice-function-member-p): New function.
16887 (advice--normalize): Store the cdr in advice--saved-rewrite since
16888 that's the part that will be changed.
16889 (advice--symbol-function): New function.
16890 (advice-remove): Handle removal before the function is defined.
16891 Adjust to new advice--saved-rewrite.
16892 (advice-member-p): Use advice-function-member-p and
16893 advice--symbol-function.
16894
16895 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
16896
16897 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
16898 (frameset-filter-minibuffer): Doc fix.
16899 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
16900 (frameset--set-id, frameset--process-minibuffer-frames)
16901 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
16902 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
16903
16904 * desktop.el (desktop-clear): Only delete frames when called
16905 interactively and desktop-restore-frames is non-nil. Doc fix.
16906 (desktop-read): Set desktop-saved-frameset to nil.
16907
16908 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
16909
16910 * vc/vc.el (vc-ignore): Rewrite.
16911 (vc-default-ignore-completion-table, vc--read-lines)
16912 (vc--add-line, vc--remove-regexp): New functions.
16913
16914 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
16915 (vc-svn-ignore-completion-table): New function.
16916
16917 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
16918 (vc-hg-ignore-completion-table)
16919 (vc-hg-find-ignore-file): New functions.
16920
16921 * vc/vc-git.el (vc-git-ignore): Rewrite.
16922 (vc-git-ignore-completion-table)
16923 (vc-git-find-ignore-file): New functions.
16924
16925 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
16926
16927 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
16928 (vc-bzr-ignore-completion-table)
16929 (vc-bzr-find-ignore-file): New functions.
16930
16931 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
16932
16933 * frameset.el (frameset-prop): New function and setter.
16934 (frameset-save): Do not modify frame list passed by the caller.
16935
16936 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16937
16938 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
16939
16940 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
16941
16942 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
16943 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
16944
16945 * custom.el (custom-initialize-default, custom-initialize-set)
16946 (custom-initialize-reset, custom-initialize-changed): Affect the
16947 toplevel-default-value (bug#6275, bug#14586).
16948 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
16949 for bug#6275.
16950
16951 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
16952
16953 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
16954 Add cl-def* expressions.
16955
16956 * frameset.el (frameset-filter-params): Fix order of arguments.
16957
16958 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
16959
16960 Move code related to saving frames to frameset.el.
16961 * desktop.el: Require frameset.
16962 (desktop-restore-frames): Doc fix.
16963 (desktop-restore-reuses-frames): Rename from
16964 desktop-restoring-reuses-frames.
16965 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
16966 (desktop-clear): Clear frames too.
16967 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
16968 (desktop--filter-tty*, desktop-save, desktop-read):
16969 Use frameset functions.
16970 (desktop-before-saving-frames-functions, desktop--filter-*-color)
16971 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16972 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
16973 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
16974 (desktop--process-minibuffer-frames, desktop-save-frames)
16975 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
16976 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
16977 (desktop--sort-states, desktop-restoring-frames-p)
16978 (desktop-restore-frames): Remove. Most code moved to frameset.el.
16979 (desktop-restoring-frameset-p, desktop-restore-frameset)
16980 (desktop--check-dont-save, desktop-save-frameset): New functions.
16981 (desktop--app-id): New constant.
16982 (desktop-first-buffer, desktop-buffer-ok-count)
16983 (desktop-buffer-fail-count): Move before first use.
16984 * frameset.el: New file.
16985
16986 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16987
16988 * files.el: Use lexical-binding.
16989 (dir-locals-read-from-file): Remove unused `err' variable.
16990 (hack-dir-local-variables--warned-coding): New var.
16991 (hack-dir-local-variables): Use it to avoid repeated warnings.
16992 (make-backup-file-name--default-function): New function.
16993 (make-backup-file-name-function): Use it as default.
16994 (buffer-stale--default-function): New function.
16995 (buffer-stale-function): Use it as default.
16996 (revert-buffer-insert-file-contents--default-function): New function.
16997 (revert-buffer-insert-file-contents-function): Use it as default.
16998 (insert-directory): Avoid add-to-list.
16999
17000 * autorevert.el (auto-revert-handler): Simplify.
17001 Use buffer-stale--default-function.
17002
17003 2013-08-01 Tassilo Horn <tsdh@gnu.org>
17004
17005 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
17006
17007 * whitespace.el (whitespace-ensure-local-variables): New function.
17008 (whitespace-cleanup-region): Call it.
17009 (whitespace-turn-on): Call it.
17010
17011 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
17012
17013 Complete file name handlers.
17014
17015 * net/tramp.el (tramp-handle-set-visited-file-modtime)
17016 (tramp-handle-verify-visited-file-modtime)
17017 (tramp-handle-file-notify-rm-watch): New functions.
17018 (tramp-call-process): Do not bind `default-directory'.
17019
17020 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17021 Order alphabetically.
17022 <access-file, add-name-to-file, dired-call-process>:
17023 <dired-compress-file, file-acl, file-notify-rm-watch>:
17024 <file-ownership-preserved-p, file-selinux-context>:
17025 <make-directory-internal, make-symbolic-link, set-file-acl>:
17026 <set-file-selinux-context, set-visited-file-modtime>:
17027 <verify-visited-file-modtime>: Add handler.
17028 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
17029
17030 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
17031 <file-notify-add-watch, file-notify-rm-watch>:
17032 <set-file-times, set-visited-file-modtime>:
17033 <verify-visited-file-modtime>: Add handler.
17034 (with-tramp-gvfs-error-message)
17035 (tramp-gvfs-handle-set-visited-file-modtime)
17036 (tramp-gvfs-fuse-file-name): Remove.
17037 (tramp-gvfs-handle-file-notify-add-watch)
17038 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
17039 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
17040
17041 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17042 Order alphabetically.
17043 <file-notify-rm-watch>: Use default Tramp handler.
17044 <executable-find>: Remove private handler.
17045 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
17046 `default-directory'.
17047 (tramp-sh-handle-executable-find)
17048 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
17049 (tramp-sh-file-gvfs-monitor-dir-process-filter)
17050 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
17051 Do not use `format' in `tramp-message'.
17052
17053 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
17054 <file-notify-rm-watch, set-visited-file-modtime>:
17055 <verify-visited-file-modtime>: Add handler.
17056 (tramp-smb-call-winexe): Do not bind `default-directory'.
17057
17058 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
17059
17060 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
17061
17062 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
17063
17064 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
17065 use it.
17066 (log-view-diff-changeset): Same.
17067 (log-view-diff-common): Call backend command `previous-revision'
17068 to find out the previous revision, in both cases. Swap the
17069 variables `to' and `fr', so that `fr' usually refers to the
17070 earlier revision (Bug#14989).
17071
17072 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
17073
17074 * ibuf-ext.el (ibuffer-filter-by-filename):
17075 Make it work with dired buffers too.
17076
17077 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
17078
17079 * emacs-lisp/re-builder.el (reb-color-display-p):
17080 * files.el (save-buffers-kill-terminal):
17081 * net/browse-url.el (browse-url):
17082 * server.el (server-save-buffers-kill-terminal):
17083 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
17084 Prefer nil to selected-frame for the first arg of frame-parameter.
17085
17086 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
17087
17088 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
17089
17090 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
17091
17092 * minibuffer.el (completion--twq-all): Try and preserve each
17093 completion's case choice (bug#14907).
17094
17095 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17096
17097 * net/network-stream.el (open-network-stream): Mention the new
17098 :nogreeting parameter.
17099 (network-stream-open-starttls): Use the :nogreeting parameter
17100 (bug#14938).
17101
17102 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
17103
17104 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
17105 more natural than popping.
17106
17107 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
17108 (shr-urlify): Highlight under mouse.
17109
17110 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
17111
17112 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
17113
17114 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
17115
17116 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
17117 buffer for output.
17118
17119 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
17120 point-min==1. Fix search string. Fix parentheses missing.
17121
17122 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
17123 assume point-min==1. Fix search string. Fix parentheses missing.
17124
17125 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
17126
17127 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
17128 buffer for output.
17129
17130 2013-07-29 Eli Zaretskii <eliz@gnu.org>
17131
17132 * frame.el (frame-notice-user-settings): Avoid inflooping when the
17133 initial frame is minibuffer-less. (Bug#14841)
17134
17135 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
17136
17137 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
17138 option.
17139
17140 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17141 (tramp-maybe-open-connection): Use it.
17142
17143 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
17144
17145 * desktop.el (desktop--make-frame): Include `minibuffer' in the
17146 minimal set of parameters passed when creating a frame, because
17147 the minibuffer status of a frame cannot be changed later.
17148
17149 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
17150
17151 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
17152 replace-regexp-in-string and inadvertent omissions in previous change.
17153 (todo-filter-items): Ensure only file names are comma-separated in
17154 name of filtered items buffer.
17155
17156 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
17157
17158 * desktop.el: Optionally force offscreen frames back onscreen.
17159 (desktop-restoring-reuses-frames): New option.
17160 (desktop--compute-pos, desktop--move-onscreen): New functions.
17161 (desktop--make-frame): Use desktop--move-onscreen.
17162
17163 2013-07-27 Alan Mackenzie <acm@muc.de>
17164
17165 Fontify a Java generic method as a function.
17166 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
17167 value to t.
17168
17169 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
17170
17171 * calendar/todo-mode.el: Add command to rename todo files.
17172 (todo-rename-file): New command.
17173 (todo-key-bindings-t): Add key binding for it. Change the
17174 bindings of todo-filter-regexp-items(-multifile) to use `x'
17175 instead of `r', since the latter is better suited to the new
17176 renaming command.
17177
17178 2013-07-27 Alan Mackenzie <acm@muc.de>
17179
17180 Make Java try-with-resources statement parse properly.
17181 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
17182 (c-block-stmt-1-2-key): New language constants/variables.
17183 * progmodes/cc-engine.el (c-beginning-of-statement-1)
17184 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
17185 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
17186 with c-block-stmt-1-2-key.
17187
17188 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
17189
17190 * desktop.el (desktop--make-frame): Apply most frame parameters after
17191 creating the frame to force (partially or totally) offscreen frames to
17192 be restored as such.
17193
17194 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
17195
17196 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
17197 (Bug#14948)
17198
17199 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
17200
17201 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
17202 `base' arg of backtrace-frame.
17203
17204 2013-07-26 Eli Zaretskii <eliz@gnu.org>
17205
17206 * simple.el (list-processes): Doc fix.
17207
17208 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
17209
17210 * desktop.el (desktop--select-frame):
17211 Try harder to reuse existing frames.
17212
17213 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
17214
17215 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
17216 (edebug-eval): Use backtrace-eval.
17217 (edebug--display, edebug--recursive-edit): Don't let-bind the
17218 edebug-outer-* vars that keep track of variables we locally let-bind.
17219 (edebug-outside-excursion): Don't restore outside values of locally
17220 let-bound vars.
17221 (edebug--display): Use user-error.
17222 (cl-lexical-debug, cl-debug-env): Remove.
17223
17224 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
17225
17226 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
17227 are restored to be sure that they are visible before deleting any
17228 remaining ones.
17229
17230 2013-07-26 Matthias Meulien <orontee@gmail.com>
17231
17232 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
17233 vc-print-root-log. (Bug#14948)
17234
17235 2013-07-26 Richard Stallman <rms@gnu.org>
17236
17237 Add aliases for encrypting mail.
17238 * epa.el (epa-mail-aliases): New option.
17239 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
17240 Bind inhibit-read-only so read-only text doesn't ruin everything.
17241 (epa-mail-default-recipients): New subroutine broken out.
17242 Handle epa-mail-aliases.
17243
17244 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
17245
17246 Add support for lexical variables to the debugger's `e' command.
17247 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
17248 vars, except for debugger-outer-match-data.
17249 (debugger-frame-number): Move check for "on a function call" from
17250 callers into it. Add `skip-base' argument.
17251 (debugger-frame, debugger-frame-clear): Simplify accordingly.
17252 (debugger-env-macro): Only reset the state stored in non-variables,
17253 i.e. current-buffer and match-data.
17254 (debugger-eval-expression): Rewrite using backtrace-eval.
17255 * subr.el (internal--called-interactively-p--get-frame): Remove.
17256 (called-interactively-p):
17257 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
17258 `base' arg of backtrace-frame instead.
17259
17260 2013-07-26 Glenn Morris <rgm@gnu.org>
17261
17262 * align.el (align-regexp): Doc fix. (Bug#14857)
17263 (align-region): Explicit error if subexpression missing/does not match.
17264
17265 * simple.el (global-visual-line-mode):
17266 Do not duplicate the mode lighter. (Bug#14858)
17267
17268 2013-07-25 Martin Rudalics <rudalics@gmx.at>
17269
17270 * window.el (display-buffer): In display-buffer bind
17271 split-window-keep-point to t, bug#14829.
17272
17273 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
17274
17275 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
17276 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
17277 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
17278 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
17279 Change accordingly.
17280 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
17281 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
17282
17283 2013-07-25 Glenn Morris <rgm@gnu.org>
17284
17285 * dired-x.el (dired-mark-extension): Convert comment to doc string.
17286
17287 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
17288
17289 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
17290 parameter to modify-frame-parameters if the value has not changed;
17291 this is a workaround for bug#14949.
17292 (desktop--make-frame): On cl-delete-if call, check parameter name,
17293 not full parameter.
17294
17295 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
17296
17297 * vc/vc.el (vc-ignore): New function.
17298
17299 * vc/vc-svn.el (vc-svn-ignore): New function.
17300
17301 * vc/vc-hg.el (vc-hg-ignore): New function.
17302
17303 * vc/vc-git.el (vc-git-ignore): New function.
17304
17305 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
17306 (vc-dir-ignore): New function.
17307
17308 * vc/vc-cvs.el (vc-cvs-ignore): New function.
17309 (cvs-append-to-ignore): Move here from pcvs.el.
17310
17311 * vc/vc-bzr.el (vc-bzr-ignore): New function.
17312
17313 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
17314
17315 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
17316
17317 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
17318 (desktop-restore-frames): Warn when deleting an existing frame failed.
17319
17320 2013-07-24 Glenn Morris <rgm@gnu.org>
17321
17322 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
17323
17324 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
17325
17326 * filenotify.el (file-notify-supported-p):
17327 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
17328 Remove functions.
17329
17330 * autorevert.el (auto-revert-use-notify)
17331 (auto-revert-notify-add-watch):
17332 * net/tramp.el (tramp-file-name-for-operation):
17333 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17334 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17335 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17336 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17337 Remove `file-notify-supported-p' entry.
17338
17339 2013-07-24 Glenn Morris <rgm@gnu.org>
17340
17341 * printing.el: Replace all uses of deleted ps-windows-system,
17342 ps-lp-system, ps-flatten-list with lpr- versions.
17343
17344 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
17345
17346 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
17347 checked with memq (bug#14935).
17348
17349 * files.el (revert-buffer-function): Use a non-nil default.
17350 (revert-buffer-preserve-modes): Declare var to
17351 provide access to the `preserve-modes' argument.
17352 (revert-buffer): Let-bind it.
17353 (revert-buffer--default): New function, extracted from revert-buffer.
17354
17355 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
17356
17357 * lpr.el: Signal print errors more prominently.
17358 (print-region-function): Don't default to nil.
17359 (lpr-print-region): New function, extracted from print-region-1.
17360 Check lpr's return value and signal an error in case of problem.
17361 (print-region-1): Use it.
17362 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
17363 versions instead.
17364 (ps-printer-name): Default to nil.
17365 (ps-printer-name-option): Default to lpr-printer-switch.
17366 (ps-print-region-function): Don't default to nil.
17367 (ps-postscript-code-directory): Simplify default.
17368 (ps-do-despool): Use lpr-print-region to properly check the outcome.
17369 (ps-string-list, ps-eval-switch, ps-flatten-list)
17370 (ps-flatten-list-1): Remove.
17371 (ps-multibyte-buffer): Avoid setq.
17372 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
17373 (print-region-function, ps-print-region-function): Don't set them here.
17374
17375 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
17376
17377 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
17378 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
17379 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
17380 (ido-decorations): Doc fix.
17381
17382 * ansi-color.el: Fix old URL.
17383
17384 2013-07-23 Michael R. Mauger <michael@mauger.com>
17385
17386 * progmodes/sql.el: Version 3.3
17387 (sql-product-alist): Improve oracle :prompt-cont-regexp.
17388 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
17389 (sql-interactive-remove-continuation-prompt): Rewrite, use
17390 functions above. Fix continuation prompt and complete output line
17391 handling.
17392 (sql-redirect-one, sql-execute): Use `read-only-mode' on
17393 redirected output buffer.
17394 (sql-mode): Restore deleted code (Bug#13591).
17395
17396 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
17397
17398 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
17399
17400 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
17401
17402 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
17403
17404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17405 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17406 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
17407
17408 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
17409
17410 * desktop.el (desktop-clear): Simplify; remove useless checks
17411 against invalid buffer names.
17412 (desktop-list*): Use cl-list*.
17413 (desktop-buffer-info, desktop-create-buffer): Simplify.
17414
17415 2013-07-23 Leo Liu <sdl.web@gmail.com>
17416
17417 * bookmark.el (bookmark-make-record): Restore NAME as a default
17418 value. (Bug#14933)
17419
17420 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
17421
17422 * emacs-lisp/autoload.el (autoload--setup-output): New function,
17423 extracted from autoload--insert-text.
17424 (autoload--insert-text): Remove.
17425 (autoload--print-cookie-text): New function, extracted from
17426 autoload--insert-cookie-text.
17427 (autoload--insert-cookie-text): Remove.
17428 (autoload-generate-file-autoloads): Adjust calls accordingly.
17429
17430 * winner.el (winner-hook-installed-p): Remove.
17431 (winner-mode): Simplify accordingly.
17432
17433 * subr.el (add-to-list): Fix compiler-macro when `append' is
17434 not constant. Don't use `cl-member' for the base case.
17435
17436 * progmodes/subword.el: Fix boundary case (bug#13758).
17437 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
17438 own group.
17439 (subword-backward-regexp): Make it a constant.
17440 (subword-forward-internal): Don't treat a trailing capital as the
17441 beginning of a word.
17442
17443 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
17444
17445 * emacs-lisp/package.el (package-menu-mode): Don't modify the
17446 global value of tabulated-list-revert-hook (bug#14930).
17447
17448 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
17449
17450 * desktop.el: Require 'cl-lib.
17451 (desktop-before-saving-frames-functions): New hook.
17452 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
17453 for frames being saved. Rename from desktop--save-minibuffer-frames.
17454 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
17455 Do not save frames with non-nil `desktop-dont-save' parameter.
17456 Filter out deleted frames.
17457 (desktop--find-frame): Use cl-find-if.
17458 (desktop--select-frame): Use cl-(first|second|third) to access values
17459 of desktop-mini.
17460 (desktop--make-frame): Use cl-delete-if.
17461 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
17462 (desktop-restore-frames): Use cl-(first|second|third) to access values
17463 of desktop-mini. Look for visible frame at the end, not while
17464 restoring frames.
17465
17466 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
17467 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
17468 Use string-match-p, looking-at-p (bug#14927).
17469
17470 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
17471
17472 * desktop.el (desktop-saved-frame-states):
17473 Rename from desktop--saved-states; all users changed.
17474 (desktop-save-frames): Rename from desktop--save-frames.
17475 Do not save state to desktop file.
17476 (desktop-save): Save desktop-saved-frame-states to desktop file
17477 and reset to nil.
17478 (desktop-restoring-frames-p): New function.
17479 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
17480 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
17481 buffer-lists when restoring frames. Suggested by Martin Rudalics.
17482
17483 * desktop.el: Correctly restore iconified frames.
17484 (desktop--filter-iconified-position): New function.
17485 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
17486
17487 2013-07-20 Glenn Morris <rgm@gnu.org>
17488
17489 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
17490 Let `message' do the formatting.
17491 (def-gdb-preempt-display-buffer): Add explicit format.
17492
17493 * image-dired.el (image-dired-track-original-file):
17494 Use with-current-buffer.
17495 (image-dired-track-thumbnail): Use with-current-buffer.
17496 Avoid changing point of wrong window.
17497
17498 * image-dired.el (image-dired-track-original-file):
17499 Avoid changing point of wrong window. (Bug#14909)
17500
17501 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
17502
17503 * progmodes/gdb-mi.el (gdb-done-or-error):
17504 Guard against "%" in gdb output. (Bug#14127)
17505
17506 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
17507
17508 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
17509 (Bug#14826)
17510
17511 * international/mule.el (coding-system-iso-2022-flags): Fix last
17512 change.
17513
17514 2013-07-20 Kenichi Handa <handa@gnu.org>
17515
17516 * international/mule.el (coding-system-iso-2022-flags):
17517 Add `8-bit-level-4'. (Bug#8522)
17518
17519 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17520
17521 * net/shr.el (shr-mouse-browse-url): New command and keystroke
17522 (bug#14815).
17523
17524 * net/eww.el (eww-process-text-input): Allow inputting when the
17525 point is at the start of the line, as the properties aren't
17526 front-sticky.
17527
17528 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
17529 degenerate widths.
17530
17531 2013-07-19 Richard Stallman <rms@gnu.org>
17532
17533 * epa.el (epa-popup-info-window): Doc fix.
17534
17535 * subr.el (split-string): New arg TRIM.
17536
17537 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
17538
17539 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
17540 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
17541
17542 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
17543
17544 * filenotify.el (file-notify--library): Rename from
17545 `file-notify-support'. Do not autoload. Adapt all uses.
17546 (file-notify-supported-p): New defun.
17547
17548 * autorevert.el (auto-revert-use-notify):
17549 Use `file-notify-supported-p' instead of `file-notify-support'.
17550 Adapt docstring.
17551 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
17552
17553 * net/tramp.el (tramp-file-name-for-operation):
17554 Add `file-notify-supported-p'.
17555
17556 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
17557 New defun.
17558 (tramp-sh-file-name-handler-alist): Add it as handler for
17559 `file-notify-supported-p '.
17560
17561 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17562 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17563 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17564 Add `ignore' as handler for `file-notify-*' functions.
17565
17566 2013-07-17 Eli Zaretskii <eliz@gnu.org>
17567
17568 * simple.el (line-move-partial, line-move): Don't start vscroll or
17569 scroll-up if the current line is not taller than the window.
17570 (Bug#14881)
17571
17572 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
17573
17574 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
17575 highlight question marks in the method names as strings.
17576 (ruby-block-beg-keywords): Inline.
17577 (ruby-font-lock-keyword-beg-re): Extract from
17578 `ruby-font-lock-keywords'.
17579
17580 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
17581
17582 * frame.el (blink-cursor-blinks): New defcustom.
17583 (blink-cursor-blinks-done): New defvar.
17584 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
17585 (blink-cursor-timer-function): Check if number of blinks has been
17586 done on X and NS.
17587 (blink-cursor-suspend, blink-cursor-check): New defuns.
17588
17589 2013-07-15 Glenn Morris <rgm@gnu.org>
17590
17591 * edmacro.el (edmacro-format-keys): Fix previous change.
17592
17593 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
17594
17595 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
17596 The hack didn't work outside English locales anyway.
17597
17598 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
17599
17600 * simple.el (define-alternatives): Rename from alternatives-define,
17601 per RMS' suggestion.
17602
17603 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
17604
17605 * desktop.el (desktop-restore-frames): Change default to t.
17606 (desktop-restore-in-current-display): Now offer more options.
17607 (desktop-restoring-reuses-frames): New customization option.
17608 (desktop--saved-states): Doc fix.
17609 (desktop-filter-parameters-alist): New variable, renamed and expanded
17610 from desktop--excluded-frame-parameters.
17611 (desktop--target-display): New variable.
17612 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
17613 (desktop--filter-tty*, desktop--filter-*-color)
17614 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
17615 (desktop--filter-save-desktop-parm)
17616 (desktop-restore-in-original-display-p): New functions.
17617 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
17618 (desktop--save-minibuffer-frames): New function, inspired by a similar
17619 function from Martin Rudalics.
17620 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
17621 (desktop--restore-in-this-display-p): Remove.
17622 (desktop--find-frame): Rename from desktop--find-frame-in-display
17623 and add predicate argument.
17624 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
17625 (desktop--reuse-list): New variable.
17626 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
17627 New functions.
17628 (desktop--restore-frames): Add support for "minibuffer-special" frames.
17629
17630 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
17631
17632 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
17633
17634 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
17635
17636 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17637 Highlight conversion methods on Kernel.
17638
17639 2013-07-13 Alan Mackenzie <acm@muc.de>
17640
17641 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
17642 and comment it out. This out-commenting enables certain C++
17643 declarations to be parsed correctly.
17644
17645 2013-07-13 Eli Zaretskii <eliz@gnu.org>
17646
17647 * international/mule.el (define-coding-system): Doc fix.
17648
17649 * simple.el (default-font-height): Don't call font-info if the
17650 frame's default font didn't change since the frame was created.
17651 (Bug#14838)
17652
17653 2013-07-13 Leo Liu <sdl.web@gmail.com>
17654
17655 * ido.el (ido-read-file-name): Guard against non-symbol value.
17656
17657 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
17658
17659 * progmodes/python.el (python-imenu--build-tree): Fix corner case
17660 in nested defuns.
17661
17662 2013-07-13 Leo Liu <sdl.web@gmail.com>
17663
17664 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
17665 ido-set-matches call. (Bug#6852)
17666
17667 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
17668
17669 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
17670 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
17671 Ruby 2.0.
17672 (ruby-font-lock-keywords): Distinguish calls to functions with
17673 module-like names from module references. Highlight character
17674 literals.
17675
17676 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
17677
17678 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
17679 (gdb-send): Handle continued commands. (Bug#14847)
17680
17681 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
17682
17683 * desktop.el (desktop--v2s): Remove unused local variable.
17684 (desktop-save-buffer): Make defvar-local; adjust docstring.
17685 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
17686 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
17687
17688 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
17689
17690 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
17691
17692 2013-07-12 Eli Zaretskii <eliz@gnu.org>
17693
17694 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
17695 (Bug#14842)
17696
17697 2013-07-12 Glenn Morris <rgm@gnu.org>
17698
17699 * doc-view.el: Require cl-lib at runtime too.
17700 (doc-view-remove-if): Remove.
17701 (doc-view-search-next-match, doc-view-search-previous-match):
17702 Use cl-remove-if.
17703
17704 * edmacro.el: Require cl-lib at runtime too.
17705 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
17706 (edmacro-mismatch, edmacro-subseq): Remove.
17707
17708 * shadowfile.el: Require cl-lib.
17709 (shadow-remove-if): Remove.
17710 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
17711 Use cl-remove-if.
17712
17713 * wid-edit.el: Require cl-lib.
17714 (widget-choose): Use cl-remove-if.
17715 (widget-remove-if): Remove.
17716
17717 * progmodes/ebrowse.el: Require cl-lib at runtime too.
17718 (ebrowse-delete-if-not): Remove.
17719 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
17720 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
17721 Use cl-delete-if-not.
17722
17723 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
17724
17725 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
17726 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
17727
17728 2013-07-12 Leo Liu <sdl.web@gmail.com>
17729
17730 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
17731
17732 2013-07-11 Glenn Morris <rgm@gnu.org>
17733
17734 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
17735 (edebug-gensym-index, edebug-gensym):
17736 Remove reimplementation of cl-gensym.
17737 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
17738
17739 * thumbs.el: Require cl-lib at run-time too.
17740 (thumbs-gensym-counter, thumbs-gensym):
17741 Remove reimplementation of cl-gensym.
17742 (thumbs-temp-file): Use cl-gensym.
17743
17744 * emacs-lisp/ert.el: Require cl-lib at runtime too.
17745 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
17746 (ert--intersection, ert--set-difference, ert--set-difference-eq)
17747 (ert--union, ert--gensym-counter, ert--gensym-counter)
17748 (ert--coerce-to-vector, ert--remove*, ert--string-position)
17749 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
17750 (ert-make-test-unbound, ert--expand-should-1)
17751 (ert--expand-should, ert--should-error-handle-error)
17752 (should-error, ert--explain-equal-rec)
17753 (ert--plist-difference-explanation, ert-select-tests)
17754 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
17755 Use cl-lib functions rather than reimplementations.
17756
17757 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
17758
17759 * net/tramp.el (tramp-methods): Extend docstring.
17760 (tramp-connection-timeout): New defcustom.
17761 (tramp-error-with-buffer): Reset timestamp only when appropriate.
17762 (with-tramp-progress-reporter): Simplify.
17763 (tramp-process-actions): Improve messages.
17764
17765 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17766 * net/tramp-sh.el (tramp-maybe-open-connection):
17767 Use `tramp-connection-timeout'.
17768 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
17769 (Bug#14808)
17770
17771 2013-07-11 Leo Liu <sdl.web@gmail.com>
17772
17773 * ido.el (ido-read-file-name): Conform to the requirements of
17774 read-file-name. (Bug#11861)
17775 (ido-read-directory-name): Conform to the requirements of
17776 read-directory-name.
17777
17778 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
17779
17780 * subr.el (delay-warning): New function.
17781
17782 2013-07-10 Eli Zaretskii <eliz@gnu.org>
17783
17784 * simple.el (default-line-height): New function.
17785 (line-move-partial, line-move): Use it instead of computing the
17786 line height inline.
17787 (line-move-partial): Always compute ROWH. If the last line is
17788 partially-visible, but its text is completely visible, allow
17789 cursor to enter such a partially-visible line.
17790
17791 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
17792
17793 Improve error messages. (Bug#14808)
17794
17795 * net/tramp.el (tramp-current-connection): New defvar, moved from
17796 tramp-sh.el.
17797 (tramp-message-show-progress-reporter-message): Remove, not
17798 needed anymore.
17799 (tramp-error-with-buffer): Show message in minibuffer.
17800 Discard input before waiting. Reset connection timestamp.
17801 (with-tramp-progress-reporter): Improve messages.
17802 (tramp-process-actions): Use progress reporter. Delete process in
17803 case of error. Improve messages.
17804
17805 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
17806 Call `tramp-error-with-buffer' with vector and buffer.
17807 (tramp-current-connection): Remove.
17808 (tramp-maybe-open-connection): The car of
17809 `tramp-current-connection' are the first 3 slots of the vector.
17810
17811 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
17812
17813 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
17814 inside continued strings.
17815
17816 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
17817
17818 Timestamp fixes for undo (Bug#14824).
17819 * files.el (clear-visited-file-modtime): Move here from fileio.c.
17820
17821 2013-07-10 Leo Liu <sdl.web@gmail.com>
17822
17823 * files.el (require-final-newline): Allow safe local value.
17824 (Bug#14834)
17825
17826 2013-07-09 Leo Liu <sdl.web@gmail.com>
17827
17828 * ido.el (ido-read-directory-name): Handle fallback.
17829 (ido-read-file-name): Update DIR to ido-current-directory.
17830 (Bug#1516)
17831 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
17832
17833 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
17834
17835 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
17836 "autoload". Remove "warn lower camel case" section, previously
17837 commented out. Highlight negation char. Do not highlight the
17838 target in singleton method definitions.
17839
17840 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17841
17842 * faces.el (tty-setup-hook): Declare the hook.
17843
17844 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
17845 and detect when a guard/pred depends on local vars (bug#14773).
17846 (pcase--u1): Adjust caller.
17847
17848 2013-07-08 Eli Zaretskii <eliz@gnu.org>
17849
17850 * simple.el (line-move-partial, line-move): Account for
17851 line-spacing.
17852 (line-move-partial): Avoid setting vscroll when the last
17853 partially-visible line in window is of default height.
17854
17855 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17856
17857 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
17858 been used a while.
17859
17860 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
17861
17862 * subr.el (read-quoted-char): Remove unused local variable `char'.
17863
17864 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
17865
17866 * vc/ediff.el (ediff-version): Version update.
17867 (ediff-files-command, ediff3-files-command, ediff-merge-command)
17868 (ediff-merge-with-ancestor-command, ediff-directories-command)
17869 (ediff-directories3-command, ediff-merge-directories-command)
17870 (ediff-merge-directories-with-ancestor-command): New functions.
17871 All are command-line interfaces to ediff: to facilitate calling
17872 Emacs with the appropriate ediff functions invoked.
17873
17874 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
17875 New function.
17876 (viper-save-kill-buffer): Check if buffer is modified.
17877
17878 * emulation/viper.el (viper-version): Version update.
17879 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
17880
17881 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
17882
17883 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
17884 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
17885 (viper-intercept-ESC-key): Simplify.
17886 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
17887 don't use kbd.
17888 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
17889 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
17890 (viper-setup-ESC-to-escape): New functions.
17891 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
17892 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
17893
17894 2013-07-07 Eli Zaretskii <eliz@gnu.org>
17895
17896 * simple.el (default-font-height, window-screen-lines):
17897 New functions.
17898 (line-move, line-move-partial): Use them instead of
17899 frame-char-height and window-text-height. This makes scrolling
17900 text smoother when the buffer's default face uses a font that is
17901 different from the frame's default font.
17902
17903 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
17904
17905 * files.el (write-file): Do not display confirm dialog for NS,
17906 it does its own dialog, which can't be canceled (Bug#14578).
17907
17908 2013-07-06 Eli Zaretskii <eliz@gnu.org>
17909
17910 * simple.el (line-move-partial): Adjust the row returned by
17911 posn-at-point for the current window-vscroll. (Bug#14567)
17912
17913 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
17914
17915 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
17916 (tramp-sh-file-inotifywait-process-filter): Handle file names with
17917 spaces.
17918
17919 2013-07-06 Martin Rudalics <rudalics@gmx.at>
17920
17921 * window.el (window-state-put-stale-windows): New variable.
17922 (window--state-put-2): Save list of windows without matching buffer.
17923 (window-state-put): Remove "bufferless" windows if possible.
17924
17925 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
17926
17927 * simple.el (alternatives-define): Remove leftover :group keyword.
17928 Tweak docstring.
17929
17930 2013-07-06 Leo Liu <sdl.web@gmail.com>
17931
17932 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
17933 (ido-enable-virtual-buffers): New variable.
17934 (ido-buffer-internal, ido-toggle-virtual-buffers)
17935 (ido-make-buffer-list): Use it.
17936 (ido-exhibit): Support turning on and off virtual buffers
17937 automatically.
17938
17939 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
17940
17941 * simple.el (alternatives-define): New macro.
17942
17943 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
17944
17945 * subr.el (read-quoted-char): Use read-key.
17946 (sit-for): Let read-event decode tty input (bug#14782).
17947
17948 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
17949
17950 * calendar/todo-mode.el: Add handling of file deletion, both by
17951 mode command and externally. Fix various related bugs.
17952 Clarify Commentary and improve some documentation strings and code.
17953 (todo-delete-file): New command.
17954 (todo-check-file): New function.
17955 (todo-show): Handle external deletion of the file we're trying to
17956 show (bug#14688). Replace called-interactively-p by an optional
17957 prefix argument to avoid problematic interaction with catch form
17958 when byte compiled (bug#14702).
17959 (todo-quit): Handle external deletion of the archive's todo file.
17960 Make sure the buffer that was visiting the archive file is still
17961 live before trying to bury it.
17962 (todo-category-completions): Handle external deletion of any
17963 category completion files.
17964 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
17965 of todo files, in case of external deletion.
17966 (todo-add-file): Replace unnecessary setq by let-binding.
17967 (todo-find-archive): Check whether there are any archives.
17968 Replace unnecessary setq by let-binding.
17969 (todo-archive-done-item): Use find-file-noselect to get the
17970 archive buffer whether or not the archive already exists.
17971 Remove superfluous code. Use file size instead of buffer-file-name to
17972 check if the archive is new; if it is, update list of archives.
17973 (todo-default-todo-file): Allow nil to be a valid value for when
17974 there are no todo files.
17975 (todo-reevaluate-default-file-defcustom): Use corrected definition
17976 of todo-default-todo-file.
17977 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
17978 (todo-delete-category, todo-show-categories-table)
17979 (todo-category-number): Clarify comment.
17980 (todo-filter-items): Clarify documentation string.
17981 (todo-show-current-file, todo-display-as-todo-file)
17982 (todo-reset-and-enable-done-separator): Tweak documentation string.
17983 (todo-done-separator): Make separator length window-width, since
17984 bug#2749 is now fixed.
17985
17986 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
17987
17988 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17989 Support both "gvfs-monitor-dir" and "inotifywait".
17990 (tramp-sh-file-inotifywait-process-filter): Rename from
17991 `tramp-sh-file-notify-process-filter'.
17992 (tramp-sh-file-gvfs-monitor-dir-process-filter)
17993 (tramp-get-remote-gvfs-monitor-dir): New defuns.
17994
17995 2013-07-05 Leo Liu <sdl.web@gmail.com>
17996
17997 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
17998
17999 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18000
18001 * frame.el (display-pixel-height, display-pixel-width)
18002 (display-mm-height, display-mm-width): Mention behavior on
18003 multi-monitor setups in docstrings.
18004 (w32-display-monitor-attributes-list): Declare function.
18005 (display-monitor-attributes-list): Use it.
18006
18007 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
18008
18009 * filenotify.el: New package.
18010
18011 * autorevert.el (top): Require filenotify.el.
18012 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
18013 instead.
18014 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18015 (auto-revert-notify-handler): Use `file-notify-*' functions.
18016
18017 * subr.el (file-notify-handle-event): Move function to filenotify.el.
18018
18019 * net/tramp.el (tramp-file-name-for-operation):
18020 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
18021
18022 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
18023 for `file-notify-add-watch' and `file-notify-rm-watch'.
18024 (tramp-process-sentinel): Improve trace.
18025 (tramp-sh-handle-file-notify-add-watch)
18026 (tramp-sh-file-notify-process-filter)
18027 (tramp-sh-handle-file-notify-rm-watch)
18028 (tramp-get-remote-inotifywait): New defuns.
18029
18030 2013-07-03 Juri Linkov <juri@jurta.org>
18031
18032 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
18033 call of `occur-read-primary-args' to interactive spec.
18034
18035 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
18036 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
18037
18038 2013-07-03 Matthias Meulien <orontee@gmail.com>
18039
18040 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
18041 `Buffer-menu-multi-occur'. Add it to the menu.
18042 (Buffer-menu-mode): Document it in docstring.
18043 (Buffer-menu-multi-occur): New command. (Bug#14673)
18044
18045 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
18046
18047 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
18048 keywords and built-ins.
18049
18050 2013-07-03 Glenn Morris <rgm@gnu.org>
18051
18052 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
18053
18054 Make info-xref checks case-sensitive by default
18055 * info.el (Info-find-node, Info-find-in-tag-table)
18056 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
18057 Add option for exact case matching of nodes.
18058 * info-xref.el (info-xref): New custom group.
18059 (info-xref-case-fold): New option.
18060 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
18061
18062 2013-07-03 Leo Liu <sdl.web@gmail.com>
18063
18064 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
18065
18066 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
18067
18068 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
18069 middle of block statement initially, lower the depth. Remove
18070 FIXME comment, not longer valid. Remove middle of block statement
18071 detection, no need to do that anymore since we've been using
18072 `ruby-parse-region' here.
18073
18074 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
18075
18076 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
18077
18078 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
18079
18080 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
18081
18082 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
18083
18084 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
18085 (desktop-restore-in-current-display): New customization option.
18086 (desktop--excluded-frame-parameters): Add `font'.
18087 (desktop--save-frames): Rename from desktop--save-windows.
18088 (desktop--restore-in-this-display-p): New function.
18089 (desktop--make-full-frame): Remove unwanted width/height from
18090 full(width|height) frames.
18091 (desktop--restore-frames): Rename from desktop--restore-windows.
18092 Obey desktop-restore-current-display. Do not delete old frames or
18093 select a new frame unless we were able to restore at least one frame.
18094
18095 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
18096
18097 * files.el (find-file-noselect): Simplify conditional expression.
18098
18099 * textmodes/remember.el (remember-append-to-file):
18100 Don't mix `find-buffer-visiting' and `get-file-buffer'.
18101
18102 Add `remember-notes' function to store random notes across Emacs
18103 restarts.
18104 * textmodes/remember.el (remember-data-file): Add :set callback to
18105 affect notes buffer (if any).
18106 (remember-notes): New command.
18107 (remember-notes-buffer-name, bury-remember-notes-on-kill):
18108 New defcustoms for the `remember-notes' function.
18109 (remember-notes-save-and-bury-buffer): New command.
18110 (remember-notes-mode-map): New variable.
18111 (remember-mode): New minor mode.
18112 (remember-notes--kill-buffer-query): New function.
18113 * startup.el (initial-buffer-choice): Add notes to custom type.
18114
18115 2013-06-30 Eli Zaretskii <eliz@gnu.org>
18116
18117 * bindings.el (right-char, left-char): Don't call sit-for, this is
18118 no longer needed. Use arithmetic comparison only for numerical
18119 arguments.
18120
18121 * international/mule-cmds.el (select-safe-coding-system):
18122 Handle the case of FROM being a string correctly. (Bug#14755)
18123
18124 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18125
18126 * net/shr.el (shr-make-table-1): Add a sanity check that allows
18127 progression on degenerate tables.
18128 (shr-rescale-image): ImageMagick animated images currently don't work.
18129
18130 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
18131
18132 Some fixes and improvements for desktop frame restoration.
18133 It is still experimental and disabled by default.
18134 * desktop.el (desktop--save-windows): Put the selected frame at
18135 the head of the list.
18136 (desktop--make-full-frame): New function.
18137 (desktop--restore-windows): Try to re-select the frame that was
18138 selected upon saving. Do not abort if some frames fail to restore,
18139 just show an error message and continue. Set up maximized frames
18140 so they have default non-maximized dimensions.
18141
18142 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
18143
18144 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
18145 Don't start heredoc inside a string or comment.
18146
18147 2013-06-29 Eli Zaretskii <eliz@gnu.org>
18148
18149 * bindings.el (visual-order-cursor-movement): New defcustom.
18150 (right-char, left-char): Provide visual-order cursor motion by
18151 calling move-point-visually. Update the doc strings.
18152
18153 2013-06-28 Kenichi Handa <handa@gnu.org>
18154
18155 * international/mule.el (define-coding-system): New coding system
18156 properties :inhibit-null-byte-detection,
18157 :inhibit-iso-escape-detection, and :prefer-utf-8.
18158 (set-buffer-file-coding-system): If :charset-list property of
18159 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
18160 appropriate for setting.
18161
18162 * international/mule-cmds.el (select-safe-coding-system):
18163 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
18164 multibyte characters, return utf-8 (or one of its siblings).
18165
18166 * international/mule-conf.el (prefer-utf-8): New coding system.
18167 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
18168 files.
18169
18170 2013-06-28 Ivan Kanis <ivan@kanis.fr>
18171
18172 * net/shr.el (shr-render-region): New function.
18173
18174 * net/eww.el: Autoload `eww-browse-url'.
18175
18176 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
18177
18178 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18179 Adapt to `package-desc-version' being a list.
18180 Use `package--ac-desc-version' to retrieve version from a package
18181 archive element.
18182
18183 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
18184
18185 New experimental feature to save&restore window and frame setup.
18186 * desktop.el (desktop-save-windows): New defcustom.
18187 (desktop--saved-states): New var.
18188 (desktop--excluded-frame-parameters): New defconst.
18189 (desktop--filter-frame-parms, desktop--find-frame-in-display)
18190 (desktop--restore-windows, desktop--save-windows): New functions.
18191 (desktop-save): Call `desktop--save-windows'.
18192 (desktop-read): Call `desktop--restore-windows'.
18193
18194 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18195
18196 * net/shr.el (add-face-text-property): Remove compat definition.
18197
18198 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
18199
18200 * info.el (Info-try-follow-nearest-node): Move search for footnote
18201 above search for node name to prevent missing a footnote (bug#14717).
18202
18203 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
18204
18205 * obsolete/otodo-mode.el: Add obsolescence info to file header.
18206
18207 2013-06-27 Leo Liu <sdl.web@gmail.com>
18208
18209 * net/eww.el (eww-read-bookmarks): Check file size.
18210
18211 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
18212
18213 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
18214 advice--pending if newdef is nil or an autoload (bug#13820).
18215 (advice-mapc): New function.
18216
18217 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18218
18219 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
18220 probably.
18221 (eww-mode-map): Add a menu bar.
18222 (eww-add-bookmark): New command.
18223 (eww-bookmark-mode): New mode and commands.
18224 (eww-add-bookmark): Remove newlines from the title.
18225 (eww-bookmark-browse): Don't bug out if it's the only window.
18226
18227 2013-06-26 Glenn Morris <rgm@gnu.org>
18228
18229 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
18230 (hfy-size): Handle ttys. (Bug#14668)
18231
18232 * info-xref.el: Update for Texinfo 5 change in *note format.
18233 (info-xref-node-re, info-xref-note-re): New constants.
18234 (info-xref-check-buffer): Use info-xref-note-re.
18235
18236 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
18237
18238 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
18239
18240 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
18241 nil terminate the loop (bug#14718).
18242
18243 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18244
18245 * net/eww.el: Rework history traversal. When going forward/back,
18246 put these actions into the history, too, so that they can be
18247 replayed.
18248 (eww-render): Move the history reset to the correct buffer.
18249
18250 2013-06-25 Juri Linkov <juri@jurta.org>
18251
18252 * files-x.el (modify-dir-local-variable): Change the header comment
18253 in the file with directory local variables. (Bug#14692)
18254
18255 * files-x.el (read-file-local-variable-value): Add `default'.
18256 (Bug#14710)
18257
18258 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18259
18260 * net/eww.el (eww-make-unique-file-name): Create a unique file
18261 name before saving to entering `y' accidentally asynchronously.
18262
18263 2013-06-25 Ivan Kanis <ivan@kanis.fr>
18264
18265 * net/eww.el (eww-download): New command and keystroke.
18266
18267 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18268
18269 * net/eww.el (eww-copy-page-url): Change name of command.
18270
18271 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
18272 be more consistent with Info and dired.
18273
18274 * net/eww.el (eww-mode-map): Ditto.
18275
18276 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18277
18278 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
18279 packages from archives.
18280 (package-archive-contents): Change format; include obsolete packages.
18281 (package-desc): Use `dir' to mark builtin packages.
18282 (package--from-builtin): Set the `dir' field to `builtin'.
18283 (generated-autoload-file, version-control): Declare.
18284 (package-compute-transaction): Change first arg and return value to be
18285 lists of package-descs. Adjust to new package-archive-contents format.
18286 (package--add-to-archive-contents): Adjust to new
18287 package-archive-contents format.
18288 (package-download-transaction): Arg is now a list of package-descs.
18289 (package-install): If `pkg' is a package name, pass it as
18290 a requirement, so it is subject to the usual (e.g. disabled) checks.
18291 (describe-package): Accept package-desc as well.
18292 (describe-package-1): Describe a specific package-desc. Add links to
18293 other package-descs for the same package name.
18294 (package-menu-describe-package): Pass the actual package-desc.
18295 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
18296 works correctly.
18297 (package-desc-status): New function.
18298 (package-menu--refresh): New function, extracted
18299 from package-menu--generate.
18300 (package-menu--generate): Use it.
18301 (package-delete): Update package-alist.
18302 (package-menu-execute): Don't call package-initialize.
18303
18304 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
18305 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
18306 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
18307 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
18308 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
18309 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
18310
18311 2013-06-25 Martin Rudalics <rudalics@gmx.at>
18312
18313 * window.el (window--state-get-1): Workaround for bug#14527.
18314 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
18315
18316 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18317
18318 * net/eww.el (eww-back-url): Implement the history by stashing all
18319 the data into a list.
18320 (eww-forward-url): Allow going forward in the history, too.
18321
18322 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18323
18324 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
18325 for values and use read--expression for expressions (bug#14710).
18326 (read-file-local-variable): Avoid setq.
18327 (read-file-local-variable-mode): Use minor-mode-list.
18328
18329 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18330
18331 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
18332 for DOI URLs.
18333
18334 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18335
18336 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
18337 Update imenu-support when dialect changes.
18338
18339 2013-06-25 Leo Liu <sdl.web@gmail.com>
18340
18341 * ido.el (ido-read-internal): Allow forward slash on windows.
18342
18343 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
18344
18345 * net/eww.el (eww): Start of strings is \\`, not ^.
18346
18347 2013-06-24 Ivan Kanis <ivan@kanis.fr>
18348
18349 * net/shr.el (shr-browse-url): Fix interactive spec.
18350
18351 * net/eww.el (eww): Add a trailing slash to domain names.
18352
18353 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
18354
18355 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
18356
18357 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
18358
18359 * net/shr.el (shr-browse-url): Use an external browser if given a
18360 prefix.
18361
18362 * net/eww.el (eww-external-browser): Move to shr.
18363
18364 2013-06-24 Ivan Kanis <ivan@kanis.fr>
18365
18366 * net/eww.el (eww): Work more correctly for file: URLs.
18367 (eww-detect-charset): Allow quoted charsets.
18368 (eww-yank-page-url): New command and keystroke.
18369
18370 2013-06-24 Daiki Ueno <ueno@gnu.org>
18371
18372 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
18373 file name of gpg executable.
18374 (epg-context-program): New function.
18375 (epg-context-home-directory): New function.
18376 (epg-context-set-program): New function.
18377 (epg-context-set-home-directory): New function.
18378 (epg--start): Use `epg-context-program' instead of
18379 'epg-gpg-program'.
18380 (epg--list-keys-1): Likewise.
18381
18382 2013-06-24 Leo Liu <sdl.web@gmail.com>
18383
18384 * ido.el (ido-read-internal): Fix bug#14620.
18385
18386 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
18387
18388 * faces.el (face-documentation): Simplify.
18389 (read-face-attribute, tty-find-type, x-resolve-font-name):
18390 Use `string-match-p'.
18391 (list-faces-display): Use `string-match-p'. Simplify.
18392 (face-spec-recalc): Check face to avoid face alias loops.
18393 (read-color): Use `string-match-p' and non-capturing parenthesis.
18394
18395 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18396
18397 * net/shr.el (shr-rescale-image): Use the new
18398 :max-width/:max-height functionality.
18399
18400 2013-06-23 Ivan Kanis <ivan@kanis.fr>
18401
18402 * net/eww.el (eww-search-prefix): New variable.
18403 (eww): Use it.
18404 (eww-external-browser): New variable.
18405 (eww-mode-map): New keystroke.
18406 (eww-browse-with-external-browser): New command.
18407
18408 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
18409
18410 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
18411
18412 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
18413 Don't skip aligning the next header field when padding is 0;
18414 otherwise, field width is not respected unless the title is as
18415 wide as the field.
18416
18417 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
18418
18419 * emacs-lisp/package.el (package-el-version): Remove.
18420 (package-process-define-package): Fix inf-loop.
18421 (package-install): Allow symbols as arguments again.
18422
18423 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
18424
18425 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
18426 add some more keyword-like methods.
18427 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
18428
18429 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
18430
18431 * bs.el (bs-buffer-show-mark): Make defvar-local.
18432 (bs-mode): Use setq-local.
18433
18434 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
18435 (emacs-lock--try-unlocking): Make defvar-local.
18436
18437 2013-06-22 Glenn Morris <rgm@gnu.org>
18438
18439 * play/cookie1.el (cookie-apropos): Minor simplification.
18440
18441 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
18442
18443 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
18444
18445 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
18446 `regexp-opt', it breaks the build during dumping.
18447
18448 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
18449
18450 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
18451 Highlight keyword-like methods on Kernel and Module with
18452 font-lock-builtin-face.
18453 (auto-mode-alist): Consolidate different entries into one regexp
18454 and add more *file-s.
18455
18456 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
18457
18458 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
18459
18460 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
18461 (diary-entry): Use it in the action of this button type instead of
18462 diary-goto-entry.
18463
18464 * calendar/todo-mode.el: New version.
18465 (todo-add-category): Append new category to end of file and give
18466 it the highest number, instead of putting it at the beginning and
18467 giving it 0. Incorporate noninteractive functionality.
18468 (todo-forward-category): Adapt to 1-based category numbering.
18469 Allow skipping over archived categories.
18470 (todo-backward-category): Derive from todo-forward-category.
18471 (todo-backward-item, todo-forward-item): Make noninteractive and
18472 delegate interactive part to new commands. Make sensitive to done items.
18473 (todo-categories): Make value an alist of category names and
18474 vectors of item counts.
18475 (todo-category-beg): Make a defconst.
18476 (todo-category-number): Use 1 instead of 0 as initial value.
18477 (todo-category-select): Make sensitive to overlays, optional item
18478 highlighting and done items.
18479 (todo-delete-item): Make sensitive to overlays and marked and done items.
18480 (todo-edit-item): Make sensitive to overlays and editing of
18481 date/time header optional. Add format checks.
18482 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
18483 no-op if point is not on an item. Advertise using todo-edit-quit.
18484 (todo-edit-mode): Make sensitive to new format, font-locking, and
18485 multiple todo files.
18486 (todo-insert-item, todo-insert-item-here): Derive from
18487 todo-basic-insert-item and extend functionality.
18488 (todo-item-end, todo-item-start): Make sensitive to done items.
18489 (todo-item-string): Don't return text properties. Restore point.
18490 (todo-jump-to-category): Make sensitive to multiple todo files and
18491 todo archives. Use extended category completion.
18492 (todo-lower-item, todo-raise-item): Rename to *-priority and
18493 derive from todo-set-item-priority.
18494 (todo-mode): Derive from special-mode. Make sensitive to new
18495 format, font-locking and multiple todo files. Make read-only.
18496 (todo-mode-map): Don't suppress digit keys, so they can supply
18497 prefix arguments. Add many new key bindings.
18498 (todo-prefix): Insert as an overlay instead of file text.
18499 Change semantics from diary date expression to purely visual mark.
18500 (todo-print): Rename to todo-print-buffer. Make buffer display
18501 features printable. Remove option to restrict number of items
18502 printed. Add option to print to file.
18503 (todo-print-function): Rename to todo-print-buffer-function.
18504 (todo-quit): Extend to handle exiting new todo modes.
18505 (todo-remove-item): Make sensitive to overlays.
18506 (todo-save): Extend to buffers of filtered items.
18507 (todo-show): Make sensitive to done items, multiple todo files and
18508 new todo modes. Offer to convert legacy todo file before creating
18509 first new todo file.
18510 (todo-show-priorities): Rename to todo-top-priorities.
18511 Change semantics of value 0.
18512 (todo-top-priorities): Rename to todo-filter-top-priorities,
18513 derive from todo-filter-items and extend functionality.
18514 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
18515 and extend functionality to other types of filtered items.
18516 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
18517 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
18518 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
18519 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
18520 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
18521 (todo-edit-mode-hook, todo-entry-prefix-function)
18522 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
18523 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
18524 (todo-initials, todo-insert-threshold, todo-item-string-start)
18525 (todo-line-string, todo-menu, todo-mode-hook)
18526 (todo-more-important-p, todo-previous-answer, todo-previous-line)
18527 (todo-print-priorities, todo-remove-separator)
18528 (todo-save-top-priorities-too, todo-string-count-lines)
18529 (todo-string-multiline-p, todo-time-string-format)
18530 (todo-tmp-buffer-name): Remove.
18531 (todo-add-file, todo-archive-done-item, todo-choose-archive)
18532 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
18533 (todo-edit-category-diary-inclusion)
18534 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
18535 (todo-edit-file, todo-edit-item-date-day)
18536 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
18537 (todo-edit-item-date-month, todo-edit-item-date-to-today)
18538 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
18539 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
18540 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
18541 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
18542 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
18543 (todo-filter-top-priorities-multifile, todo-find-archive)
18544 (todo-find-filtered-items-file, todo-go-to-source-item)
18545 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
18546 (todo-jump-to-archive-category, todo-lower-category)
18547 (todo-mark-category, todo-marked-item-p, todo-merge-category)
18548 (todo-move-category, todo-move-item, todo-next-button)
18549 (todo-next-item, todo-padded-string, todo-powerset)
18550 (todo-previous-button, todo-previous-item)
18551 (todo-print-buffer-to-file, todo-raise-category)
18552 (todo-rename-category, todo-repair-categories-sexp, todo-search)
18553 (todo-set-category-number, todo-set-item-priority)
18554 (todo-set-top-priorities-in-category)
18555 (todo-set-top-priorities-in-file, todo-show-categories-table)
18556 (todo-sort-categories-alphabetically-or-numerically)
18557 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
18558 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
18559 (todo-toggle-item-header, todo-toggle-item-highlighting)
18560 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
18561 (todo-toggle-view-done-items, todo-toggle-view-done-only)
18562 (todo-unarchive-items, todo-unmark-category): New commands.
18563 (todo-absolute-file-name, todo-add-to-buffer-list)
18564 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
18565 (todo-basic-insert-item, todo-category-completions)
18566 (todo-category-number, todo-category-string-matcher-1)
18567 (todo-category-string-matcher-2, todo-check-filtered-items-file)
18568 (todo-check-format, todo-clear-matches)
18569 (todo-comment-string-matcher, todo-convert-legacy-date-time)
18570 (todo-current-category, todo-date-string-matcher)
18571 (todo-define-insertion-command, todo-diary-expired-matcher)
18572 (todo-diary-goto-entry, todo-diary-item-p)
18573 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
18574 (todo-display-categories, todo-display-sorted, todo-done-item-p)
18575 (todo-done-item-section-p, todo-done-separator)
18576 (todo-done-string-matcher, todo-files, todo-filter-items)
18577 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
18578 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
18579 (todo-insert-category-line, todo-insert-item-from-calendar)
18580 (todo-insert-sort-button, todo-insert-with-overlays)
18581 (todo-insertion-command-name, todo-insertion-key-bindings)
18582 (todo-label-to-key, todo-longest-category-name-length)
18583 (todo-make-categories-list, todo-mode-external-set)
18584 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
18585 (todo-modes-set-3, todo-multiple-filter-files)
18586 (todo-nondiary-marker-matcher, todo-prefix-overlays)
18587 (todo-read-category, todo-read-date, todo-read-dayname)
18588 (todo-read-file-name, todo-read-time)
18589 (todo-reevaluate-category-completions-files-defcustom)
18590 (todo-reevaluate-default-file-defcustom)
18591 (todo-reevaluate-filelist-defcustoms)
18592 (todo-reevaluate-filter-files-defcustom)
18593 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
18594 (todo-reset-done-separator, todo-reset-done-separator-string)
18595 (todo-reset-done-string, todo-reset-global-current-todo-file)
18596 (todo-reset-highlight-item, todo-reset-nondiary-marker)
18597 (todo-reset-prefix, todo-set-categories)
18598 (todo-set-date-from-calendar, todo-set-show-current-file)
18599 (todo-set-top-priorities, todo-short-file-name)
18600 (todo-show-current-file, todo-sort, todo-time-string-matcher)
18601 (todo-total-item-counts, todo-update-buffer-list)
18602 (todo-update-categories-display, todo-update-categories-sexp)
18603 (todo-update-count, todo-validate-name, todo-y-or-n-p):
18604 New functions.
18605 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
18606 New major modes.
18607 (todo-categories, todo-display, todo-edit, todo-faces)
18608 (todo-filtered): New defgroups.
18609 (todo-archived-only, todo-button, todo-category-string, todo-date)
18610 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
18611 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
18612 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
18613 (todo-add-item-if-new-category, todo-always-add-time-string)
18614 (todo-categories-align, todo-categories-archived-label)
18615 (todo-categories-category-label, todo-categories-diary-label)
18616 (todo-categories-done-label, todo-categories-number-separator)
18617 (todo-categories-todo-label, todo-categories-totals-label)
18618 (todo-category-completions-files, todo-completion-ignore-case)
18619 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
18620 (todo-done-separator-string, todo-done-string)
18621 (todo-files-function, todo-filter-done-items, todo-filter-files)
18622 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
18623 (todo-initial-category, todo-initial-file, todo-item-mark)
18624 (todo-legacy-date-time-regexp, todo-mode-line-function)
18625 (todo-nondiary-marker, todo-number-prefix)
18626 (todo-print-buffer-function, todo-show-current-file)
18627 (todo-show-done-only, todo-show-first, todo-show-with-done)
18628 (todo-skip-archived-categories, todo-top-priorities-overrides)
18629 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
18630 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
18631 New defcustoms.
18632 (todo-category-done, todo-date-pattern, todo-date-string-start)
18633 (todo-diary-items-buffer, todo-done-string-start)
18634 (todo-filtered-items-buffer, todo-item-start)
18635 (todo-month-abbrev-array, todo-month-name-array)
18636 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
18637 (todo-top-priorities-buffer): New defconsts.
18638 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
18639 (todo-categories-with-marks, todo-category-string-face)
18640 (todo-comment-face, todo-comment-string, todo-current-todo-file)
18641 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
18642 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
18643 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
18644 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
18645 (todo-font-lock-keywords, todo-global-current-todo-file)
18646 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
18647 (todo-insertion-commands-args)
18648 (todo-insertion-commands-args-genlist)
18649 (todo-insertion-commands-names, todo-insertion-map)
18650 (todo-key-bindings-t, todo-key-bindings-t+a)
18651 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
18652 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
18653 (todo-nondiary-face, todo-print-buffer, todo-time-face)
18654 (todo-visited): New variables.
18655
18656 2013-06-21 Glenn Morris <rgm@gnu.org>
18657
18658 * play/cookie1.el (cookie-apropos): Add optional display argument.
18659 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
18660 (psychoanalyze-pinhead): Use cookie-doctor.
18661
18662 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
18663
18664 * emacs-lisp/package.el (tar-get-file-descriptor)
18665 (tar--extract): Declare.
18666
18667 2013-06-21 Eduard Wiebe <usenet@pusto.de>
18668
18669 Extend flymake's warning predicate to be a function (bug#14217).
18670 * progmodes/flymake.el (flymake-warning-predicate): New.
18671 (flymake-parse-line): Use it.
18672 (flymake-warning-re): Make obsolete alias to
18673 `flymake-warning-predicate'.
18674
18675 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18676
18677 * emacs-lisp/package.el (package-alist): Include obsolete packages.
18678 (package-obsolete-list): Remove.
18679 (package-activate): Remove min-version argument. Add `force' argument.
18680 Adjust to new package-alist format.
18681 (package-mark-obsolete): Remove.
18682 (package-unpack): Force reload of the package's autoloads.
18683 (package-installed-p): Check builtins if the installed package is not
18684 recent enough.
18685 (package-initialize): Don't reset package-obsolete-list.
18686 Don't specify which package version to activate.
18687 (package-process-define-package, describe-package-1)
18688 (package-menu--generate): Adjust to new package-alist format.
18689
18690 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
18691
18692 * allout-widgets.el (allout-widgets-mode-off)
18693 (allout-widgets-mode-on, allout-widgets-pre-command-business)
18694 (allout-widgets-post-command-business)
18695 (allout-widgets-after-copy-or-kill-function)
18696 (allout-widgets-after-undo-function, allout-test-range-overlaps)
18697 (allout-decorate-item-and-context)
18698 (allout-graphics-modification-handler): Fix typos in docstrings.
18699 (allout-get-or-create-parent-widget): Use `looking-at-p'.
18700
18701 * cmuscheme.el (scheme-start-file): Doc fix.
18702 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
18703 (scheme-input-filter): Use `string-match-p'.
18704
18705 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
18706
18707 * dired-x.el: Use Dired consistently in docstrings.
18708
18709 * dired.el: Use Dired consistently in docstrings.
18710 (dired-readin, dired-mode): Use `setq-local'.
18711 (dired-switches-alist): Make defvar-local.
18712 (dired-buffers-for-dir): Use `zerop'.
18713 (dired-safe-switches-p, dired-switches-escape-p)
18714 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
18715 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
18716 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
18717 (dired-goto-next-nontrivial-file): Use `string-match-p'.
18718 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
18719 (dired-toggle-marks, dired-mark-files-containing-regexp)
18720 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
18721 (dired-flag-auto-save-files, dired-flag-backup-files):
18722 Use `looking-at-p'.
18723 (dired-mark-files-regexp, dired-build-subdir-alist):
18724 Use `string-match-p', `looking-at-p'.
18725
18726 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
18727 (direct-print-region-helper): Use `string-match-p'.
18728
18729 2013-06-21 Leo Liu <sdl.web@gmail.com>
18730
18731 * comint.el (comint-redirect-results-list-from-process):
18732 Fix infinite loop.
18733
18734 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18735
18736 * net/eww.el (eww-update-header-line-format): Quote % characters.
18737
18738 2013-06-21 Glenn Morris <rgm@gnu.org>
18739
18740 * play/cookie1.el (cookie): New custom group.
18741 (cookie-file): New option.
18742 (cookie-check-file): New function.
18743 (cookie): Make it interactive. Make start and end messages optional.
18744 Interactively, display the result. Default to cookie-file.
18745 (cookie-insert): Default to cookie-file.
18746 (cookie-snarf): Make start and end messages optional.
18747 Default to cookie-file. Use with-temp-buffer.
18748 (cookie-read): Rename from read-cookie.
18749 Make start and end messages optional. Default to cookie-file.
18750 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
18751 Do not autoload it.
18752 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
18753 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
18754
18755 2013-06-21 Leo Liu <sdl.web@gmail.com>
18756
18757 * progmodes/octave.el (octave-mode): Backward compatibility fix.
18758
18759 2013-06-21 Glenn Morris <rgm@gnu.org>
18760
18761 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
18762
18763 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18764 Daniel Hackney <dan@haxney.org>
18765
18766 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
18767 Consolidate the single-file vs tarball code.
18768 (package-desc-suffix): New function.
18769 (package-desc-full-name): Don't bother inlining it.
18770 (package-load-descriptor): Return the new package-desc.
18771 (package-mark-obsolete): Remove unused arg `package'.
18772 (package-unpack): Make it work for single files as well.
18773 Make it update package-alist.
18774 (package--make-autoloads-and-stuff): Rename from
18775 package--make-autoloads-and-compile. Don't compile any more.
18776 (package--compile): New function.
18777 (package-generate-description-file): New function, extracted from
18778 package-unpack-single.
18779 (package-unpack-single): Remove.
18780 (package--with-work-buffer): Add indentation and debugging info.
18781 (package-download-single): Remove.
18782 (package-install-from-archive): Rename from package-download-tar, make
18783 it take a pkg-desc, and make it work for single files as well.
18784 (package-download-transaction): Simplify.
18785 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
18786 external tar program.
18787 (package-install-from-buffer): Remove `pkg-desc' argument.
18788 Use package-tar-file-info for tar-mode buffers.
18789 (package-install-file): Simplify accordingly.
18790 (package-archive-base): Change to take a pkg-desc.
18791 * tar-mode.el (tar--check-descriptor): New function, extracted from
18792 tar-get-descriptor.
18793 (tar-get-descriptor): Use it.
18794 (tar-get-file-descriptor): New function.
18795 (tar--extract): New function, extracted from tar-extract.
18796 (tar--extract): Use it.
18797 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
18798 case the summary uses non-ascii. Adjust to new calling convention of
18799 package-tar-file-info.
18800
18801 2013-06-21 Leo Liu <sdl.web@gmail.com>
18802
18803 * comint.el (comint-redirect-results-list-from-process):
18804 Fix random delay. (Bug#14681)
18805
18806 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
18807
18808 * profiler.el (profiler-format-number): Use log, not log10.
18809
18810 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
18811
18812 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
18813
18814 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18815
18816 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
18817 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
18818 yet available.
18819 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
18820 (AUTOGENEL): ... here.
18821 * emacs-lisp/cl-macs.el (cl--sublis): New function.
18822 (cl--defsubst-expand): Use it.
18823
18824 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
18825
18826 * subr.el (log10): Move here from C code, and declare as obsolete.
18827 All uses of (log10 X) replaced with (log X 10).
18828
18829 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
18830
18831 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
18832 Declare with `defvar-local'.
18833 (tabulated-list-use-header-line, tabulated-list-entries)
18834 (tabulated-list-padding, tabulated-list-printer)
18835 (tabulated-list-sort-key): Declare with `defvar-local'.
18836 (tabulated-list-init-header, tabulated-list-print-fake-header):
18837 Use `setq-local'.
18838
18839 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
18840
18841 * arc-mode.el (archive-mode): Add `archive-write-file' to
18842 `write-contents-functions' also for remote files. (Bug#14652)
18843
18844 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
18845
18846 * cus-edit.el (custom-commands): Fix typos.
18847 (custom-display): Fix tooltip text.
18848 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
18849 Fix typos in docstrings.
18850 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
18851 (custom-unlispify-menu-entry, custom-magic-value-create)
18852 (custom-add-see-also, custom-group-value-create): Use ?\s.
18853 (custom-guess-type, customize-apropos, editable-field)
18854 (custom-face-value-create): Use `string-match-p'.
18855 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
18856
18857 * custom.el (custom-load-symbol): Use `string-match-p'.
18858
18859 * ansi-color.el: Convert to lexical binding.
18860 (ansi-colors): Fix URL.
18861 (ansi-color-context, ansi-color-context-region): Use defvar-local.
18862 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
18863 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
18864
18865 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18866
18867 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
18868
18869 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
18870
18871 2013-06-19 Tom Tromey <tromey@redhat.com>
18872
18873 * net/eww.el (eww-top-url): Remove.
18874 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
18875 (eww-render): Set new variables. Don't set eww-top-url.
18876 (eww-handle-link): Handle "prev", "home", and "contents".
18877 Downcase the rel text.
18878 (eww-top-url): Choose best top URL.
18879
18880 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18881
18882 * net/eww.el: Rewrite to implement form elements "by hand" instead of
18883 relying in widget.el. Using widget.el leads to too many
18884 user interface inconsistencies.
18885 (eww-self-insert): Implement entering commands in text fields.
18886 (eww-process-text-input): New function to make text input field editing
18887 work.
18888 (eww-submit): Rewrite to use the new-style form methods.
18889 (eww-select-display): Display the correct selected item.
18890 (eww-change-select): Implement changing the select value.
18891 (eww-toggle-checkbox): Implement radio/checkboxes.
18892 (eww-update-field): Fix compilation error.
18893 (eww-tag-textarea): Implement <textarea>.
18894
18895 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
18896 we don't shadow mode-specific bindings.
18897
18898 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
18899 nothing to push.
18900
18901 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
18902
18903 2013-06-19 Glenn Morris <rgm@gnu.org>
18904
18905 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
18906
18907 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
18908
18909 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
18910 not needed.
18911
18912 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
18913
18914 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18915
18916 * net/browse-url.el (browse-url-browser-function):
18917 `eww-browse-url' has the right calling signature, `eww' does not.
18918
18919 2013-06-19 Glenn Morris <rgm@gnu.org>
18920
18921 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
18922 Only eval autoloaded macros.
18923 (byte-compile-autoload): Only give the macro warning for macros.
18924
18925 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
18926 (ps-underlined-faces): Declare.
18927
18928 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
18929 (speedbar-add-supported-extension): Declare.
18930
18931 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
18932 Don't include a date stamp in the header of the generated file;
18933 it leads to needless differences between output files.
18934
18935 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
18936
18937 * net/secrets.el (secrets-struct-secret-content-type):
18938 Replace check of introspection data by a test call of "CreateItem".
18939 Some servers do not offer introspection.
18940
18941 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
18942
18943 * electric.el (electric-pair-mode): Improve interaction with
18944 electric-layout-mode.
18945 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
18946 (electric-pair-syntax): Use text-mode-syntax-table in comments
18947 and strings.
18948 (electric-pair--insert): New function.
18949 (electric-pair-post-self-insert-function): Use it and
18950 electric--after-char-pos.
18951
18952 2013-06-19 Leo Liu <sdl.web@gmail.com>
18953
18954 * progmodes/octave.el (octave-help): Fix regexp.
18955
18956 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18957
18958 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
18959 (shr-table-horizontal-line): Allow nil as a value, and change the
18960 default.
18961 (shr-insert-table-ruler): Respect the nil value.
18962
18963 2013-06-18 Tom Tromey <tromey@barimba>
18964
18965 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
18966 New defvars.
18967 (eww-open-file): New defun.
18968 (eww-render): Initialize new variables.
18969 (eww-display-html): Handle "link" and "a".
18970 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
18971 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
18972 (eww-back-url): Rename from eww-previous-url.
18973 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
18974 New defuns.
18975
18976 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
18977
18978 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
18979 Distinguish ternary operator tokens from slash symbol and slash
18980 char literal.
18981
18982 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
18983
18984 Convert symbol prettification into minor mode and global minor mode.
18985
18986 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
18987 `prog-prettify-symbols', and make a local defvar instead of defcustom.
18988 (prettify-symbols--keywords): Rename from
18989 `prog-prettify-symbols-alist' and make a local defvar.
18990 (prettify-symbols--compose-symbol): Rename from
18991 `prog--prettify-font-lock-compose-symbol'.
18992 (prettify-symbols--make-keywords): Rename from
18993 `prog-prettify-font-lock-symbols-keywords' and simplify.
18994 (prog-prettify-install): Remove.
18995 (prettify-symbols-mode): New minor mode, based on
18996 `prog-prettify-install'.
18997 (turn-on-prettify-symbols-mode): New function.
18998 (global-prettify-symbols-mode): New globalized minor mode.
18999
19000 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
19001 * progmodes/cfengine.el (cfengine3-mode):
19002 * progmodes/perl-mode.el (perl-mode): Don't call
19003 `prog-prettify-install'; set `prettify-symbols-alist' instead.
19004
19005 2013-06-18 Juri Linkov <juri@jurta.org>
19006
19007 * files-x.el (modify-file-local-variable-message): New function.
19008 (modify-file-local-variable)
19009 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
19010 and call `modify-file-local-variable-message' when it's non-nil.
19011 (add-file-local-variable, delete-file-local-variable)
19012 (add-file-local-variable-prop-line)
19013 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
19014 and use it. (Bug#9820)
19015
19016 2013-06-18 Juri Linkov <juri@jurta.org>
19017
19018 * emulation/vi.el (vi-shell-op):
19019 * emulation/vip.el (vip-execute-com, ex-command):
19020 * emulation/viper-cmd.el (viper-exec-bang):
19021 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
19022 the call of `shell-command-on-region'. (Bug#14637)
19023
19024 * simple.el (shell-command-on-region): Doc fix.
19025
19026 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
19027
19028 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
19029 (bug#14633).
19030
19031 2013-06-18 Glenn Morris <rgm@gnu.org>
19032
19033 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
19034
19035 * newcomment.el (comment-search-forward, comment-search-backward):
19036 Doc fix. (Bug#14376)
19037
19038 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
19039
19040 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
19041 (buffer-face-mode-invoke): Doc fix.
19042
19043 2013-06-18 Matthias Meulien <orontee@gmail.com>
19044
19045 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
19046 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
19047
19048 2013-06-18 Glenn Morris <rgm@gnu.org>
19049
19050 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
19051 Replace obsolete function generic-make-keywords with its expansion.
19052
19053 * progmodes/python.el (ffap-alist): Declare.
19054
19055 * textmodes/reftex.el (bibtex-mode-map): Declare.
19056
19057 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
19058
19059 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
19060 (package-unpack, package-unpack-single): Return the pkg-dir.
19061 (package-download-transaction): Use it to update package-alist.
19062
19063 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19064
19065 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
19066 possible choice.
19067
19068 2013-06-17 Juri Linkov <juri@jurta.org>
19069
19070 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
19071
19072 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
19073
19074 * emacs-lisp/package.el (package-load-descriptor):
19075 Remove `with-syntax-table' call, `read' doesn't need it.
19076 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
19077
19078 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
19079
19080 * startup.el (command-line): Expand package name returned by
19081 `package--description-file' (bug#14639).
19082
19083 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
19084
19085 * emacs-lisp/package.el (package-load-descriptor): Do not call
19086 `emacs-lisp-mode', just use its syntax table.
19087
19088 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
19089
19090 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
19091 `font-lock-extra-managed-props' if any prettifying keyword is added.
19092 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
19093 (prog-mode): Use `setq-local'.
19094
19095 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19096
19097 * international/characters.el (standard-case-table): Set syntax of ?»
19098 and ?« to punctuation.
19099
19100 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
19101
19102 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
19103 Save relevant match data before calling `syntax-ppss' (bug#14595).
19104
19105 2013-06-15 Juri Linkov <juri@jurta.org>
19106
19107 * files-x.el (modify-file-local-variable-prop-line): Add local
19108 variables to the end of the existing comment on the first line.
19109 Use `file-auto-mode-skip' to skip interpreter magic line,
19110 and also skip XML declaration.
19111
19112 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19113
19114 * startup.el (package--builtin-versions): New var.
19115 (package-subdirectory-regexp): Remove.
19116 (package--description-file): Hard code its value instead.
19117
19118 * emacs-lisp/package.el: Don't activate packages older than builtin.
19119 (package-obsolete-list): Rename from package-obsolete-alist, and make
19120 it into a simple list of package-desc.
19121 (package-strip-version): Remove.
19122 (package-built-in-p): Use package--builtin-versions.
19123 (package-mark-obsolete): Simplify.
19124 (package-process-define-package): Mark it obsolete if older than the
19125 builtin version.
19126 (package-handle-response): Use line-end-position.
19127 (package-read-archive-contents, package--download-one-archive):
19128 Simplify.
19129 (package--add-to-archive-contents): Skip if older than the builtin or
19130 installed version.
19131 (package-menu-describe-package): Fix last change.
19132 (package-list-unversioned): New var.
19133 (package-menu--generate): Use it.
19134
19135 * emacs-lisp/autoload.el: Manage package--builtin-versions.
19136 (autoload--insert-text, autoload--insert-cookie-text): New functions.
19137 (autoload-builtin-package-versions): New variable.
19138 (autoload-generate-file-autoloads): Use them.
19139 Remove the list of autoloaded functions/macros from the
19140 (autoload...) comments.
19141
19142 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
19143
19144 2013-06-15 Eli Zaretskii <eliz@gnu.org>
19145
19146 * simple.el (line-move-partial): Don't jump to the next screen
19147 line as soon as it becomes visible. Instead, continue enlarging
19148 the vscroll until the portion of a tall screen line that's left on
19149 display is about the height of the frame's default font.
19150 (Bug#14567)
19151
19152 2013-06-15 Glenn Morris <rgm@gnu.org>
19153
19154 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
19155 compilation-error-regexp-alist void, or local while let-bound.
19156
19157 * progmodes/make-mode.el (makefile-mode-syntax-table):
19158 Treat "=" as punctuation. (Bug#14614)
19159
19160 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
19161
19162 * help-fns.el (describe-variable):
19163 Add extra line for permanent-local variables.
19164
19165 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
19166
19167 * progmodes/scheme.el (scheme-font-lock-keywords-2):
19168 Add export, import, library. (Bug#9164)
19169 (library): Set indent function.
19170
19171 2013-06-14 Glenn Morris <rgm@gnu.org>
19172
19173 * term/xterm.el (xterm--query):
19174 Stop after first matching handler. (Bug#14615)
19175
19176 2013-06-14 Ivan Kanis <ivan@kanis.fr>
19177
19178 Add support for dired in saveplace.
19179 * dired.el (dired-initial-position-hook): New variable.
19180 (dired-initial-position): Call hook to place cursor position.
19181 * saveplace.el (save-place-to-alist): Add dired position.
19182 (save-place-dired-hook): New function.
19183
19184 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
19185
19186 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
19187 through a symbol rather than letrec.
19188
19189 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
19190 (package-desc): Add `dir' field.
19191 (package-desc-full-name): New function.
19192 (package-load-descriptor): Combine the two arguments. Don't use `load'.
19193 (package-maybe-load-descriptor): Remove.
19194 (package-load-all-descriptors): Just call package-load-descriptor.
19195 (package--disabled-p): New function.
19196 (package-desc-vers, package-desc-doc): Remove aliases.
19197 (package--dir): Remove function.
19198 (package-activate): Check if a package is disabled.
19199 (package-process-define-package): New function, extracted from
19200 define-package.
19201 (define-package): Turn into a place holder.
19202 (package-unpack-single, package-tar-file-info):
19203 Use package--description-file.
19204 (package-compute-transaction): Use package--disabled-p.
19205 (package-download-transaction): Don't call
19206 package-maybe-load-descriptor since they're all loaded anyway.
19207 (package-install): Change argument to be a pkg-desc.
19208 (package-delete): Use a single pkg-desc argument.
19209 (describe-package-1): Use package-desc-dir instead of package--dir.
19210 Use package-desc property instead of package-symbol.
19211 (package-install-button-action): Adjust accordingly.
19212 (package--push): Rewrite.
19213 (package-menu--print-info): Adjust accordingly. Change the ID format
19214 to be a pkg-desc.
19215 (package-menu-describe-package, package-menu-get-status)
19216 (package-menu--find-upgrades, package-menu-mark-upgrades)
19217 (package-menu-execute, package-menu--name-predicate):
19218 Adjust accordingly.
19219 * startup.el (package--description-file): New function.
19220 (command-line): Use it.
19221 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19222 Use package-desc-version.
19223
19224 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
19225 (byte-compile-preprocess): Use it.
19226 (byte-compile-file-form-defalias): Try a bit harder to use macros we
19227 can't quite recognize.
19228 (byte-compile-add-to-list): Remove.
19229 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
19230 (cconv-closure-convert): Add assertion.
19231
19232 * emacs-lisp/map-ynp.el: Use lexical-binding.
19233 (map-y-or-n-p): Remove unused vars `tail' and `object'.
19234 Factor out some repeated code.
19235
19236 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
19237
19238 * subr.el (with-eval-after-load): New macro.
19239 (eval-after-load): Allow form to be a function.
19240 take advantage of lexical-binding.
19241 (do-after-load-evaluation): Use dolist and adjust to new format.
19242 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
19243
19244 2013-06-13 Juri Linkov <juri@jurta.org>
19245
19246 * replace.el (perform-replace): Display "symbol " and other search
19247 modes from `isearch-message-prefix' in the *Help* buffer.
19248
19249 * isearch.el (isearch-query-replace): Add " symbol" and other
19250 possible search modes from `isearch-message-prefix' to the prompt.
19251 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
19252 when reading a regexp to collect.
19253
19254 2013-06-13 Juri Linkov <juri@jurta.org>
19255
19256 * isearch.el (word-search-regexp): Match whitespace if the search
19257 string begins or ends in whitespace. The LAX arg is applied to
19258 both ends of the search string. Use `regexp-quote' and explicit
19259 \< and \> instead of \b. Use \` and \' instead of ^ and $.
19260 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
19261 boundaries are replaced with symbol boundaries, and characters
19262 between symbols match non-word non-symbol syntax. (Bug#14602)
19263
19264 2013-06-13 Juri Linkov <juri@jurta.org>
19265
19266 * isearch.el (isearch-del-char): Don't exceed the length of
19267 `isearch-string' by the prefix arg. (Bug#14563)
19268
19269 2013-06-13 Juri Linkov <juri@jurta.org>
19270
19271 * isearch.el (isearch-yank-word, isearch-yank-line)
19272 (isearch-char-by-name, isearch-quote-char)
19273 (isearch-printing-char, isearch-process-search-char):
19274 Add optional count prefix arg. (Bug#14563)
19275
19276 * international/isearch-x.el
19277 (isearch-process-search-multibyte-characters):
19278 Add optional count prefix arg.
19279
19280 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
19281
19282 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
19283 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
19284 lexical-binding.
19285
19286 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
19287
19288 * subr.el (set-temporary-overlay-map): Add on-exit argument.
19289
19290 2013-06-13 Glenn Morris <rgm@gnu.org>
19291
19292 * startup.el (tty-handle-args):
19293 Don't just discard "--" and anything after. (Bug#14608)
19294
19295 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
19296
19297 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
19298
19299 Implement changes in Secret Service API. Make it backward compatible.
19300 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
19301 (secrets-create-item): Use it. Prefix properties with interface.
19302
19303 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
19304
19305 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
19306 (term-emulate-terminal): Respect term-suppress-hard-newline.
19307
19308 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
19309
19310 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
19311 Only remove a `thumb-file' overlay. (Bug#14548)
19312
19313 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
19314
19315 * mail/reporter.el (reporter-submit-bug-report):
19316 Handle missing package-name. (Bug#14600)
19317
19318 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19319
19320 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
19321 (reftex-citation-prompt, reftex-default-bibliography)
19322 (reftex-bib-or-thebib, reftex-get-bibfile-list)
19323 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
19324 (reftex-bib-sort-author, reftex-bib-sort-year)
19325 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
19326 (reftex-extract-bib-entries-from-thebibliography)
19327 (reftex-get-bibkey-default, reftex-get-bib-names)
19328 (reftex-parse-bibtex-entry, reftex-get-bib-field)
19329 (reftex-format-bib-entry, reftex-parse-bibitem)
19330 (reftex-format-bibitem, reftex-do-citation)
19331 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
19332 (reftex-restrict-bib-matches, reftex-extract-bib-file)
19333 (reftex-insert-bib-matches, reftex-format-citation)
19334 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
19335 (reftex-create-bibtex-file): Add docstrings, mostly by converting
19336 existing comments into docstrings.
19337
19338 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
19339
19340 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
19341
19342 2013-06-12 Andreas Schwab <schwab@suse.de>
19343
19344 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
19345 for auto-save files.
19346
19347 2013-06-12 Glenn Morris <rgm@gnu.org>
19348
19349 * ido.el (ido-delete-ignored-files): Remove.
19350 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
19351 Go back to calling ido-ignore-item-p directly.
19352
19353 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
19354
19355 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
19356
19357 * ido.el (ido-delete-ignored-files): New function,
19358 split from ido-make-file-list-1.
19359 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
19360 (ido-make-file-list-1): Use ido-delete-ignored-files.
19361
19362 2013-06-12 Leo Liu <sdl.web@gmail.com>
19363
19364 * progmodes/octave.el (inferior-octave-startup)
19365 (inferior-octave-completion-table)
19366 (inferior-octave-track-window-width-change)
19367 (octave-eldoc-function-signatures, octave-help)
19368 (octave-find-definition): Use single quoted strings.
19369 (inferior-octave-startup-args): Change default value.
19370 (inferior-octave-startup): Do not hard code "-i" and
19371 "--no-line-editing".
19372 (inferior-octave-resync-dirs): Add optional arg NOERROR.
19373 (inferior-octave-directory-tracker): Use it.
19374 (octave-goto-function-definition): Robustify.
19375 (octave-help): Support highlighting operators in 'See also'.
19376 (octave-find-definition): Find subfunctions only in Octave mode.
19377
19378 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
19379
19380 * help-fns.el (help-fns--compiler-macro): If the handler function is
19381 named, then put a link to it.
19382 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
19383 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
19384 (cl-typep): Use it.
19385 (cl-eval-when): Simplify debug spec.
19386 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
19387 compiler-macro function instead of setting `compiler-macro-file'.
19388
19389 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
19390
19391 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
19392 * vc/vc-hooks.el (vc-stay-local): Doc fix.
19393
19394 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
19395 Daniel Hackney <dan@haxney.org>
19396
19397 First part of Daniel Hackney's patch to package.el.
19398 * emacs-lisp/package.el: Use defstruct.
19399 (package-desc): New, main struct.
19400 (package--bi-desc, package--ac-desc): New structs, used to describe the
19401 format in external files.
19402 (package-desc-vers): Replace with package-desc-version accessor.
19403 (package-desc-doc): Replace with package-desc-summary accessor.
19404 (package-activate-1): Remove `package' arg since the pkg-vec now
19405 includes the name.
19406 (define-package): Use package-desc-from-define.
19407 (package-unpack-single): Change file-name arg to be a symbol.
19408 (package--add-to-archive-contents): Use package-desc-create and new
19409 accessor functions to package--ac-desc.
19410 (package-buffer-info, package-tar-file-info): Return a package-desc.
19411 (package-install-from-buffer): Remove `type' argument. Change pkg-info
19412 arg to be a package-desc.
19413 (package-install-file): Adjust accordingly. Use \' to match EOS.
19414 (package--from-builtin): New function.
19415 (describe-package-1, package-menu--generate): Use it.
19416 (package--make-autoloads-and-compile): Change name arg to be a symbol.
19417 (package-generate-autoloads): Idem and return the name of the file.
19418 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19419 Change pkg-info arg to be a package-desc.
19420 Use package-make-ac-desc.
19421 (package-upload-file): Use \' to match EOS.
19422 * finder.el (finder-compile-keywords): Use package-make-builtin.
19423
19424 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
19425
19426 * vc/vc.el (vc-deduce-fileset): Change error message.
19427 (vc-read-backend): New function.
19428 (vc-next-action): Use it.
19429
19430 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
19431
19432 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
19433 (prolog-font-lock-keywords): Use regexp-opt instead.
19434 Don't manually highlight strings.
19435 (prolog-mode-variables): Simplify comment-start-skip.
19436 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
19437
19438 * emacs-lisp/generic.el (generic--normalise-comments)
19439 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
19440 (generic-mode-set-comments): Use them.
19441 (generic-bracket-support): Use setq-local.
19442 (generic-make-keywords-list): Declare obsolete.
19443
19444 2013-06-11 Glenn Morris <rgm@gnu.org>
19445
19446 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
19447 Prettify after setting font-lock-defaults. (Bug#14574)
19448
19449 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
19450
19451 * replace.el (query-replace, occur-read-regexp-defaults-function)
19452 (replace-search):
19453 * subr.el (declare-function, number-sequence, local-set-key)
19454 (substitute-key-definition, locate-user-emacs-file)
19455 (with-silent-modifications, split-string, eval-after-load):
19456 Fix typos, remove unneeded backslashes and reflow some docstrings.
19457
19458 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
19459
19460 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
19461 default for Elisp files.
19462
19463 2013-06-11 Glenn Morris <rgm@gnu.org>
19464
19465 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
19466 although define-derived-mode was doing this anyway. (Bug#14583)
19467
19468 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
19469
19470 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19471 Fix make-variable-buffer-local call to refer to the correct variable.
19472
19473 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
19474
19475 * eshell/em-term.el (eshell-visual-commands)
19476 (eshell-visual-subcommands, eshell-visual-options):
19477 Add summary line to docstrings. Add cross-references.
19478
19479 2013-06-10 Glenn Morris <rgm@gnu.org>
19480
19481 * epa.el (epa-read-file-name): New function. (Bug#14510)
19482 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
19483
19484 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
19485
19486 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
19487 output redirection to be ignored with visual commands.
19488
19489 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
19490
19491 * eshell/em-term.el (eshell-visual-command-p): New function.
19492 (eshell-term-initialize): Move long lambda to separate function
19493 eshell-visual-command-p.
19494 * eshell/em-dirs.el (eshell-dirs-initialize):
19495 * eshell/em-script.el (eshell-script-initialize):
19496 Add missing #' to lambda.
19497
19498 2013-06-08 Leo Liu <sdl.web@gmail.com>
19499
19500 * progmodes/octave.el (octave-add-log-current-defun): New function.
19501 (octave-mode): Set add-log-current-defun-function.
19502 (octave-goto-function-definition): Do not move point if not found.
19503 (octave-find-definition): Enhance to try subfunctions first.
19504
19505 2013-06-08 Glenn Morris <rgm@gnu.org>
19506
19507 * emacs-lisp/bytecomp.el (byte-compile-char-before)
19508 (byte-compile-backward-char, byte-compile-backward-word):
19509 Improve previous change, to handle non-explicit nil.
19510
19511 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
19512
19513 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
19514 (smie--opener/closer-at-point): New function.
19515 (smie--matching-block-data): Use it. Don't match from right after an
19516 opener or right before a closer. Obey smie-blink-matching-inners.
19517 Don't signal a mismatch for repeated inners like "switch..case..case".
19518
19519 2013-06-07 Leo Liu <sdl.web@gmail.com>
19520
19521 * progmodes/octave.el (octave-mode): Set comment-use-global-state
19522 to t. (Bug#14303)
19523 (octave-function-header-regexp): Fix. (Bug#14570)
19524 (octave-help-mode-finish-hook, octave-help-mode-finish):
19525 Remove. Just use temp-buffer-show-hook.
19526
19527 * newcomment.el (comment-search-backward): Revert last change.
19528 (Bug#14434)
19529
19530 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
19531
19532 2013-06-07 Eli Zaretskii <eliz@gnu.org>
19533
19534 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
19535 through xargs, to avoid failure due to MS-Windows limitations on
19536 command-line length.
19537
19538 2013-06-06 Glenn Morris <rgm@gnu.org>
19539
19540 * font-lock.el (lisp-font-lock-keywords-2):
19541 Treat user-error like error.
19542
19543 * emacs-lisp/bytecomp.el (byte-compile-char-before)
19544 (byte-compile-backward-char, byte-compile-backward-word):
19545 Handle explicit nil arguments. (Bug#14565)
19546
19547 2013-06-05 Alan Mackenzie <acm@muc.de>
19548
19549 * isearch.el (isearch-allow-prefix): New user option.
19550 (isearch-other-meta-char): Don't exit isearch when a prefix
19551 argument is typed whilst `isearch-allow-prefix' is non-nil.
19552 (Bug#9706)
19553
19554 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19555
19556 * autorevert.el (auto-revert-notify-handler): Use memq.
19557 Hide assertion failure.
19558
19559 * skeleton.el: Use cl-lib.
19560 (skeleton-further-elements): Use defvar-local.
19561 (skeleton-insert): Use cl-progv.
19562
19563 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
19564
19565 * progmodes/prog-mode.el (prog-prettify-symbols)
19566 (prog-prettify-install): Update docstrings.
19567
19568 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19569
19570 * simple.el: Move all the prog-mode code to prog-mode.el.
19571 * progmodes/prog-mode.el: New file.
19572 * loadup.el: Add prog-mode.el.
19573
19574 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
19575
19576 * simple.el (prog-prettify-symbols): Add version.
19577 (prog-prettify-install): Add convenience function to prettify symbols.
19578
19579 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
19580 (perl--augmented-font-lock-keywords-1)
19581 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
19582 variables and use it.
19583
19584 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
19585 (cfengine3-mode): Remove unneeded variable and use it.
19586
19587 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
19588 (lisp--augmented-font-lock-keywords-1)
19589 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
19590 Remove unneeded variables and use it.
19591
19592 2013-06-05 João Távora <joaotavora@gmail.com>
19593
19594 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
19595 to point when opening the connection. (Bug#14380)
19596
19597 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19598
19599 * subr.el (load-history-regexp, load-history-filename-element)
19600 (eval-after-load, after-load-functions, do-after-load-evaluation)
19601 (eval-next-after-load, display-delayed-warnings)
19602 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
19603 definition of save-match-data.
19604 (overriding-local-map): Remove accidental obsolescence declaration.
19605
19606 * emacs-lisp/edebug.el (edebug-result): Move before first use.
19607
19608 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
19609
19610 Generalize symbol prettify support to prog-mode and implement it
19611 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
19612 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
19613 (prog--prettify-font-lock-compose-symbol)
19614 (prog-prettify-font-lock-symbols-keywords): New variables and
19615 functions to support symbol prettification.
19616 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
19617 (lisp--augmented-font-lock-keywords-1)
19618 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
19619 (lisp--prettify-symbols-alist): Implement prettify of lambda.
19620 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
19621 (cfengine3--prettify-symbols-alist, cfengine3-mode):
19622 Implement prettify of -> => :: strings.
19623 * progmodes/perl-mode.el (perl-prettify-symbols)
19624 (perl--font-lock-compose-symbol)
19625 (perl--font-lock-symbols-keywords): Move to prog-mode.
19626 (perl--prettify-symbols-alist): Prettify -> => :: strings.
19627 (perl-font-lock-keywords-1)
19628 (perl-font-lock-keywords-2): Remove explicit prettify support.
19629 (perl--augmented-font-lock-keywords)
19630 (perl--augmented-font-lock-keywords-1)
19631 (perl--augmented-font-lock-keywords-2, perl-mode):
19632 Implement prettify support.
19633
19634 2013-06-05 Leo Liu <sdl.web@gmail.com>
19635
19636 Re-implement SMIE matching block highlight using
19637 show-paren-data-function. (Bug#14395)
19638 * emacs-lisp/smie.el (smie-matching-block-highlight)
19639 (smie--highlight-matching-block-overlay)
19640 (smie--highlight-matching-block-lastpos)
19641 (smie-highlight-matching-block)
19642 (smie-highlight-matching-block-mode): Remove.
19643 (smie--matching-block-data-cache): New variable.
19644 (smie--matching-block-data): New function.
19645 (smie-setup): Use smie--matching-block-data for
19646 show-paren-data-function.
19647
19648 * progmodes/octave.el (octave-mode-menu): Fix.
19649 (octave-find-definition): Skip garbage lines.
19650
19651 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19652
19653 Fix compilation error with simultaneous dynamic+lexical scoping.
19654 Add warning when a defvar appears after the first let-binding.
19655 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
19656 (byte-compile-close-variables): Initialize it.
19657 (byte-compile--declare-var): New function.
19658 (byte-compile-file-form-defvar)
19659 (byte-compile-file-form-define-abbrev-table)
19660 (byte-compile-file-form-custom-declare-variable): Use it.
19661 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
19662 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
19663 (byte-compile-bind): Handle dynamic bindings that shadow
19664 lexical bindings.
19665 (byte-compile-unbind): Make arg non-optional.
19666 (byte-compile-let): Simplify.
19667 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
19668 (cconv--analyse-function, cconv-analyse-form): Populate it.
19669 Protect byte-compile-bound-variables to limit the scope of defvars.
19670 (cconv-analyse-form): Add missing rule for (defvar <foo>).
19671 Remove unneeded rule for `declare'.
19672
19673 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
19674 so as to avoid depending on cl-adjoin at run-time.
19675 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
19676
19677 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
19678 (macroexp--warn-and-return): Use it.
19679
19680 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19681
19682 * subr.el: Convert to lexical binding.
19683 (overriding-local-map): Make obsolete.
19684 (add-to-list): Doc fix. Add compiler macro.
19685 (read-key): Swap values of local maps.
19686
19687 2013-06-05 Leo Liu <sdl.web@gmail.com>
19688
19689 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
19690
19691 2013-06-04 Leo Liu <sdl.web@gmail.com>
19692
19693 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
19694 (compilation-auto-jump): Suppress the "Mark set" message to give
19695 way to exit message.
19696
19697 2013-06-04 Alan Mackenzie <acm@muc.de>
19698
19699 Remove faulty optimization from indentation calculation.
19700 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
19701 search limit based on 2000 characters back from indent-point.
19702
19703 2013-06-03 Tassilo Horn <tsdh@gnu.org>
19704
19705 * eshell/em-term.el (cl-lib): Require `cl-lib'.
19706
19707 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
19708
19709 * emacs-lisp/lisp.el: Use lexical-binding.
19710 (lisp--local-variables-1, lisp--local-variables): New functions.
19711 (lisp--local-variables-completion-table): New var.
19712 (lisp-completion-at-point): Use it complete let-bound vars.
19713
19714 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
19715 eagerly (bug#14422).
19716
19717 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
19718
19719 * autorevert.el (auto-revert-notify-enabled)
19720 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19721 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
19722 (auto-revert-notify-handler): Handle also gfilenotify.
19723
19724 * subr.el (file-notify-handle-event): New defun. Replacing ...
19725 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
19726 Remove.
19727
19728 2013-06-03 Juri Linkov <juri@jurta.org>
19729
19730 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
19731 `M-s h .'. (Bug#14427)
19732
19733 * hi-lock.el (highlight-symbol-at-point): New alias for the new
19734 command `hi-lock-face-symbol-at-point'.
19735 (hi-lock-face-symbol-at-point): New command.
19736 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
19737 (hi-lock-menu): Add `highlight-symbol-at-point'.
19738 (hi-lock-mode): Doc fix.
19739
19740 * isearch.el (isearch-forward-symbol-at-point): New command.
19741 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
19742 (isearch-highlight-regexp): Add a regexp which matches
19743 words/symbols for word/symbol mode.
19744
19745 * subr.el (find-tag-default-bounds): New function with the body
19746 mostly moved from `find-tag-default'.
19747 (find-tag-default): Move most code to `find-tag-default-bounds',
19748 call it and apply `buffer-substring-no-properties' afterwards.
19749
19750 2013-06-03 Tassilo Horn <tsdh@gnu.org>
19751
19752 * eshell/em-term.el (eshell-term-initialize):
19753 Use `cl-intersection' rather than `intersection'.
19754
19755 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
19756
19757 * vc/log-view.el: Doc fix.
19758 (log-view-mode-map): Copy keymap from `special-mode-map'.
19759
19760 2013-06-02 Eric Ludlam <zappo@gnu.org>
19761
19762 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
19763 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
19764 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
19765 (eieio-unbound, eieio-default-superclass)
19766 (eieio--define-field-accessors, method-static, method-before)
19767 (method-primary, method-after, method-num-lists)
19768 (method-generic-before, method-generic-primary)
19769 (method-generic-after, method-num-slots)
19770 (eieio-specialized-key-to-generic-key)
19771 (eieio--check-type, class-v, class-p)
19772 (eieio-class-name, define-obsolete-function-alias)
19773 (eieio-class-parents-fast, eieio-class-children-fast)
19774 (same-class-fast-p, class-constructor, generic-p)
19775 (generic-primary-only-p, generic-primary-only-one-p)
19776 (class-option-assoc, class-option, eieio-object-p)
19777 (class-abstract-p, class-method-invocation-order)
19778 (eieio-defclass-autoload-map, eieio-defclass-autoload)
19779 (eieio-class-un-autoload, eieio-defclass)
19780 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
19781 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
19782 (eieio--defgeneric-init-form, eieio-defgeneric-form)
19783 (eieio-defgeneric-reset-generic-form)
19784 (eieio-defgeneric-form-primary-only)
19785 (eieio-defgeneric-reset-generic-form-primary-only)
19786 (eieio-defgeneric-form-primary-only-one)
19787 (eieio-defgeneric-reset-generic-form-primary-only-one)
19788 (eieio-unbind-method-implementations)
19789 (eieio--defmethod, eieio--typep)
19790 (eieio-perform-slot-validation, eieio-validate-slot-value)
19791 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
19792 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
19793 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
19794 (eieio-slot-name-index, eieio-class-slot-name-index)
19795 (eieio-set-defaults, eieio-initarg-to-attribute)
19796 (eieio-attribute-to-initarg, eieio-c3-candidate)
19797 (eieio-c3-merge-lists, eieio-class-precedence-c3)
19798 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
19799 (eieio-class-precedence-list, eieio-generic-call-methodname)
19800 (eieio-generic-call-arglst, eieio-generic-call-key)
19801 (eieio-generic-call-next-method-list)
19802 (eieio-pre-method-execution-functions, eieio-generic-call)
19803 (eieio-generic-call-primary-only, eieiomt-method-list)
19804 (eieiomt-optimizing-obarray, eieiomt-install)
19805 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
19806 (eieio-generic-form, eieio-defmethod, make-obsolete)
19807 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
19808 (defclass): Remove `eval-and-compile' from macro.
19809 (call-next-method, shared-initialize): Instead of using
19810 `scoped-class' variable, use new eieio--scoped-class, and
19811 eieio--with-scoped-class.
19812 (initialize-instance): Rename local variable 'scoped-class' to
19813 'this-class' to remove ambiguitity from old global.
19814
19815 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
19816 eieio.el.
19817 (eieio--scoped-class-stack): New variable.
19818 (eieio--scoped-class): New fcn.
19819 (eieio--with-scoped-class): New scoping macro.
19820 (eieio-defclass): Use pushnew instead of add-to-list.
19821 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
19822 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
19823 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
19824 `scoped-class' variable, use new eieio--scoped-class, and
19825 eieio--with-scoped-class.
19826
19827 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
19828
19829 2013-06-02 Tassilo Horn <tsdh@gnu.org>
19830
19831 * eshell/esh-ext.el (eshell-external-command): Pass args to
19832 `eshell-find-interpreter'.
19833 (eshell-find-interpreter): Add new second parameter ARGS.
19834
19835 * eshell/em-script.el (eshell-script-initialize): Add second arg
19836 to the function added as MATCH to `eshell-interpreter-alist'.
19837
19838 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
19839 the function added as MATCH to `eshell-interpreter-alist'.
19840
19841 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
19842 (eshell-visual-options): New defcustom.
19843 (eshell-escape-control-x): Adapt docstring.
19844 (eshell-term-initialize): Test `eshell-visual-subcommands' and
19845 `eshell-visual-options' in addition to `eshell-visual-commands'.
19846 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
19847
19848 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
19849
19850 * progmodes/python.el (python-indent-block-enders): Add break,
19851 continue and raise keywords.
19852
19853 2013-06-01 Glenn Morris <rgm@gnu.org>
19854
19855 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
19856
19857 Plain (f)boundp silences compilation warnings since Emacs 22.1.
19858 * progmodes/cc-cmds.el (delete-forward-p):
19859 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
19860 * progmodes/cc-engine.el (buffer-syntactic-context):
19861 * progmodes/cc-fonts.el (face-property-instance):
19862 * progmodes/cc-mode.el (set-keymap-parents):
19863 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
19864 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
19865 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
19866 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
19867 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
19868
19869 * progmodes/cc-vars.el (other): Emacs has this widget since
19870 at least 21.1, so don't (re)define it.
19871
19872 * eshell/em-cmpl.el (eshell-cmpl-initialize):
19873 Replace the obsolete alias pcomplete-arg-quote-list.
19874
19875 2013-06-01 Leo Liu <sdl.web@gmail.com>
19876
19877 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
19878 punctuation syntax.
19879 (inferior-octave-minimal-columns)
19880 (inferior-octave-last-column-width): New variables.
19881 (inferior-octave-track-window-width-change): New function.
19882 (inferior-octave-mode): Adjust column width so that Octave output,
19883 for example from 'ls', can fit into the window nicely.
19884
19885 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
19886
19887 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
19888 Highlight expansions inside regexp literals.
19889
19890 2013-05-31 Glenn Morris <rgm@gnu.org>
19891
19892 * obsolete/sym-comp.el (symbol-complete):
19893 Replace obsolete completion-annotate-function.
19894
19895 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
19896
19897 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
19898
19899 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
19900 New function, checks if point is inside a literal that allows
19901 expression expansion.
19902 (ruby-syntax-propertize-expansion): Use it.
19903 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
19904 around the body.
19905
19906 2013-05-30 Juri Linkov <juri@jurta.org>
19907
19908 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
19909 to "\M-si".
19910 (isearch-invisible): New variable.
19911 (isearch-forward): Doc fix.
19912 (isearch-mode): Set `isearch-invisible'
19913 to the value of `search-invisible'.
19914 (isearch-toggle-case-fold): Doc fix.
19915 (isearch-toggle-invisible): New command.
19916 (isearch-query-replace): Let-bind `search-invisible'
19917 to the value of `isearch-invisible'.
19918 (isearch-search): Use `isearch-invisible' instead of
19919 `search-invisible'. Let-bind `search-invisible'
19920 to the value of `isearch-invisible'. (Bug#11378)
19921
19922 2013-05-30 Juri Linkov <juri@jurta.org>
19923
19924 * replace.el (perform-replace): Avoid `isearch-range-invisible'
19925 call when `query-flag' is nil and `search-invisible' is non-nil.
19926 (Bug#11746)
19927
19928 2013-05-30 Glenn Morris <rgm@gnu.org>
19929
19930 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
19931
19932 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
19933 (cc-require): Suppress spurious "noruntime" warnings.
19934 (cc-require-when-compile): Use fboundp, for sake of compiler.
19935
19936 * progmodes/cc-mode.el: Move load of cc-vars before that of
19937 cc-langs (which in turn loads cc-vars), to quieten compiler.
19938
19939 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19940
19941 * paren.el: Simplify the code.
19942 (show-paren-mode): Always start the timer.
19943 (show-paren--idle-timer): Rename from show-paren-idle-timer.
19944 (show-paren--overlay, show-paren--overlay-1): Rename from
19945 show-paren-overlay and show-paren-overlay-1, and initialize to an
19946 overlay rather than to nil.
19947 (show-paren-function): Misc cleanup and simplifications.
19948
19949 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19950
19951 * paren.el (show-paren-data-function): New hook.
19952 (show-paren--default): New function, extracted from show-paren-function.
19953 (show-paren-function): Use show-paren-data-function.
19954
19955 2013-05-30 Glenn Morris <rgm@gnu.org>
19956
19957 * ielm.el (ielm-map, ielm-complete-symbol):
19958 Use completion-at-point rather than obsolete functions.
19959 (inferior-emacs-lisp-mode): Doc fix.
19960 Set completion-at-point-functions, rather than
19961 comint-dynamic-complete-functions.
19962
19963 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
19964 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
19965 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
19966
19967 * image.el (image-animated-p): Tweak definition.
19968
19969 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
19970 (rlogin-process-connection-type): Tweak default. Add set-after.
19971 (rlogin-host): Doc fix.
19972 (rlogin): Tweak prompt.
19973 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
19974
19975 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
19976 * progmodes/tcl.el (inferior-tcl-mode-map):
19977 Use completion-at-point rather than obsolete alias.
19978
19979 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
19980
19981 * minibuffer.el (read-file-name-completion-ignore-case):
19982 Move before completion--in-region, for eager macro expansion.
19983
19984 2013-05-29 Juri Linkov <juri@jurta.org>
19985
19986 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
19987 for total count of matching lines. Add `global-matches' for total
19988 count of matches. Rename `matches' to `lines' for count of
19989 matching lines. Add `matches' for count of matches.
19990 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
19991 to `prev-line' for line number of prev match endpt.
19992 Increment `matches' for every match. Print the number of
19993 matching lines in the header.
19994 (occur-context-lines): Rename `lines' to `curr-line'.
19995 Rename `prev-lines' to `prev-line'. (Bug#14017)
19996
19997 2013-05-29 Juri Linkov <juri@jurta.org>
19998
19999 * replace.el (perform-replace): Add `skip-read-only-count',
20000 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
20001 Increment them for corresponding conditions and report the number
20002 of skipped occurrences in the final message. (Bug#11746)
20003 (query-replace, query-replace-regexp, query-replace-regexp-eval)
20004 (replace-string, replace-regexp): Doc fix.
20005
20006 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
20007
20008 * emacs-lisp/trace.el (trace--read-args): Provide a default.
20009
20010 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
20011 prog-mode-map (bug#14504).
20012
20013 2013-05-29 Leo Liu <sdl.web@gmail.com>
20014
20015 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
20016 (octave-help): Small simplification.
20017
20018 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
20019 off the highlight first.
20020
20021 2013-05-29 Glenn Morris <rgm@gnu.org>
20022
20023 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
20024 Handle idlwave-last-system-routine-info-cons-cell being nil.
20025
20026 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
20027 (idlwave-write-paths): Simplify via with-temp-buffer.
20028
20029 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
20030 * emulation/cua-rect.el: Also load cua-base at run time.
20031
20032 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
20033 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
20034 (cperl-imenu-on-info): Require imenu.
20035
20036 2013-05-28 Alan Mackenzie <acm@muc.de>
20037
20038 Handle "capitalised keywords" correctly.
20039 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
20040
20041 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
20042
20043 * eshell/em-unix.el: Add -r option to cp.
20044
20045 2013-05-28 Glenn Morris <rgm@gnu.org>
20046
20047 * vc/vc-arch.el (vc-exec-after): Declare.
20048 (vc-switches): Autoload.
20049 * vc/vc-bzr.el: No need to require vc when compiling.
20050 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
20051 (vc-resynch-buffer, vc-dir-refresh): Declare.
20052 (vc-setup-buffer, vc-switches): Autoload.
20053 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
20054 (vc-resynch-buffer): Declare.
20055 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
20056 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
20057 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
20058 (grep-read-regexp, grep-read-files, grep-expand-template)
20059 (vc-dir-refresh): Declare.
20060 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
20061 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
20062 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
20063 * vc/vc-mtn.el (vc-exec-after): Declare.
20064 (vc-switches): Autoload.
20065 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
20066 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
20067 (vc-file-tree-walk): Declare.
20068 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
20069 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
20070 (vc-tag-precondition, vc-rename-master): Autoload.
20071 * vc/vc-svn.el (vc-exec-after): Declare.
20072 (vc-switches, vc-setup-buffer): Autoload.
20073 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
20074 Autoload.
20075 (vc-resynch-buffer): Declare.
20076
20077 * obsolete/fast-lock.el (byte-compile-warnings):
20078 Don't warn about obsolete features in this obsolete file.
20079
20080 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
20081 Move definition before use.
20082
20083 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
20084 (dun-unix-verbs): Remove dun-zippy.
20085 (dun-zippy): Remove function.
20086
20087 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
20088
20089 2013-05-27 Juri Linkov <juri@jurta.org>
20090
20091 * replace.el (replace-search): New function with code moved out
20092 from `perform-replace'.
20093 (replace-highlight, replace-dehighlight): Move function definitions
20094 up closer to `replace-search'. (Bug#11746)
20095
20096 2013-05-27 Juri Linkov <juri@jurta.org>
20097
20098 * replace.el (perform-replace): Ignore invisible matches.
20099 In addition to checking `query-replace-skip-read-only', also
20100 filter out matches by calling `run-hook-with-args-until-failure'
20101 on `isearch-filter-predicates', and also check `search-invisible'
20102 for t or call `isearch-range-invisible'.
20103 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
20104
20105 2013-05-27 Juri Linkov <juri@jurta.org>
20106
20107 * isearch.el (isearch-filter-predicates): Rename from
20108 `isearch-filter-predicate'. Doc fix. (Bug#11378)
20109 (isearch-message-prefix): Display text from the property
20110 `isearch-message-prefix' of the currently active filters.
20111 (isearch-search): Don't compare `isearch-filter-predicate' with
20112 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
20113 on `isearch-filter-predicates'. Also check `search-invisible' for t
20114 or call `isearch-range-invisible'.
20115 (isearch-filter-visible): Make obsolete.
20116 (isearch-lazy-highlight-search):
20117 Call `run-hook-with-args-until-failure' on
20118 `isearch-filter-predicates' and use `isearch-range-invisible'.
20119
20120 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
20121 `isearch-filter-predicates' instead of `funcall'ing
20122 `isearch-filter-predicate'.
20123 (Info-mode): Set `Info-isearch-filter' to
20124 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
20125
20126 * dired-aux.el (dired-isearch-filter-predicate-orig):
20127 Remove variable.
20128 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
20129 (dired-isearch-filenames-end): Add and remove
20130 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
20131 instead of changing the value of `isearch-filter-predicate'.
20132 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
20133 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
20134 Put property `isearch-message-prefix' to "filename " on
20135 `dired-isearch-filter-filenames'.
20136
20137 * wdired.el (wdired-change-to-wdired-mode):
20138 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
20139 locally instead of changing `isearch-filter-predicate'.
20140 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
20141
20142 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
20143
20144 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
20145 return the commit hash (Bug#14459). Also set the
20146 `vc-git-detached' property.
20147 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
20148 (vc-git-mode-line-string): Use the same help-echo format whether
20149 in detached mode or not, because we know the actual revision now.
20150 When in detached mode, shorten the revision to 7 chars.
20151
20152 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
20153
20154 * emacs-lisp/easy-mmode.el (define-minor-mode):
20155 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
20156 mode hook and provide a docstring.
20157
20158 2013-05-27 Alan Mackenzie <acm@muc.de>
20159
20160 Remove spurious syntax-table text properties inserted by C-y.
20161 * progmodes/cc-mode.el (c-after-change): Also clear hard
20162 syntax-table property with value nil.
20163
20164 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
20165
20166 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
20167 when reading the events; the buffer layout shall not be changed.
20168
20169 2013-05-27 Leo Liu <sdl.web@gmail.com>
20170
20171 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
20172 New variable.
20173 (inferior-octave-directory-tracker): Automatically re-sync
20174 default-directory.
20175 (octave-help): Improve handling of 'See also'.
20176
20177 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
20178
20179 * doc-view.el: Minor naming convention tweaks.
20180 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
20181
20182 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
20183 even if there's no `display' property yet (bug#14435).
20184
20185 2013-05-25 Eli Zaretskii <eliz@gnu.org>
20186
20187 * subr.el (unmsys--file-name): Rename from reveal-filename.
20188
20189 * Makefile.in (custom-deps, finder-data, autoloads)
20190 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
20191 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
20192 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
20193
20194 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
20195
20196 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
20197 error-completion on the first 2 args of condition-case (bug#14446).
20198 Don't burp at EOB.
20199
20200 2013-05-25 Leo Liu <sdl.web@gmail.com>
20201
20202 * comint.el (comint-previous-matching-input): Do not flood the
20203 *Messages* buffer with trivial messages.
20204
20205 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
20206
20207 * progmodes/flymake.el (flymake-nop): Don't return a string.
20208 (flymake-set-at): Fix typo.
20209
20210 * simple.el (read--expression): New function, extracted from
20211 eval-expression. Set completion-at-point-functions (bug#14465).
20212 (eval-expression, eval-minibuffer): Use it.
20213
20214 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
20215
20216 * progmodes/flymake.el (flymake-save-buffer-in-file)
20217 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
20218 (flymake-selected-frame, flymake-log, flymake-ins-after)
20219 (flymake-set-at, flymake-get-buildfile-from-cache)
20220 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
20221 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
20222 Refine the doc string.
20223 (flymake-get-file-name-mode-and-masks): Reformat.
20224 (flymake-get-real-file-name-function): Fix a minor bug.
20225
20226 2013-05-24 Juri Linkov <juri@jurta.org>
20227
20228 * progmodes/grep.el (grep-mode-font-lock-keywords):
20229 Support =linenumber= format used by git-grep for lines with
20230 function names. (Bug#13549)
20231
20232 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20233
20234 * progmodes/octave.el (octave-smie-rules): Return nil rather than
20235 0 after a semi-colon; it works better for smie-auto-fill.
20236 (octave--indent-new-comment-line): New function.
20237 (octave-indent-new-comment-line): Use it (indirectly).
20238 (octave-mode): Don't disable smie-auto-fill. Use add-function to
20239 modify comment-line-break-function.
20240
20241 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
20242 (smie-setup): Use add-function to set it.
20243
20244 2013-05-24 Sam Steingold <sds@gnu.org>
20245
20246 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
20247 argument (before the `interactive' argument).
20248
20249 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20250
20251 * image-mode.el (image-mode-winprops): Add winprops to
20252 image-mode-winprops-alist before running
20253 image-mode-new-window-functions.
20254 * doc-view.el (doc-view-new-window-function): Don't delay
20255 doc-view-goto-page via timers (bug#14435).
20256
20257 2013-05-24 Tassilo Horn <tsdh@gnu.org>
20258
20259 * doc-view.el: Integrate with desktop.el. (Bug#14435)
20260 (doc-view-desktop-save-buffer): New function.
20261 (doc-view-restore-desktop-buffer): New function.
20262 (desktop-buffer-mode-handlers):
20263 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
20264 handler.
20265 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
20266 `desktop-save-buffer' function.
20267
20268 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
20269
20270 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
20271 (tramp-gvfs-file-name-handler): Raise a user error when
20272 `tramp-gvfs-enabled' is nil.
20273 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
20274 Do not raise a user error when loading package. (Bug#14447)
20275
20276 * net/xesam.el: Move to obsolete/.
20277
20278 2013-05-24 Glenn Morris <rgm@gnu.org>
20279
20280 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
20281
20282 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
20283
20284 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
20285 (Info-find-node, Man-getpage-in-background): Declare.
20286
20287 * mail/unrmail.el (unrmail):
20288 Replace obsolete detect-coding-with-priority.
20289
20290 * net/socks.el (socks-split-string): Use this rather than split-string.
20291 (socks-nslookup-host): Update for above change.
20292 (dynamic-choice, s5-dynamic-choice-match)
20293 (s5-dynamic-choice-match-inline, s5-widget-value-create):
20294 Comment out unused code.
20295
20296 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
20297 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
20298 (gud-tooltip-echo-area): Make obsolete.
20299 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
20300
20301 * progmodes/js.el (js--optimize-arglist): Declare.
20302
20303 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
20304
20305 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
20306 (ediff-window-C): Declare.
20307
20308 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
20309 Tweak requires to silence compiler.
20310
20311 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
20312 (he-search-string, he-tried-table, he-expand-list)
20313 (he-init-string, he-string-member, he-substitute-string)
20314 (he-reset-string): Declare.
20315
20316 * obsolete/options.el (list-options): Use custom-variable-p,
20317 rather than obsolete alias.
20318
20319 2013-05-23 Sam Steingold <sds@gnu.org>
20320
20321 * simple.el (shell-command-on-region): Pass the `replace' argument
20322 down to `call-process-region' to comply with the doc as reported on
20323 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
20324
20325 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20326
20327 * emacs-lisp/smie.el (smie-indent-forward-token)
20328 (smie-indent-backward-token): Handle string tokens (bug#14381).
20329
20330 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20331
20332 * ielm.el (ielm-menu): New menu.
20333 (inferior-emacs-lisp-mode): Set comment-start.
20334
20335 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20336
20337 * textmodes/reftex.el (reftex-ref-style-toggle):
20338 Fix deactivate action.
20339
20340 * textmodes/reftex-vars.el (reftex-ref-style-alist):
20341 Add cleveref macros.
20342
20343 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
20344 Accept options for bibliography commands.
20345 * textmodes/reftex-vars.el (reftex-bibliography-commands):
20346 Add addbibresource. Basic Biblatex support.
20347
20348 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
20349
20350 * net/tramp-gvfs.el (top):
20351 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
20352 when loading package. (Bug#14447)
20353
20354 2013-05-23 Glenn Morris <rgm@gnu.org>
20355
20356 * progmodes/js.el: No need to load comint when compiling.
20357 (ring-insert, comint-send-string, comint-send-input)
20358 (comint-last-input-end, ido-chop): Declare.
20359
20360 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
20361 * vc/ediff-mult.el: Adjust requires.
20362 (ediff-directories-internal, ediff-directory-revisions-internal)
20363 (ediff-patch-file-internal): Declare.
20364 * vc/ediff-ptch.el: Adjust requires.
20365 (ediff-use-last-dir, ediff-buffers-internal): Declare.
20366 (ediff-find-file): Autoload.
20367 * vc/ediff-util.el: No need to load ediff when compiling.
20368 (ediff-regions-internal): Declare.
20369 * vc/ediff-wind.el: Adjust requires.
20370 (ediff-compute-toolbar-width): Define when compiling.
20371 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
20372 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
20373 (dired-get-filename, dired-get-marked-files)
20374 (ediff-last-dir-patch, ediff-patch-default-directory)
20375 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
20376 (ediff-patch-buffer-internal): Declare.
20377
20378 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
20379 (ispell-process, ispell-buffer-local-words, lm-summary)
20380 (lm-section-start, lm-section-end): Declare.
20381 (checkdoc-ispell-init): Simplify.
20382
20383 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
20384 (he-string-member, he-reset-string, he-substitute-string): Declare.
20385
20386 * eshell/em-ls.el: Adjust requires.
20387 (eshell-glob-regexp): Declare.
20388 * eshell/em-tramp.el: Adjust requires.
20389 (eshell-parse-command): Autoload.
20390 * eshell/em-xtra.el: Adjust requires.
20391 (eshell-parse-command): Autoload.
20392 * eshell/esh-ext.el: Adjust requires.
20393 (eshell-parse-command, eshell-close-handles): Autoload.
20394 * eshell/esh-io.el: Adjust requires.
20395 (eshell-output-filter): Autoload.
20396 * eshell/esh-util.el: No need to load tramp when compiling.
20397 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
20398 Declare.
20399 (eshell-parse-ange-ls): Require ange-ftp and tramp.
20400 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
20401 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
20402 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
20403 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
20404 * eshell/esh-opt.el, eshell/esh-proc.el:
20405 * eshell/esh-var.el: Adjust requires.
20406 * eshell/eshell.el: Do not require esh-util twice.
20407 (eshell-add-input-to-history): Declare.
20408 (eshell-command): Check history module is active before using it.
20409
20410 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
20411
20412 2013-05-22 Leo Liu <sdl.web@gmail.com>
20413
20414 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
20415
20416 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
20417
20418 * autorevert.el (auto-revert-notify-add-watch)
20419 (auto-revert-notify-handler): Add `attrib' for the inotify case,
20420 it indicates changes in file modification time.
20421
20422 2013-05-22 Glenn Morris <rgm@gnu.org>
20423
20424 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20425 Always delete the autoloaded function from the noruntime and
20426 unresolved functions lists.
20427
20428 * allout.el: No need to load epa, epg, overlay when compiling.
20429 (epg-context-set-passphrase-callback, epg-list-keys)
20430 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
20431 (epg-key-user-id-list): Declare.
20432
20433 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
20434 (viper-set-parsing-style-toggling-macro)
20435 (viper-set-emacs-state-searchstyle-macros):
20436 Use called-interactively-p on Emacs.
20437 (viper-looking-back): Make it an obsolete alias. Update callers.
20438 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
20439 Use looking-back rather than viper-looking-back.
20440 (viper-tmp-insert-at-eob, viper-enlarge-region)
20441 (viper-read-string-with-history, viper-register-to-point)
20442 (viper-append-to-register, viper-change-state-to-vi)
20443 (viper-backward-char-carefully, viper-forward-char-carefully)
20444 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
20445 (viper-change-state-to-emacs): Declare.
20446 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
20447 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
20448 * emulation/viper-mous.el: Do not load viper-cmd.
20449 (viper-backward-char-carefully, viper-forward-char-carefully)
20450 (viper-forward-word, viper-adjust-window): Declare.
20451
20452 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
20453
20454 * progmodes/idlw-help.el (idlwave-help-fontify):
20455 Use called-interactively-p.
20456
20457 * term/w32console.el (w32-get-console-codepage)
20458 (w32-get-console-output-codepage): Declare.
20459
20460 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
20461 Remove unnecessary declarations.
20462 (dframe-message): Doc fix.
20463
20464 * info.el (dframe-select-attached-frame, dframe-current-frame):
20465 Declare.
20466
20467 * speedbar.el (speedbar-message): Make it an obsolete alias.
20468 Update all callers.
20469 (speedbar-with-attached-buffer)
20470 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
20471 (speedbar-with-writable): Use backquote.
20472 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
20473 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
20474 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
20475 rather than speedbar- aliases.
20476 * mail/rmail.el: Load dframe rather than speedbar when compiling.
20477 (speedbar-make-specialized-keymap, speedbar-insert-button)
20478 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
20479 (speedbar-do-function-pointer): Declare.
20480 (rmail-speedbar-button, rmail-speedbar-find-file)
20481 (rmail-speedbar-move-message):
20482 Use dframe-with-attached-buffer rather than speedbar- alias.
20483 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
20484 (dframe-message, speedbar-make-specialized-keymap)
20485 (speedbar-add-expansion-list, speedbar-mode-functions-list)
20486 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
20487 (speedbar-insert-button, dframe-select-attached-frame)
20488 (dframe-maybee-jump-to-attached-frame)
20489 (speedbar-change-initial-expansion-list)
20490 (speedbar-previously-used-expansion-list-name): Declare.
20491 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
20492 Use dframe-message, dframe-with-attached-buffer rather than
20493 speedbar- aliases.
20494 (gud-sentinel): Silence compiler.
20495 * progmodes/vhdl-mode.el (speedbar-refresh)
20496 (speedbar-do-function-pointer, speedbar-add-supported-extension)
20497 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
20498 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
20499 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
20500 (speedbar-file-lists, speedbar-make-tag-line)
20501 (speedbar-line-directory, speedbar-goto-this-file)
20502 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
20503 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
20504 (speedbar-make-button, speedbar-reset-scanners)
20505 (speedbar-files-item-info, speedbar-line-text)
20506 (speedbar-find-file-in-frame, speedbar-set-timer)
20507 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
20508 (speedbar-with-writable): Do not (re)define it.
20509 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
20510 rather than speedbar- alias.
20511
20512 2013-05-21 Leo Liu <sdl.web@gmail.com>
20513
20514 * progmodes/octave.el (octave-mode-menu): Update and re-organize
20515 menu items.
20516 (octave-mode): Tweak fill-nobreak-predicate.
20517 (inferior-octave-startup): Check process to avoid infinite loop.
20518 (inferior-octave): Pop to buffer first to show abornmal process
20519 exit information.
20520
20521 2013-05-21 Glenn Morris <rgm@gnu.org>
20522
20523 * printing.el (pr-menu-bar): Define when compiling.
20524
20525 2013-05-21 Leo Liu <sdl.web@gmail.com>
20526
20527 * progmodes/octave.el (octave-auto-fill): Remove.
20528 (octave-indent-new-comment-line): Improve.
20529 (octave-mode): Use auto fill mode through
20530 comment-line-break-function and fill-nobreak-predicate.
20531 (octave-goto-function-definition): Support DEFUN_DLD.
20532 (octave-beginning-of-defun): Small tweak.
20533 (octave-help): Show parent directory.
20534
20535 2013-05-21 Glenn Morris <rgm@gnu.org>
20536
20537 * files.el (dired-unmark):
20538 * progmodes/gud.el (gdb-input): Update declarations.
20539
20540 * calculator.el (electric, ehelp): No need to load when compiling.
20541 (Electric-command-loop, electric-describe-mode): Declare.
20542
20543 * doc-view.el (doc-view-current-converter-processes): Move before use.
20544
20545 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20546 Move MODE-set-explicitly definition before use.
20547
20548 * international/mule-diag.el (mule-diag):
20549 Don't use obsolete window-system-version.
20550
20551 * mail/feedmail.el (smtpmail): No need to load when compiling.
20552 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
20553
20554 * mail/mail-utils.el (rfc822): No need to load when compiling.
20555 (rfc822-addresses): Autoload it.
20556 (mail-strip-quoted-names): Trivial simplification.
20557
20558 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
20559 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
20560
20561 * net/snmp-mode.el (tempo): Don't duplicate requires.
20562
20563 * progmodes/prolog.el (info): No need to load when compiling.
20564 (comint): Require before shell requires it.
20565 (Info-goto-node): Autoload it.
20566 (Info-follow-nearest-node): Declare.
20567 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
20568
20569 * textmodes/artist.el (picture-mode-exit): Declare.
20570
20571 * textmodes/reftex-parse.el (reftex-parse-from-file):
20572 Trivial rewrite so the compiler can parse it better.
20573
20574 2013-05-20 Leo Liu <sdl.web@gmail.com>
20575
20576 * progmodes/octave.el (octave-help-mode-map)
20577 (octave-help-mode-finish-hook): New variables.
20578 (octave-help-mode, octave-help-mode-finish): New functions.
20579 (octave-help): Use octave-help-mode.
20580
20581 2013-05-20 Glenn Morris <rgm@gnu.org>
20582
20583 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
20584
20585 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
20586
20587 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
20588 start at point, so that expansion starting right after opening
20589 slash in a regexp is recognized.
20590 (ruby-syntax-before-regexp-re): New defvar, extracted from
20591 ruby-syntax-propertize-function. Since the value of this regexp
20592 is looked up at runtime now, we should be able to turn
20593 `ruby-syntax-methods-before-regexp' into a defcustom later.
20594 (ruby-syntax-propertize-function): Split regexp matching into two
20595 parts, for opening and closing slashes. That allows us to skip
20596 over string interpolations and support multiline regexps.
20597 Don't call `ruby-syntax-propertize-expansions', instead use another rule
20598 for them, which calls `ruby-syntax-propertize-expansion'.
20599 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
20600 call to `ruby-syntax-propertize-function'.
20601 (ruby-syntax-propertize-expansion): Extracted from
20602 `ruby-syntax-propertize-expansions'. Handles one expansion.
20603 (ruby-syntax-propertize-percent-literal): Leave point right after
20604 the percent symbol, so that the expression expansion rule can
20605 propertize the contents.
20606 (ruby-syntax-propertize-heredoc): Leave point at bol following the
20607 heredoc openers.
20608 (ruby-syntax-propertize-expansions): Remove.
20609
20610 2013-05-18 Juri Linkov <juri@jurta.org>
20611
20612 * man.el (Man-default-man-entry): Remove `-' from the end
20613 of the default value. (Bug#14400)
20614
20615 2013-05-18 Glenn Morris <rgm@gnu.org>
20616
20617 * comint.el (comint-password-prompt-regexp):
20618 Allow "password for XXX" where XXX contains colons (eg https://...).
20619
20620 2013-05-18 Leo Liu <sdl.web@gmail.com>
20621
20622 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
20623 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
20624 (octave-source-directories): Don't check process.
20625 (octave-source-directories, octave-find-definition): Doc fix.
20626
20627 2013-05-18 Glenn Morris <rgm@gnu.org>
20628
20629 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
20630 Remove backspace/delete bindings. (Bug#14392)
20631
20632 * cus-dep.el (custom-make-dependencies): Sort the output.
20633 (custom-versions-load-alist): Convert comment to doc.
20634
20635 2013-05-17 Leo Liu <sdl.web@gmail.com>
20636
20637 * newcomment.el (comment-search-backward): Stricter in finding
20638 comment start. (Bug#14303)
20639
20640 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
20641 (octave-comment-start-skip): Properly anchored.
20642
20643 2013-05-17 Leo Liu <sdl.web@gmail.com>
20644
20645 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
20646 Clean up when turned off. (Bug#14395)
20647 (smie--highlight-matching-block-overlay): No longer buffer-local.
20648 (smie-highlight-matching-block): Adjust.
20649
20650 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
20651
20652 Doc string fix for "nanoseconds" (Bug#14406).
20653 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
20654 Fix doc string typo that had "nanoseconds" instead of "microseconds".
20655
20656 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
20657
20658 * calc/calc-units.el (math-extract-units): Preserve powers
20659 of units.
20660
20661 2013-05-17 Leo Liu <sdl.web@gmail.com>
20662
20663 * subr.el (delete-consecutive-dups): New function.
20664 * ido.el (ido-set-matches-1): Use it.
20665 * progmodes/octave.el (inferior-octave-completion-table): Use it.
20666 * ido.el (ido-remove-consecutive-dups): Remove.
20667
20668 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20669
20670 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20671 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
20672 regexp-opt's `words'.
20673
20674 2013-05-16 Leo Liu <sdl.web@gmail.com>
20675
20676 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
20677 (smie--highlight-matching-block-overlay)
20678 (smie--highlight-matching-block-lastpos)
20679 (smie--highlight-matching-block-timer): New variables.
20680 (smie-highlight-matching-block): New function.
20681 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
20682 (smie-setup): Conditionally enable smie-blink-matching-open.
20683
20684 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
20685
20686 Sync with upstream verilog-mode r840.
20687 * progmodes/verilog-mode.el (verilog-mode-version)
20688 (verilog-mode-release-date): Update.
20689 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
20690 (verilog-sig-tieoff): Fix string error on
20691 AUTORESET with colon define, bug594. Reported by Andrew Hou.
20692 (verilog-read-decls): Fix parameters confusing
20693 AUTOINST interfaces, bug565. Reported by Leith Johnson.
20694
20695 2013-05-16 Eli Zaretskii <eliz@gnu.org>
20696
20697 * subr.el (reveal-filename): New function.
20698
20699 * loadup.el: Compute Emacs executable versions on MS-Windows,
20700 where executables have the .exe extension. Add a hard link
20701 emacs-XX.YY.ZZ.exe on MS-Windows.
20702
20703 * Makefile.in (XARGS_LIMIT): New variable.
20704 (custom-deps, finder-data, autoloads)
20705 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
20706 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
20707 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
20708 (compile-main): Limit xargs according to $(XARGS_LIMIT).
20709
20710 2013-05-16 Leo Liu <sdl.web@gmail.com>
20711
20712 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
20713 (octave-mode-menu, octave-mode-map): Remove its uses.
20714
20715 2013-05-16 Reto Zimmermann <reto@gnu.org>
20716
20717 Sync with upstream vhdl mode v3.34.2.
20718 * progmodes/vhdl-mode.el: Use `push' throughout.
20719 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
20720 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
20721 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
20722 (vhdl-actual-generic-name): New option to derive actual generic name.
20723 (vhdl-port-paste-signals): Replace formal by actual generics.
20724 (vhdl-beautify): New name for old group vhdl-align. Update users.
20725 (vhdl-beautify-options): New option.
20726 (vhdl-last-input-event): New compat alias. Use throughout.
20727 (vhdl-goto-line): Replace user level function `goto-line'.
20728 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
20729 vhdl-fix-statement-buffer.
20730 (vhdl-create-mode-menu): Add some entries.
20731 (vhdl-align-region-groups): Respect vhdl-beautify-options.
20732 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
20733 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
20734 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
20735 to force statements on one line.
20736 (vhdl-remove-trailing-spaces-region):
20737 New, split from vhdl-remove-trailing-spaces.
20738 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
20739 Respect vhdl-beautify-options.
20740 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
20741 (vhdl-update-sensitivity-list): Not add with index if exists without.
20742 Not include array index with signal. Ignore keywords in comments.
20743 (vhdl-get-visible-signals): Regexp tweaks.
20744 (vhdl-template-component-inst): Handle empty library.
20745 (vhdl-template-type): Add template for 'enum' type.
20746 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
20747 Use vhdl-replace-string.
20748 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
20749 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
20750 (vhdl-speedbar-initialize): Update for above name change.
20751 (vhdl-compose-wire-components): Fix in handling of constants.
20752 (vhdl-error-regexp-emacs-alist): New variable.
20753 (vhdl-error-regexp-add-emacs): New function;
20754 adds support for new compile.el (Emacs 22+)
20755 (vhdl-generate-makefile-1): Change target order for single lib. units.
20756 Allow use of absolute file names.
20757
20758 2013-05-16 Leo Liu <sdl.web@gmail.com>
20759
20760 * simple.el (prog-indent-sexp): Indent enclosing defun.
20761
20762 2013-05-15 Glenn Morris <rgm@gnu.org>
20763
20764 * cus-start.el (show-trailing-whitespace): Move to editing basics.
20765 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
20766 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
20767 (whitespace-highlight): Move to whitespace group.
20768
20769 * comint.el (comint-source):
20770 * pcmpl-linux.el (pcmpl-linux):
20771 * shell.el (shell-faces):
20772 * eshell/esh-opt.el (eshell-opt):
20773 * international/ccl.el (ccl): Remove empty custom groups.
20774
20775 * completion.el (dynamic-completion-mode):
20776 * jit-lock.el (jit-lock-debug-mode):
20777 * minibuffer.el (completion-in-region-mode):
20778 * type-break.el (type-break-mode-line-message-mode)
20779 (type-break-query-mode):
20780 * emulation/tpu-edt.el (tpu-edt-mode):
20781 * progmodes/subword.el (global-subword-mode, global-superword-mode):
20782 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20783 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
20784
20785 * term/xterm.el (xterm): Change parent group to terminals.
20786
20787 * master.el (master): Remove empty custom group.
20788 (master-mode): Remove unused :group argument.
20789 * textmodes/refill.el (refill): Remove empty custom group.
20790 (refill-mode): Remove unused :group argument.
20791
20792 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
20793
20794 * cus-dep.el: Provide a feature.
20795 (custom-make-dependencies): Ignore dotfiles (dir-locals).
20796 Don't mistakenly ignore files whose basenames match a basename
20797 from preloaded-file-list (eg cedet/ede/simple.el).
20798 Add a fallback method for getting :group.
20799
20800 2013-05-15 Juri Linkov <juri@jurta.org>
20801
20802 * isearch.el (isearch-char-by-name): Rename from
20803 `isearch-insert-char-by-name'. Doc fix.
20804 (isearch-forward): Mention `isearch-char-by-name' in
20805 the docstring. (Bug#13348)
20806
20807 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
20808 `exit-minibuffer' instead of
20809 `isearch-nonincremental-exit-minibuffer'.
20810 (isearch-edit-string): Remove mention of
20811 `isearch-nonincremental-exit-minibuffer' from docstring.
20812 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
20813 (isearch-forward-exit-minibuffer)
20814 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
20815
20816 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
20817
20818 * loadup.el: Just use unversioned DOC.
20819
20820 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
20821 literals as extending to EOB.
20822 (nxml-last-fontify-end): Remove unused variable.
20823 (nxml-after-change1): Use with-silent-modifications.
20824 (nxml-extend-after-change-region): Simplify.
20825 (nxml-extend-after-change-region1): Remove function.
20826 (nxml-after-change1): Don't adjust for dependent regions.
20827 (nxml-fontify-matcher): Simplify.
20828 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
20829 (xmltok-add-dependent): Remove function.
20830 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
20831 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
20832 (xmltok-scan-prolog-after-processing-instruction-open): Treat
20833 unclosed <[[, <?, comment, and other literals as extending to EOB.
20834 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
20835 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
20836 Remove functions.
20837 (rng-do-some-validation-1): Don't mark dependent regions.
20838 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
20839 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
20840 (nxml-clear-dependent-regions): Remove functions.
20841 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
20842 (nxml-ensure-scan-up-to-date):
20843 Don't clear&mark dependent regions.
20844
20845 2013-05-15 Leo Liu <sdl.web@gmail.com>
20846
20847 * progmodes/octave.el (octave-goto-function-definition):
20848 Improve and fix callers.
20849
20850 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
20851
20852 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
20853 the setter (bug#14387).
20854
20855 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
20856 surrounding group (bug#14402).
20857
20858 2013-05-14 Juri Linkov <juri@jurta.org>
20859
20860 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
20861 (Bug#14390)
20862
20863 2013-05-14 Glenn Morris <rgm@gnu.org>
20864
20865 * progmodes/f90.el (f90-imenu-generic-expression):
20866 Fix typo in 2013-05-08 change. (Bug#14402)
20867
20868 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
20869
20870 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
20871 Remove signals for which replies are never received.
20872
20873 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
20874
20875 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
20876 (gdb-handler-alist, gdb-handler-number): Remove variables.
20877 (gdb-handler-list): New variable.
20878 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
20879 (gdb-pending-handler-p, gdb-handle-reply)
20880 (gdb-remove-all-pending-triggers): New functions.
20881 (gdb-discard-unordered-replies): New defcustom.
20882 (gdb-handler): New defstruct.
20883 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
20884 instead of gdb-pending-triggers. Update docstring.
20885 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
20886 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
20887 (gdb-var-update-handler, def-gdb-auto-update-trigger)
20888 (def-gdb-auto-update-handler, gdb-get-changed-registers)
20889 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
20890 (gdb-frame-handler): Pending triggers are now automatically managed.
20891 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
20892 Remove argument.
20893 (gdb-input): Automatically handles pending triggers. Update docstring.
20894 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
20895 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
20896 Update comments.
20897 (gdb-done-or-error): Now use gdb-handle-reply.
20898
20899 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
20900
20901 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
20902 gdb-debug-log.
20903
20904 2013-05-14 Glenn Morris <rgm@gnu.org>
20905
20906 * subr.el (user-emacs-directory-warning): New option.
20907 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
20908
20909 2013-05-14 Leo Liu <sdl.web@gmail.com>
20910
20911 * progmodes/octave.el (octave-font-lock-keywords): Fix error
20912 during redisplay.
20913 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
20914 (octave-font-lock-texinfo-comment): Fix invalid search bound
20915 error: wrong side of point.
20916
20917 2013-05-14 Glenn Morris <rgm@gnu.org>
20918
20919 * progmodes/flymake.el (flymake-xml-program): New option.
20920 (flymake-xml-init): Use it.
20921
20922 * term/xterm.el: Provide a feature.
20923
20924 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
20925
20926 2013-05-13 Glenn Morris <rgm@gnu.org>
20927
20928 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
20929 Add compat aliases as a hack workaround. (Bug#14384)
20930
20931 2013-05-13 Leo Liu <sdl.web@gmail.com>
20932
20933 * progmodes/octave.el (octave-indent-comment): Fix indentation for
20934 ###, and %!.
20935 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
20936 C-M-q.
20937 (octave-comment-start-skip): Include %!.
20938 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
20939
20940 2013-05-12 Leo Liu <sdl.web@gmail.com>
20941
20942 * progmodes/octave.el (inferior-octave-startup): Store the value
20943 of __octave_srcdir__ for octave-source-directories.
20944 (inferior-octave-check-process): New function refactored out of
20945 inferior-octave-send-list-and-digest.
20946 (octave-source-directories)
20947 (octave-find-definition-filename-function): New variables.
20948 (octave-source-directories)
20949 (octave-find-definition-default-filename): New functions.
20950 (octave-find-definition): Improve to find functions implemented in C++.
20951
20952 2013-05-12 Glenn Morris <rgm@gnu.org>
20953
20954 * calendar/diary-lib.el (diary-outlook-format-1):
20955 Don't include dayname in the output. (Bug#14349)
20956
20957 2013-05-11 Glenn Morris <rgm@gnu.org>
20958
20959 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
20960
20961 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
20962 Treat cc-provide like provide.
20963
20964 2013-05-11 Kevin Ryde <user42@zip.com.au>
20965
20966 * cus-dep.el (custom-make-dependencies):
20967 Use generated-autoload-load-name for the sake of files such
20968 such cedet/semantic/bovine/c.el, where the base file name
20969 is not in load-path. (Bug#5277)
20970
20971 2013-05-11 Glenn Morris <rgm@gnu.org>
20972
20973 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
20974 Provide features.
20975
20976 2013-05-11 Leo Liu <sdl.web@gmail.com>
20977
20978 * progmodes/octave.el (octave-indent-comment): Improve.
20979 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
20980 (octave-eldoc-function-signatures, octave-eldoc-function):
20981 New functions.
20982 (octave-mode, inferior-octave-mode): Add eldoc support.
20983
20984 2013-05-11 Richard Stallman <rms@gnu.org>
20985
20986 * epa.el (epa-decrypt-file): Take output file name as argument
20987 and read it using `interactive'.
20988
20989 2013-05-11 Leo Liu <sdl.web@gmail.com>
20990
20991 * progmodes/octave.el (octave-beginning-of-line)
20992 (octave-end-of-line): Check before using up-list because it jumps
20993 out of more syntactic contructs since moving to smie.
20994 (octave-indent-comment): New function.
20995 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
20996 (octave-begin-keywords, octave-end-keywords)
20997 (octave-reserved-words, octave-smie-bnf-table)
20998 (octave-smie-rules): Add new keywords from Octave 3.6.4.
20999
21000 2013-05-11 Glenn Morris <rgm@gnu.org>
21001
21002 * faces.el (internal-face-x-get-resource):
21003 * frame.el (ns-display-monitor-attributes-list):
21004 * calc/calc-aent.el (math-to-radians-2):
21005 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
21006 Fix declarations.
21007
21008 * calc/calc-menu.el: Make it loadable in isolation.
21009
21010 * net/eudcb-bbdb.el: Make it loadable without bbdb.
21011 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
21012 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
21013 (eudc-bbdb-query-internal): Require 'bbdb.
21014
21015 * lpr.el (lpr-headers-switches):
21016 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
21017
21018 * progmodes/sql.el (sql-login-params): Fix and improve :type.
21019
21020 * emulation/edt-mapper.el: In batch mode, error rather than hang.
21021
21022 * term.el (term-set-escape-char): Make it idempotent.
21023
21024 2013-05-10 Leo Liu <sdl.web@gmail.com>
21025
21026 * progmodes/octave.el (inferior-octave-completion-table):
21027 No longer a function and all uses changed. Use cache to speed up
21028 completion due to bug#11906.
21029 (octave-beginning-of-defun): Re-write to be more general.
21030
21031 2013-05-10 Glenn Morris <rgm@gnu.org>
21032
21033 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
21034
21035 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
21036
21037 * comint.el (comint-redirect-send-command-to-process): Use :around
21038 rather than :override for comint-redirect-filter.
21039 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
21040 Call it instead of comint-redirect-original-filter-function (which
21041 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
21042
21043 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
21044
21045 * frame.el (display-monitor-attributes-list): Add NS case.
21046 (ns-display-monitor-attributes-list): Declare.
21047
21048 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
21049
21050 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
21051
21052 2013-05-09 Glenn Morris <rgm@gnu.org>
21053
21054 * international/fontset.el (vertical-centering-font-regexp):
21055 Set standard-value.
21056
21057 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
21058
21059 * bookmark.el (bookmark-search-delay):
21060 * cus-start.el (vertical-centering-font-regexp):
21061 * ps-mule.el (ps-mule-font-info-database-default):
21062 * ps-print.el (ps-default-fg, ps-default-bg):
21063 * type-break.el (type-break-good-break-interval):
21064 * whitespace.el (whitespace-indentation-regexp)
21065 (whitespace-space-after-tab-regexp):
21066 * emacs-lisp/testcover.el (testcover-1value-functions)
21067 (testcover-noreturn-functions, testcover-progn-functions)
21068 (testcover-prog1-functions):
21069 * emulation/viper-init.el (viper-emacs-state-cursor-color):
21070 * eshell/em-glob.el (eshell-glob-translate-alist):
21071 * play/tetris.el (tetris-tty-colors):
21072 * progmodes/cpp.el (cpp-face-default-list):
21073 * progmodes/flymake.el (flymake-allowed-file-name-masks):
21074 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
21075 (idlwave-help-browser-generic-args):
21076 * progmodes/make-mode.el (makefile-special-targets-list):
21077 * progmodes/python.el (python-shell-virtualenv-path):
21078 * progmodes/verilog-mode.el (verilog-active-low-regexp)
21079 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
21080 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
21081 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
21082 * textmodes/reftex-vars.el (reftex-format-label-function):
21083 * textmodes/remember.el (remember-diary-file): Fix custom types.
21084
21085 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
21086 Add :version.
21087
21088 2013-05-09 Leo Liu <sdl.web@gmail.com>
21089
21090 * progmodes/octave.el (inferior-octave-completion-at-point):
21091 Restore file completion. (Bug#14300)
21092 (inferior-octave-startup): Fix incorrect highlighting for the
21093 first prompt.
21094
21095 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21096
21097 * progmodes/ruby-mode.el: First cut at SMIE support.
21098 (ruby-use-smie): New var.
21099 (ruby-smie-grammar): New constant.
21100 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
21101 (ruby-smie--forward-token, ruby-smie--backward-token)
21102 (ruby-smie-rules): New functions.
21103 (ruby-mode-variables): Setup SMIE if applicable.
21104
21105 2013-05-08 Eli Zaretskii <eliz@gnu.org>
21106
21107 * simple.el (line-move-visual): Signal beginning/end of buffer
21108 only if vertical-motion moved less than it was requested. Avoids
21109 silly incorrect error messages when there are display strings with
21110 multiple newlines at EOL.
21111
21112 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21113
21114 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
21115 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
21116 (prolog-char-quote-workaround):
21117 * progmodes/cperl-mode.el (cperl-under-as-char):
21118 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
21119 Mark as obsolete.
21120 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
21121 their declaration.
21122 (vhdl-mode-syntax-table-init): Remove.
21123
21124 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
21125 last change.
21126
21127 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
21128 syntax for "_".
21129 (ld-script-font-lock-keywords):
21130 Change regexps to use things like \_< and \_>.
21131
21132 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
21133 Change all regexps to use things like \_< and \_>.
21134
21135 * progmodes/autoconf.el (autoconf-definition-regexp)
21136 (autoconf-font-lock-keywords, autoconf-current-defun-function):
21137 Handle a _ with symbol syntax.
21138 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
21139
21140 * progmodes/ada-mode.el (ada-mode-abbrev-table):
21141 Consolidate declaration.
21142 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
21143 the declaration.
21144 (ada-create-syntax-table): Remove.
21145 (ada-capitalize-word): Don't mess with the syntax of "_" since it
21146 already has the right syntax nowadays.
21147 (ada-goto-next-word): Don't change the syntax of "_".
21148
21149 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
21150 with-wrapper-hook.
21151
21152 2013-05-08 Sam Steingold <sds@gnu.org>
21153
21154 * thingatpt.el (thing-at-point): Accept optional second argument
21155 NO-PROPERTIES to strip the text properties from the return value.
21156 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
21157 to `thing-at-point' instead of stripping the properties ourselves.
21158 Also, when `thing-at-point' fails to find a url, prepend "http://"
21159 to the filename at point on the assumption that the user is
21160 pointing at something like gnu.org/gnu.
21161
21162 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
21163
21164 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
21165 * faces.el (crm-separator):
21166 Silence byte-compiler.
21167
21168 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
21169 (tool-bar-map): Remove unneeded defvars.
21170
21171 2013-05-08 Leo Liu <sdl.web@gmail.com>
21172
21173 Re-work a fix for bug#10994 based on Le Wang's patch.
21174 * ido.el (ido-remove-consecutive-dups): New helper.
21175 (ido-completing-read): Use it.
21176 (ido-chop): Revert fix for bug#10994.
21177
21178 2013-05-08 Adam Spiers <emacs@adamspiers.org>
21179
21180 * cus-edit.el (custom-save-variables):
21181 Pretty-print long values. (Bug#14187)
21182
21183 2013-05-08 Glenn Morris <rgm@gnu.org>
21184
21185 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
21186 (m4-mode-syntax-table): Init in the defvar.
21187 (m4-mode-abbrev-table): Let define-derived-mode define it.
21188
21189 2013-05-08 Tom Tromey <tromey@redhat.com>
21190
21191 * progmodes/m4-mode.el (m4-mode-syntax-table):
21192 Do not treat "_" as word constituent. (Bug#14167)
21193
21194 2013-05-07 Glenn Morris <rgm@gnu.org>
21195
21196 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
21197 Remove explicit eshell-isearch-cancel-map.
21198
21199 * progmodes/f90.el (f90-smart-end-names): New option.
21200 (f90-smart-end): Doc fix.
21201 (f90-end-block-optional-name): New constant.
21202 (f90-block-match): Respect f90-smart-end-names.
21203
21204 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21205
21206 * progmodes/octave.el (octave-smie-forward-token): Be more careful
21207 about implicit semi-colons (bug#14218).
21208
21209 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21210
21211 * frame.el (display-monitor-attributes-list)
21212 (frame-monitor-attributes): New functions.
21213
21214 2013-05-06 Leo Liu <sdl.web@gmail.com>
21215
21216 * progmodes/octave.el (octave-syntax-propertize-function): Change
21217 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
21218 (octave-font-lock-keywords): Use octave-operator-regexp.
21219 (octave-completion-at-point): Rename from
21220 octave-completion-at-point-function.
21221 (inferior-octave-directory-tracker): Robustify.
21222 (octave-text-functions): Remove and fix its uses. No such things
21223 any more.
21224
21225 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21226
21227 * emacs-lisp/trace.el (trace--display-buffer): New function.
21228 (trace-make-advice): Use it.
21229
21230 2013-05-06 Juri Linkov <juri@jurta.org>
21231
21232 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
21233 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
21234 Doc fix.
21235 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
21236 in the help string. (Bug#12985)
21237
21238 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
21239
21240 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
21241
21242 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21243
21244 * progmodes/perl-mode.el: Add support for here documents.
21245 (perl-syntax-propertize-function): Match here-doc markers.
21246 (perl-syntax-propertize-special-constructs): Find their end.
21247 (perl-imenu-generic-expression): Use [:alnum:].
21248
21249 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
21250 (advice--add-function): Refresh the advice if already present
21251 (bug#14317).
21252
21253 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
21254
21255 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
21256
21257 2013-05-06 Glenn Morris <rgm@gnu.org>
21258
21259 * w32-fns.el (w32-charset-info-alist): Declare.
21260
21261 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
21262 of its defcustom properties.
21263 (eshell-cmpl-initialize): No need to load pcomplete.
21264
21265 * generic-x.el: No need to require comint when compiling.
21266
21267 * net/eudc-export.el: Make it loadable without bbdb.
21268 (top-level): Use require rather than load-library.
21269 (eudc-create-bbdb-record, eudc-bbdbify-phone)
21270 (eudc-batch-export-records-to-bbdb)
21271 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
21272 Require bbdb.
21273
21274 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21275
21276 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
21277 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
21278 some tweaks, instead.
21279
21280 2013-05-05 Leo Liu <sdl.web@gmail.com>
21281
21282 * progmodes/octave.el (octave-font-lock-keywords)
21283 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
21284 (inferior-octave-send-list-and-digest): Improve error message.
21285 (octave-mode, inferior-octave-mode): Use setq-local.
21286 (octave-help): Set info-lookup-mode.
21287
21288 2013-05-05 Richard Stallman <rms@gnu.org>
21289
21290 * vc/compare-w.el (compare-windows-whitespace):
21291 Treat no-break space as whitespace.
21292
21293 * mail/rmailsum.el (rmail-summary-rmail-update):
21294 Detect empty summary and don't change selected message.
21295 (rmail-summary-goto-msg): Likewise.
21296
21297 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
21298 Doc fixes, rename args.
21299
21300 2013-05-05 Alan Mackenzie <acm@muc.de>
21301
21302 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
21303
21304 2013-05-05 Juri Linkov <juri@jurta.org>
21305
21306 * info.el (Info-read-subfile): Use (point-min) instead of (point)
21307 to not add the length of the summary segment to the return value.
21308 (Bug#14125)
21309
21310 2013-05-05 Leo Liu <sdl.web@gmail.com>
21311
21312 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
21313 (inferior-octave-output-filter): Remove.
21314 (octave-send-region, inferior-octave-startup): Fix callers.
21315 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
21316 (octave-binary-file-extensions): New user variable.
21317 (octave-find-definition): Confirm if opening binary files.
21318 (octave-help-file): Use octave-find-definition to get the binary
21319 confirmation.
21320 (octave-help): Adjust for octave-help-file change.
21321
21322 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21323
21324 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
21325 Merge the two entries that handle function definitions.
21326 (pascal--syntax-propertize): New const.
21327 (pascal-mode): Use it. Use setq-local.
21328
21329 2013-05-04 Glenn Morris <rgm@gnu.org>
21330
21331 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
21332 (diary-from-outlook): Respect diary-from-outlook-function.
21333
21334 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21335
21336 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
21337 Move the declaration from C.
21338 (read-minibuffer, eval-minibuffer): Move from C.
21339 (completion-setup-function): Avoid minibuffer-completion-contents.
21340
21341 2013-05-03 Leo Liu <sdl.web@gmail.com>
21342
21343 * progmodes/octave.el (octave-font-lock-keywords): Do not
21344 dehighlight 'end' in comments or strings.
21345 (octave-completing-read, octave-goto-function-definition):
21346 New helpers.
21347 (octave-help-buffer): New user variable.
21348 (octave-help-file, octave-help-function): New button types.
21349 (octave-help): New command and bind it to C-h ;.
21350 (octave-find-definition): New command and bind it to M-.
21351 (user-error): Alias to error if not defined.
21352
21353 2013-05-02 Leo Liu <sdl.web@gmail.com>
21354
21355 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
21356 for \. (bug#14332)
21357 (octave-font-lock-keywords): Include [ and {.
21358
21359 2013-05-02 Leo Liu <sdl.web@gmail.com>
21360
21361 * progmodes/octave.el (inferior-octave-startup-file): Change default.
21362 (inferior-octave): Remove calling comint-mode and return the buffer.
21363 (inferior-octave-startup): Cosmetic changes.
21364
21365 2013-05-02 Leo Liu <sdl.web@gmail.com>
21366
21367 * progmodes/octave.el (octave-syntax-propertize-function):
21368 Include the case when ' is at line beginning. (Bug#14336)
21369
21370 2013-05-02 Glenn Morris <rgm@gnu.org>
21371
21372 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
21373 * desktop.el (vc-dir-mode): Just autoload it here.
21374
21375 2013-05-02 Alan Mackenzie <acm@muc.de>
21376
21377 Eliminate variable c-standard-font-lock-fontify-region-function.
21378 * progmodes/cc-mode.el
21379 (c-standard-font-lock-fontify-region-function): Remove.
21380 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
21381
21382 2013-05-01 Leo Liu <sdl.web@gmail.com>
21383
21384 * progmodes/octave.el: Compatible with older emacs-24 releases.
21385 (inferior-octave-has-built-in-variables): Remove. Built-in
21386 variables were removed from Octave in 2007.
21387 (inferior-octave-startup): Fix uses.
21388 (comint-line-beginning-position): Remove compatibility code for
21389 emacs 21.
21390
21391 2013-05-01 Juri Linkov <juri@jurta.org>
21392
21393 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
21394
21395 2013-05-01 Juri Linkov <juri@jurta.org>
21396
21397 * comint.el (comint-previous-matching-input): Don't print message
21398 "History item: %d" when `isearch-mode' is active.
21399 (comint-history-isearch-message): Print message "History item: %d"
21400 when `comint-input-ring-index' is not empty and this function is
21401 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
21402
21403 2013-05-01 Leo Liu <sdl.web@gmail.com>
21404
21405 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
21406 definitions. Use completion-at-point to insert keywords.
21407 (octave-abbrev-start): Remove.
21408 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
21409
21410 2013-04-30 Leo Liu <sdl.web@gmail.com>
21411
21412 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
21413 change.
21414
21415 2013-04-30 Alan Mackenzie <acm@muc.de>
21416
21417 Handle arbitrarily long C++ member initialisation lists.
21418 * progmodes/cc-engine.el (c-back-over-member-initializers):
21419 new function.
21420 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
21421 (most) member init lists.
21422
21423 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21424
21425 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
21426 variable.
21427
21428 2013-04-30 Leo Liu <sdl.web@gmail.com>
21429
21430 * progmodes/octave.el (octave-variables): Remove. No builtin
21431 variables any more. All converted to functions.
21432 (octave-font-lock-keywords, octave-completion-at-point-function):
21433 Fix uses.
21434 (octave-font-lock-texinfo-comment): New user variable.
21435 (octave-texinfo-font-lock-keywords): New variable for texinfo
21436 comment block.
21437 (octave-function-comment-block): New face.
21438 (octave-font-lock-texinfo-comment): New function.
21439 (octave-mode): Font lock texinfo comment block.
21440
21441 2013-04-29 Leo Liu <sdl.web@gmail.com>
21442
21443 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
21444 indexing expression.
21445 (octave-continuation-string): Do not use \.
21446 (inferior-octave-complete-impossible): Remove.
21447 (inferior-octave-completion-table)
21448 (inferior-octave-completion-at-point): Remove its uses.
21449 (inferior-octave-startup): completion_matches was introduced to
21450 Octave in 1996 so safe to assume it.
21451 (octave-function-file-comment): Improve to follow how Octave does it.
21452 (octave-update-function-file-comment): Tweak.
21453
21454 2013-04-29 Leo Liu <sdl.web@gmail.com>
21455
21456 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
21457 (inferior-octave-startup): Remove inferior-octave-startup-hook.
21458 (octave-function-file-comment): Fix typo.
21459 (octave-sync-function-file-names): Use read-char-choice.
21460
21461 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
21462
21463 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
21464 to t for the less important warnings.
21465
21466 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
21467
21468 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
21469
21470 2013-04-27 Glenn Morris <rgm@gnu.org>
21471
21472 * vc/log-view.el (log-view-current-entry):
21473 Treat "---" separator lines as part of the following rev. (Bug#14169)
21474
21475 2013-04-27 Juri Linkov <juri@jurta.org>
21476
21477 * subr.el (read-number): Doc fix about using it by interactive
21478 code letter `n'. (Bug#14254)
21479
21480 2013-04-27 Juri Linkov <juri@jurta.org>
21481
21482 * desktop.el (desktop-auto-save-timeout): New option.
21483 (desktop-file-checksum): New variable.
21484 (desktop-save): Add optional arg `auto-save' and don't auto-save
21485 if nothing changed.
21486 (desktop-auto-save-timer): New variable.
21487 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
21488 (after-init-hook): Call `desktop-auto-save-set-timer'.
21489 Suggested by Reuben Thomas <rrt@sc3d.org> in
21490 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
21491
21492 2013-04-27 Leo Liu <sdl.web@gmail.com>
21493
21494 * progmodes/octave.el (octave-function-file-p)
21495 (octave-skip-comment-forward, octave-function-file-comment)
21496 (octave-update-function-file-comment): New functions.
21497 (octave-mode-map): Bind C-c ; to
21498 octave-update-function-file-comment.
21499 (octave-mode-menu): Add octave-update-function-file-comment.
21500 (octave-mode, inferior-octave-mode): Fix doc-string.
21501 (octave-insert-defun): Conform to Octave's coding convention.
21502 (Bug#14285)
21503
21504 * files.el (basic-save-buffer): Don't let errors in
21505 before-save-hook prevent saving buffer.
21506
21507 2013-04-20 Roland Winkler <winkler@gnu.org>
21508
21509 * faces.el (read-face-name): Use completing-read if arg multiple
21510 is nil.
21511
21512 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
21513
21514 * ls-lisp.el (ls-lisp-insert-directory): If no files are
21515 displayed, move point to after the totals line.
21516 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
21517 for the details.
21518
21519 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
21520
21521 * emacs-lisp/package.el (package-autoload-ensure-default-file):
21522 Add current dir to the load-path.
21523 (package-generate-autoloads): Don't rely on
21524 autoload-ensure-default-file.
21525
21526 2013-04-26 Reuben Thomas <rrt@sc3d.org>
21527
21528 * textmodes/remember.el (remember-store-in-files): Document that
21529 the file name format is passed to `format-time-string'.
21530
21531 2013-04-26 Leo Liu <sdl.web@gmail.com>
21532
21533 * progmodes/octave.el (octave-sync-function-file-names): New function.
21534 (octave-mode): Use it in before-save-hook.
21535
21536 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
21537
21538 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
21539 (bug#14274).
21540
21541 * progmodes/octave.el (octave-smie-forward-token): Properly skip
21542 \n and comment, even if it's not an implicit ; (bug#14218).
21543
21544 2013-04-26 Glenn Morris <rgm@gnu.org>
21545
21546 * subr.el (read-number): Once more use `read' rather than
21547 `string-to-number', to trap non-numeric input. (Bug#14254)
21548
21549 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
21550
21551 * emacs-lisp/syntax.el (syntax-propertize-multiline):
21552 Use `syntax-multiline' text property consistently instead of
21553 `font-lock-multiline'. (Bug#14237)
21554
21555 2013-04-26 Glenn Morris <rgm@gnu.org>
21556
21557 * emacs-lisp/shadow.el (list-load-path-shadows):
21558 No longer necessary to check for duplicate simple.el, since
21559 2012-07-07 change to init_lread to not include installation lisp
21560 directories in load-path when running uninstalled. (Bug#14270)
21561
21562 2013-04-26 Leo Liu <sdl.web@gmail.com>
21563
21564 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
21565 (octave-mode, inferior-octave-mode): Use setq-local.
21566 (octave-not-in-string-or-comment-p): Rename to
21567 octave-in-string-or-comment-p.
21568 (octave-in-comment-p, octave-in-string-p)
21569 (octave-in-string-or-comment-p): Replace defsubst with defun.
21570
21571 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
21572
21573 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
21574
21575 2013-04-25 Bastien Guerry <bzg@gnu.org>
21576
21577 * textmodes/remember.el (remember-data-directory)
21578 (remember-directory-file-name-format): Fix custom types.
21579
21580 2013-04-25 Leo Liu <sdl.web@gmail.com>
21581
21582 * progmodes/octave.el (octave-completion-at-point-function):
21583 Make use of inferior octave process.
21584 (octave-initialize-completions): Remove.
21585 (inferior-octave-completion-table): New function.
21586 (inferior-octave-completion-at-point): Use it.
21587 (octave-completion-alist): Remove.
21588
21589 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21590
21591 * progmodes/opascal.el: Use font-lock and syntax-propertize.
21592 (opascal-mode-syntax-table): New var.
21593 (opascal-literal-kind, opascal-is-literal-end)
21594 (opascal-literal-token-at): Rewrite.
21595 (opascal--literal-start-re, opascal-font-lock-keywords)
21596 (opascal--syntax-propertize): New constants.
21597 (opascal-font-lock-defaults): Adjust.
21598 (opascal-mode): Use them. Set comment-<foo> variables as well.
21599 (delphi-comment-face, opascal-comment-face, delphi-string-face)
21600 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
21601 (delphi-other-face, opascal-other-face): Remove face variables.
21602 (opascal-save-state): Remove macro.
21603 (opascal-fontifying-progress-step): Remove constant.
21604 (opascal--ignore-changes): Remove var.
21605 (opascal-set-token-property, opascal-parse-next-literal)
21606 (opascal-is-stable-literal, opascal-complete-literal)
21607 (opascal-is-literal-start, opascal-face-of)
21608 (opascal-parse-region, opascal-parse-region-until-stable)
21609 (opascal-fontify-region, opascal-after-change)
21610 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
21611 (opascal-debug-parse-region, opascal-debug-parse-window)
21612 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
21613 (opascal-debug-fontify-buffer): Remove.
21614 (opascal-debug-mode-map): Adjust accordingly.
21615
21616 2013-04-25 Leo Liu <sdl.web@gmail.com>
21617
21618 Merge octave-mod.el and octave-inf.el into octave.el with some
21619 cleanups.
21620 * progmodes/octave.el: New file renamed from octave-mod.el.
21621 * progmodes/octave-inf.el: Merged into octave.el.
21622 * progmodes/octave-mod.el: Renamed to octave.el.
21623
21624 2013-04-25 Tassilo Horn <tsdh@gnu.org>
21625
21626 * textmodes/reftex-vars.el
21627 (reftex-label-ignored-macros-and-environments): New defcustom.
21628
21629 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
21630
21631 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21632
21633 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
21634 (smie-indent-keyword): Improve the check to ensure that the next
21635 comment is really on the same line.
21636 (smie-indent-comment): Don't align with a subsequent closer (or eob).
21637
21638 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
21639 semi-colons if the line is not otherwise empty (bug#14218).
21640
21641 2013-04-25 Glenn Morris <rgm@gnu.org>
21642
21643 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
21644
21645 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
21646
21647 * progmodes/opascal.el (opascal-set-token-property): Rename from
21648 opascal-set-text-properties and only set `token' (bug#14134).
21649 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
21650 (opascal-literal-text-properties): Remove.
21651 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
21652 Adjust callers.
21653
21654 2013-04-24 Reuben Thomas <rrt@sc3d.org>
21655
21656 * textmodes/remember.el (remember-handler-functions): Add an
21657 option for a new handler `remember-store-in-files'.
21658 (remember-data-directory, remember-directory-file-name-format):
21659 New options.
21660 (remember-store-in-files): New function to store remember notes
21661 as separate files within a directory.
21662
21663 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
21664
21665 * progmodes/compile.el (compilation-next-error-function):
21666 Pass "formats" to compilation-find-file (bug#11777).
21667
21668 2013-04-24 Glenn Morris <rgm@gnu.org>
21669
21670 * vc/vc-bzr.el (vc-bzr-print-log):
21671 * vc/vc-hg.el (vc-hg-print-log):
21672 * vc/vc-svn.el (vc-svn-print-log):
21673 Fix START-REVISION with LIMIT != 1. (Bug#14168)
21674
21675 * vc/vc-bzr.el (vc-bzr-print-log):
21676 * vc/vc-cvs.el (vc-cvs-print-log):
21677 * vc/vc-git.el (vc-git-print-log):
21678 * vc/vc-hg.el (vc-hg-print-log):
21679 * vc/vc-mtn.el (vc-mtn-print-log):
21680 * vc/vc-rcs.el (vc-rcs-print-log):
21681 * vc/vc-sccs.el (vc-sccs-print-log):
21682 * vc/vc-svn.el (vc-svn-print-log):
21683 * vc/vc.el (vc-print-log-internal): Doc fixes.
21684
21685 2013-04-23 Glenn Morris <rgm@gnu.org>
21686
21687 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
21688 Remove venerable code attempting to avoid substitute-command-keys.
21689
21690 2013-04-23 Tassilo Horn <tsdh@gnu.org>
21691
21692 * textmodes/reftex-vars.el (reftex-label-regexps):
21693 Call `reftex-compile-variables' after changes to this variable.
21694
21695 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
21696
21697 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
21698 Use lexical-binding.
21699 (jit-lock-force-redisplay): Use markers, check buffer's continued
21700 existence and beware narrowed buffers.
21701 (jit-lock-fontify-now): Adjust call accordingly.
21702
21703 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
21704
21705 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
21706 to avoid misleading the user.
21707
21708 2013-04-22 Leo Liu <sdl.web@gmail.com>
21709
21710 * info-look.el: Prefer latex2e.info. (Bug#14240)
21711
21712 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
21713
21714 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
21715
21716 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
21717 * net/tramp.el (tramp-call-process): ... here.
21718 (tramp-set-completion-function, tramp-parse-putty):
21719 * net/tramp-adb.el (tramp-adb-execute-adb-command):
21720 * net/tramp-gvfs.el (tramp-gvfs-send-command):
21721 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
21722 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
21723 (tramp-call-local-coding-command): Use `tramp-call-process'
21724 instead of `tramp-compat-call-process'.
21725
21726 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
21727 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
21728 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
21729 (tramp-find-inline-compress): Improve traces.
21730 (tramp-maybe-send-script): Check for Perl binary.
21731 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
21732
21733 2013-04-22 Daiki Ueno <ueno@gnu.org>
21734
21735 * epg.el (epg-context-pinentry-mode): New function.
21736 (epg-context-set-pinentry-mode): New function.
21737 (epg--start): Pass --pinentry-mode option to gpg command.
21738
21739 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
21740
21741 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
21742 `comint-dynamic-complete' is obsolete since 24.1, replaced by
21743 `completion-at-point'. (Bug#13774)
21744
21745 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
21746 default key binding for `describe-distribution' has been moved to
21747 `C-h C-o'. (Bug#13970)
21748
21749 2013-04-21 Glenn Morris <rgm@gnu.org>
21750
21751 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
21752 Add doc strings.
21753 (vc-print-log): Clarify interactive prompt.
21754
21755 2013-04-20 Glenn Morris <rgm@gnu.org>
21756
21757 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
21758 No longer include timestamp etc information.
21759
21760 2013-04-20 Roland Winkler <winkler@gnu.org>
21761
21762 * faces.el (read-face-name): Bug fix, return just one face if arg
21763 multiple is nil. (Bug#14209)
21764
21765 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21766
21767 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
21768 (remove-function): Autoload.
21769
21770 * comint.el (comint-redirect-original-filter-function): Remove.
21771 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
21772 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
21773 (vc-cvs-annotate-command):
21774 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
21775 * progmodes/prolog.el (prolog-consult-compile):
21776 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
21777 Use add/remove-function instead.
21778 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
21779 (gud-tooltip-process-output, gud-tooltip-tips):
21780 Use add/remove-function instead.
21781 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
21782 (scheme-interaction-mode, exit-scheme-interaction-mode):
21783 Use add/remove-function instead.
21784
21785 * vc/vc-dispatcher.el: Use lexical-binding.
21786 (vc--process-sentinel): Rename from vc-process-sentinel.
21787 Change last arg to be the code to run. Don't use vc-previous-sentinel
21788 and vc-sentinel-commands any more.
21789 (vc-exec-after): Allow code to be a function. Use add/remove-function.
21790 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
21791
21792 2013-04-19 Masatake YAMATO <yamato@redhat.com>
21793
21794 * progmodes/sh-script.el (sh-imenu-generic-expression):
21795 Handle function names with a single character. (Bug#14111)
21796
21797 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
21798
21799 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
21800 for subroutines defined in an eval (bug#14182).
21801
21802 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21803
21804 * bookmark.el (bookmark-completing-read): Improve handling of empty
21805 string (bug#14176).
21806
21807 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21808
21809 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
21810
21811 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
21812
21813 New faster Imenu implementation (bug#14058).
21814 * progmodes/python.el (python-imenu-prev-index-position)
21815 (python-imenu-format-item-label-function)
21816 (python-imenu-format-parent-item-label-function)
21817 (python-imenu-format-parent-item-jump-label-function):
21818 New vars.
21819 (python-imenu-format-item-label)
21820 (python-imenu-format-parent-item-label)
21821 (python-imenu-format-parent-item-jump-label)
21822 (python-imenu--put-parent, python-imenu--build-tree)
21823 (python-imenu-create-index, python-imenu-create-flat-index)
21824 (python-util-popn): New functions.
21825 (python-mode): Set imenu-create-index-function to
21826 python-imenu-create-index.
21827
21828 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
21829
21830 * winner.el (winner-active-region): Use region-active-p, activate-mark
21831 and deactivate-mark (bug#14225).
21832
21833 * simple.el (deactivate-mark): Don't inline it.
21834
21835 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
21836
21837 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
21838
21839 2013-04-18 Tassilo Horn <tsdh@gnu.org>
21840
21841 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
21842 file extensions from the archive-mode entry in order to prefer
21843 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
21844
21845 2013-04-18 Leo Liu <sdl.web@gmail.com>
21846
21847 * bindings.el (help-event-list): Add ?\?.
21848
21849 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
21850
21851 * subr.el (with-wrapper-hook): Declare obsolete.
21852 * simple.el (filter-buffer-substring-function): New hook.
21853 (filter-buffer-substring): Use it.
21854 (filter-buffer-substring-functions): Mark obsolete.
21855 * minibuffer.el (completion-in-region-function): New hook.
21856 (completion-in-region): Use it.
21857 (completion-in-region-functions): Mark obsolete.
21858 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
21859 * abbrev.el (abbrev-expand-function): New hook.
21860 (expand-abbrev): Use it.
21861 (abbrev-expand-functions): Mark obsolete.
21862 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
21863 and :filter-return.
21864
21865 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
21866
21867 * progmodes/python.el (python-nav--syntactically): Fix cornercases
21868 and do not care about match data.
21869
21870 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
21871
21872 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
21873 completion tables when completing error conditions and
21874 `declare' arguments.
21875 (lisp-complete-symbol, field-complete): Mark as obsolete.
21876 (check-parens): Unmatched parens are user errors.
21877 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
21878
21879 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
21880
21881 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
21882 command changed buffer (ie. `flyspell-pre-buffer' is not current
21883 buffer), which prevents making decisions based on invalid value of
21884 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
21885 cause an error when `flyspell-pre-point' was nil after switching
21886 buffers.
21887 (flyspell-post-command-hook): No longer needs to change buffers when
21888 checking pre-word. While at it remove unnecessary progn.
21889
21890 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
21891
21892 * textmodes/ispell.el (ispell-add-per-file-word-list):
21893 Fix `flyspell-correct-word-before-point' error when accepting
21894 words and `coment-padding' is an integer by using
21895 `comment-normalize-vars' (Bug #14214).
21896
21897 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
21898
21899 New defun movement commands.
21900 * progmodes/python.el (python-nav--syntactically)
21901 (python-nav--forward-defun, python-nav-backward-defun)
21902 (python-nav-forward-defun): New functions.
21903
21904 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
21905
21906 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
21907 (python-syntax-context): Use named compiler-macro for backwards
21908 compatibility with Emacs 24.x.
21909
21910 2013-04-17 Leo Liu <sdl.web@gmail.com>
21911
21912 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
21913 octave-hide-process-buffer.
21914
21915 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
21916
21917 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
21918 (bug#14216).
21919
21920 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
21921
21922 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
21923 Fix adjustment of offset when receiving incomplete responses from GDB
21924 (bug#14129).
21925
21926 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
21927
21928 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
21929 python-mode-abbrev-table.
21930 (python-skeleton-define): Adjust accordingly.
21931 (python-mode-abbrev-table): New table that inherits from it so that
21932 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
21933
21934 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
21935 (abbrev-symbol): Use it.
21936 (abbrev--before-point): Use it since we already handle inheritance.
21937
21938 2013-04-16 Leo Liu <sdl.web@gmail.com>
21939
21940 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
21941 binding to info-lookup-symbol.
21942
21943 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
21944
21945 * minibuffer.el (completion--twq-all):
21946 * term/ns-win.el (ns-initialize-window-system):
21947 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
21948
21949 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
21950
21951 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
21952 global bindings.
21953
21954 * doc-view.el (doc-view-start-process): Handle url-handler directories.
21955
21956 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
21957
21958 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
21959 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
21960 to nil.
21961 (ruby-end-of-defun): Remove the unused arg, change the docstring
21962 to reflect that this function is only used as the value of
21963 `end-of-defun-function'.
21964 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
21965 to reflect an earlier change that beginning/end-of-defun functions
21966 jump between methods in a class definition, as well as top-level
21967 functions.
21968
21969 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21970
21971 * minibuffer.el (minibuffer-complete): Don't just scroll
21972 a *Completions* that's been iconified.
21973 (minibuffer-force-complete): Make sure repetitions do cycle when going
21974 through completion-in-region -> minibuffer-complete.
21975
21976 2013-04-15 Alan Mackenzie <acm@muc.de>
21977
21978 Correct the placement of c-cpp-delimiters when there're #s not at
21979 col 0.
21980
21981 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
21982 place a submatch around the #.
21983 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
21984 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
21985 on the #, not BOL.
21986
21987 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21988
21989 * emacs-lisp/nadvice.el: Properly test names when adding advice.
21990 (advice--member-p): New arg `name'.
21991 (advice--add-function, advice-member-p): Use it (bug#14202).
21992
21993 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
21994
21995 Reformulate java imenu-generic-expression.
21996 The old expression contained ill formed regexps.
21997
21998 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
21999 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
22000 (cc-imenu-java-method-arg-regexp): New defconsts.
22001 (cc-imenu-java-build-type-args-regex): New defun.
22002 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
22003 handling of spaces in the regexp.
22004
22005 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22006
22007 * textmodes/ispell.el (ispell-command-loop): Remove
22008 flyspell highlight of a word when ispell accepts it (bug #14178).
22009
22010 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
22011
22012 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
22013 uses code from the previous `ange-ftp-run-real-handler'.
22014 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
22015 only in case that function exist. This is needed for proper
22016 unloading of Tramp.
22017
22018 2013-04-15 Tassilo Horn <tsdh@gnu.org>
22019
22020 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
22021
22022 * textmodes/reftex.el (reftex-compile-variables): Use it.
22023
22024 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22025
22026 * files.el (normal-mode): Only use default major-mode if no other mode
22027 was specified.
22028
22029 * emacs-lisp/trace.el (trace-values): New function.
22030
22031 * files.el: Allow : in local variables (bug#14089).
22032 (hack-local-variable-regexp): New var.
22033 (hack-local-variables-prop-line, hack-local-variables): Use it.
22034
22035 2013-04-13 Roland Winkler <winkler@gnu.org>
22036
22037 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
22038 data before it gets modified by bibtex-beginning-of-entry.
22039
22040 2013-04-13 Roland Winkler <winkler@gnu.org>
22041
22042 * textmodes/bibtex.el (bibtex-url): Doc fix.
22043
22044 2013-04-13 Roland Winkler <winkler@gnu.org>
22045
22046 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
22047 does not visit a BibTeX file, exclude it from the list of buffers
22048 returned by bibtex-initialize.
22049
22050 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
22051
22052 * window.el (split-window): Remove interactive form, since as a
22053 command this function is a special case of split-window-below.
22054 Correct doc string.
22055
22056 2013-04-12 Roland Winkler <winkler@gnu.org>
22057
22058 * faces.el (read-face-name): Do not override value of arg default.
22059 Allow single faces and strings as default values. Remove those
22060 elements from return value that are not faces.
22061 (describe-face): Simplify.
22062 (face-at-point): New optional args thing and multiple so that this
22063 function can provide the same functionality previously provided by
22064 read-face-name.
22065 (make-face-bold, make-face-unbold, make-face-italic)
22066 (make-face-unitalic, make-face-bold-italic, invert-face)
22067 (modify-face, read-face-and-attribute): Use face-at-point.
22068
22069 * cus-edit.el (customize-face, customize-face-other-window)
22070 * cus-theme.el (custom-theme-add-face)
22071 * face-remap.el (buffer-face-set)
22072 * facemenu.el (facemenu-set-face): Use face-at-point.
22073
22074 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
22075
22076 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
22077
22078 2013-04-10 Tassilo Horn <tsdh@gnu.org>
22079
22080 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
22081 off leading { and trailing } from field values.
22082
22083 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
22084
22085 * emacs-lisp/timer.el (timer--check): New function.
22086 (timer--time, timer-set-function, timer-event-handler): Use it.
22087 (timer-set-idle-time): Simplify.
22088 (timer--activate): CSE.
22089 (timer-event-handler): Give more info in error message.
22090 (internal-timer-start-idle): New function, moved from C.
22091
22092 * mpc.el (mpc-proc): Add `restart' argument.
22093 (mpc-proc-cmd): Use it.
22094 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
22095 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
22096 less often.
22097
22098 2013-04-10 Masatake YAMATO <yamato@redhat.com>
22099
22100 * progmodes/sh-script.el: Implement `sh-mode' own
22101 `add-log-current-defun-function' (bug#14112).
22102 (sh-current-defun-name): New function.
22103 (sh-mode): Use the function.
22104
22105 2013-04-09 Bastien Guerry <bzg@gnu.org>
22106
22107 * simple.el (choose-completion-string): Fix docstring (bug#14163).
22108
22109 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
22110
22111 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
22112
22113 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
22114 timer (bug#14156).
22115
22116 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
22117
22118 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
22119 declaration.
22120
22121 2013-04-07 Leo Liu <sdl.web@gmail.com>
22122
22123 * pcmpl-x.el: New file.
22124
22125 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
22126
22127 Do not set x-display-name until X connection is established.
22128 This is needed to prevent from weird situation described at
22129 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
22130 * frame.el (make-frame): Set x-display-name after call to
22131 window system initialization function, not before.
22132 * term/x-win.el (x-initialize-window-system): Add optional
22133 display argument and use it.
22134 * term/w32-win.el (w32-initialize-window-system):
22135 * term/ns-win.el (ns-initialize-window-system):
22136 * term/pc-win.el (msdos-initialize-window-system):
22137 Add compatible optional display argument.
22138
22139 2013-04-06 Eli Zaretskii <eliz@gnu.org>
22140
22141 * files.el (normal-backup-enable-predicate): On MS-Windows and
22142 MS-DOS compare truenames of temporary-file-directory and of the
22143 file, so that 8+3 aliases (usually found in $TEMP on Windows)
22144 don't fail comparison by compare-strings. Also, compare file
22145 names case-insensitively on MS-Windows and MS-DOS.
22146
22147 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
22148
22149 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
22150 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
22151
22152 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
22153
22154 * whitespace.el (whitespace-color-on, whitespace-color-off):
22155 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
22156
22157 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
22158
22159 * ispell.el (ispell-set-spellchecker-params):
22160 Really set `ispell-args' for all equivs.
22161
22162 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
22163
22164 * ido.el (ido-completions): Use extra elements of ido-decorations
22165 (bug#14143).
22166 (ido-decorations): Update docstring.
22167
22168 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
22169
22170 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
22171 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
22172 nil during initialization, in order not to miss changes since the
22173 file was opened. (Bug#14140)
22174
22175 2013-04-05 Leo Liu <sdl.web@gmail.com>
22176
22177 * kmacro.el (kmacro-call-macro): Fix bug#14135.
22178
22179 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
22180
22181 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
22182
22183 2013-04-04 Glenn Morris <rgm@gnu.org>
22184
22185 * electric.el (electric-pair-inhibit-predicate): Add :version.
22186
22187 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
22188
22189 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
22190 when a package is required several times (bug#14082).
22191
22192 2013-04-04 Roland Winkler <winkler@gnu.org>
22193
22194 * faces.el (read-face-name): Behave as promised by the docstring.
22195 Assume that arg default is a list of faces.
22196 (describe-face): Call read-face-name with list of default faces.
22197
22198 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22199
22200 * bookmark.el: Fix deletion of bookmarks (bug#13972).
22201 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
22202 (bookmark-bmenu-execute-deletions): Only skip first line if it's
22203 the header.
22204 (bookmark-exit-hook-internal): Save even if list is empty.
22205
22206 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
22207
22208 * emacs-lisp/package.el (package-pinned-packages): New var.
22209 (package--add-to-archive-contents): Obey it (bug#14118).
22210
22211 2013-04-03 Alan Mackenzie <acm@muc.de>
22212
22213 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
22214 Also adapt to the new values of element 7 of a parse state.
22215
22216 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
22217 parameter `not-in-delimiter'. Handle being inside comment opener.
22218 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
22219 character in case we're typing a '*' after a '/'.
22220 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
22221 instead by passing the parameter to c-state-pp-to-literal.
22222
22223 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
22224 for elt. 7 of a parse state.
22225
22226 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
22227
22228 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
22229 * international/latin1-disp.el, international/mule-util.el:
22230 * language/cyril-util.el, language/european.el, language/ind-util.el:
22231 * language/lao-util.el, language/thai.el, language/tibet-util.el:
22232 * language/tibetan.el, language/viet-util.el:
22233 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
22234
22235 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22236
22237 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
22238 (electric-pair-post-self-insert-function): Use it.
22239 (electric-pair-default-inhibit): New function, extracted from
22240 electric-pair-post-self-insert-function.
22241
22242 2013-03-31 Roland Winkler <winkler@gnu.org>
22243
22244 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
22245
22246 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22247
22248 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
22249
22250 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
22251
22252 Un-indent after "pass" and "return" statements (Bug#13888)
22253 * progmodes/python.el (python-indent-block-enders): New var.
22254 (python-indent-calculate-indentation): Use it.
22255
22256 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
22257
22258 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
22259 defun. Defining it as defalias could introduce too eager
22260 byte-compiler optimization. (Bug#14030)
22261
22262 2013-03-30 Chong Yidong <cyd@gnu.org>
22263
22264 * iswitchb.el (iswitchb-read-buffer): Fix typo.
22265
22266 2013-03-30 Leo Liu <sdl.web@gmail.com>
22267
22268 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
22269 (kmacro-execute-from-register): Pass the keyboard macro to
22270 kmacro-call-macro or repeating won't work correctly.
22271
22272 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
22273
22274 * progmodes/subword.el: Back to using `forward-symbol'.
22275
22276 * subr.el (forward-whitespace, forward-symbol)
22277 (forward-same-syntax): Move from thingatpt.el.
22278
22279 2013-03-29 Leo Liu <sdl.web@gmail.com>
22280
22281 * kmacro.el (kmacro-to-register): New command.
22282 (kmacro-execute-from-register): New function.
22283 (kmacro-keymap): Bind to 'x'. (Bug#14071)
22284
22285 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
22286
22287 * mpc.el: Use defvar-local and setq-local.
22288 (mpc--proc-connect): Connection failures are not bugs.
22289 (mpc-mode-map): `follow-link' only applies to the buffer's content.
22290 (mpc-volume-map): Bind to the up-events.
22291
22292 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
22293
22294 * progmodes/subword.el (superword-mode): Use `forward-sexp'
22295 instead of `forward-symbol'.
22296
22297 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
22298
22299 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
22300 (edebug--recursive-edit): Use it.
22301 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
22302 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
22303
22304 2013-03-28 Leo Liu <sdl.web@gmail.com>
22305
22306 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
22307
22308 2013-03-27 Eli Zaretskii <eliz@gnu.org>
22309
22310 * facemenu.el (list-colors-callback): New defvar.
22311 (list-colors-redisplay): New function.
22312 (list-colors-display): Install list-colors-redisplay as the
22313 revert-buffer-function. (Bug#14063)
22314
22315 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
22316
22317 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
22318 and suffixes don't overlap (bug#14061).
22319
22320 * case-table.el: Use lexical-binding.
22321 (case-table-get-table): New function.
22322 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
22323
22324 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
22325
22326 * progmodes/subword.el: Add `superword-mode' to do word motion
22327 over symbol_words (parallels and leverages `subword-mode' which
22328 does word motion inside MixedCaseWords).
22329
22330 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
22331
22332 * eshell/em-unix.el: Move su and sudo to...
22333 * eshell/em-tramp.el: ...Eshell tramp module.
22334
22335 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
22336
22337 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
22338 Change return value to be a sexp. Delay `get-buffer' to after
22339 restoring the desktop (bug#13951).
22340
22341 2013-03-26 Leo Liu <sdl.web@gmail.com>
22342
22343 * register.el: Move semantic tag handling back to
22344 cedet/semantic/senator.el. (Bug#14052)
22345
22346 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
22347
22348 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
22349 into the prompt either (bug#13963).
22350
22351 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
22352
22353 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
22354 part of "(error-foo)".
22355
22356 2013-03-24 Juri Linkov <juri@jurta.org>
22357
22358 * replace.el (list-matching-lines-prefix-face): New defcustom.
22359 (occur-1): Pass `list-matching-lines-prefix-face' to the function
22360 `occur-engine' if `face-differs-from-default-p' returns t.
22361 (occur-engine): Add `,' inside backquote construct to evaluate
22362 `prefix-face'. Propertize the prefix with the `prefix-face' face.
22363 Pass `prefix-face' to the functions `occur-context-lines' and
22364 `occur-engine-add-prefix'.
22365 (occur-engine-add-prefix, occur-context-lines): Add optional arg
22366 `prefix-face' and propertize the prefix with `prefix-face'.
22367 (Bug#14017)
22368
22369 2013-03-24 Leo Liu <sdl.web@gmail.com>
22370
22371 * nxml/rng-valid.el (rng-validate-while-idle)
22372 (rng-validate-quick-while-idle): Guard against deleted buffer.
22373 (Bug#13999)
22374
22375 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
22376 is the last entry in kill-buffer-hook.
22377
22378 * files.el (kill-buffer-hook): Doc fix.
22379
22380 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
22381
22382 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
22383 Make it safe-local.
22384
22385 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
22386
22387 2013-03-23 Leo Liu <sdl.web@gmail.com>
22388
22389 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
22390 Remove.
22391
22392 * nxml/rng-valid.el (rng-validate-mode)
22393 (rng-after-change-function, rng-do-some-validation):
22394 * nxml/rng-maint.el (rng-validate-buffer):
22395 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
22396 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
22397 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
22398 (nxml-extend-after-change-region): Use with-silent-modifications.
22399
22400 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
22401 timer-idle-list.
22402
22403 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
22404 (rng-next-error-1, rng-previous-error-1): Do not let-bind
22405 timer-idle-list. (Bug#13999)
22406
22407 2013-03-23 Juri Linkov <juri@jurta.org>
22408
22409 * info.el (info-index-match): New face.
22410 (Info-index, Info-apropos-matches): Add a nested subgroup to the
22411 main pattern and add text properties with the new face to matches
22412 in index entries relative to the beginning of the index entry.
22413 (Bug#14015)
22414
22415 2013-03-21 Eric Ludlam <zappo@gnu.org>
22416
22417 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
22418 Inhibit read only while inserting objects.
22419
22420 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
22421
22422 * progmodes/cfengine.el: Update docs to mention
22423 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
22424 symbol motion. Remove "_" from the word syntax.
22425
22426 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
22427
22428 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
22429 syntax for both `cfengine2-mode' and `cfengine3-mode'.
22430
22431 2013-03-20 Juri Linkov <juri@jurta.org>
22432
22433 * info.el (Info-next-reference-or-link)
22434 (Info-prev-reference-or-link): New functions.
22435 (Info-next-reference, Info-prev-reference): Use them.
22436 (Info-try-follow-nearest-node): Handle footnote navigation.
22437 (Info-fontify-node): Fontify footnotes. (Bug#13989)
22438
22439 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
22440
22441 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
22442 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
22443
22444 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
22445
22446 Suppress unnecessary non-ASCII chatter during build process.
22447 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
22448 (batch-skkdic-convert): Suppress most of the chatter.
22449 It's not needed so much now that machines are faster,
22450 and its non-ASCII component was confusing; see Dmitry Gutov in
22451 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
22452
22453 2013-03-20 Leo Liu <sdl.web@gmail.com>
22454
22455 * ido.el (ido-chop): Fix bug#10994.
22456
22457 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
22458
22459 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
22460 Remove vars.
22461 (whitespace-color-on, whitespace-color-off):
22462 Use `font-lock-fontify-buffer' (Bug#13817).
22463
22464 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
22465
22466 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
22467 remapping in mode-line.
22468 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
22469
22470 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
22471
22472 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
22473 value for `whitespace-line' face (Bug#13875).
22474 (whitespace-font-lock-keywords): Change description.
22475 (whitespace-color-on): Don't save `font-lock-keywords' value, save
22476 the constructed keywords instead.
22477 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
22478
22479 2013-03-19 Leo Liu <sdl.web@gmail.com>
22480
22481 * progmodes/compile.el (compilation-display-error): New command.
22482 (compilation-mode-map, compilation-minor-mode-map): Bind it to
22483 C-o. (Bug#13992)
22484
22485 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
22486
22487 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
22488
22489 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
22490
22491 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
22492
22493 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
22494
22495 * net/tramp-compat.el (tramp-compat-user-error): New defun.
22496
22497 * net/tramp-adb.el (tramp-adb-handle-shell-command):
22498 * net/tramp-gvfs.el (top):
22499 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
22500 (tramp-handle-shell-command): Use it.
22501 (tramp-dissect-file-name): Raise an error when hostname is a
22502 method name, and neither method nor user is specified.
22503
22504 * net/trampver.el: Update release number.
22505
22506 2013-03-18 Leo Liu <sdl.web@gmail.com>
22507
22508 Make sure eldoc can be turned off properly.
22509 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
22510 eldoc-mode.
22511 (eldoc-display-message-p): Revert last change.
22512 (eldoc-display-message-no-interference-p)
22513 (eldoc-print-current-symbol-info): Tweak.
22514
22515 2013-03-18 Tassilo Horn <tsdh@gnu.org>
22516
22517 * doc-view.el (doc-view-new-window-function): Check the new window
22518 overlay's display property instead the char property of the
22519 buffer's first char. Use `with-selected-window' instead of
22520 `save-window-excursion' with `select-window'.
22521 (doc-view-document->bitmap): Check the current doc-view overlay's
22522 display property instead the char property of the buffer's first char.
22523
22524 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
22525
22526 Automate the build of ja-dic.el (Bug#13984).
22527 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
22528 from the input, rather than assume that it's been done for us by the
22529 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
22530 the current date into a ja-dic.el comment, as that complicates
22531 regression testing.
22532
22533 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22534
22535 * whitespace.el: Fix double evaluation.
22536 (whitespace-space, whitespace-hspace, whitespace-tab)
22537 (whitespace-newline, whitespace-trailing, whitespace-line)
22538 (whitespace-space-before-tab, whitespace-indentation)
22539 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
22540 obsolete defvars.
22541 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
22542 (whitespace-color-on): Use a single font-lock-add-keywords call.
22543 Fix double-evaluation of face variables.
22544
22545 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
22546
22547 * net/tramp-adb.el (tramp-adb-parse-device-names):
22548 Use `start-process' instead of `call-process'. Otherwise, the
22549 function might be blocked under MS Windows. (Bug#13299)
22550
22551 2013-03-17 Leo Liu <sdl.web@gmail.com>
22552
22553 Extend eldoc to display info in the mode-line. (Bug#13978)
22554 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
22555 (eldoc-mode-line-string): New variable.
22556 (eldoc-minibuffer-message): New function.
22557 (eldoc-message-function): New variable.
22558 (eldoc-message): Use it.
22559 (eldoc-display-message-p)
22560 (eldoc-display-message-no-interference-p):
22561 Support eldoc-post-insert-mode.
22562
22563 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
22564 (eval-expression): Run it.
22565
22566 2013-03-17 Roland Winkler <winkler@gnu.org>
22567
22568 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
22569 strings in the list of return values.
22570
22571 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22572
22573 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
22574 radix before checking for HMS forms.
22575
22576 2013-03-16 Leo Liu <sdl.web@gmail.com>
22577
22578 * progmodes/scheme.el: Add indentation and font-locking for λ.
22579 (Bug#13975)
22580
22581 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
22582
22583 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
22584 token before point (bug#13942).
22585
22586 2013-03-16 Leo Liu <sdl.web@gmail.com>
22587
22588 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
22589
22590 2013-03-16 Eli Zaretskii <eliz@gnu.org>
22591
22592 * startup.el (command-line-normalize-file-name): Fix handling of
22593 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
22594 <xfq.free@gmail.com> in
22595 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
22596
22597 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
22598
22599 Sync with Tramp 2.2.7.
22600
22601 * net/trampver.el: Update release number.
22602
22603 2013-03-14 Tassilo Horn <tsdh@gnu.org>
22604
22605 * doc-view.el: Fix bug#13887.
22606 (doc-view-insert-image): Don't modify overlay associated to
22607 non-live windows, and implement horizontal centering of image in
22608 case it's smaller than the window.
22609 (doc-view-new-window-function): Force redisplay of new windows on
22610 doc-view buffers.
22611
22612 2013-03-13 Karl Fogel <kfogel@red-bean.com>
22613
22614 * saveplace.el (save-place-alist-to-file): Don't sort
22615 `save-place-alist', just pretty-print it (bug#13882).
22616
22617 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
22618
22619 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
22620 Check whether `default-file-name-coding-system' is bound.
22621 It isn't in XEmacs.
22622
22623 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
22624
22625 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
22626 backquotes for `obsolete' (bug#13929).
22627
22628 * international/mule.el (find-auto-coding): Include file name in
22629 obsolescence warning (bug#13922).
22630
22631 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
22632
22633 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
22634 for CFEngine 3-specific indentation.
22635 (cfengine3-indent-line): Use it. Fix up category regex.
22636 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
22637
22638 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22639
22640 * type-break.el (type-break-file-name):
22641 * textmodes/remember.el (remember-data-file):
22642 * strokes.el (strokes-file):
22643 * shadowfile.el (shadow-initialize):
22644 * saveplace.el (save-place-file):
22645 * ps-bdf.el (bdf-cache-file):
22646 * progmodes/idlwave.el (idlwave-config-directory):
22647 * net/quickurl.el (quickurl-url-file):
22648 * international/kkc.el (kkc-init-file-name):
22649 * ido.el (ido-save-directory-list-file):
22650 * emulation/viper.el (viper-custom-file-name):
22651 * emulation/vip.el (vip-startup-file):
22652 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
22653 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
22654
22655 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
22656
22657 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
22658 * language/thai-word.el: Switch to UTF-8.
22659
22660 See ChangeLog.16 for earlier changes.
22661
22662 ;; Local Variables:
22663 ;; coding: utf-8
22664 ;; End:
22665
22666 Copyright (C) 2011-2014 Free Software Foundation, Inc.
22667
22668 This file is part of GNU Emacs.
22669
22670 GNU Emacs is free software: you can redistribute it and/or modify
22671 it under the terms of the GNU General Public License as published by
22672 the Free Software Foundation, either version 3 of the License, or
22673 (at your option) any later version.
22674
22675 GNU Emacs is distributed in the hope that it will be useful,
22676 but WITHOUT ANY WARRANTY; without even the implied warranty of
22677 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22678 GNU General Public License for more details.
22679
22680 You should have received a copy of the GNU General Public License
22681 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.