]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
international/mule.el (make-translation-table-from-alist): Accept nil or zero-length...
[gnu-emacs] / lisp / ChangeLog
1 2014-12-29 K. Handa <handa@gnu.org>
2
3 * international/mule.el (make-translation-table-from-alist):
4 Accept nil or zero-length vector for FROM and TO.
5
6 2014-12-28 Ivan Shmakov <ivan@siamics.net>
7
8 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
9 elements in tables (bug#19444).
10
11 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
12 (bug#19445).
13
14 2014-12-28 Juri Linkov <juri@linkov.net>
15
16 * vc/compare-w.el: Require diff-mode for diff faces.
17 (compare-windows-removed, compare-windows-added): New faces
18 inheriting from diff faces.
19 (compare-windows): Define obsolete face alias.
20 (compare-windows-highlight): Replace face `compare-windows' with
21 new faces `compare-windows-added' and `compare-windows-removed'
22 (bug#19451).
23 (compare-windows-get-recent-window): Signal an error when
24 no other window is found (bug#19170).
25
26 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
27
28 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
29 Skip features that have no sources.
30
31 * simple.el (execute-extended-command):
32 When `suggest-key-bindings' is nil, don't.
33
34 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
35
36 python.el: Native readline completion.
37
38 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
39 (python-shell-completion-native-enable)
40 (python-shell-completion-native-output-timeout): New defcustoms.
41 (python-shell-completion-native-interpreter-disabled-p)
42 (python-shell-completion-native-try)
43 (python-shell-completion-native-setup)
44 (python-shell-completion-native-turn-off)
45 (python-shell-completion-native-turn-on)
46 (python-shell-completion-native-turn-on-maybe)
47 (python-shell-completion-native-turn-on-maybe-with-msg)
48 (python-shell-completion-native-toggle): New functions.
49 (python-shell-completion-native-get-completions): New function.
50 (python-shell-completion-at-point): Use it.
51
52 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
53
54 python.el: Enhance shell user interaction and deprecate
55 python-shell-get-or-create-process.
56
57 * progmodes/python.el
58 (python-shell-get-process-or-error): New function.
59 (python-shell-with-shell-buffer): Use it.
60 (python-shell-send-string, python-shell-send-region)
61 (python-shell-send-buffer, python-shell-send-defun)
62 (python-shell-send-file, python-shell-switch-to-shell): Use it.
63 Add argument MSG to display user-friendly message when no process
64 is running.
65 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
66 (python-shell-make-comint): Rename argument SHOW from POP. Use
67 display-buffer instead of pop-to-buffer.
68 (run-python): Doc fix. Return process.
69 (python-shell-get-or-create-process): Make obsolete.
70
71 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
72
73 * progmodes/python.el (python-shell-buffer-substring): Handle
74 cornercase when region sent starts at point-min.
75
76 2014-12-27 Eli Zaretskii <eliz@gnu.org>
77
78 * language/misc-lang.el (composition-function-table): Add Syriac
79 characters and also ZWJ/ZWNJ. See
80 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
81 for the details.
82
83 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
84
85 python.el: Fix message when sending region.
86
87 * progmodes/python.el (python-shell-send-region): Rename argument
88 send-main from nomain. Fix message.
89 (python-shell-send-buffer): Rename argument send-main from arg.
90
91 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
92
93 python.el: Cleanup temp files even with eval errors.
94
95 * progmodes/python.el (python-shell-send-file): Make file-name
96 mandatory. Fix temp file removal in the majority of cases.
97
98 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
99
100 python.el: Handle file encoding for shell.
101
102 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
103 (python-shell--save-temp-file): Write file with proper encoding.
104 (python-shell-buffer-substring): Add coding cookie for detected
105 encoding to generated content. Fix blank lines when removing
106 if-name-main block.
107 (python-shell-send-file): Handle file encoding.
108 (python-info-encoding-from-cookie)
109 (python-info-encoding): New functions.
110
111 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
112
113 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
114 Use `tramp-rsh-end-of-line', it ought to be more robust.
115
116 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
117
118 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
119 (bug#19397).
120
121 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
122
123 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
124
125 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
126 as end-of-line delimeter for passwords, when running on MS Windows.
127
128 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
131 of indent-line-function (bug#19433).
132
133 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
134
135 Fix line numbers on Python shell.
136 * progmodes/python.el (python-shell--save-temp-file): Do not
137 append coding cookie.
138 (python-shell-send-string): Generalize for
139 python-shell-send-region.
140 (python--use-fake-loc): Delete var.
141 (python-shell-buffer-substring): Cleanup fake-loc logic.
142 (python-shell-send-region): Remove fake-loc logic, simplify.
143
144 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
145
146 * progmodes/python.el (python-indent-post-self-insert-function):
147 Make colon to re-indent only for dedenters, handling
148 multiline-statements gracefully.
149
150 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
151
152 * net/tramp.el (tramp-handle-insert-file-contents):
153 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
154
155 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
156
157 * net/tramp-sh.el (tramp-send-command-and-read): New optional
158 arg MARKER.
159 (tramp-get-remote-path): Use it.
160
161 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
162
163 * lisp/subr.el (redisplay-dont-pause): Mark as obsolete.
164
165 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
166
167 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
168 (tramp-accept-process-output): Use nil as argument for
169 `accept-process-output', when there is a gateway prepended.
170
171 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
172 wrong debug buffer.
173 (tramp-gw-open-connection): Set process coding system 'binary.
174 (tramp-gw-open-network-stream): Handle HTTP error 403.
175
176 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
177 wrong debug buffer.
178 (tramp-maybe-open-connection): Set connection property "gateway".
179
180 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * subr.el (sit-for): Tweak docstring (bug#19381).
183
184 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
185
186 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
187 stage to after `diff-index' (bug#19386).
188
189 2014-12-27 João Távora <joaotavora@gmail.com>
190
191 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
192 `electric-pair-mode' (bug#19356).
193
194 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
195
196 elisp-xref-find: Don't create buffers eagerly.
197
198 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
199 into `elisp--company-location'.
200 (elisp--identifier-completion-table): Rename to
201 `elisp--identifier-completion-table', and do not include just any
202 symbols with a property list.
203 (elisp-completion-at-point): Revert the 2014-12-25 change.
204 (elisp--xref-identifier-file): New function.
205 (elisp--xref-find-definitions): Use it.
206
207 * emacs-lisp/find-func.el (find-function-library): New function,
208 extracted from `find-function-noselect'.
209
210 * progmodes/xref.el (xref-elisp-location): New class.
211 (xref-make-elisp-location): New function.
212 (xref-location-marker): New implementation.
213
214 2014-12-27 Juri Linkov <juri@linkov.net>
215
216 * minibuffer.el (minibuffer-completion-help):
217 Use shrink-window-if-larger-than-buffer in window-height
218 when temp-buffer-resize-mode is nil.
219
220 * window.el (with-displayed-buffer-window): Remove window-height
221 from the action alist in the temp-buffer-window-show call
222 when window-height is handled explicitly afterwards (bug#19355).
223
224 2014-12-27 Juri Linkov <juri@linkov.net>
225
226 Support subdirectories when saving places in dired.
227 * saveplace.el (toggle-save-place, save-place-to-alist)
228 (save-places-to-alist, save-place-dired-hook):
229 Use dired-current-directory instead of dired-directory (bug#19436).
230 (save-place-dired-hook): Add check for alist to make the new
231 format future-proof to allow other possible formats.
232
233 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
234
235 python.el: Generate clearer shell buffer names.
236
237 * progmodes/python.el (python-shell-get-process-name)
238 (python-shell-internal-get-process-name): Use `buffer-name`.
239 (python-shell-internal-get-or-create-process): Simplify.
240
241 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
242
243 Add basic xref apropos implementation to elisp-mode.
244
245 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
246 Filter out nil results.
247 (elisp--xref-find-apropos): New function.
248 (elisp-xref-find): Use it.
249
250 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
251
252 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
253
254 * dired-aux.el (dired-maybe-insert-subdir): Make
255 dired-maybe-insert-subdir always skip trivial files.
256
257 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
258 Dmitry Gutov <dgutov@yandex.ru>
259
260 Consolidate cross-referencing commands.
261
262 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
263 `C-x 5 .' from etags.el to xref.el.
264
265 * progmodes/xref.el: New file.
266
267 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
268 (elisp--identifier-location): New function, extracted from
269 `elisp--company-location'.
270 (elisp--company-location): Use it.
271 (elisp--identifier-completion-table): New variable.
272 (elisp-completion-at-point): Use it.
273 (emacs-lisp-mode): Set the local values of `xref-find-function'
274 and `xref-identifier-completion-table-function'.
275 (elisp-xref-find, elisp--xref-find-definitions)
276 (elisp--xref-identifier-completion-table): New functions.
277
278 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
279 favor of `xref--marker-ring'.
280 (tags-lazy-completion-table): Autoload.
281 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
282 (find-tag-noselect): Use `xref-push-marker-stack'.
283 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
284 (etags--xref-limit): New constant.
285 (etags-xref-find, etags--xref-find-definitions): New functions.
286
287 2014-12-25 Martin Rudalics <rudalics@gmx.at>
288
289 * cus-start.el (resize-mini-windows): Make it customizable.
290
291 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
292
293 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
294 to (info "(emacs)Contributing"). (Bug#19299)
295
296 2014-12-24 Martin Rudalics <rudalics@gmx.at>
297
298 * window.el (mouse-autoselect-window-position-1): New variable.
299 (mouse-autoselect-window-cancel)
300 (mouse-autoselect-window-select, handle-select-window): With
301 delayed autoselection select window only if mouse moves after
302 selecting its frame.
303
304 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
305
306 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
307 remote file names. (Bug#18782)
308
309 2014-12-23 Sam Steingold <sds@gnu.org>
310
311 * shell.el (shell-display-buffer-actions): New user option.
312 (shell): Pass it to `pop-to-buffer' instead of hard-coding
313 `pop-to-buffer-same-window'.
314
315 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
318 (js-syntax-propertize-regexp): Use it to recognize "slash in
319 a character class" (bug#19397).
320
321 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * completion.el: Use post-self-insert-hook (bug#19400).
324 (completion-separator-self-insert-command)
325 (completion-separator-self-insert-autofilling): Remove.
326 (completion-separator-chars): New var.
327 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
328 of changing the keymap.
329 (completion--post-self-insert): New function.
330 (dynamic-completion-mode): Use it instead of rebinding keys.
331 (cmpl--completion-string): Rename from completion-string.
332 (add-completion-to-head, delete-completion): Let-bind it explicitly.
333
334 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
335
336 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
337 by leveraging `syntax-ppss'.
338
339 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
340
341 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
342
343 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
344
345 * net/tramp-sh.el (tramp-histfile-override): Add :version.
346
347 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
348
349 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
350
351 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
352
353 * let-alist.el (let-alist): Enable access to deeper alists by
354 using dots inside the dotted symbols.
355
356 2014-12-19 Alan Mackenzie <acm@muc.de>
357
358 Make C++11 uniform init syntax work.
359 New keywords "final" and "override"
360 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
361 New function.
362 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
363 new function.
364 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
365 carefully for "are we at a declarator?" using
366 c-back-over-member-initializers.
367 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
368 and "override" in the C++ value.
369
370 2014-12-19 Martin Rudalics <rudalics@gmx.at>
371
372 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
373
374 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
375
376 * net/nsm.el (nsm-save-host): Don't save the host name twice
377 (bug#19269).
378
379 2014-12-18 Sam Steingold <sds@gnu.org>
380
381 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
382 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
383 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
384 * menu-bar.el (menu-bar-buffer-vector): Extract from
385 `menu-bar-update-buffers'.
386 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
387 (buffer-menu-open): New user command, bound globally to C-f10,
388 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
389 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
390 convert the value returned by `mouse-buffer-menu-map' to a list
391 acceptable to `popup-menu' for `buffer-menu-open'.
392
393 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
394
395 * let-alist.el (let-alist): Evaluate the `alist' argument only
396 once.
397
398 2014-12-18 Sam Steingold <sds@gnu.org>
399
400 * emacs-lisp/package.el: Avoid compilation warning by declaring
401 the `find-library-name' function.
402 (package-activate-1): Fix the `with-demoted-errors' calls:
403 the first argument must be a string literal.
404
405 2014-12-18 Martin Rudalics <rudalics@gmx.at>
406
407 Add code for "preserving" window sizes.
408 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
409 `preserve-size' t.
410 (dired-mark-pop-up): Preserve size of window showing marked
411 files.
412 * electric.el (Electric-pop-up-window):
413 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
414 with `preserve-size' t.
415 * minibuffer.el (minibuffer-completion-help): Use
416 `resize-temp-buffer-window' instead of `fit-window-to-buffer'
417 (Bug#19355). Preserve size of completions window.
418 * register.el (register-preview): Preserve size of register
419 preview window.
420 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
421 with `preserve-size' t (Bug#1291).
422 * window.el (with-displayed-buffer-window): Add calls to
423 `window-preserve-size'.
424 (window-min-pixel-size, window--preservable-size)
425 (window-preserve-size, window-preserved-size)
426 (window--preserve-size, window--min-size-ignore-p): New
427 functions.
428 (window-min-size, window-min-delta, window--resizable)
429 (window--resize-this-window, split-window-below)
430 (split-window-right): Amend doc-string.
431 (window--min-size-1, window-sizable, window--size-fixed-1)
432 (window-size-fixed-p, window--min-delta-1)
433 (frame-windows-min-size, window--max-delta-1, window-resize)
434 (window--resize-child-windows, window--resize-siblings)
435 (enlarge-window, shrink-window, split-window): Handle preserving
436 window sizes.
437 (adjust-window-trailing-edge): Handle preserving window
438 sizes. Signal user-error instead of an error when there's no
439 window above or below.
440 (window--state-put-2): Handle horizontal scroll bars.
441 (window--display-buffer): Call `preserve-size' if asked for.
442 (display-buffer): Mention `preserve-size' alist member in
443 doc-string.
444 (fit-window-to-buffer): New argument PRESERVE-SIZE.
445 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
446 scroll bar on ispell's windows. Don't count window lines and
447 don't deal with dedicated windows.
448 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
449 do the window handling.
450 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
451 (ispell-display-buffer): New function to reuse, create and fit
452 window to ispell's buffers. (Bug#3413)
453
454 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
455
456 * emacs-lisp/package.el (package-activate): Do not re-activate or
457 reload the dependencies (bug#19390).
458
459 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
462 (c-update-modeline):
463 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
464 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
465 (c-mode-base-map): Use c-subword-mode.
466
467 2014-12-18 Eli Zaretskii <eliz@gnu.org>
468
469 * international/mule-diag.el (describe-font-internal):
470 Display additional info returned by font-info.
471
472 * linum.el (linum--face-width): Rename from linum--face-height,
473 and use the new functionality of font-info.
474 (linum-update-window): Use linum--face-width and frame-char-width,
475 instead of approximating with height.
476
477 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
478
479 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
480 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
481
482 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
483 and a docstring.
484 (package-activate): Call itself on dependencies on PACKAGE with
485 the same FORCE argument. Pass FORCE as RELOAD into
486 `package-activate-1' (bug#19390).
487
488 2014-12-17 Sam Steingold <sds@gnu.org>
489
490 * emacs-lisp/package.el (package--list-loaded-files):
491 Handle `(nil ...)' elements in `load-history'.
492
493 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
494
495 * net/tramp-sh.el (tramp-histfile-override): New variable.
496 (tramp-open-shell, tramp-maybe-open-connection): Use it.
497
498 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
499
500 * vc/vc.el: Improve `dir-status-files' description.
501
502 * emacs-lisp/package.el (package--list-loaded-files): Don't call
503 file-truename on load-history elements (bug#19390).
504
505 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
506
507 * emacs-lisp/seq.el: New file.
508
509 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
512 is 0 and there is no input pending.
513
514 2014-12-15 Juri Linkov <juri@linkov.net>
515
516 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
517 only on the return value (bug#19383).
518
519 2014-12-15 Juri Linkov <juri@linkov.net>
520
521 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
522 the wrapped search by the length of the search string to be able
523 to lazy-highlight the whole search string at point (bug#19353).
524
525 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
526
527 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
528
529 2014-12-14 Alan Mackenzie <acm@muc.de>
530
531 * lisp/cus-start.el (all): Add fast-but-imprecise-scrolling.
532
533 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
534
535 * let-alist.el: Add lexical binding.
536
537 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
538
539 * emacs-lisp/package.el (package-menu-mode): Use an extra column
540 for the "Version" column, to accomodate date-and-time-based
541 versions.
542
543 2014-12-14 Cameron Desautels <camdez@gmail.com>
544
545 * cus-edit.el (custom-unsaved-options): New function, extracted
546 from `customize-unsaved'.
547 (custom-unsaved): Use it.
548 (custom-prompt-customize-unsaved-options): New function.
549 (Bug#19328)
550
551 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
552
553 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
554
555 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
556
557 Move ASYNC argument to the `diff' VC command to the fifth
558 position, for better compatibility with existing third-party code,
559 and document it.
560
561 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
562 backend `diff' command in the last position.
563
564 * vc/vc-svn.el (vc-svn-diff):
565 * vc/vc-src.el (vc-src-diff):
566 * vc/vc-sccs.el (vc-sccs-diff):
567 * vc/vc-rcs.el (vc-rcs-diff):
568 * vc/vc-mtn.el (vc-mtn-diff):
569 * vc/vc-hg.el (vc-hg-diff):
570 * vc/vc-git.el (vc-git-diff):
571 * vc/vc-dav.el (vc-dav-diff):
572 * vc/vc-cvs.el (vc-cvs-diff):
573 * vc/vc-bzr.el (vc-bzr-diff):
574 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
575
576 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
577
578 * emacs-lisp/cconv.el (cconv--analyze-use):
579 Rename from cconv--analyse-use.
580 (cconv--analyze-function): Rename from cconv--analyse-function.
581 (cconv-analyze-form): Rename from cconv-analyse-form.
582
583 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
584
585 * net/shr.el (shr-next-link): Don't error out at eob.
586
587 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
588
589 * isearch.el (isearch-open-necessary-overlays): Open overlay
590 ending at point (bug#19333).
591
592 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
593
594 * net/shr.el (shr-fold-text): New function.
595 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
596 alt/title texts.
597 (shr-fold-text): Inhibit state from being altered.
598
599 * files.el (directory-files-recursively): Really check whether
600 files are symlinks.
601 (directory-name-p): New function.
602 (directory-files-recursively): Use it.
603
604 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
605
606 * emacs-lisp/package.el (package--list-loaded-files): New function
607 to list files in a given directory which correspond to already
608 loaded files.
609 (package-activate-1): Reload files given by `package--list-loaded-files'.
610 Fix bug#10125, bug#18443, and bug#18448.
611
612 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
613
614 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
615
616 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
617
618 * simple.el (password-word-equivalents): Add "passcode", used for
619 numeric secrets like PINs or RSA tokens.
620
621 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
622
623 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
624 order to determine `tramp-own-remote-path'.
625
626 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
627
628 * progmodes/python.el (python-shell-parse-command):
629 Quote `python-shell-interpreter`. (Bug#19289)
630
631 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
634 (python-indent-levels): Document extra value.
635 (python-indent-calculate-indentation): Return `noindent' in strings.
636 (python-indent-post-self-insert-function)
637 (python-indent-calculate-levels): Handle new value.
638
639 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
640
641 * net/network-stream.el (network-stream-open-starttls): No need to
642 check for the availability of `gnutls-available-p'.
643
644 * files.el (directory-files-recursively): Don't follow symlinks to
645 other directories.
646
647 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
648
649 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
650 * vc/vc.el: latest-on-branch-p is no longer a public method.
651
652 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
653 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
654 Remove `rollback' method, to be replaced in the future by uncommit.
655
656 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
657
658 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
659 that there is empty output.
660
661 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
664 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
665
666 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
667
668 * let-alist.el: Add new package and macro.
669
670 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
671
672 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
673 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
674 it's a shoot-self-in-foot archaism. Workfiles are always kept.
675
676 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
677
678 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
679 trouble with ls over ftp. These flags result in ls returning no
680 output, causing Tramp-breakage. (bug#19192)
681
682 2014-12-10 Andreas Schwab <schwab@suse.de>
683
684 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
685
686 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
687
688 * files.el (directory-files-recursively):
689 Use `file-name-all-completions' instead of `directory-files' for
690 greater speed.
691
692 * net/shr.el (shr-tag-object): Don't bug out on text elements in
693 <object>.
694
695 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
696
697 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
698 and Puppetfile.
699 (ruby-toggle-string-quotes): New command that allows you to quickly
700 toggle between single-quoted and double-quoted string literals.
701
702 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
703
704 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
705 list, avoids problems witt names containing hyphens.
706
707 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
708
709 Sync with upstream verilog-mode revision aa4b777.
710 * progmodes/verilog-mode.el (verilog-mode-version): Update.
711 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
712 (verilog-set-auto-endcomments): Automatically comment property/
713 endproperty blocks to match other similar blocks like sequence/
714 endsequence, function/endfunction, etc. Reported by Alex Reed.
715 (verilog-set-auto-endcomments): Fix end comments for functions of
716 type void, etc. Detect the function- or task-name when
717 auto-commenting blocks that lack an explicit portlist.
718 Reported by Alex Reed.
719 (verilog-nameable-item-re): Fix nameable items that can have an
720 end-identifier to include endchecker, endgroup, endprogram,
721 endproperty, and endsequence. Reported by Alex Reed.
722 (verilog-preprocessor-re, verilog-beg-of-statement):
723 Fix indentation of property/endproperty around pre-processor
724 directives. Reported by Alex Reed.
725 (verilog-label-be): When auto-commenting a buffer, consider
726 auto-comments on all known keywords (not just a subset thereof).
727 Reported by Alex Reed.
728 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
729 Reported by Alex Reed.
730 (verilog-beg-of-statement-1, verilog-at-constraint-p):
731 Fix hanging with many curly-bracket pairs, bug663.
732 (verilog-do-indent): Fix electric tab deleting form-feeds.
733 Note caused by indent-line-to deleting tabls pre 24.5.
734 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
735 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
736 (verilog-read-always-signals, verilog-auto-sense-sigs)
737 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
738 bug844. Reported by Greg Hilton.
739
740 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
741
742 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
743 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
744 'foreach', and 'do' keywords.
745 (verilog-endcomment-reason-re, verilog-beg-of-statement):
746 Fix labeling do-while blocks, bug842.
747 (verilog-backward-token): Fix indenting sensitivity lists with
748 named events, bug840.
749
750 2014-12-09 Reto Zimmermann <reto@gnu.org>
751
752 Sync with upstream vhdl mode v3.36.1.
753 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
754 (vhdl-compiler-alist): Anchor all error regexps.
755 (vhdl-compile-use-local-error-regexp): Change default to nil.
756 (vhdl-asort, vhdl-anot-head-p): Remove.
757 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
758 Remove optional argument of vhdl-aget and update all callers.
759 (vhdl-import-project): Also set `vhdl-compiler'.
760
761 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
762
763 * files.el (find-files): New function.
764
765 * net/shr.el (shr-dom-print): Don't print comments.
766 (shr-tag-svg): Give inline SVG images the right type.
767
768 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
769 certificates in the header line.
770 (eww-invalid-certificate, eww-valid-certificate): New faces.
771
772 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
773
774 * progmodes/python.el (inferior-python-mode):
775 Set `comint-prompt-read-only` to `t` only locally.
776
777 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
778
779 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
780 (nsm-format-certificate): Include more data about the connection.
781 (nsm-query): Fill the text to that it looks nicer.
782 (nsm-check-protocol): Also warn if using SSL3 or older.
783
784 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
787
788 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
789
790 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
791
792 * info.el (Info-mode-map): Remove left-over binding.
793
794 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
795 (avl-tree--root): Remove redundant defsetf.
796
797 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
798
799 * net/nsm.el (network-security-level): Remove the detailed
800 description, which was already outdated, and refer the users to
801 the manual.
802 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
803 (bug#19153).
804
805 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
806
807 * net/eww.el (eww-buffers-mode): New major mode.
808 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
809 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
810 New commands/functions (bug#19131).
811
812 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
813
814 * net/gnutls.el (gnutls-negotiate): Ignore files found via
815 'file-name-handler-alist' since the gnutls library can't use those
816 (bug#15866).
817
818 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
819
820 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
821 when FILES is non-nil (bug#19304).
822
823 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
824
825 * vc/vc-arch.el: Move to obsolete directory so a test framework
826 won't trip over bit-rot in it. There has been no Arch snapshot
827 for nine years.
828
829 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
830
831 * net/eww.el (eww-follow-link): Revert prefix behaviour to
832 previous behavior.
833 (eww-copy-page-url): Add doc string.
834
835 2014-12-07 Ivan Shmakov <ivan@siamics.net>
836
837 * net/eww.el (eww): Move history recording here...
838 (eww-browse-url): ... from here (bug#19253).
839
840 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
841 iterating over possible buffer names.)
842
843 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
844
845 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
846 (eww-current-buffer): Compilation fix for bug#18550 patch.
847
848 2014-12-07 Ivan Shmakov <ivan@siamics.net>
849
850 * net/eww.el (eww-list-histories): Restore the history in the
851 correct buffer (bug#18550).
852
853 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
854
855 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
856 displaying shortened titles first (bug#16398).
857
858 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
859
860 * progmodes/python.el: Recognize docstrings.
861 (python-docstring-at-p, python-font-lock-syntactic-face-function):
862 New functions.
863 (python-mode): Use them.
864
865 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
866
867 * net/newst-treeview.el (newsticker--treeview-list-add-item)
868 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
869 (newsticker--treeview-create-groups-menu)
870 (newsticker--treeview-create-tree-menu): Remove.
871 (newsticker--treeview-tree-open-menu): New.
872 (newsticker-treeview-tree-click): Pass event to
873 `newsticker-treeview-tree-do-click'.
874 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
875
876 2014-12-05 Juri Linkov <juri@linkov.net>
877
878 * comint.el (comint-history-isearch-search)
879 (comint-history-isearch-wrap): Use field-beginning instead of
880 comint-line-beginning-position.
881 (comint-send-input): Go to the end of the field instead of the end
882 of the line to accept whole multi-line input.
883 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
884
885 2014-12-05 Juri Linkov <juri@linkov.net>
886
887 * minibuffer.el (minibuffer-completion-help):
888 Compare selected-window with minibuffer-window to check whether
889 completions should be displayed near the minibuffer. (Bug#17809)
890 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
891
892 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
893
894 * vc/vc-mtn.el (vc-mtn-root):
895 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
896
897 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
900 of the whole pipe when indenting an opening keyword after a |.
901 Generalize this treatment to opening keywords like "while" (bug#18031).
902
903 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * simple.el (newline): Place the hook buffer-locally,
906 to make sure it's first.
907
908 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
909 Fix handling of symbols with different syntax at beginning/end or with
910 symbol rather than word syntax.
911
912 2014-12-05 Eli Zaretskii <eliz@gnu.org>
913
914 * simple.el (line-move): If noninteractive, call line-move-1, not
915 forward-line, since the former is compatible with line-move-visual
916 both in terms of the column to which it moves and the return
917 value. (Bug#19211)
918
919 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * vc/ediff-init.el (ediff-odd-p): Remove.
922 (ediff-background-face): Use cl-oddp instead.
923 (ediff-buffer-live-p): Make it a defsubst.
924
925 * tooltip.el (tooltip-region-active-p): Remove.
926
927 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
928 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
929
930 * fringe.el (fringe-bitmap-p): Make it a plain function.
931
932 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
933 (class-p, generic-p, eieio-object-p, class-abstract-p):
934 Make them defsubst, so as to avoid corner case problems where
935 the arg might be evaluated in the condition-case, or it can't be passed
936 to higher-order functions like `cl-some'.
937
938 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
939
940 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
941 and remove old menu-related code.
942
943 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
944
945 * net/eww.el (eww-display-pdf): Let mailcap determine how to
946 display PDF files (bug#19270).
947
948 2014-12-05 Juri Linkov <juri@linkov.net>
949
950 Compare with the most recent window by default.
951 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
952 (compare-windows-get-recent-window)
953 (compare-windows-get-next-window): New functions.
954 (compare-windows, compare-windows-sync-default-function):
955 Use `compare-windows-get-window-function' instead of `next-window'.
956 (compare-windows): Add diff/match messages with region boundaries.
957 (Bug#19170)
958
959 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
962
963 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
964
965 * net/shr.el (shr--extract-best-source): Ignore non-text children.
966
967 2014-12-04 Eli Zaretskii <eliz@gnu.org>
968
969 Implement copying of a buffer portion while preserving visual order.
970 * simple.el (bidi-directional-controls-chars)
971 (bidi-directional-non-controls-chars): New variables.
972 (squeeze-bidi-context-1, squeeze-bidi-context)
973 (line-substring-with-bidi-context)
974 (buffer-substring-with-bidi-context): New functions.
975
976 * files.el (file-tree-walk): Doc fix.
977
978 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
979 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
980
981 * autoinsert.el (auto-insert-alist): Update C/C++ header and
982 program support to match more extensions. Replace non-alnum
983 characters when generating include guards (headers) and check for
984 more extensions when generating includes (programs)
985 (bug#19254).
986
987 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
988
989 * files.el (file-tree-walk): Fix docstring.
990
991 2014-12-03 Karl Fogel <kfogel@red-bean.com>
992
993 Fix bug whereby saving files hung in VC hook.
994
995 Saving a buffer visiting a file under SVN control would hang if
996 the remote repository were unreachable, because the VC hooks tried
997 to run "svn status -u" on the file, where the "-u" tells svn to
998 get update information from the remote repository.
999 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
1000
1001 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
1002 argument and always pass "-v" to "svn status", never "-u".
1003
1004 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * emacs-lisp/inline.el: Fix up copyright header.
1007 (inline-quote, inline-const-p, inline-const-val, inline-error):
1008 Silence compiler warnings.
1009 (inline-letevals): Fix edebug spec.
1010 (inline--testconst-p): Consider lambda expressions as const-p.
1011 (inline--getconst-val): Use inline--testconst-p.
1012
1013 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
1014 and change default to stay in the minibuffer when called from
1015 the minibuffer (bug#19250).
1016 (lazy-completion-table): Use this new argument to preserve the
1017 old behavior.
1018
1019 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
1020 incorrect lexical elements (bug#19250).
1021
1022 2014-12-03 A. N. Other <none@example.com>
1023
1024 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
1025
1026 2014-12-02 Glenn Morris <rgm@gnu.org>
1027
1028 * whitespace.el (whitespace-big-indent-regexp): Add :version.
1029
1030 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
1031
1032 * subr.el (filter): New macro. Because it's just silly for a Lisp
1033 not to have this in 2014. And VC needs it.
1034
1035 * vc.el: All backends: API simplification: Abolish dir-status.
1036 It's replaced by dir-status-files.
1037
1038 * vc.el: All backends: API simplification: Remove 4th
1039 'default-state' argument from vc-dir-status files and its backend
1040 methods - no backend method ever set it. It was used only in the
1041 fallback method to to set a default of 'up-to-date, though a
1042 convoluted call chain obscured this.
1043
1044 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
1045
1046 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
1047 improving behavior on directories using multiple file-oriented VCSes.
1048
1049 * vc/vc.el: All backends: API simplification; clear-headers
1050 is no longer a public method. It is now local to the one place
1051 it's used, in the RCS steal-lock method.
1052
1053 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1054
1055 * vc/vc.el: In all backends: API simplification; could-register
1056 is no longer a public method. (vc-cvs.el still has a private
1057 implementation.)
1058
1059 * vc/vc.el: In all backends: API cleanup; the backend diff method
1060 takes an explicit async flag. This eliminates a particularly ugly
1061 global.
1062
1063 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
1064 VC randomly/unpredictably fails without it; cause not yet established.
1065
1066 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 Merge some of the differences from the standalone CC-mode.
1069 The main change is to only use the `category' text-property only when
1070 available. For that many calls are changed to use c-get-char-property,
1071 c-next-single-property-change, c-sc-scan-lists,
1072 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
1073
1074 * progmodes/cc-mode.el (c-just-done-before-change): New var.
1075 (c-basic-common-init): Initialize it.
1076 (c-common-init): Only use mode-require-final-newline when available.
1077 (c-before-change): Check and set c-just-done-before-change.
1078 (c-after-change): Re-set c-just-done-before-change.
1079 (c-advise-fl-for-region): New macro.
1080 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
1081 (font-lock-after-change-function, jit-lock-after-change):
1082 Advise if needed.
1083
1084 * progmodes/cc-langs.el (c-modified-constant): New lang var.
1085 (c-known-type-key): Don't make a list just to throw it away.
1086
1087 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
1088 Handle the case where categories are not available.
1089 (c-record-parse-state-state, c-replay-parse-state-state):
1090 Handle marker values.
1091 (c-before-change-check-<>-operators): Look for the `syntax-table'
1092 property rather than for the corresponding `category'.
1093 (c-looking-at-decl-block): Remove unused var
1094 `c-disallow-comma-in-<>-arglists'.
1095 (c-forward-<>-arglist-recur): Remove unused var
1096 `orig-record-found-types'.
1097
1098 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
1099 (c-use-category): New const.
1100 (c-next-single-property-change): New macro.
1101 (c-region-is-active-p): Prefer region-active-p when available.
1102 (c-search-backward-char-property): Fix old min/max typo; probably
1103 a copy/paste error.
1104 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
1105 Turn them into macros that obey c-use-category.
1106 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
1107 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
1108 (c-sc-scan-lists, c-sc-parse-partial-sexp)
1109 (c-looking-at-non-alphnumspace): New macros.
1110 (c-sc-parse-partial-sexp-no-category): New function.
1111 (c-emacs-features): Add `category-properties' element.
1112
1113 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1114 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
1115 not available.
1116 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
1117 (c-indent-line-or-region): Use c-region-is-active-p.
1118
1119 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
1120 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
1121 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
1122 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
1123 (cc-bytecomp-obsolete-fun): Delete unused functions.
1124
1125 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
1126
1127 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1128
1129 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
1130 dom.el changes.
1131
1132 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
1135 current "project" rather than just the current directory.
1136 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
1137 the file names make sense.
1138
1139 * vc/smerge-mode.el (smerge-swap): New command.
1140
1141 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
1142
1143 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
1144
1145 * net/newst-treeview.el (newsticker--treeview-item-show):
1146 Check window liveliness before measuring its width.
1147
1148 * net/newst-backend.el (newsticker--get-news-by-url-callback):
1149 Pass correct status to `newsticker--sentinel-work'.
1150 (newsticker--sentinel-work): Use "newsticker--download-error" as
1151 guid in order to prevent multiple "Could not download..."
1152 messages. Fixes bug#19166.
1153
1154 2014-12-01 Ivan Shmakov <ivan@siamics.net>
1155
1156 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
1157 correct buffer (bug#19225).
1158
1159 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1160
1161 * net/nsm.el (network-security-level): Change the default to `medium'.
1162
1163 * net/eww.el (eww): Leave point in a place that doesn't cause
1164 scrolling when displaying "Loading...".
1165
1166 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1167
1168 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
1169 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
1170 'merge-branch'. Prompting for merge revisions is pushed down to
1171 the back ends; this fixes a layering violation that caused bad
1172 behavior with SVN.
1173
1174 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1175 vc-stay-local-p and repository-hostname are no longer public
1176 methods. Only the CVS and SVN backends used these, and the SVN
1177 support was conditioned out because svn status -v is too slow.
1178 The CVS back end retains this machinery and the vc-stay-local
1179 configuration variable now only affects it.
1180
1181 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * emacs-lisp/inline.el: New file.
1184
1185 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
1186
1187 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1188 vc-state-heuristic is no longer a public method, having been
1189 removed where it is redundant, unnecessary, or known buggy.
1190 This eliminated all backends except CVS. Eliminates bug#7850.
1191
1192 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
1193 Eliminate vc-mistrust-permissions. It was only relevant to the
1194 RCS and SCCS back ends and defaulted to t. Code now always
1195 mistrusts permissions - by actual measurement the effect on
1196 performance is negligible. As a side effect bug#11490 is now
1197 irrelevant.
1198
1199 * vc/vc.el, vc-hooks.el: All backends: API simplification;
1200 vc-workfile-unchanged-p is no longer a public method (but the RCS
1201 and SCCS back ends retain it as a private method used in state
1202 computation). This method was redundant with vc-state and usually
1203 implemented as a trivial call to same. Fixes the failure mode
1204 described in bug#694.
1205
1206 * vc/vc.el: All backends: API simplification; init-revision is
1207 gone, and vc-registered functions no longer take an
1208 initial-revision argument.
1209
1210 2014-11-29 Glenn Morris <rgm@gnu.org>
1211
1212 * vc/vc-src.el (vc-src, vc-src-diff-switches)
1213 (vc-src-master-templates): Fix :version tags.
1214
1215 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
1216
1217 * outline.el (outline-move-subtree-down): Refactor and improve code.
1218
1219 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
1220 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * outline.el (outline-move-subtree-down): Make sure we can move
1223 forward to find the end of the subtree and the insertion point
1224 (bug#19102).
1225
1226 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
1227
1228 * progmodes/python.el (python-shell-completion-setup-code):
1229 Use __builtin__ module (or builtins in Python 3) and catch all errors
1230 when importing readline and rlcompleter.
1231
1232 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
1233
1234 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
1235 (todo-revert-buffer): New function.
1236 (todo-modes-set-1): Use it as the buffer-local value of
1237 revert-buffer-function.
1238
1239 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
1240
1241 * calendar/todo-mode.el (todo-mode): If called interactively, just
1242 display a message saying to call todo-show to enter Todo mode
1243 (Bug#19112).
1244
1245 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
1246
1247 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
1248 (Bug#18579)
1249
1250 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
1251 files. (Bug#18579)
1252
1253 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
1254
1255 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
1256 remote `buffer-file-name'.
1257
1258 2014-11-29 Leo Liu <sdl.web@gmail.com>
1259
1260 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
1261
1262 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
1263
1264 Set PYTHONUNBUFFERED on shell startup.
1265
1266 * progmodes/python.el (python-shell-unbuffered): New var.
1267 (python-shell-calculate-process-environment): Use it.
1268
1269 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
1270
1271 * net/tramp.el (tramp-action-password): Clean password on subsequent
1272 attempts even if there was no wrong password indication. (Bug#19047)
1273
1274 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
1275 fallback.
1276 (tramp-open-connection-setup-interactive-shell): No need to check
1277 for nil as `tramp-get-remote-locale' return value.
1278
1279 2014-11-29 Eli Zaretskii <eliz@gnu.org>
1280
1281 * vc/vc-git.el (vc-git-command, vc-git--call):
1282 Bind coding-system-for-read and coding-system-for-write to
1283 vc-git-commits-coding-system.
1284 (vc-git-previous-revision): Use "~1" instead of "^", since the
1285 latter is a special character for MS-Windows system shells.
1286
1287 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
1288
1289 Improve XEmacs compatibility.
1290
1291 * net/tramp.el (tramp-autoload-file-name-handler):
1292 Wrap `temporary-file-directory' by `symbol-value', it doesn't
1293 exist in XEmacs.
1294 (tramp-read-passwd): Don't use `with-timeout-suspend' and
1295 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
1296 (tramp-time-less-p, tramp-time-subtract): Remove functions.
1297 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
1298 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
1299 * net/tramp-cache.el (tramp-get-file-property):
1300 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
1301 Use `time-less-p' and `time-subtract, respectively.
1302
1303 * net/tramp-adb.el (top): Do not require time-date.el.
1304
1305 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
1306
1307 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1308 Check, whether `utf-8' is a valid coding system.
1309
1310 2014-11-29 Eli Zaretskii <eliz@gnu.org>
1311
1312 * vc/vc.el (vc-retrieve-tag): Doc fix.
1313
1314 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
1317 (bug#19152).
1318
1319 2014-11-28 Martin Rudalics <rudalics@gmx.at>
1320
1321 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
1322 * help.el (help-window-old-frame): New variable.
1323 (help-window-select): Default to nil (Bug#11039).
1324 Rewrite doc-string.
1325 (help-window-setup): When the help window appears on another
1326 frame and `help-window-select' is non-nil, give that frame input
1327 focus too (Bug#19012).
1328 (with-help-window): Store selected frame in
1329 help-window-old-frame.
1330
1331 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
1332
1333 * net/newst-treeview.el (newsticker--treeview-load): Take care of
1334 nil value for `newsticker-groups-filename'.
1335
1336 2014-11-28 Daiki Ueno <ueno@gnu.org>
1337
1338 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1339 (epa-sign-region, epa-encrypt-region):
1340 Use `epg-context-set-{passphrase,progress}-callback', instead of
1341 `setf'. This partially reverts commit 9e48a95c (bug#19150).
1342 Reported by José A. Romero L.
1343
1344 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1345
1346 * net/eww.el (eww-restore-history):
1347 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
1348
1349 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
1350
1351 * net/newst-backend.el (newsticker--parse-atom-1.0):
1352 Handle embedded (x)html in summary node.
1353
1354 2014-11-27 Sam Steingold <sds@gnu.org>
1355
1356 * menu-bar.el (menu-bar-open): When everything else fails,
1357 use (mouse-menu-bar-map).
1358
1359 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
1360
1361 * net/newst-treeview.el (newsticker-groups-filename):
1362 Change default value to nil. Point out that variable is obsolete in doc
1363 string.
1364 (newsticker--treeview-load): Change wording of the questions the
1365 user is asked when `newsticker-groups-filename' is found to be
1366 used and we offer to read and remove the groups file. (Bug#19165)
1367
1368 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1369
1370 * net/eww.el (eww): Record the new URL immediately, so that if the
1371 HTTP fetch fails, we have the right URL in the buffer.
1372 (eww-process-text-input): Don't shorten the input field if
1373 deleting at the last character (bug#19085).
1374 (eww-restore-history): Inhibit change functions while restoring
1375 the history.
1376 (eww-process-text-input): Fix deletion at the start of the field, too.
1377 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
1378 (eww-process-text-input): Try to keep track of the size more reliably.
1379
1380 * dom.el (dom-pp): New function.
1381
1382 2014-11-27 Eli Zaretskii <eliz@gnu.org>
1383
1384 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
1385 Don't assume --long is the default for "bzr log", always specify
1386 it explicitly, in case the user defined an alias for 'log' that
1387 uses some other format.
1388
1389 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1390
1391 * progmodes/python.el (python-eldoc--get-doc-at-point):
1392 Strip shell output before returning. (bug#18794)
1393
1394 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
1395
1396 Fix indentation before `!=' and after `+='. Originally reported
1397 in https://github.com/mooz/js2-mode/issues/174.
1398 * progmodes/js.el (js--indent-operator-re): Make assignments and
1399 (in)equality operator a separate case.
1400 (js--continued-expression-p): Escape the second `+' in the regexp.
1401
1402 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
1405
1406 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1407
1408 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
1409 when querying about new certificates.
1410
1411 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
1412
1413 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
1414 can be strings.
1415 (dom-elements): Protect against non-text nodes.
1416 (dom-non-text-children): New function.
1417
1418 * net/eww.el (eww-tag-title): Use `dom-text'.
1419
1420 2014-11-26 Sam Steingold <sds@gnu.org>
1421
1422 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
1423
1424 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1425
1426 * net/eww.el (eww-highest-readability): More dom.el fixes.
1427
1428 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
1429
1430 * net/newst-backend.el (newsticker--parse-generic-items):
1431 Take care of UIDs when adding elements to cache.
1432
1433 2014-11-26 Alan Mackenzie <acm@muc.de>
1434
1435 Remove spurious reference to symbol category_properties.
1436 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
1437
1438 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1439
1440 * net/eww.el: Use the new dom.el accessors throughout.
1441
1442 * net/shr.el: Ditto.
1443
1444 * dom.el: New file.
1445
1446 2014-11-26 Glenn Morris <rgm@gnu.org>
1447
1448 * arc-mode.el (archive-visit-single-files): Add :version.
1449
1450 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1451
1452 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
1453 elements.
1454 (nsm-warnings-ok-p): The new version of this function always
1455 returned nil when everything was OK.
1456
1457 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
1458
1459 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
1460
1461 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
1462 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
1463
1464 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1465
1466 * emacs-lisp/byte-run.el (function-put): Match argument names to
1467 docstring.
1468
1469 2014-11-24 Sam Steingold <sds@gnu.org>
1470
1471 * vc/vc-hooks.el (vc-directory-exclusion-list):
1472 Fix a trivial typo (bug#19171).
1473
1474 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * vc/vc-hooks.el (vc-state-base-face): Don't override
1477 mode-line-inactive.
1478
1479 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1480
1481 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
1482 (eww-process-text-input): Inhibit read only so that input fields
1483 don't get shortened (bug#19085).
1484
1485 2014-11-24 Leo Liu <sdl.web@gmail.com>
1486
1487 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
1488
1489 * window.el (with-temp-buffer-window)
1490 (with-current-buffer-window, with-displayed-buffer-window):
1491 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
1492 * emacs-lisp/cl-lib.el (substring):
1493 * emacs-lisp/cl-extra.el (cl-getf): Use it.
1494
1495 2014-11-24 Eli Zaretskii <eliz@gnu.org>
1496
1497 * isearch.el (isearch-update): Don't assume
1498 pos-visible-in-window-p will return nil when point is hscrolled
1499 out of view. (Bug#19157)
1500
1501 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
1502
1503 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
1504 (eww-follow-link): Follow in new buffer in case of prefix
1505 argument, open externally with double prefix (bug#19130).
1506
1507 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1508
1509 * net/eww.el (eww-display-html): Decode the document-defined charset.
1510 (eww): Pop to the *eww* buffer immediately after executing the
1511 `M-x eww' command to avoid having buffers pop up later.
1512 (eww-display-html): Don't pop the *eww* buffer.
1513 (eww-display-raw): Ditto.
1514 (eww-display-image): Ditto.
1515 (eww-follow-link): Make going to #targets in the page work again.
1516
1517 2014-11-23 Ivan Shmakov <ivan@siamics.net>
1518
1519 * net/eww.el (eww-suggest-uris): New variable.
1520 (eww-suggested-uris): New function.
1521 (eww): Default to URL under point.
1522 (eww-links-at-point): New function.
1523
1524 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
1525
1526 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
1527
1528 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
1529
1530 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
1531
1532 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1533
1534 * net/eww.el (eww-set-character-encoding): New command and keystroke.
1535 (eww-display-raw): Use it (bug#16225).
1536
1537 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1538
1539 * net/nsm.el (network-security-level): Rename from
1540 `nsm-security-level' and documented.
1541
1542 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
1543 we're sending a password.
1544
1545 * net/nsm.el: New file that implements a Network Security Manager.
1546
1547 * net/network-stream.el (open-network-stream): Add a new
1548 :warn-unless-encrypted parameter.
1549 (network-stream-open-plain): Allow warning unless encrypted.
1550 (network-stream-open-starttls): Call the Network Security Manager.
1551 (network-stream-open-tls): Ditto.
1552
1553 2014-11-23 Leo Liu <sdl.web@gmail.com>
1554
1555 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
1556 (calendar-chinese-to-absolute-for-diary)
1557 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
1558 Handle leap months in Chinese calendar. (Bug#18953)
1559
1560 2014-11-22 Alan Mackenzie <acm@muc.de>
1561
1562 Fix error with `mark-defun' and "protected:" in C++ Mode.
1563 Fixes: debbugs:19134.
1564
1565 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
1566 return code of (label) from c-beginning-of-decl-1.
1567
1568 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
1569
1570 * net/newst-backend.el (newsticker--sentinel-work):
1571 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
1572
1573 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
1576 (tramp-sh-handle-process-file): Propagate `process-environment'.
1577
1578 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
1579 Tramp propagates environment variables now.
1580
1581 2014-11-22 Eric S. Raymond <esr@snark>
1582
1583 * vc/vc-filewise.el: New file to isolate code used only by the
1584 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
1585 live in vc.el and certainly not in vc-hooks.el.
1586
1587 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
1588 This is preparatory to isolating all the 'master' functions
1589 used only by the file-oriented back ends. With this done first,
1590 the substantive diffs will be easier to read.
1591
1592 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1593
1594 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
1595 that is recognized by `help-mode'.
1596
1597 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * desktop.el (desktop-create-buffer): Use activate-mark to set
1600 `mark-active' (bug#19058).
1601
1602 2014-11-21 Eric S. Raymond <esr@snark>
1603
1604 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
1605 nil state.
1606
1607 2014-11-21 Eli Zaretskii <eliz@gnu.org>
1608
1609 * vc/vc.el (vc-deduce-fileset): Support invocation from
1610 *vc-change-log* buffer. (Bug#19084)
1611
1612 2014-11-13 Matthew Leach <matthew@mattleach.net>
1613
1614 * arc-mode.el (archive-visit-single-files): New.
1615 (archive-mode): Visit file if archive contains a single file.
1616 (Bug#1702)
1617
1618 2014-11-21 Ulrich Müller <ulm@gentoo.org>
1619
1620 * vc/vc.el: Fix a typo in the commentary.
1621
1622 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
1623
1624 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
1625 testing and a real log-view mode.
1626
1627 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
1628 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
1629 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
1630 checkout methods; where it matters (which is only in SCCS and RCS)
1631 files are always checked out editable. This may actually have
1632 been dynamically true already - it looks like the vc-next-action
1633 code evolved past visiting the other case. Tested with RCS.
1634
1635 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
1636 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
1637 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
1638 argument from the backend checkin methods. Only the RCS, SCCS,
1639 and CVS back ends tried to do anything with it, and that code was
1640 never exercised. Chiseling away the cruft of decades...
1641
1642 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1643
1644 * net/eww.el (eww-render): Remove a no-op :title setting.
1645
1646 2014-11-19 Ivan Shmakov <ivan@siamics.net>
1647
1648 * net/eww.el (eww-history-limit): New variable.
1649 (eww-save-history): Use it (bug#19105).
1650 (eww-reload): Reload the page in the right buffer.
1651
1652 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1653
1654 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
1655
1656 2014-11-19 Ivan Shmakov <ivan@siamics.net>
1657
1658 * net/eww.el (eww-desktop-remove-duplicates)
1659 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
1660 (eww-mode): Set up desktop mode (bug#18010).
1661 (eww-desktop-data-save, eww-desktop-data-1)
1662 (eww-desktop-history-duplicate, eww-desktop-misc-data)
1663 (eww-restore-desktop): New functions.
1664
1665 2014-11-19 Eli Zaretskii <eliz@gnu.org>
1666
1667 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
1668 correct buffer. (Bug#19101)
1669
1670 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1671
1672 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
1673 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
1674
1675 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
1676
1677 * lisp/ido.el (ido-bury-buffer-at-head): New command.
1678 (ido-buffer-completion-map): Bind it to C-S-b.
1679
1680 2014-11-18 Juri Linkov <juri@linkov.net>
1681
1682 * simple.el (next-line-or-history-element): Wrap next-line
1683 in with-no-warnings.
1684 (previous-line-or-history-element): Wrap previous-line
1685 in with-no-warnings.
1686
1687 2014-11-18 Juri Linkov <juri@linkov.net>
1688
1689 * progmodes/grep.el (grep-compute-defaults):
1690 Compute grep-highlight-matches before its use.
1691
1692 2014-11-18 Juri Linkov <juri@linkov.net>
1693
1694 * replace.el (query-replace-from-to-separator): Turn defvar into
1695 defcustom. Wrap char-displayable-p in ignore-errors because an
1696 attempt to autoload char-displayable-p fails during pre-loading.
1697 Move (propertize "\0" ... 'separator t) out of customizable part
1698 to query-replace-read-from.
1699 (query-replace-read-from): Call custom-reevaluate-setting on
1700 query-replace-from-to-separator to reevaluate the separator
1701 depending on the return value of char-displayable-p.
1702 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
1703
1704 2014-11-18 Juri Linkov <juri@linkov.net>
1705
1706 * bindings.el (minibuffer-local-map): Rebind [down] from
1707 next-history-element to next-line-or-history-element, and [up]
1708 from previous-history-element to previous-line-or-history-element.
1709
1710 * simple.el (next-line-or-history-element)
1711 (previous-line-or-history-element): New commands.
1712 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
1713
1714 2014-11-18 Leo Liu <sdl.web@gmail.com>
1715
1716 * emacs-lisp/nadvice.el (define-advice): New macro.
1717 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1718 Add define-advice.
1719 (lisp-font-lock-keywords-1): Add define-advice.
1720
1721 2014-11-18 Daiki Ueno <ueno@gnu.org>
1722
1723 * epg.el (epg-context): New slot EDIT-CALLBACK.
1724 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
1725 (epg-reset): Reset EDIT-CALLBACK of the context.
1726 (epg-start-edit-key): New function.
1727 (epg-edit-key): New function.
1728
1729 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
1730
1731 Port new time stamp handling to Emacs 23.2.
1732 This fix is for Gnus. Problem reported by Katsumi Yamaoka.
1733 * calendar/time-date.el (time-add, time-subtract, time-less-p):
1734 Use eval-and-compile, not eval-when-compile.
1735
1736 2014-11-18 Daiki Ueno <ueno@gnu.org>
1737
1738 * epg.el (epg-context-set-passphrase-callback)
1739 (epg-context-set-progress-callback): Check if the CALLBACK
1740 argument is a function, instead of a cons.
1741
1742 2014-11-18 Daiki Ueno <ueno@gnu.org>
1743
1744 * epa-file.el (epa-file-insert-file-contents)
1745 (epa-file-write-region): Remove redundant check of
1746 epa-pinentry-mode.
1747 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1748 (epa-sign-region, epa-encrypt-region): Remove redundant check of
1749 epa-pinentry-mode.
1750
1751 2014-11-18 Daiki Ueno <ueno@gnu.org>
1752
1753 * epa-file.el (epa-file-insert-file-contents): Don't show
1754 "*Error*" buffer if input file does not exist.
1755 Reported by Herbert J. Skuhra.
1756
1757 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
1758 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1759
1760 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
1761 An alternative version of the patch from bug#13871.
1762 (c-operators): Add "alignof".
1763 (c-primitive-type-kwds): Add "char16_t", "char32_t".
1764 (c-type-modifier-kwds): Add "constexpr", "noexcept".
1765 (c-modifier-kwds): Add "thread_local".
1766 (c-constant-kwds): Add "nullptr".
1767
1768 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
1769
1770 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
1771 New variables for specifying tildify pattern and representation of
1772 a hard space -- a no-break space by default -- respectively.
1773 Being buffer-local they are much easier to handle than
1774 `tildify-string-alist' and `tildify-pattern-alist' respectively
1775 that have been used so far. They also works better with derived
1776 modes.
1777 (tildify-foreach-region-function): New variable specifying
1778 a function determining portions of buffer that should be
1779 tildified. It allows major modes to create a filtering function
1780 more elaborate than a set of regular expressions. Initialised to
1781 `tildify--deprecated-ignore-evironments' by default to handle now
1782 deprecated `tildify-ignored-environments-alist' variable.
1783 (tildify--foreach-region): A new function that takes
1784 `tildify-foreach-region-function' into account and calls callback
1785 for regions of the buffer that should be tildified.
1786 (tildify-foreach-ignore-environments): A new function which can be
1787 partially applied and used as `tildify-foreach-region-function'.
1788 (tildify-ignored-environments-alist, tildify-pattern)
1789 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
1790 (tildify--find-env): Rename from `tildify-find-env' and mark as
1791 obsolete.
1792 (tildify--deprecated-ignore-evironments): New function,
1793 immediately marked as obsolete, used to handle deprecated
1794 `tildify-ignored-environments-alist'.
1795
1796 * textmodes/tex-mode.el (tex-common-initialization):
1797 Set `tildify-space-string' and `tildify-foreach-region-function'
1798 variables in all variants of TeX mode since `tildify-string-alist'
1799 and `tildify-ignored-environments-alist' are now empty by default.
1800
1801 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
1802 If encoding supports it use no-break space instead of character
1803 entity; this changes previous default which used a numeric
1804 reference.
1805
1806 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
1807 If encoding does not support no-break space, use numeric reference;
1808 this changes previous default which used named entity (“&nbsp;”)
1809 in HTML mode.
1810
1811 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
1812
1813 * calendar/icalendar.el (icalendar-export-alarms):
1814 New customizable variable. (Bug#5433)
1815 (icalendar-export-region): Export alarms as specified in
1816 `icalendar-export-alarms'.
1817 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
1818 New functions for exporting alarms.
1819
1820 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1821
1822 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
1823
1824 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
1825
1826 Port new time stamp handling to old Emacs and to XEmacs.
1827 This is needed for Gnus, which copies time-date.el and which
1828 runs on older Emacs implementations.
1829 * calendar/time-date.el (with-decoded-time-value):
1830 Handle 'nil' and floating-point arg more compatibly with new Emacs.
1831 (encode-time-value, with-decoded-time-value):
1832 Obsolete only if new Emacs.
1833 (time-add, time-subtract, time-less-p): Define if not new Emacs.
1834
1835 Improve time stamp handling, and be more consistent about it.
1836 This implements a suggestion made in:
1837 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
1838 Among other things, this means timer.el no longer needs to
1839 autoload the time-date module.
1840 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
1841 * arc-mode.el (archive-ar-summarize):
1842 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
1843 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
1844 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
1845 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1846 * proced.el (proced-time-lessp):
1847 * timezone.el (timezone-time-from-absolute):
1848 * type-break.el (type-break-schedule, type-break-time-sum):
1849 Simplify by using new functionality.
1850 * calendar/cal-dst.el (calendar-next-time-zone-transition):
1851 Do not return time values in obsolete and undocumented (HI . LO)
1852 format; use (HI LO) instead.
1853 * calendar/time-date.el (with-decoded-time-value):
1854 Treat 'nil' as current time. This is mostly for XEmacs.
1855 (encode-time-value, with-decoded-time-value): Obsolete.
1856 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
1857 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
1858 * ldefs-boot.el: Update to match new time-date.el
1859 * proced.el: Do not require time-date.
1860
1861 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1862
1863 * net/eww.el (eww-mode): Make the buffer read-only.
1864 (eww-form-text): Inhibit read-only-ness in text input fields
1865 (bug#16476).
1866
1867 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * simple.el (execute-extended-command--shorter): Cut search here.
1870 (execute-extended-command): Instead of here.
1871
1872 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1873
1874 * progmodes/python.el (python-mode): Avoid use of set-local to
1875 keep Emacs 24.x compatibility.
1876
1877 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1878
1879 * net/shr.el (shr): Move to the new defgroup `web'.
1880
1881 * net/eww.el (eww): Ditto.
1882
1883 * simple.el (execute-extended-command): Don't show the help
1884 message if the binding isn't significantly shorter than the
1885 M-x command the user typed (bug#19013).
1886
1887 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
1888
1889 * calendar/icalendar.el (icalendar--convert-tz-offset):
1890 Return complete cons when offsets of standard time and daylight saving
1891 time are equal.
1892 (icalendar-export-region): Fix unbound variable warning.
1893
1894 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1895
1896 * progmodes/python.el (run-python): Allow CMD to be optional and
1897 default it to a safe command, even for Windows. (bug#18596)
1898
1899 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1900
1901 * progmodes/python.el (python-shell-calculate-command):
1902 Rename from python-shell-parse-command. Cleanup.
1903 (run-python, run-python-internal): Use it.
1904 (python-shell-calculate-pythonpath): Rename from
1905 python-new-pythonpath.
1906 (python-shell-calculate-process-environment): Use it.
1907 (python-shell-calculate-exec-path): Add comment.
1908
1909 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
1910
1911 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
1912 for date handling.
1913
1914 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
1915
1916 * version.el (emacs-repository-get-version): Use git rev-parse
1917 instead of git log.
1918
1919 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1920
1921 * progmodes/python.el (python-indent-calculate-levels):
1922 Fix indentation behavior multiline dedenter statement. (Bug#18432)
1923
1924 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1925
1926 * progmodes/python.el (python-indent-region):
1927 Use python-indent-line and skip special cases. (Bug#18843)
1928
1929 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
1930
1931 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
1932 envelope-from when reporting through sendmail (bug#19054).
1933
1934 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
1935
1936 Add faces for the VC modeline state indicator.
1937 * vc/vc-hooks.el:
1938 (vc-state-faces, vc-state-base-face)
1939 (vc-up-to-date-state, vc-needs-update-state)
1940 (vc-locked-state, vc-locally-added-state)
1941 (vc-conflict-state, vc-removed-state)
1942 (vc-missing-state, vc-edited-state):
1943 New faces.
1944 (vc-default-mode-line-string): Use them
1945
1946 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1947
1948 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
1949
1950 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1951
1952 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
1953
1954 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
1955
1956 * progmodes/python.el (python-eldoc-setup-code): Enhance string
1957 type checks, simplify printing. (Bug#18962)
1958
1959 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
1960
1961 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1962 (python-shell-font-lock-with-font-lock-buffer)
1963 (python-shell-get-buffer, python-ffap-module-path):
1964 Use `derived-mode-p' instead of equality test on `major-mode'.
1965
1966 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
1967
1968 * progmodes/python.el (python-shell-virtualenv-root): Rename from
1969 python-shell-virtualenv-path.
1970 (python-shell-internal-get-process-name)
1971 (python-shell-calculate-process-environment)
1972 (python-shell-calculate-exec-path): Use it.
1973
1974 2014-11-14 Eli Zaretskii <eliz@gnu.org>
1975
1976 * bindings.el (search-map): Fix last change: don't use 'kbd' in
1977 bindings.el, since it is not yet loaded when bindings.el is
1978 preloaded.
1979
1980 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
1981
1982 * progmodes/python.el (python-shell-completion-get-completions):
1983 Fix previous merge.
1984
1985 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1986
1987 * net/eww.el (eww-render): Don't set the title to the URL.
1988
1989 2014-11-13 Ulrich Müller <ulm@gentoo.org>
1990
1991 * version.el (emacs-repository-get-version): Call `git log'
1992 command with proper format argument (bug#19049).
1993
1994 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1995
1996 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
1997
1998 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1999
2000 * net/eww.el (eww-search-words): New command (bug#16258).
2001
2002 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2003
2004 * net/shr.el (shr-inhibit-images): Add a doc string.
2005
2006 * net/eww.el (eww-after-render-hook): New variable.
2007 (eww-render): Use it.
2008
2009 * net/shr.el (shr-descend): Don't descend further than
2010 `max-specpdl-size' allows (bug#16587).
2011 (shr-depth): New variable.
2012 (shr-warning): New variable.
2013
2014 2014-11-13 Ivan Shmakov <ivan@siamics.net>
2015
2016 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
2017 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
2018
2019 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2020
2021 * net/eww.el (eww): Add comment to clarify.
2022
2023 * net/shr.el (shr-parse-image-data): Remove blocked bits from
2024 external SVG images.
2025 (shr-tag-object): Display images in <object> forms (bug#16244).
2026 (shr-tag-table): Also insert <objects> after the tables.
2027
2028 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
2029
2030 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
2031
2032 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2033
2034 * net/eww.el (eww-form-file): Fix version number.
2035
2036 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2037
2038 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
2039
2040 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2041
2042 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
2043 (eww-submit-file): New key map of file upload.
2044 (eww-form-file): New file upload button and file name context.
2045 (eww-select-file): Select file and display selected file name.
2046 (eww-tag-input): Handle input tag of file type.
2047 (eww-update-field): Add point offset.
2048 (eww-submit): Add submit with multipart/form-data.
2049
2050 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2051
2052 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
2053 Allow taking a buffer to render data in. This allows using several
2054 eww buffers (bug#16211).
2055
2056 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
2057
2058 * net/eww.el (eww-download-callback): Save only the file contents,
2059 not the headers.
2060
2061 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2062
2063 * net/eww.el (eww-data): New plist to store all the data relevant
2064 to a single page, used throughout the file instead of the
2065 variables `eww-current-url', `eww-current-dom',
2066 `eww-current-source', and `eww-current-title'.
2067 (eww-readable): Copy over pertinent data from the parent page.
2068 (eww-save-history): Don't let the history grow infinitely.
2069
2070 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
2071 `eww-up-url', `eww-home-url', `eww-start-url' and
2072 `eww-contents-url' and put the data into the `eww-data' plist.
2073 This allow restoring these values after going back in the history.
2074
2075 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
2076
2077 Allow VTIMEZONE where daylight and standard time zones are equal.
2078 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
2079 * calendar/icalendar.el (icalendar--convert-tz-offset):
2080 Support timezone without daylight saving time.
2081
2082 2014-11-10 Glenn Morris <rgm@gnu.org>
2083
2084 * startup.el (command-line): Handle nil elements in load-path.
2085
2086 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * help.el (view-lossage): Include the actual commands run.
2089
2090 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
2091
2092 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
2093 no state is specified. (Bug#18964)
2094
2095 2014-11-09 Eric Ludlam <zappo@gnu.org>
2096
2097 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2098 Set eieio-cog (current group) to g, which is an improved form of input
2099 group.
2100
2101 2014-11-09 Juri Linkov <juri@jurta.org>
2102
2103 * isearch.el (isearch-message-prefix): Show "Multi-file" and
2104 "Multi-buffer" instead of "Multi". (Bug#13592)
2105
2106 * misearch.el (multi-isearch-file-list):
2107 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
2108 (multi-isearch-end): Reset multi-isearch-buffer-list and
2109 multi-isearch-file-list to nil.
2110
2111 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2114 Don't call byte-compile-preprocess since the result will go through
2115 cconv.
2116 (byte-compile-output-docform): Handle uninterned `name' correctly.
2117 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
2118 to circumvent byte-compiler bug.
2119
2120 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
2121 (macroexp--compiler-macro): Remove left-over debug code.
2122
2123 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
2124
2125 2014-11-08 Juri Linkov <juri@jurta.org>
2126
2127 * simple.el (shell-command): Use buffer-name when output-buffer is
2128 a buffer. (Bug#18096)
2129
2130 2014-11-08 Juri Linkov <juri@jurta.org>
2131
2132 * minibuffer.el (minibuffer-completion-help): Compare this-command
2133 with completion-at-point. (Bug#17809)
2134
2135 2014-11-08 Glenn Morris <rgm@gnu.org>
2136
2137 * emacs-lisp/bytecomp.el (byte-compile-report-error):
2138 Allow the argument to be a string. Due to the vague doc,
2139 it was already being used this way.
2140
2141 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2142
2143 * net/tramp.el (tramp-check-cached-permissions): Include hop in
2144 the constructed Tramp file name. (Bug#18943)
2145
2146 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
2149 (bug#18952).
2150 (cua-set-mark, cua--post-command-handler-1):
2151 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
2152
2153 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2154
2155 * files.el (file-name-non-special): Wrap the call of
2156 `insert-file-contents' by `unwind-protect', in order to set the
2157 buffer's file name anyway. (Bug#18891)
2158
2159 2014-11-08 Alan Mackenzie <acm@muc.de>
2160
2161 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
2162 * progmodes/cc-fonts.el (c-font-lock-declarations):
2163 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
2164 the buffer is sometimes narrowed to less than "limit" (e.g., in
2165 the presence of macros).
2166
2167 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
2168
2169 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
2170 only when message appeared in minibuffer. (Bug#18891)
2171
2172 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
2173 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
2174 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
2175 case of errors.
2176
2177 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2180 Don't compile before eval in `eval-and-compile'.
2181 (byte-compile-arglist-warn): Add check for defining macros after their
2182 first use. Check call use even if the function is fboundp.
2183
2184 2014-11-08 Richard Stallman <rms@gnu.org>
2185
2186 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
2187 Check more carefully for mime-part specified character set.
2188 Check for mime-part Content Transfer Encoding.
2189 Notify if no armor found.
2190
2191 2014-11-08 Martin Rudalics <rudalics@gmx.at>
2192
2193 * faces.el (face-set-after-frame-default): Enable running
2194 `window-configuration-change-hook'.
2195
2196 2014-11-07 Juri Linkov <juri@jurta.org>
2197
2198 * replace.el: History for query replace pairs.
2199 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
2200 (query-replace-from-to-separator): New variable.
2201 (query-replace-read-from): Let-bind query-replace-from-to-history
2202 to a list of FROM-TO strings created from query-replace-defaults
2203 and separated by query-replace-from-to-separator. Use it as
2204 the history while reading from the minibuffer. Split the returned
2205 string by the separator to get FROM and TO parts, and add them
2206 to the history variables.
2207 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
2208 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
2209 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
2210
2211 * isearch.el (isearch-text-char-description): Keep characters
2212 intact and put formatted strings with the `display' property.
2213
2214 2014-11-07 Martin Rudalics <rudalics@gmx.at>
2215
2216 * cus-start.el (frame-resize-pixelwise): Fix group.
2217 (frame-inhibit-implied-resize): Add entry.
2218
2219 2014-11-07 Daiki Ueno <ueno@gnu.org>
2220
2221 * epa.el (epa-pinentry-mode): New user option.
2222 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2223 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
2224 * epa-file.el (epa-file-insert-file-contents)
2225 (epa-file-write-region): Respect epa-pinentry-mode.
2226
2227 2014-11-07 Daiki Ueno <ueno@gnu.org>
2228
2229 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
2230 (bug#18979). Reported by Hideki Saito.
2231
2232 2014-11-06 Daiki Ueno <ueno@gnu.org>
2233
2234 * emacs-lisp/package.el (package--display-verify-error): New function.
2235 (package--check-signature): Use it to display output sent to stderr.
2236
2237 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * subr.el (pop): Don't call the getter twice (bug#18968).
2240
2241 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
2242 uses of `funcall'.
2243
2244 2014-11-06 Daiki Ueno <ueno@gnu.org>
2245
2246 * epa.el (epa-error-buffer): New variable.
2247 (epa-display-error): New function.
2248 (epa-decrypt-file, epa-verify-file, epa-verify-region)
2249 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
2250 (epa-sign-file, epa-sign-region, epa-encrypt-region)
2251 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
2252 Use setf instead of epg-context-set-*.
2253 * epa-file.el (epa-file-insert-file-contents):
2254 Use epa-display-error instead of epa-display-info. Mimic the behavior
2255 of jka-compr when decryption program is not found.
2256 (epa-file-write-region): Use epa-display-error instead of
2257 epa-display-info.
2258
2259 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * vc/vc.el (vc-region-history): New command.
2262 (vc-print-log-internal): Use cl-some.
2263
2264 * vc/vc-git.el (vc-git-region-history): New function.
2265 (vc-git-region-history-mode-map)
2266 (vc-git--log-view-long-font-lock-keywords)
2267 (vc-git-region-history-font-lock-keywords): New vars.
2268 (vc-git-region-history-font-lock): New function.
2269 (vc-git-region-history-mode): New major mode.
2270
2271 2014-11-05 Tassilo Horn <tsdh@gnu.org>
2272
2273 * net/eww.el (subr-x): Require subr-x at compile-time because eww
2274 uses string-trim.
2275
2276 2014-11-05 Daiki Ueno <ueno@gnu.org>
2277
2278 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
2279 (epg-error-output): New buffer-local variable.
2280 (epg--start): Initialize epg-error-output.
2281 (epg--process-filter): Record output lines sent to stderr, in
2282 epg-error-output.
2283 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
2284 slot of context.
2285 * epa-file.el (epa-file-insert-file-contents): On error, display
2286 output sent to stderr.
2287 (epa-file-write-region): Likewise.
2288
2289 2014-11-05 Eli Zaretskii <eliz@gnu.org>
2290
2291 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
2292 returned by load-average.
2293
2294 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
2295
2296 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
2297 a local copy; setting `inhibit-file-name-handlers' proper might be
2298 more performant. (Bug#18751)
2299
2300 2014-11-05 Glenn Morris <rgm@gnu.org>
2301
2302 * mail/emacsbug.el (report-emacs-bug): No longer include
2303 recent-keys in the report. (Bug#18900)
2304
2305 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
2306
2307 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
2308
2309 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2310
2311 * net/eww.el (eww): Trim URL with `string-trim'.
2312 Suggested by Vibhav Pant <vibhavp@gmail.com>.
2313
2314 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2315
2316 * net/eww.el (eww-score-readability): Don't count comments positively.
2317
2318 * net/shr.el (shr-retransform-dom): Typo fix.
2319
2320 * net/eww.el (eww-score-readability): Parse SVC images correctly.
2321 (eww-display-html): Don't leave point inside forms.
2322
2323 * net/shr.el: Ditto.
2324
2325 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
2328 edebug-prin1-to-string already handles circularity.
2329
2330 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
2331 autoloading when specified as a lambda.
2332
2333 * simple.el (execute-extended-command--last-typed): New var.
2334 (read-extended-command): Set it.
2335 Don't complete obsolete commands.
2336 (execute-extended-command--shorter-1)
2337 (execute-extended-command--shorter): New functions.
2338 (execute-extended-command): Use them to suggest shorter names.
2339 (indicate-copied-region, deactivate-mark): Use region-active-p.
2340
2341 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
2342
2343 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
2344 local copy of FILENAME, when it is remote. (Bug#18751)
2345
2346 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
2347 an error when the command fails; the return code must indicate.
2348 (tramp-adb-send-command-and-check): Fix docstring.
2349
2350 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2351
2352 * net/shr.el (shr-retransform-dom): Don't ignore elements that
2353 have no children like <br />.
2354
2355 * net/eww.el (eww-display-html): Clear `url-queue'.
2356 (eww-display-pdf): New function.
2357 (eww-render): Display PDFs with `doc-view'.
2358 (url-queue): Require `url-queue' to avoid compilation warning.
2359 (eww-colorize-region): Remove duplicate function.
2360 (eww-tag-body): Use `shr-colorize-region'.
2361
2362 2014-11-03 Yoni Rabkin <yrk@gnu.org>
2363
2364 * net/eww.el (eww-list-bookmarks): Autoload.
2365
2366 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2367
2368 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
2369
2370 * net/eww.el (eww-display-html): The charset is called `utf-8',
2371 not `utf8'.
2372 (eww-readable): Decode the saved text correctly.
2373 (eww-readable): Save the history before displaying so that we can
2374 go back to the non-readable version.
2375 (eww-display-html): Don't try to decode the text if we've been
2376 passed in a pre-parsed DOM.
2377 (eww-tag-title): Remove newlines and extra whitespace from the
2378 displayed title.
2379
2380 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2381
2382 * net/eww.el (eww-readable): New command and keystroke.
2383
2384 * net/shr.el (shr-retransform-dom): New function.
2385
2386 * net/eww.el (eww-display-html): Set `eww-current-source' in the
2387 correct buffer.
2388 (eww-view-source): Use it.
2389
2390 2014-11-02 Ivan Shmakov <ivan@siamics.net>
2391
2392 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
2393 (Bug#18603).
2394
2395 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
2396
2397 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
2398
2399 2014-11-02 Ivan Shmakov <ivan@siamics.net>
2400
2401 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
2402
2403 2014-11-02 Ivan Shmakov <ivan@siamics.net>
2404
2405 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
2406 (Bug#18834).
2407
2408 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
2409
2410 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
2411 use as advice.
2412 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
2413
2414 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2415
2416 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
2417 (bug#18821).
2418 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
2419
2420 2014-11-01 Michael R. Mauger <michael@mauger.com>
2421
2422 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
2423 syntax, add new keywords, and parse longer keywords first.
2424 (sql-redirect-one): Protect against empty command.
2425 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
2426 to SQL. (Bug#14759)
2427
2428 2014-11-01 Michael R. Mauger <michael@mauger.com>
2429
2430 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
2431 Bug#16814 with let-bind of comint-input-ring variables around read
2432 and save functions.
2433
2434 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
2435
2436 * net/tramp-cache.el (tramp-get-file-property)
2437 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
2438 and `tramp-cache-set-count-*' are bound. Otherwise, there might
2439 be compiler warnings.
2440
2441 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
2442 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
2443
2444 2014-11-01 Eli Zaretskii <eliz@gnu.org>
2445
2446 * progmodes/compile.el (compilation-mode): Turn off deferred
2447 fontifications locally. (Bug#18856)
2448
2449 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
2450
2451 * net/tramp-sh.el (tramp-send-command): Fix the case where the
2452 remote-echo connection property is non-nil (bug#18858).
2453
2454 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * simple.el (newline): Add assertions to try and help catch bug#18913.
2457
2458 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
2459 (bug#18886).
2460 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
2461
2462 2014-11-01 Kim F. Storm <storm@cua.dk>
2463
2464 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
2465 * delsel.el (delete-selection-save-to-register)
2466 (delsel--replace-text-or-position): New vars.
2467 (delete-active-region): Use them.
2468 (delete-selection-repeat-replace-region): New command, moved from
2469 cua-base.el.
2470 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
2471 (cua-repeat-replace-region): Move command to delsel.el.
2472 (cua--init-keymaps): Update binding accordingly.
2473 (cua-mode): Set delete-selection-save-to-register.
2474
2475 2014-11-01 Alan Mackenzie <acm@muc.de>
2476
2477 Make blink-parens work with a closing template delimiter.
2478 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
2479 before calling blink-paren-function, so as to apply syntax-table
2480 properties to the ">".
2481
2482 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
2483
2484 * select.el (gui-get-selection): Comment: data-type ignored on NS.
2485
2486 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
2489 (macroexp--expand-all): Unrelated tweaks.
2490
2491 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
2492
2493 2014-10-30 Glenn Morris <rgm@gnu.org>
2494
2495 * startup.el (command-line): Remove pointless attempt to avoid
2496 statting the file-system (which expand-file-name doesn't do).
2497
2498 2014-10-30 Daniel Colascione <dancol@dancol.org>
2499
2500 Add "enum class" support to C++ mode.
2501 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
2502 (c-after-brace-list-key): New language consts/variables.
2503 * progmodes/cc-engine.el (c-looking-at-decl-block):
2504 Exclude spurious match of "enum struct" from decl-block recognition.
2505 (c-backward-colon-prefixed-type): New function.
2506 (c-backward-over-enum-header): Call above function to extend
2507 recognition of enum structure.
2508
2509 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
2512 (c-lang-defconst):
2513 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
2514
2515 2014-10-30 Eli Zaretskii <eliz@gnu.org>
2516
2517 * progmodes/compile.el (compilation-start):
2518 If compilation-scroll-output is non-nil, don't force window-start of
2519 the compilation buffer to be at beginning of buffer. (Bug#18874)
2520
2521 * startup.el (fancy-about-text): Read the entire tutorial, not
2522 just its first 256 bytes. (Bug#18760)
2523
2524 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
2527 * emacs-lisp/cl-extra.el: Add missing provide.
2528
2529 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
2530 all args are copyable (bug#18767).
2531 (=, <, >, <=, >=): Re-enable the optimization.
2532
2533 2014-10-29 Glenn Morris <rgm@gnu.org>
2534
2535 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
2536
2537 * version.el (emacs-bzr-version, emacs-bzr-get-version):
2538 Revert 2014-10-26 change.
2539
2540 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
2541
2542 Simplify use of current-time and friends.
2543 * allout-widgets.el (allout-widgets-hook-error-handler):
2544 * calendar/appt.el (appt-display-message):
2545 * calendar/icalendar.el (icalendar--convert-float-to-ical):
2546 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
2547 (timeclock-last-period, timeclock-day-base):
2548 * eshell/em-ls.el (eshell-ls-file):
2549 * eshell/esh-util.el (eshell-parse-ange-ls):
2550 * generic-x.el (named-database-print-serial):
2551 * net/newst-backend.el (newsticker--get-news-by-url-callback)
2552 (newsticker-get-news, newsticker--sentinel-work)
2553 (newsticker--image-get, newsticker--image-sentinel):
2554 * net/tramp-sh.el (tramp-get-remote-touch):
2555 * progmodes/opascal.el (opascal-debug-log):
2556 * textmodes/remember.el (remember-mail-date)
2557 (remember-store-in-files):
2558 * vc/vc-annotate.el (vc-annotate-display-autoscale)
2559 (vc-default-annotate-current-time):
2560 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
2561 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
2562 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
2563 Omit unnecessary call to current-time.
2564 * calendar/time-date.el (time-to-seconds) [!float-time]:
2565 * vc/vc-annotate.el (vc-annotate-convert-time):
2566 Use current time if arg is nil, to be compatible with float-time.
2567 (time-date--day-in-year): New function, with most of the guts of
2568 the old time-to-day-in-year.
2569 (time-to-day-in-year): Use it.
2570 (time-to-days): Use it, to avoid decoding the same time stamp twice.
2571 * calendar/timeclock.el (timeclock-time-to-date):
2572 Arg is now optional, like current-time-string.
2573 (timeclock-update-mode-line):
2574 Don't call current-time twice to get the current time stamp,
2575 as this can lead to inconsistent results.
2576 * completion.el (cmpl-hours-since-origin):
2577 * ido.el (ido-time-stamp):
2578 * vc/vc-annotate.el (vc-annotate-convert-time):
2579 Simplify by using float-time.
2580 * completion.el (save-completions-to-file):
2581 Rename local var to avoid confusion.
2582 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
2583 time-to-seconds now behaves like float-time with respect to nil arg.
2584 * subr.el (progress-reporter-do-update):
2585 Don't call float-time unless needed.
2586
2587 2014-10-29 Leo Liu <sdl.web@gmail.com>
2588
2589 * net/rcirc.el (rcirc-fill-column): Use function.
2590 (rcirc-markup-fill): Remove adjustment.
2591
2592 2014-10-28 Christopher Schmidt <ch@ristopher.com>
2593
2594 * calc/calc.el (quick-calc):
2595 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
2596
2597 2014-10-28 Sam Steingold <sds@gnu.org>
2598
2599 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
2600 the sake of `window-body-width' (in addition to `frame-width').
2601
2602 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
2603
2604 * version.el: Fix some fallback values to conform to the actual
2605 release number.
2606
2607 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
2608
2609 * Makefile.in: Change some production names so they're neutral
2610 about the repository type.
2611
2612 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
2613
2614 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
2615 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
2616 during initialization. (Bug#18774)
2617
2618 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
2619
2620 * ses.el (macroexp): Add require for this package, so that
2621 function `ses--cell' gets macroexp-quote --- this change was
2622 supposed to be in my previous commit, but left out by mistake.
2623 (ses--cell): Do not make formula a macroexp-quote of value when
2624 value, not formula, is *skip*.
2625
2626 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2627
2628 * ses.el (macroexp): Add require for this package, so that function
2629 `ses--cell gets macroexp-quote.
2630 (ses--cell): Makes formula a macroexp-quote of value when formula
2631 is nil. The rationale of this changr is to allow in the future
2632 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
2633 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
2634 reference list REFLIST would be re-computed after load --- thus
2635 trading off load time against file size.
2636
2637 * emacs-lisp/package.el (package--alist-to-plist-args):
2638 Use macroexp-quote instead of a lambda expression which has the same
2639 content as macroexp-quote.
2640 (macroexp): Add require for this package, so that function
2641 `package--alist-to-plist-args' gets macroexp-quote.
2642
2643 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
2644
2645 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * term/ns-win.el (ns-store-cut-buffer-internal)
2648 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
2649
2650 2014-10-24 Martin Rudalics <rudalics@gmx.at>
2651
2652 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
2653 Calculate increment from last position instead of window edge.
2654 Add right- and bottom-divider bindings to transient map.
2655
2656 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
2659 even if :predicate was nil, for the benefit of typep.
2660 Record the name of the predicate for typep's use.
2661 (cl--make-type-test): Use pcase. Obey new
2662 cl-deftype-satisfies property.
2663
2664 * epg.el: Use cl-defstruct.
2665 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
2666 (epg-data-string): Define via cl-defstruct.
2667 (epg--gv-nreverse): New macro.
2668 (epg-context--make): New constructor (provided vi cl-defstruct).
2669 (epg-make-context): Rewrite using it.
2670 (epg-context-protocol, epg-context-program)
2671 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
2672 (epg-context-include-certs, epg-context-cipher-algorithm)
2673 (epg-context-digest-algorithm, epg-context-compress-algorithm)
2674 (epg-context-passphrase-callback, epg-context-progress-callback)
2675 (epg-context-signers, epg-context-sig-notations, epg-context-process)
2676 (epg-context-output-file, epg-context-result, epg-context-operation)
2677 (epg-context-pinentry-mode): Define using cl-defstruct.
2678 (epg-context-set-protocol, epg-context-set-program)
2679 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
2680 (epg-context-set-digest-algorithm)
2681 (epg-context-set-sig-notations, epg-context-set-process)
2682 (epg-context-set-output-file, epg-context-set-result)
2683 (epg-context-set-operation, epg-context-set-pinentry-mode)
2684 (epg-context-set-compress-algorithm): Remove. Use setf instead.
2685 (epg-context-set-armor, epg-context-set-textmode)
2686 (epg-context-set-signers): Redefine using setf
2687 and declare as obsolete.
2688 (epg-context-set-passphrase-callback)
2689 (epg-context-set-progress-callback): Use setf.
2690 (epg-signature-notations): Rename from epg-sig-notations.
2691 (epg-make-signature, epg-signature-status, epg-signature-key-id)
2692 (epg-signature-validity, epg-signature-fingerprint)
2693 (epg-signature-creation-time, epg-signature-expiration-time)
2694 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
2695 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
2696 (epg-signature-set-status, epg-signature-set-key-id)
2697 (epg-signature-set-validity, epg-signature-set-fingerprint)
2698 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
2699 (epg-signature-set-pubkey-algorithm)
2700 (epg-signature-set-digest-algorithm, epg-signature-set-class)
2701 (epg-signature-set-version, epg-signature-set-notations): Remove.
2702 Use setf instead.
2703 (epg-make-new-signature, epg-new-signature-type)
2704 (epg-new-signature-pubkey-algorithm)
2705 (epg-new-signature-digest-algorithm, epg-new-signature-class)
2706 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
2707 Define using cl-defstruct.
2708 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
2709 (epg-key-user-id-list): Define using cl-defstruct.
2710 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
2711 Use setf instead.
2712 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
2713 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
2714 (epg-sub-key-id, epg-sub-key-creation-time)
2715 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
2716 cl-defstruct.
2717 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
2718 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
2719 (epg-user-id-signature-list): Define using cl-defstruct.
2720 (epg-user-id-set-signature-list): Remove. Use setf instead.
2721 (epg-make-key-signature, epg-key-signature-validity)
2722 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
2723 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
2724 (epg-key-signature-user-id, epg-key-signature-class)
2725 (epg-key-signature-exportable-p): Define using cl-defstruct.
2726 (epg-make-sig-notation, epg-sig-notation-name)
2727 (epg-sig-notation-value, epg-sig-notation-human-readable)
2728 (epg-sig-notation-critical): Define using cl-defstruct.
2729 (epg-sig-notation-set-value): Remove. Use setf instead.
2730 (epg-make-import-status, epg-import-status-fingerprint)
2731 (epg-import-status-reason, epg-import-status-new)
2732 (epg-import-status-user-id, epg-import-status-signature)
2733 (epg-import-status-sub-key, epg-import-status-secret): Define using
2734 cl-defstruct.
2735 (epg-make-import-result, epg-import-result-considered)
2736 (epg-import-result-no-user-id, epg-import-result-imported)
2737 (epg-import-result-imported-rsa, epg-import-result-unchanged)
2738 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
2739 (epg-import-result-new-signatures, epg-import-result-new-revocations)
2740 (epg-import-result-secret-read, epg-import-result-secret-imported)
2741 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
2742 (epg-import-result-imports): Define using cl-defstruct.
2743
2744 * emacs-lisp/package.el: Require EPG during macroexpansion.
2745 (package--check-signature, package-import-keyring): Use setf instead of
2746 epg-context-set-home-directory.
2747
2748 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
2751
2752 2014-10-23 Leo Liu <sdl.web@gmail.com>
2753
2754 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
2755 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
2756 (cfengine3-current-defun): New function.
2757 (cfengine3-mode): Set add-log-current-defun-function.
2758
2759 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2760
2761 * select.el: Use lexical-binding.
2762 (gui-set-selection): Provide an implementation for non-GUI frames
2763 (bug#18791).
2764 * term/x-win.el: Use lexical-binding.
2765 (x-clipboard-yank): Fix up missed renamings.
2766 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
2767 (w32--set-selection): Fix up var names.
2768 * term/pc-win.el: Use lexical-binding.
2769 (w16-selection-exists-p): Silence compiler warning.
2770 (w16-selection-owner-p): Fix up missed renamings.
2771
2772 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
2773
2774 * frame.el (frame-notice-user-settings): Fix excessive quoting.
2775
2776 2014-10-22 Tassilo Horn <tsdh@gnu.org>
2777
2778 * doc-view.el (doc-view-open-text): View the document's plain text
2779 in the current buffer instead of a new one.
2780 (doc-view-toggle-display): Handle the case where the current
2781 buffer contains the plain text contents of the document.
2782 (doc-view-initiate-display): Don't switch to fallback mode if the
2783 user wants to view the doc's plain text.
2784 (doc-view-set-doc-type): Use assoc-string instead of
2785 assoc-ignore-case.
2786
2787 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * subr.el (read-key): Fix clicks on the mode-line.
2790 (set-transient-map): Return exit function.
2791
2792 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
2793 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
2794 (mouse-yank-secondary): Use gui-get-selection.
2795 (mouse--down-1-maybe-follows-link): Use read-key.
2796
2797 * xt-mouse.el: Add `event-kind' property on the fly from
2798 xterm-mouse-translate-1 rather than statically at the outset.
2799
2800 2014-10-21 Daniel Colascione <dancol@dancol.org>
2801
2802 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
2803 change window configuration when we turn it off.
2804
2805 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 Get rid of backend-dependent selection-handling functions for kill/yank
2808 and make it generic instead by relying on the lower-level selection
2809 management functions.
2810
2811 * select.el (select-enable-clipboard): Rename from
2812 gui-select-enable-clipboard.
2813 (select-enable-primary): Move from x-win.el and rename from
2814 x-select-enable-primary.
2815 (gui-last-selected-text): Remove.
2816 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
2817 New vars.
2818 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
2819 (gui-select-text-alist, gui-selection-value-alist): Remove.
2820 (x-select-request-type): Move from x-win.el.
2821 (gui--selection-value-internal): New function, taken from x-win's
2822 x-selection-value-internal.
2823 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
2824 (gui-set-selection-alist): Rename from gui-own-selection-alist and
2825 extend it to handle a nil value as a "disown" request.
2826 (gui-disown-selection-alist): Remove.
2827 (xselect-convert-to-delete): Adjust accordingly.
2828 (gui-set-selection): Simplify accordingly as well. Use dotimes.
2829
2830 * term/x-win.el (x-last-selected-text-primary)
2831 (x-select-enable-primary): Remove (moved to select.el).
2832 (x-select-request-type): Move to select.el.
2833 (x-selection-value-internal, x--selection-value): Remove functions.
2834 (gui-selection-value, gui-select-text): Remove moethods.
2835 (gui-set-selection): Merge own and disown methods.
2836
2837 * term/w32-win.el (w32--select-text, w32--get-selection-value):
2838 Delete function (move functionality into w32--set-selection and
2839 w32--get-selection).
2840 (gui-select-text, gui-selection-value): Don't define methods.
2841 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
2842 New functions.
2843 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
2844 Use them.
2845 (gui-selection-exists-p): Adjust to new name of C primitive.
2846
2847 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
2848 test of gui-select-enable-clipboard, to make it usable as
2849 a gui-get-selection method.
2850 (gui-selection-exists-p): Adjust to new name of C primitive.
2851 (gui-set-selection): Merge own and disown methods.
2852 (gui-select-text, gui-selection-value): Delete methods.
2853 (w16--select-text): Delete function.
2854
2855 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
2856 (ns-selection-value): Remove functions.
2857 (gui-select-text, gui-selection-value): Don't define method any more.
2858 (gui-set-selection): Merge the old own and disown methods.
2859 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
2860 underlying C primitive.
2861
2862 * startup.el (command-line): Adjust now that `gui-method' expects nil
2863 for ttys.
2864
2865 * frame.el (gui-method): Use window-system rather than framep.
2866 (gui-method-declare): The tty case is now nil rather than t.
2867 (make-frame): Adjust accordingly.
2868
2869 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * net/newst-reader.el (newsticker--image-read): Simplify.
2872 (newsticker--icon-read): Use dolist and fix free var error.
2873
2874 * imenu.el (imenu--menubar-keymap): New var.
2875 (imenu-add-to-menubar): Set it to remember the keymap we used.
2876 (imenu-update-menubar): Use it instead of asking lookup-key.
2877
2878 * obsolete/cc-compat.el: Make obsolete (bug#18561).
2879
2880 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
2881
2882 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
2883 case (bug#18767).
2884
2885 2014-10-21 Glenn Morris <rgm@gnu.org>
2886
2887 * Merge in all changes up to version 24.4 release.
2888
2889 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
2892 case (bug#18767).
2893
2894 2014-10-20 Glenn Morris <rgm@gnu.org>
2895
2896 * Merge in all changes up to 24.4 release.
2897
2898 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
2899
2900 * net/newst-backend.el
2901 (newsticker--image-download-by-url-callback): Make this function
2902 actually work: Check status properly, then save image.
2903
2904 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
2905
2906 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
2907 `this-event'.
2908 (mouse-drag-line): Unless there's no actual mouse, use the event's
2909 position info.
2910
2911 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * textmodes/css-mode.el (scss-mode): New major-mode.
2914 (css-mode-syntax-table): Use d style comment, to ease the scss case.
2915 (css-ident-re): Allow things like @-moz-keyframes.
2916 (scss--hash-re): New const.
2917 (css--font-lock-keywords): New function, extracted from
2918 css-font-lock-keywords.
2919
2920 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
2921
2922 * net/newst-backend.el: Require url-parse.
2923 (newsticker--get-news-by-wget): Store feed name as process property.
2924 (newsticker--sentinel): Read feed name from process property.
2925 (newsticker--sentinel-work): Rename argument name to feed-name.
2926 Rename variable imageurl to image-url. Pick icon url from Atom
2927 1.0 data. Launch download of feed icon.
2928 (newsticker--get-icon-url-atom-1.0): New.
2929 (newsticker--unxml)
2930 (newsticker--unxml-node)
2931 (newsticker--unxml-attribute): Documentation.
2932 (newsticker--icons-dir): New.
2933 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
2934 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
2935 (newsticker--image-download-by-wget): New. Use process properties
2936 for storing informations.
2937 (newsticker--image-sentinel): Read informations from process properties.
2938 (newsticker--image-save)
2939 (newsticker--image-remove)
2940 (newsticker--image-download-by-url)
2941 (newsticker--image-download-by-url-callback): New.
2942 (newsticker-opml-export): Handle url list entries containing a
2943 function instead of an url string.
2944
2945 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
2946 (newsticker--print-extra-elements)
2947 (newsticker--do-print-extra-element):
2948 Documentation (newsticker--image-read): Optionally limit image height.
2949 Use imagemagick if possible.
2950 (newsticker--icon-read): New.
2951
2952 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
2953 (newsticker--treeview-tree-expand): Use feed icons in treeview.
2954 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
2955 (newsticker--tree-widget-leaf-icon): Use feed icon.
2956
2957 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
2960 Use help-function-arglist instead.
2961
2962 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
2963 (eieio--with-scoped-class): Use `declare'.
2964 (eieio-defclass): Remove compatibility code.
2965 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
2966 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
2967
2968 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
2969
2970 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
2971
2972 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
2973 replacements to stock names before stock names in a list.
2974 Cdr may be a list, each name is tried in turn until one is found.
2975
2976 2014-10-18 Alan Mackenzie <acm@muc.de>
2977
2978 Check that a "macro" found near point-min isn't a ## operator.
2979 Fixes bug #18749.
2980 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
2981 (c-beginning-of-macro): Use the above new function.
2982
2983 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
2984
2985 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
2986 correct data to `gnutls-boot' (Bug#18664).
2987 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
2988
2989 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
2990
2991 * whitespace.el (whitespace-style, whitespace-big-indent)
2992 (whitespace-big-indent-regexp, whitespace-style-value-list)
2993 (whitespace-toggle-option-alist, whitespace-interactive-char)
2994 (whitespace-toggle-options)
2995 (global-whitespace-toggle-options, whitespace-help-text)
2996 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
2997 style to `whitespace-mode' to indicate that the line indentation
2998 is too deep. By default, 32 SPACEs or four TABs are considered
2999 too many but `whitespace-big-indent-regexp' can be configured.
3000
3001 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
3002
3003 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
3004 tildify-mode-alist.
3005
3006 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
3009 (defclass, defgeneric, defmethod): Add doc-string position.
3010 (with-slots): Require cl-lib.
3011
3012 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
3013 (list-of): New type.
3014 (eieio--typep): Remove.
3015 (eieio-perform-slot-validation): Use cl-typep instead.
3016
3017 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
3018
3019 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
3020
3021 2014-10-16 Alan Mackenzie <acm@muc.de>
3022
3023 Trigger showing when point is in the "periphery" of a line or just
3024 inside a paren.
3025 * paren.el (show-paren-style, show-paren-delay)
3026 (show-paren-priority, show-paren-ring-bell-on-mismatch):
3027 Remove superfluous :group specifications.
3028 (show-paren-when-point-inside-paren)
3029 (show-paren-when-point-in-periphery): New customizable variables.
3030 (show-paren-highlight-openparen): Make into a defcustom.
3031 (show-paren--unescaped-p, show-paren--categorize-paren)
3032 (show-paren--locate-near-paren): New defuns.
3033 (show-paren--default): Refaactor and trigger on more paren
3034 positions.
3035 (show-paren-function): Small consequential changes.
3036
3037 2014-10-16 Tom Tromey <tom@tromey.com>
3038
3039 * files.el (auto-mode-alist): Use javascript-mode for .jsm
3040 (bug #18719).
3041
3042 2014-10-16 Eli Zaretskii <eliz@gnu.org>
3043
3044 * international/characters.el (bracket-type): Force pre-loading of
3045 uni-brackets.el.
3046
3047 2014-10-16 Alan Mackenzie <acm@muc.de>
3048
3049 * cus-edit.el (custom-command-apply): Specify the return value in
3050 the doc string.
3051 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
3052 custom-command-apply has returned non-nil.
3053
3054 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3055
3056 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
3057 Remove incorrect handling of eldoc-print-after-edit.
3058 (eldoc-message-commands, eldoc-last-data): Use defvar.
3059 * loadup.el (emacs-lisp/eldoc): Load it.
3060
3061 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
3062 (m4-mode): Use it.
3063 (m4--quoted-p): New function.
3064 (m4-font-lock-keywords): Don't handle #..\n comments any more.
3065 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
3066 for most special characters.
3067
3068 * progmodes/compile.el (compilation--previous-directory): Simplify.
3069 (compilation-next-error): Ensure the parse before we look at
3070 compilation-message property.
3071
3072 2014-10-15 Eli Zaretskii <eliz@gnu.org>
3073
3074 * simple.el (what-cursor-position):
3075 * descr-text.el (describe-char): Update to support the new bidi
3076 characters.
3077
3078 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
3079 Force bidi-paragraph-direction to 'left-to-right'. This fixes
3080 buffer-menu display when the first buffer happens to start with
3081 R2L letter.
3082
3083 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * progmodes/elisp-mode.el (elisp--local-variables-1):
3086 Handle quoted expressions (bug#18688).
3087
3088 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
3089 Michael Albinus <michael.albinus@gmx.de>
3090
3091 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3092 Reduce the amount of set environment variable commands.
3093
3094 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3095
3096 Fix import completion. (Bug#18582)
3097 * progmodes/python.el (python-shell-completion-get-completions):
3098 Fix import case regexp.
3099
3100 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
3103 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
3104 * progmodes/prolog.el (prolog-electric--underscore): Same.
3105
3106 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
3107
3108 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
3109
3110 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
3111
3112 * cus-start.el (all): Add missing ns and boolean to
3113 ns-use-fullscreen-animation.
3114
3115 2014-10-11 Leo Liu <sdl.web@gmail.com>
3116
3117 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
3118 Use strings.
3119 (cfengine3-create-imenu-index): New function.
3120 (cfengine3-mode): Use it for `imenu-create-index-function'.
3121 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
3122 buffer is empty.
3123
3124 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
3125
3126 * cus-start.el (all): Add ns-use-fullscreen-animation.
3127
3128 2014-10-11 Glenn Morris <rgm@gnu.org>
3129
3130 * calendar/diary-lib.el (diary-display-function):
3131 Drop support for deprecated nil and list forms.
3132 (diary-list-entries): Update for the above.
3133 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
3134
3135 2014-10-10 Leo Liu <sdl.web@gmail.com>
3136
3137 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
3138 (Bug#18656)
3139
3140 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * select.el (gui-selection-exists-p-alist): New method.
3143 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
3144 * simple.el (deactivate-mark): Use it.
3145 * term/x-win.el (gui-selection-exists-p):
3146 * term/w32-win.el (gui-selection-exists-p):
3147 * term/pc-win.el (gui-selection-exists-p):
3148 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
3149
3150 2014-10-10 Glenn Morris <rgm@gnu.org>
3151
3152 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
3153 Fix :type. Allow t to mean no limit.
3154 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
3155
3156 2014-10-09 Glenn Morris <rgm@gnu.org>
3157
3158 * frame.el (display-monitor-attributes-list): Doc tweaks.
3159
3160 2014-10-09 Eli Zaretskii <eliz@gnu.org>
3161
3162 * faces.el (display-grayscale-p): Mention in the doc string that
3163 the argument can be either a display name or a frame.
3164
3165 * frame.el (display-pixel-height, display-pixel-width)
3166 (display-mm-height, display-mm-width, display-backing-store)
3167 (display-save-under, display-planes, display-color-cells)
3168 (display-visual-class, display-monitor-attributes-list)
3169 (display-screens): Mention in the doc string that the argument can
3170 be either a display name or a frame. Improve the docs of the
3171 monitor attributes. (Bug#18636)
3172
3173 2014-10-09 Martin Rudalics <rudalics@gmx.at>
3174
3175 * term.el (term-window-width): Subtract 1 from the width when
3176 any fringe has zero width, not just the right fringe. (Bug#18601)
3177
3178 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
3181
3182 2014-10-08 Leo Liu <sdl.web@gmail.com>
3183
3184 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
3185
3186 2014-10-08 Glenn Morris <rgm@gnu.org>
3187
3188 * calendar/cal-x.el (calendar-dedicate-diary):
3189 Drop support for recently deleted aliases.
3190
3191 2014-10-08 Leo Liu <sdl.web@gmail.com>
3192
3193 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
3194 Always return a syntax. Replace call-process-shell-command with
3195 process-file. Ensure cfengine-mode-syntax-functions-regex is
3196 always set. Ensure cache when cfengine-cf-promises fails.
3197 (Bug#18620)
3198
3199 2014-10-07 Glenn Morris <rgm@gnu.org>
3200
3201 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
3202
3203 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
3204
3205 Sync with upstream verilog-mode revision c075a492.
3206 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
3207 (verilog-menu): Add AUTOINSERTLAST.
3208 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
3209 is nil, fix indenting initial/final to match always statements, bug825.
3210 Reported by Tim Clapp.
3211 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
3212 bug557. Reported by ZeDong Mao and Jason Forkey.
3213 (verilog-read-decls): Fix parsing typed interfaces.
3214 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
3215 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
3216 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
3217 Reported by Pierre-David Pfister.
3218 (verilog-auto-insert-lisp): Doc fix.
3219 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
3220 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
3221 (verilog-sk-ovm-class, verilog-sk-uvm-object)
3222 (verilog-sk-uvm-component): Fix missing string keyword in class
3223 skeletons, bug824. Reported by eldad faruhi.
3224
3225 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * term/w32-win.el: Move all code from 32-common-fns.el here.
3228 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
3229 console as well (bug#18629).
3230 * w32-common-fns.el: Remove.
3231 * loadup.el: Don't load w32-common-fns.el.
3232 * w32-fns.elc: Don't require w32-common-fns.
3233
3234 * icomplete.el: Move Iswitchb autoload here. Much simpler.
3235 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
3236 Remove redundant obsolescence thingy.
3237 * loadup.el: Don't load obsolete/loaddefs.el.
3238 * Makefile.in (obsolete-autoloads): Remove.
3239 (AUTOGENEL): Remove obsolete/loaddefs.el.
3240
3241 2014-10-06 Glenn Morris <rgm@gnu.org>
3242
3243 * Makefile.in (obsolete-autoloads): Write to a separate file,
3244 to workaround autoloads bug. (Bug#17407)
3245 (AUTOGENEL): Add obsolete/loaddefs.el.
3246 * loadup.el: Load obsolete/loaddefs.el if present.
3247 * subr.el (do-after-load-evaluation):
3248 Don't warn about obsolete/loaddefs.el.
3249
3250 * menu-bar.el (menu-bar-games-menu): Remove landmark.
3251 It has zero relationship to a game.
3252
3253 2014-10-06 Leo Liu <sdl.web@gmail.com>
3254
3255 * imenu.el (imenu): Re-write for clarity.
3256
3257 2014-10-06 Glenn Morris <rgm@gnu.org>
3258
3259 Remove calendar code obsolete since at least version 23.1.
3260 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
3261 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
3262 (calendar-goto-bahai-date, list-bahai-diary-entries)
3263 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
3264 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
3265 (insert-yearly-bahai-diary-entry):
3266 * calendar/cal-china.el (chinese-calendar-time-zone)
3267 (chinese-calendar-location-name)
3268 (chinese-calendar-daylight-time-offset)
3269 (chinese-calendar-standard-time-zone-name)
3270 (chinese-calendar-daylight-time-zone-name)
3271 (chinese-calendar-daylight-savings-starts)
3272 (chinese-calendar-daylight-savings-ends)
3273 (chinese-calendar-daylight-savings-starts-time)
3274 (chinese-calendar-daylight-savings-ends-time)
3275 (chinese-calendar-celestial-stem)
3276 (chinese-calendar-terrestrial-branch)
3277 (calendar-absolute-from-chinese, calendar-print-chinese-date)
3278 (calendar-goto-chinese-date):
3279 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
3280 (calendar-print-coptic-date, coptic-prompt-for-date)
3281 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
3282 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
3283 * calendar/cal-french.el (calendar-absolute-from-french)
3284 (calendar-print-french-date, calendar-goto-french-date):
3285 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
3286 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
3287 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
3288 (holiday-rosh-hashanah-etc, holiday-hanukkah)
3289 (holiday-passover-etc, holiday-tisha-b-av-etc)
3290 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
3291 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
3292 (insert-monthly-hebrew-diary-entry)
3293 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
3294 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
3295 (diary-sabbath-candles):
3296 * calendar/cal-islam.el (calendar-absolute-from-islamic)
3297 (calendar-print-islamic-date, calendar-goto-islamic-date)
3298 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
3299 (mark-islamic-diary-entries, insert-islamic-diary-entry)
3300 (insert-monthly-islamic-diary-entry)
3301 (insert-yearly-islamic-diary-entry):
3302 * calendar/cal-iso.el (calendar-absolute-from-iso)
3303 (calendar-print-iso-date, calendar-iso-read-args)
3304 (calendar-goto-iso-date, calendar-goto-iso-week):
3305 * calendar/cal-julian.el (calendar-absolute-from-julian)
3306 (calendar-print-julian-date, calendar-goto-julian-date)
3307 (calendar-absolute-from-astro, calendar-print-astro-day-number)
3308 (calendar-goto-astro-day-number):
3309 * calendar/cal-mayan.el (calendar-print-mayan-date)
3310 (calendar-next-haab-date, calendar-previous-haab-date)
3311 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
3312 (calendar-next-calendar-round-date)
3313 (calendar-previous-calendar-round-date)
3314 (calendar-absolute-from-mayan-long-count)
3315 (calendar-goto-mayan-long-count-date):
3316 * calendar/cal-move.el (scroll-calendar-left)
3317 (scroll-calendar-right, scroll-calendar-left-three-months)
3318 (scroll-calendar-right-three-months):
3319 * calendar/cal-persia.el (calendar-absolute-from-persian)
3320 (calendar-print-persian-date, persian-prompt-for-date)
3321 (calendar-goto-persian-date):
3322 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
3323 * calendar/calendar.el (view-diary-entries-initially)
3324 (mark-diary-entries-in-calendar, calendar-today-face)
3325 (diary-face, holiday-face, view-calendar-holidays-initially)
3326 (mark-holidays-in-calendar, initial-calendar-window-hook)
3327 (today-visible-calendar-hook, today-invisible-calendar-hook)
3328 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
3329 (bahai-diary-entry-symbol, american-date-diary-pattern)
3330 (european-date-diary-pattern, european-calendar-display-form)
3331 (american-calendar-display-form, holidays-in-diary-buffer)
3332 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
3333 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
3334 (fancy-diary-buffer, increment-calendar-month)
3335 (extract-calendar-month, extract-calendar-day)
3336 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
3337 (mark-visible-calendar-date, calendar-version):
3338 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
3339 (diary-display-hook, list-diary-entries-hook)
3340 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
3341 (nongregorian-diary-marking-hook, print-diary-entries-hook)
3342 (abbreviated-calendar-year, number-of-diary-entries)
3343 (view-other-diary-entries, add-to-diary-list)
3344 (include-other-diary-files, simple-diary-display)
3345 (fancy-diary-display, print-diary-entries, mark-diary-entries)
3346 (mark-sexp-diary-entries, mark-included-diary-files)
3347 (mark-calendar-days-named, mark-calendar-month)
3348 (mark-calendar-date-pattern, sort-diary-entries)
3349 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
3350 (insert-weekly-diary-entry, insert-monthly-diary-entry)
3351 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
3352 (insert-block-diary-entry, insert-cyclic-diary-entry)
3353 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
3354 * calendar/holidays.el (general-holidays, oriental-holidays)
3355 (local-holidays, other-holidays, hebrew-holidays)
3356 (christian-holidays, islamic-holidays, bahai-holidays)
3357 (solar-holidays, list-calendar-holidays)
3358 (check-calendar-holidays, mark-calendar-holidays)
3359 (filter-visible-calendar-holidays):
3360 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
3361 (diary-phases-of-moon): Remove obsolete aliases.
3362 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
3363 * calendar/cal-x.el (calendar-one-frame-setup)
3364 (calendar-only-one-frame-setup, calendar-two-frame-setup):
3365 Remove obsolete functions.
3366 (cal-x-load-hook): Remove obsolete hook.
3367 * calendar/calendar.el (european-calendar-style):
3368 Remove obsolete variable.
3369 (calendar-date-style): No longer consult european-calendar-style.
3370 * calendar/calendar.el (european-calendar, american-calendar):
3371 Remove obsolete commands.
3372 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
3373 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
3374 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
3375 Use the face `diary' instead of the variable `diary-face'.
3376 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
3377 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
3378 * calendar/icalendar.el (icalendar--date-style): Remove function.
3379 Replace all uses with calendar-date-style.
3380 * textmodes/remember.el (calendar-date-style): Declare.
3381 (remember-diary-convert-entry):
3382 No longer consult european-calendar-style.
3383
3384 2014-10-05 Leo Liu <sdl.web@gmail.com>
3385
3386 * imenu.el (imenu-default-goto-function): Fix typo.
3387
3388 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3389
3390 * net/ntlm.el (ntlm-build-auth-request):
3391 Add NTLM2 Session support. (Bug#15603)
3392
3393 2014-10-04 Glenn Morris <rgm@gnu.org>
3394
3395 * apropos.el (apropos-symbols-internal):
3396 Avoid error with non-symbol properties. (Bug#18337#16)
3397
3398 * startup.el (command-line):
3399 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
3400
3401 2014-10-04 Martin Rudalics <rudalics@gmx.at>
3402
3403 * window.el (window-full-height-p): Make it behave correctly for
3404 minibuffer window.
3405 (window-current-scroll-bars): Fix code.
3406 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
3407 window-scroll-bars.
3408 * frame.el (frame-current-scroll-bars): Fix doc-string.
3409 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
3410
3411 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
3412
3413 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
3414
3415 2014-10-04 Glenn Morris <rgm@gnu.org>
3416
3417 * frame.el (frame-monitor-attributes)
3418 (display-monitor-attributes-list): Doc fixes.
3419
3420 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 Merge trivially safe differences from standalone CC-mode.
3423 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
3424 just to then pass it to `symbol-value'.
3425 (prog-mode): Provide fallback definition, if needed.
3426 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
3427 Remove "cl-" prefix accordingly.
3428 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
3429 characterp depending on the type of characters.
3430 (c-font-lock-enum-tail): Remove unused var `start'.
3431 * progmodes/cc-engine.el: Load CL at compile-time.
3432 (c-declare-lang-variables): Use mapcan.
3433 (c-append-to-state-cache): Remove unused var `ce+1'.
3434 (c-parse-state-state): Make buffer-local.
3435 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
3436 (c-just-after-func-arglist-p): Remove unused var `end'.
3437 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
3438 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
3439 (c-make-keywords-re): Use delete-dups.
3440 (c-get-current-file): Avoid file-name-base.
3441 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
3442 `close-paren-inserted'.
3443 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
3444
3445 * progmodes/python.el: Avoid building unneeded markers.
3446 (python-font-lock-keywords, python-indent-dedent-line)
3447 (python-fill-paren, python-shell-completion-complete-or-indent):
3448 Prefer point over point-marker.
3449 (inferior-python-mode): Remove redundant completion settings.
3450
3451 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
3452
3453 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
3454 (vc-svn-ignore): Use it. (Bug#18619)
3455
3456 2014-10-03 Martin Rudalics <rudalics@gmx.at>
3457
3458 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3459 In doc-string mention need to set `frame-resize-pixelwise'.
3460
3461 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3462
3463 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
3464 similarly to Rogers's 2010-06-16 change for the remote case
3465 (bug#18605).
3466
3467 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 New gui-selection-value consolidating x-selection-value.
3470 * select.el (gui-selection-value-alist): New method.
3471 (gui-selection-value): New function.
3472 (x-selection-value): Make it an obsolete alias.
3473 * simple.el (interprogram-paste-function): Default to
3474 gui-selection-value.
3475 * w32-common-fns.el (w32-get-selection-value): Simplify.
3476 (x-selection-value): Remove alias.
3477 (interprogram-paste-function): Don't set.
3478 (gui-selection-value): Define for w32.
3479 * term/x-win.el (gui-selection-value): Define for x.
3480 (x--selection-value): Rename from x--selection-value.
3481 (interprogram-paste-function): Don't set.
3482 * term/pc-win.el (w16-get-selection-value): Simplify.
3483 (msdos-initialize-window-system): Don't set
3484 interprogram-paste-function.
3485 (gui-selection-value): Define for pc.
3486 * term/ns-win.el (x-selection-value): Remove.
3487 (gui-selection-value): Define for ns, instead.
3488 * term/common-win.el (x-setup-function-keys): Don't set
3489 interprogram-paste-function.
3490 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
3491 Use gui-selection-value.
3492
3493 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
3494
3495 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
3496
3497 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * obsolete/lucid.el (read-number): Remove, redundant.
3500 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
3501 Remove, broken.
3502
3503 2014-10-02 Glenn Morris <rgm@gnu.org>
3504
3505 * emacs-lisp/package.el (package-import-keyring):
3506 Create gnupg directory private. (Bug#17625#155)
3507
3508 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * progmodes/python.el (python-shell-completion-get-completions):
3511 Use python-shell--prompt-calculated-input-regexp from the
3512 process buffer (bug#18582).
3513 Don't assume that `line' comes from the process buffer.
3514
3515 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * frame.el: Use lexical-binding (bug#18598).
3518 (make-frame): Use t rather than nil for tty's window-system.
3519 * startup.el (command-line): Use gui-method.
3520
3521 Consolidate management/ownership of selections.
3522 * select.el (gui-get-selection-alist): New method.
3523 (gui-get-selection): Use it. Rename from x-get-selection.
3524 (x-get-selection): Define as obsolete alias.
3525 (x-get-clipboard): Mark obsolete.
3526 (gui-get-primary-selection): New function.
3527 (x-get-selection-value): Mark obsolete.
3528 (gui-own-selection-alist, gui-disown-selection-alist)
3529 (gui-selection-owner-p-alist): New methods.
3530 (gui-set-selection): Use them. Rename from x-set-selection.
3531 (x-set-selection): Define as obsolete alias.
3532 (gui--valid-simple-selection-p): Rename from
3533 x-valid-simple-selection-p.
3534 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
3535 (gui-selection-owner-p, gui-get-selection): Define for w32.
3536 (w32-get-selection-value): Rename from x-get-selection-value.
3537 Use the new gui-last-selected-text.
3538 * term/x-win.el (x-get-selection-value): Remove.
3539 (x-clipboard-yank): Declare obsolete.
3540 (gui-own-selection, gui-disown-selection, gui-get-selection)
3541 (gui-selection-owner-p): Define for x.
3542 * term/w32-win.el (w32-win-suspend-error): Rename from
3543 x-win-suspend-error.
3544 * term/pc-win.el (w16-get-selection-value): Rename from
3545 x-get-selection-value.
3546 (w16-selection-owner-p): Rename from x-selection-owner-p.
3547 (gui-own-selection, gui-disown-selection, gui-get-selection)
3548 (gui-selection-owner-p): Define for pc.
3549 (w16--select-text): New function.
3550 * term/ns-win.el (gui-own-selection, gui-disown-selection)
3551 (gui-get-selection, gui-selection-owner-p): Define for ns.
3552 * term.el (term-mouse-paste):
3553 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
3554
3555 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
3556
3557 * calc/calc-help.el (calc-describe-thing): Quote strings
3558 which could look like regexps.
3559
3560 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3561
3562 Consolidate x-select-text.
3563 * frame.el (gui-method, gui-method-define, gui-method-declare)
3564 (gui-call): New macros.
3565 (gui-method--name): New function.
3566 (frame-creation-function-alist): Use gui-method-declare.
3567 (make-frame): Use gui-method.
3568 * select.el (gui-select-enable-clipboard): Rename from
3569 x-select-enable-clipboard and move here.
3570 (x-select-enable-clipboard): Define as obsolete alias.
3571 (gui-last-selected-text): New var, to replace x-last-selected-text.
3572 (gui-select-text): New GUI method.
3573 (gui-select-text): New function.
3574 (x-select-text): Define as obsolete alias.
3575 * term/common-win.el (x-select-enable-clipboard, x-select-text):
3576 Move to select.el.
3577 * simple.el (interprogram-cut-function): Change default to
3578 x-select-text.
3579 (interprogram-paste-function): Change default to `ignore'.
3580 * w32-common-fns.el (interprogram-cut-function): Don't modify.
3581 * term/x-win.el (interprogram-cut-function): Don't modify.
3582 (gui-select-text): Add method for x.
3583 * term/w32-win.el (gui-select-text): Add method for w32.
3584 * term/pc-win.el (x-last-selected-text): Remove, use
3585 gui-last-selected-text instead.
3586 (msdos-initialize-window-system): Don't set interprogram-cut-function.
3587 (gui-select-text): Add method for pc.
3588 * term/ns-win.el (ns-last-selected-text): Remove, use
3589 gui-last-selected-text instead.
3590 (gui-select-text): Add method for ns.
3591 (x-setup-function-keys): Don't change interprogram-cut-function.
3592 * loadup.el ("startup"): Load after "frame".
3593 * subr.el (package--builtin-versions, package--description-file):
3594 Move from startup.el.
3595 * startup.el (package--builtin-versions, package--description-file):
3596 Move to subr.el.
3597 (handle-args-function-alist, window-system-initialization-alist):
3598 Use gui-method-declare.
3599 (command-line): Use gui-method.
3600
3601 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3602
3603 * subr.el (alist-get): New accessor.
3604 * emacs-lisp/gv.el (alist-get): Provide expander.
3605 * winner.el (winner-remember):
3606 * tempo.el (tempo-use-tag-list):
3607 * progmodes/gud.el (minor-mode-map-alist):
3608 * international/mule-cmds.el (define-char-code-property):
3609 * frameset.el (frameset-filter-params):
3610 * files.el (dir-locals-set-class-variables):
3611 * register.el (get-register, set-register):
3612 * calc/calc-yank.el (calc-set-register): Use it.
3613 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
3614 * tooltip.el (tooltip-set-param): Mark as obsolete.
3615 (tooltip-show): Use alist-get instead.
3616 * ses.el (ses--alist-get): Remove. Use alist-get instead.
3617
3618 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
3619
3620 * net/newst-backend.el: Remove Time-stamp. Rename variable
3621 `newsticker--download-logos' to `newsticker-download-logos' and
3622 make it customizable.
3623 (newsticker--sentinel-work): Move xml-workarounds to function
3624 `newsticker--do-xml-workarounds', call unless libxml-parser is
3625 used. Allow single quote in regexp for encoding.
3626 Use libxml-parser if available, else fall back to `xml-parse-region'.
3627 Take care of possibly missing namespace prefixes (like "RDF"
3628 instead of "rdf:RDF") when checking xml nodes and attributes (as
3629 libxml correctly removes the prefixes). Always use Atom 1.0 as
3630 fallback feed type. Rename `newsticker--download-logos' to
3631 `newsticker-download-logos'
3632 (newsticker--unxml, newsticker--unxml-node)
3633 (newsticker--unxml-attribute): New.
3634 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
3635 HTML code has become part of the xml parse tree.
3636 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
3637 of possibly missing namespace prefixes.
3638 (newsticker--parse-generic-items): Code formatting. Typo.
3639 (newsticker--images-dir): Add trailing slash.
3640 (newsticker--image-get): Fix error message.
3641
3642 * net/newst-plainview.el: Remove Time-stamp.
3643
3644 * net/newst-reader.el: Remove Time-stamp.
3645 (newsticker-download-logos): Rename variable
3646 `newsticker--download-logos' to `newsticker-download-logos' and
3647 make it customizable.
3648 (newsticker--print-extra-elements): Add optional parameter
3649 'htmlish for using html markup. Amend list of ignored elements.
3650 (newsticker--do-print-extra-element): Add parameter 'htmlish for
3651 using html markup.
3652
3653 * net/newst-ticker.el: Remove Time-stamp.
3654
3655 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
3656 for formatting extra elements.
3657
3658 * net/newsticker.el: Remove Time-stamp, Version.
3659 (newsticker-version): Make obsolete.
3660
3661 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
3662
3663 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
3664 (bug#18462).
3665
3666 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * emacs-lisp/package.el (package-check-signature): Default to nil if
3669 GPG is not available.
3670 (package-refresh-contents): Don't mess with the keyring if we won't
3671 check the signatures anyway.
3672
3673 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
3676 (ses-center, ses-center-span): Use them.
3677 (ses-print-cell): Bind them while calling the printer.
3678 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
3679 (ses-dorange): Revert last change.
3680 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
3681 the formula.
3682 (ses-set-cell): Avoid `eval'.
3683 (ses--time-check): Rename it from ses-time-check and turn it into
3684 a macro.
3685
3686 * ses.el (ses-setup): Don't assume modifying the iteration var of
3687 dotimes affects the iteration (bug#18191).
3688
3689 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
3690
3691 * ses.el (ses-calculate-cell): Bind row and col dynamically to
3692 their values with 'cl-progv'.
3693 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
3694 their values with 'cl-progv', also use non-interned symbols for
3695 row, minrow, maxrow, mincol and maxcol.
3696 (maxrow maxcol): New defvar, to make the compiler happy.
3697
3698 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
3701 completion functions.
3702
3703 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
3704
3705 * ses.el (ses--letref): Quote value before it gets re-evaluated.
3706
3707 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
3708
3709 Font-lock `cl-flet*', too.
3710 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
3711 Add "flet*" to intermediate var `cl-lib-kw'.
3712
3713 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * epg-config.el (epg-gpg-program): Use the plain program names rather
3716 than their absolute file name.
3717
3718 * subr.el (track-mouse): New macro.
3719 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3720 Remove track-mouse case.
3721 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
3722
3723 2014-09-27 Leo Liu <sdl.web@gmail.com>
3724
3725 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
3726
3727 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
3728
3729 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
3732 Handle the case where `match' is :pcase--succeed or :pcase--fail
3733 (bug#18554).
3734
3735 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
3736 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
3737 (eldoc-schedule-timer): Obey it.
3738 (eldoc-documentation-function): Default to nil.
3739 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
3740 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
3741 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
3742 (eldoc-last-data-store, eldoc-docstring-first-line)
3743 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
3744 (eldoc-beginning-of-sexp, eldoc-current-symbol)
3745 (eldoc-function-argstring): Move to elisp-mode.el.
3746 (eldoc-symbol-function): Remove, unused.
3747 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
3748 (elisp-completion-at-point): Rename from lisp-completion-at-point.
3749 (elisp--preceding-sexp): Rename from preceding-sexp.
3750 * loadup.el: Load new file progmodes/elisp-mode.
3751 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
3752 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
3753 (lisp--local-variables-completion-table, lisp--expect-function-p)
3754 (lisp--form-quoted-p, lisp--company-doc-buffer)
3755 (lisp--company-doc-string, lisp--company-location)
3756 (lisp-completion-at-point): Move to elisp-mode.el.
3757 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
3758 extracted from emacs-lisp-mode-syntax-table.
3759 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
3760 elisp-mode.el.
3761 (lisp-imenu-generic-expression): Add comments to document what comes
3762 from which Lisp dialect.
3763 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
3764 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
3765 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
3766 (emacs-lisp-byte-code-comment)
3767 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
3768 (lisp-interaction-mode-map, lisp-interaction-mode)
3769 (eval-print-last-sexp, last-sexp-setup-props)
3770 (last-sexp-toggle-display, prin1-char, preceding-sexp)
3771 (eval-last-sexp-1, eval-last-sexp-print-value)
3772 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
3773 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
3774
3775 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
3776
3777 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
3778 Do not match file names that end in '/', as they cannot be 'grep'
3779 hits nowadays. This prevents confusion when 'grep -r' reports a
3780 match in a file whose basename is ':12345:'. Conversely, do not
3781 require exactly the same sequence of spaces and tabs after both
3782 colons, and allow spaces or tabs before the second colon, as per
3783 the POSIX spec for 'grep' output.
3784
3785 2014-09-26 Leo Liu <sdl.web@gmail.com>
3786
3787 Add cl-parse-integer based on parse-integer (Bug#18557)
3788 * calendar/parse-time.el (parse-time-digits): Remove.
3789 (digit-char-p, parse-integer) Moved to cl-lib.el.
3790 (parse-time-tokenize, parse-time-rules, parse-time-string):
3791 Use cl-parse-integer.
3792
3793 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
3794
3795 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
3796 (cl-digit-char-p): New function.
3797
3798 2014-09-25 Juri Linkov <juri@jurta.org>
3799
3800 * vc/add-log.el (change-log-next-buffer): Don't create an empty
3801 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
3802 Return the current buffer if no files match the default pattern
3803 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
3804
3805 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
3808 the global vc-handled-backends (bug#18535).
3809
3810 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
3813 Suggested by <lompik@voila.fr>.
3814
3815 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
3816
3817 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
3818 Rename from `newsticker--treeview-do-get-node'.
3819 (newsticker--treeview-get-node-by-id):
3820 Rename from `newsticker--treeview-get-node'.
3821 (newsticker--treeview-buffer-init)
3822 (newsticker--treeview-buffer-init): Disable buffer undo.
3823 (newsticker--treeview-unfold-node): Adapt to modified
3824 `newsticker--group-find-parent-group'.
3825 (newsticker--group-do-find-group):
3826 Rename from `newsticker--group-do-find-group-for-feed'.
3827 Now works for both, groups and feeds.
3828 (newsticker--group-find-parent-group):
3829 Rename from `newsticker--group-find-group-for-feed'.
3830 Now works for both, groups and feeds.
3831 (newsticker--group-do-get-parent-group)
3832 (newsticker--group-get-parent-group): Remove.
3833 (newsticker-group-add-group): Change interactive prompts.
3834 (newsticker-group-add-group): Finally jump to added group.
3835 (newsticker-group-delete-group): Finally jump to current feed.
3836 (newsticker--group-do-rename-group, newsticker-group-rename-group)
3837 (newsticker--get-group-names, newsticker--group-names): New.
3838 (newsticker-group-move-feed): Finally jump to moved feed.
3839 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
3840 (newsticker-group-shift-group-down)
3841 (newsticker-group-shift-group-up, newsticker--group-shift): New.
3842 (newsticker-treeview-mode-map): New keybindings for new shift commands.
3843
3844 * net/newst-backend.el (newsticker--item-list)
3845 (newsticker--item-position, newsticker--prev-message)
3846 (newsticker--scrollable-text): Move to newst-ticker.el.
3847
3848 * net/newst-ticker.el (newsticker--item-list)
3849 (newsticker--item-position, newsticker--prev-message)
3850 (newsticker--scrollable-text): Move from newst-backend.el.
3851
3852 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
3853
3854 * window.el (fit-window-to-buffer): When counting buffer width,
3855 count the whole visible buffer. Correctly convert the body-height
3856 to pixel size for window-text-pixel-size (Bug#18498).
3857
3858 2014-09-22 Sam Steingold <sds@gnu.org>
3859
3860 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
3861 (sql-execute): Use `special-mode'.
3862
3863 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 Add pcase-defmacro, as well as `quote' and `app' patterns.
3866 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
3867 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
3868 (pcase--funcall, pcase--eval): New functions.
3869 (pcase--u1): Use them for guard, pred, let, and app.
3870 (\`): Use the new feature to generate better code for vector patterns.
3871 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
3872 (pcase--upat): Remove.
3873 (pcase--macroexpand): Don't hardcode handling of `.
3874 (pcase--split-consp, pcase--split-vector): Remove.
3875 (pcase--split-equal): Disregard ` since it's expanded away.
3876 (pcase--split-member): Optimize for quote rather than for `.
3877 (pcase--split-pred): Optimize for quote rather than for `.
3878 (pcase--u1): Remove handling of ` (and of `or' and `and').
3879 Quote non-selfquoting values when passing them to `eq'.
3880 Drop `app's let-binding if the variable is not used.
3881 (pcase--q1): Remove.
3882 (`): Define as a pattern macro.
3883 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
3884 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
3885 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
3886 quote patterns.
3887 (pcase--split-match): Don't hoist or/and here any more.
3888 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
3889 (pcase--flip): New helper macro.
3890 (pcase--u1): Optimize the memq case directly.
3891 Don't handle neither self-quoting nor and/or patterns any more.
3892 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
3893 (pcase--macroexpand): New function.
3894 (pcase--expand): Use it.
3895 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
3896 New optimization functions.
3897 (pcase--u1): Add support for `quote' and `app'.
3898 (pcase): Document them in the docstring.
3899
3900 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 Use lexical-bindin in Ibuffer.
3903 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
3904 (ibuffer-compile-format): Simplify.
3905 (ibuffer-clear-summary-columns): Simplify.
3906 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
3907 elem of dotimes when we don't refer to the iteration var from it.
3908 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
3909 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
3910 Silence byte-compiler.
3911
3912 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
3915 expression for a list.
3916
3917 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
3918 for functions with no arguments.
3919
3920 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
3921 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
3922
3923 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
3924
3925 * simple.el (clone-indirect-buffer): Mention the return value
3926 (bug#18478).
3927
3928 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
3929 Text mode in docstring (bug#18464).
3930
3931 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3934 Accept underscores in identifiers after "sub" (bug#18502).
3935
3936 2014-09-21 Tassilo Horn <tsdh@gnu.org>
3937
3938 * textmodes/reftex-sel.el (reftex-select-label-mode)
3939 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
3940 from special-mode (instead of fundamental-mode) and propertize
3941 with font-lock-face instead of just face. (Bug#18496)
3942
3943 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
3944
3945 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
3946
3947 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
3948 `table-etc' when `end' is non-nil.
3949 (lisp-completion-at-point): Move `end' back if it's after quote.
3950 If in comment or string, only complete when after backquote.
3951 (Bug#18265)
3952 (lisp-completion-at-point): Don't use
3953 `lisp--local-variables-completion-table' in the
3954 `lisp--form-quoted-p' case.
3955
3956 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
3957
3958 * emacs-lisp/lisp.el (lisp--expect-function-p)
3959 (lisp--form-quoted-p): New functions.
3960 (lisp-completion-at-point): Use them to see if we're completing a
3961 variable reference, a function name, or just any symbol.
3962 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
3963
3964 2014-09-18 Ivan Kanis <ivan@kanis.fr>
3965
3966 * net/shr.el, net/eww.el: Don't override `shr-width', but
3967 introduce a new variable `shr-internal-width'. This allows users
3968 to specify a width themselves.
3969
3970 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3971
3972 * image-mode.el (image-toggle-display-image): If we have a
3973 `fit-width' or a `fit-height', don't limit the size of the image
3974 to the window size, because that doesn't preserve the aspect ratio.
3975 * image-mode.el: Move defvars earlier to avoid a byte-compilation
3976 warning.
3977
3978 2014-09-17 Reuben Thomas <rrt@sc3d.org>
3979
3980 * progmodes/js.el: Add interpreter-mode-alist support for various
3981 JavaScript interpreters.
3982
3983 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
3984
3985 Don't assume 'grep' supports GREP_OPTIONS.
3986 The GREP_OPTIONS environment variable is planned to be marked
3987 obsolescent in GNU grep, due to problems in its use, so stop
3988 relying on it.
3989 * progmodes/grep.el (grep-highlight-matches): Document this.
3990 (grep-process-setup): Do not set GREP_OPTIONS.
3991 (grep-compute-defaults): Use an explicit --color option if supported.
3992
3993 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
3996 Don't add outdated key-shortcut cache (bug#18482).
3997
3998 2014-09-15 Glenn Morris <rgm@gnu.org>
3999
4000 * image.el (image-multi-frame-p): Fix thinko - do not force
4001 a delay if none was specified. (Bug#18334)
4002
4003 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
4004
4005 * window.el (fit-window-to-buffer): Doc fix.
4006
4007 2014-09-15 Ivan Shmakov <ivan@siamics.net>
4008
4009 * desktop.el (desktop-create-buffer): Check that buffers are still live
4010 before burying them (bug#18373).
4011
4012 2014-09-15 Glenn Morris <rgm@gnu.org>
4013
4014 * calendar/diary-lib.el (diary-list-entries):
4015 Restore 24.3 display behavior. (Bug#18381)
4016
4017 2014-09-15 Eli Zaretskii <eliz@gnu.org>
4018
4019 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
4020 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
4021 discrepancy between window-pixel-edges and mouse events, and
4022 avoids moving mode line up when the mouse click is on the modeline
4023 and no drag is attempted.
4024
4025 2014-09-14 Daniel Colascione <dancol@dancol.org>
4026
4027 * register.el (insert-register): Change default interactive
4028 insertion mode.
4029
4030 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
4031
4032 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
4033 Suppress debug messages.
4034
4035 * net/tramp.el (tramp-file-name-handler):
4036 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
4037 appropriate.
4038
4039 2014-09-13 Christopher Schmidt <ch@ristopher.com>
4040
4041 * calendar/calendar.el (calendar-update-mode-line):
4042 Do not overwrite mode-line-format if calendar-mode-line-format is
4043 nil. (Bug#18467)
4044
4045 2014-09-13 Leo Liu <sdl.web@gmail.com>
4046
4047 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
4048 (pcase--expand): Use it.
4049 (pcase-exhaustive): New macro. (Bug#16567)
4050
4051 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
4052 Add pcase-exhaustive.
4053
4054 2014-09-13 Eli Zaretskii <eliz@gnu.org>
4055
4056 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
4057 using the specified transfer-encoding, if any, or 'undecided'.
4058 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
4059 broken at the window margin.
4060
4061 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
4062
4063 Support rendering of HTML parts in Rmail (bug#4258).
4064 * mail/rmailmm.el (rmail-mime-process): Handle text/html
4065 separately from other text/ types. Suppress tagline for
4066 multipart body.
4067 (rmail-mime-parse): Don't change visibility of tagline here.
4068 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
4069 Handle text/html specially.
4070 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
4071 (rmail-mime-insert-html, rmail-mime-render-html-shr)
4072 (rmail-mime-render-html-lynx): New functions.
4073 (rmail-mime-fix-inserted-faces): New function.
4074 (rmail-mime-process-multipart): Find the best part to show
4075 following rmail-mime-prefer-html if set.
4076 (rmail-mime-searching): New variable.
4077 (rmail-search-mime-message): Bind rmail-mime-searching to
4078 suppress rendering while searching.
4079
4080 2014-09-12 Sam Steingold <sds@gnu.org>
4081
4082 * progmodes/sql.el (sql-product-alist): Add vertica.
4083 (sql-vertica-program, sql-vertica-options)
4084 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
4085 New functions and variables to support Vertica.
4086 Inspired by code by Roman Scherer <roman@burningswell.com>.
4087
4088 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
4089
4090 * ses.el (ses-file-format-extend-parameter-list): Rename from
4091 ses-file-format-extend-paramter-list, to correct a misspelling.
4092 All uses changed.
4093
4094 2014-09-10 Alan Mackenzie <acm@muc.de>
4095
4096 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
4097 gets loaded at run-time).
4098 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
4099 c-lang-const to c-make-no-parens-syntax-table and correct the
4100 logic.
4101 (c-no-parens-syntax-table): Correct the logic of the
4102 c-lang-defvar.
4103
4104 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
4107 plus misc cleanup.
4108 * progmodes/cc-mode.el (c-basic-common-init):
4109 Set open-paren-in-column-0-is-defun-start.
4110 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
4111 Remove declarations, unused.
4112 (run-mode-hooks): Remove declaration.
4113 (font-lock-defaults): Use plain `defvar' to declare.
4114 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
4115 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
4116 (c-make-mode-syntax-table): Don't micro-optimize.
4117 (c-keywords, c-keyword-member-alist): Simplify.
4118 (c-kwds-lang-consts): Don't eval at compile-time.
4119 (c-primary-expr-regexp): Comment out unused vars.
4120 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
4121 (c-font-byte-compile): New var.
4122 (c--compile): New function. Use it instead of `byte-compile'.
4123 (c-cpp-matchers): Quote the value returned by
4124 `c-make-syntactic-matcher' in case it's not self-evaluating.
4125 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
4126 parentheses instead (in case MATCHER happens to be a list).
4127 (c-font-lock-enum-tail): Remove unused var `start'.
4128 (c-font-lock-objc-methods): Silence byte-compiler warnings.
4129 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
4130 test into an argument.
4131 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
4132 (c-get-char-property): Don't use `eval' just to unquote a constant.
4133 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
4134 more efficiently.
4135 (c-put-char-property-fun): Don't call `byte-compile' by hand.
4136 (c-clear-char-property, c-clear-char-properties): Check that `property'
4137 is a quoted constant.
4138 (c-emacs-features): Remove `infodock', `syntax-properties', and
4139 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
4140 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
4141 changing buffer, so we don't have to setq them again afterwards.
4142 (c-lang-const): Remove redundant symbolp assertions.
4143 (c-find-assignment-for-mode): Use `or'.
4144 * Makefile.in (compile-one-process): Remove cc-mode dependency.
4145
4146 2014-09-09 Sam Steingold <sds@gnu.org>
4147
4148 * progmodes/sql.el (sql-default-directory): Fix type annotation.
4149
4150 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4151
4152 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
4153 Change doc comments into docstrings.
4154 * Makefile.in: Remove cc-awk dependency.
4155
4156 2014-09-08 Sam Steingold <sds@gnu.org>
4157
4158 * progmodes/sql.el (sql-send-line-and-next): New command,
4159 bound to C-c C-n.
4160 (sql-show-sqli-buffer): Display the buffer instead of its name and
4161 bind the command to C-c C-z.
4162 (sql-default-directory): New user option.
4163 (sql-product-interactive): Bind `default-directory' to it to
4164 enable remote connections using Tramp.
4165 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
4166 suitable buffer is available.
4167
4168 2014-09-08 Glenn Morris <rgm@gnu.org>
4169
4170 * calendar/calendar.el (calendar-basic-setup):
4171 Fix calendar-view-holidays-initially-flag and fancy display.
4172 * calendar/diary-lib.el (diary-live-p): Doc fix.
4173
4174 * calendar/calendar.el (calendar-basic-setup):
4175 Avoid clobbering calendar with diary. (Bug#18381)
4176
4177 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
4180
4181 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
4182
4183 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
4184 as well (bug#18400).
4185
4186 2014-09-08 Eli Zaretskii <eliz@gnu.org>
4187
4188 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
4189
4190 2014-09-06 Leo Liu <sdl.web@gmail.com>
4191
4192 * emacs-lisp/pcase.el (pcase): Doc fix.
4193 (pcase--split-vector): New function.
4194 (pcase--q1): Support vector qpattern. (Bug#18327)
4195
4196 2014-09-05 Sam Steingold <sds@gnu.org>
4197
4198 * textmodes/tex-mode.el (tex-print-file-extension): New user
4199 option.
4200 (tex-print): Use it instead of the hard-coded string.
4201
4202 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
4203
4204 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4205 Expand `default-directory'.
4206
4207 2014-09-05 Martin Rudalics <rudalics@gmx.at>
4208
4209 * scroll-bar.el (horizontal-scroll-bars-available-p):
4210 New function.
4211 (horizontal-scroll-bar-mode): Rewrite using
4212 horizontal-scroll-bars-available-p.
4213 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
4214 horizontal-scroll-bars-available-p.
4215
4216 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4217
4218 * subr.el (call-process-shell-command, process-file-shell-command):
4219 Make the `args' obsolete (bug#18409).
4220 (start-process-shell-command, start-file-process-shell-command):
4221 Use `declare'.
4222
4223 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
4224
4225 * calc/calc-forms.el (math-normalize-hms): Do a better check for
4226 "negative" hms forms.
4227
4228 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
4229
4230 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
4231 returns nil (bug#18391).
4232
4233 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4234
4235 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
4236 terminating paren (bug#18352).
4237 (eldoc-last-data-store): Return cached data.
4238 (eldoc-get-var-docstring): Avoid setq.
4239 (eldoc-get-fnsym-args-string): Clarify data flow.
4240
4241 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4242
4243 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
4244 case where we're currently providing part of the &rest arg after some
4245 &key args, as in define-ibuffer-op (bug#18048).
4246
4247 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
4250 buffer-local setting of which-func-mode.
4251 (which-func-mode): Use defvar-local.
4252 (which-function-mode): Don't reset which-func-mode in each buffer since
4253 it might have been set by someone else.
4254 (which-func-update-ediff-windows): Check which-function-mode.
4255
4256 2014-09-03 Martin Rudalics <rudalics@gmx.at>
4257
4258 * frame.el (frame-initialize): Remove horizontal-scroll-bars
4259 from frame-initial-frame-alist.
4260 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
4261 (horizontal-scroll-bar-mode-explicit)
4262 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
4263 (toggle-horizontal-scroll-bar): Remove.
4264 (horizontal-scroll-bar-mode): Remove defcustom.
4265 (horizontal-scroll-bar-mode): Fix doc-string.
4266 (scroll-bar-toolkit-scroll)
4267 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
4268
4269 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * emacs-lisp/package.el (package-generate-description-file):
4272 Properly quote the arguments (bug#18332). Change second arg.
4273 (package--alist-to-plist-args): Rename from package--alist-to-plist and
4274 quote the elements.
4275 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
4276 the *-pkg.el file. Adjust to new calling convention of
4277 package-generate-description-file.
4278
4279 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
4280 (gud-gdb-completions): Remove obsolete workaround.
4281
4282 2014-09-03 Eli Zaretskii <eliz@gnu.org>
4283
4284 * subr.el (posn-col-row): Revert the change from commit
4285 2010-11-13T21:07:58Z!eliz@gnu.org, which
4286 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
4287 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
4288 introduced an off-by-one error in the reported row when there is a
4289 header line. (Bug#18384)
4290
4291 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
4292
4293 * progmodes/python.el (python-indent-post-self-insert-function):
4294 Avoid electric colon at beginning-of-defun. (Bug#18228)
4295
4296 2014-09-03 Glenn Morris <rgm@gnu.org>
4297
4298 * tutorial.el (tutorial--display-changes):
4299 Fix 2014-08-01 change. (Bug#18382)
4300
4301 2014-09-03 Ken Brown <kbrown@cornell.edu>
4302
4303 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
4304 the Cygwin-w32 build. (Bug#18347)
4305
4306 2014-09-03 Glenn Morris <rgm@gnu.org>
4307
4308 * tar-mode.el (tar--extract, tar-extract):
4309 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
4310
4311 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
4314 handle multiline elements (bug#18380).
4315
4316 2014-09-01 Eli Zaretskii <eliz@gnu.org>
4317
4318 * ls-lisp.el (ls-lisp-use-string-collate)
4319 (ls-lisp-UCA-like-collation): New defcustoms.
4320 (ls-lisp-string-lessp): Use them to control sorting by file
4321 names. (Bug#18051)
4322 (ls-lisp-version-lessp): New function.
4323 (ls-lisp-handle-switches): Use it to implement the -v switch of
4324 GNU ls.
4325 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
4326
4327 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
4328
4329 * ibuffer.el: Replace mode-specific quit function with
4330 `quit-window' via `special-mode'.
4331 (ibuffer-mode-map): Use keybindings from special-mode-map instead
4332 of local overrides.
4333 (ibuffer): Don't store previous windows configuration.
4334 Let `quit-window' handle restoring.
4335 (ibuffer-quit): Remove function. Use `quit-window' instead.
4336 (ibuffer-restore-window-config-on-quit): Remove variable.
4337 (ibuffer-prev-window-config): Remove variable.
4338
4339 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
4340
4341 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
4342 name instead of variable name in hook docstring. (Bug#18349)
4343
4344 2014-08-29 Martin Rudalics <rudalics@gmx.at>
4345
4346 * window.el (display-buffer-at-bottom): Prefer bottom-left
4347 window to other bottom windows. Reuse a bottom window if it
4348 shows the buffer already. Suggested by Juri Linkov
4349 <juri@jurta.org> in discussion of (Bug#18181).
4350
4351 2014-08-29 Leo Liu <sdl.web@gmail.com>
4352
4353 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
4354 append to minibuffer-setup-hook. (Bug#18341)
4355
4356 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
4359 byte-compiler.
4360 (lookup-syntax-properties): Silence byte-compiler.
4361 (c-lang-defconst): Quote the code with `lambda' rather than with
4362 `quote'.
4363 (c-lang-const): Avoid unneeded setq.
4364 (c-lang-constants-under-evaluation): Add docstring.
4365 (c-lang--novalue): New constant.
4366 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
4367 (c-get-lang-constant): Same here.
4368 Get the mode's value using `funcall' now that the code is quoted
4369 with `lambda'.
4370
4371 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
4372
4373 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
4374 (Bug#18326)
4375
4376 2014-08-28 Martin Rudalics <rudalics@gmx.at>
4377
4378 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
4379 interpretation of `portion-whole'.
4380
4381 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
4382
4383 * net/tramp-adb.el: Spell author name correctly.
4384
4385 2014-08-28 João Távora <joaotavora@gmail.com>
4386
4387 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
4388 use url-expand-file-name. (Bug#18310)
4389
4390 2014-08-28 Glenn Morris <rgm@gnu.org>
4391
4392 * emulation/cua-rect.el (cua--highlight-rectangle):
4393 Avoid error at point-min. (Bug#18309)
4394
4395 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4396
4397 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
4398 executable-find (bug#18244).
4399
4400 * simple.el (self-insert-uses-region-functions): Defvar.
4401
4402 2014-08-28 Glenn Morris <rgm@gnu.org>
4403
4404 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
4405
4406 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
4407
4408 * startup.el (normal-top-level): Now use internal--top-level-message.
4409
4410 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
4411
4412 * startup.el (normal-top-level): Use top-level-message.
4413
4414 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4415
4416 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
4417 URLs containing spaces and the like.
4418
4419 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
4420
4421 * subr.el (remq): Fix docstring (Bug#18253).
4422
4423 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
4424
4425 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
4426
4427 2014-08-24 Alan Mackenzie <acm@muc.de>
4428
4429 Handle C++11's "auto" and "decltype" constructions.
4430 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
4431 and return 'decltype.
4432 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
4433 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
4434 keyword.
4435 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
4436 "decltype" keyword.
4437 (c-font-lock-c++-new): Handle "decltype" constructions.
4438 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
4439 New c-lang-defconsts/defvars.
4440 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
4441 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
4442 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
4443 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
4444
4445 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
4446 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
4447 off from c->-op-cont-re.
4448 (c->-op-cont-tokens): Change to use the above.
4449 (c->-op-without->-cont-regexp): New lang-const.
4450 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
4451 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
4452
4453
4454 2014-08-23 Alan Mackenzie <acm@muc.de>
4455
4456 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
4457 loop, bug #18306. The bug was introduced on 2014-08-02.
4458
4459 2014-08-21 Eli Zaretskii <eliz@gnu.org>
4460
4461 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
4462 Don't recognize a Top node if there are other sectioning commands
4463 earlier in the Texinfo file. This fixes a bug in
4464 texinfo-make-menu and avoids inflooping in
4465 texinfo-all-menus-update when they are invoked on texinfo.texi.
4466
4467 2014-08-21 Martin Rudalics <rudalics@gmx.at>
4468
4469 * window.el (window--side-window-p): New function.
4470 (split-window, window-splittable-p): Use window--side-window-p to
4471 determine whether WINDOW can be split (Bug#18304).
4472 * calendar/calendar.el (calendar-basic-setup): Fix one call of
4473 `window-splittable-p' and add another (Bug#18304).
4474
4475 2014-08-20 Sam Steingold <sds@gnu.org>
4476
4477 * progmodes/python.el (python-new-pythonpath): Extract from
4478 `python-shell-calculate-process-environment'.
4479
4480 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4481
4482 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
4483 for &key args (bug#18048).
4484
4485 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
4488 (eldoc-function-argstring-format): Remove.
4489 (eldoc-function-argstring): Always return upcase args.
4490 Use help-make-usage. Don't add parens.
4491 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
4492 it's too late to do it right (bug#18048).
4493
4494 2014-08-18 Eli Zaretskii <eliz@gnu.org>
4495
4496 * scroll-bar.el (scroll-bar-horizontal-drag-1)
4497 (scroll-bar-toolkit-horizontal-scroll): When determining the
4498 paragraph direction, use the buffer of the window designated in
4499 the event.
4500
4501 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
4502
4503 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
4504 context of unified diff.
4505
4506 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
4507
4508 Add dependencies to fix loaddefs race during parallel builds.
4509 Without this, for example, 'make -j bootstrap' can fail and report
4510 "Opening input file: no such file or directory,
4511 .../lisp/calendar/diary-loaddefs.el ... recipe for target
4512 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
4513 got confused because diary-loaddefs.el was being built in parallel.
4514 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
4515 Depend on $(CAL_DIR)/cal-loaddefs.el.
4516 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
4517
4518 2014-08-16 Martin Rudalics <rudalics@gmx.at>
4519
4520 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
4521 portion-whole for scrolling right-to-left text.
4522
4523 2014-08-15 Leo Liu <sdl.web@gmail.com>
4524
4525 * speedbar.el (speedbar-generic-list-tag-p): Allow special
4526 elements from imenu.
4527
4528 2014-08-15 Glenn Morris <rgm@gnu.org>
4529
4530 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
4531
4532 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
4533
4534 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4535 Add Guile regexpses.
4536
4537 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
4538
4539 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
4540 add Guile debugger support for GUD.
4541
4542 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
4545 (mouse-sel--ignore): New function.
4546 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
4547 (mouse-sel-original-interprogram-cut-function)
4548 (mouse-sel-original-interprogram-paste-function): Remove.
4549
4550 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
4551
4552 * vc/vc-git.el (vc-git-resolve-when-done): New function.
4553 Call "git add" when there are no longer conflict markers.
4554
4555 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4556
4557 * vc/vc-git.el (vc-git-find-file-hook): New function.
4558 Adds support for calling smerge (and resolve) on a conflicted file.
4559 (vc-git-conflicted-files): New function.
4560 Useful in itself and a step towards better smerge support.
4561
4562 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
4565 to the first part if they're the same as the selection.
4566
4567 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4568
4569 * image-mode.el (image-transform-reset): New command and menu item.
4570 (image-mode-map): Rearrange the menu items to put presumably more
4571 obscure items at the end.
4572
4573 2014-08-12 Juri Linkov <juri@jurta.org>
4574
4575 * vc/vc-annotate.el (vc-annotate-background-mode):
4576 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
4577
4578 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * files.el (out-of-memory-warning-percentage): Turn it off by default.
4581
4582 2014-08-11 Sam Steingold <sds@gnu.org>
4583
4584 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
4585 the presence of known validators (tidy, (o)nsgmls).
4586
4587 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
4588
4589 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
4590 * net/newst-treeview.el (newsticker-treeview-date-format): New.
4591 (newsticker--treeview-list-add-item):
4592 Use `newsticker-treeview-date-format'.
4593
4594 2014-08-11 Glenn Morris <rgm@gnu.org>
4595
4596 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
4597 chose coding system for writing before backing up, since it causes
4598 a more serious problem than the one it solves. (Closes Bug#18141,
4599 reopens Bug#13522.)
4600
4601 2014-08-11 Martin Rudalics <rudalics@gmx.at>
4602
4603 * window.el (window-total-size): Make doc-string more self-contained.
4604
4605 * window.el (display-buffer-below-selected): Restore original
4606 behavior if buffer is already displayed in the window below the
4607 selected one (Bug#18181).
4608
4609 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
4612 event (bug#18212).
4613
4614 2014-08-11 Eli Zaretskii <eliz@gnu.org>
4615
4616 * info.el (info): Doc fix.
4617
4618 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * info.el (Info-mode-map): Override a global down-mouse-2 binding
4621 (bug#18212).
4622
4623 2014-08-11 Eli Zaretskii <eliz@gnu.org>
4624
4625 * simple.el (default-line-height): A floating-point value of
4626 line-spacing means a fraction of the default frame font's height,
4627 not of the font currently used by the 'default' face.
4628 Truncate the pixel value, like the display engine does.
4629 (window-screen-lines): Use window-inside-pixel-edges for
4630 determining the window height in pixels. (Bug#18195)
4631
4632 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
4633
4634 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
4635
4636 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
4637
4638 Enumerate evaluated sexp diary entries (Bug#7911).
4639 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
4640 (icalendar-export-sexp-enumeration-days): New.
4641 (icalendar-export-region): Now `icalendar--convert-to-ical'
4642 returns a cons cell or a list of cons cells.
4643 (icalendar--convert-to-ical): Take care of
4644 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
4645 (icalendar--convert-ordinary-to-ical)
4646 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4647 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
4648 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
4649 (icalendar--convert-anniversary-to-ical): Return cons cell.
4650 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
4651 entries. Return (list of) cons cells.
4652
4653 2014-08-09 Juri Linkov <juri@jurta.org>
4654
4655 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
4656 to reevaluate `vc-annotate-color-map'. (Bug#18189)
4657
4658 2014-08-09 Alan Mackenzie <acm@muc.de>
4659
4660 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
4661 for top-level that can cause unacceptable slow-down in scrolling.
4662 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
4663 Antipov from 2013-10-14 in emacs-devel.
4664
4665 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4666
4667 * ibuffer.el (ibuffer-mode-map): Use toggle button for
4668 `ibuffer-auto-mode' menu entry.
4669 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
4670
4671 2014-08-08 Matthias Meulien <orontee@gmail.com>
4672
4673 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
4674 (Bug#16394)
4675
4676 2014-08-07 Martin Rudalics <rudalics@gmx.at>
4677
4678 * window.el (window--min-size-1): Explicitly set WINDOW arg in
4679 calls of window-min-pixel-height and window-min-pixel-width.
4680
4681 2014-08-07 Reuben Thomas <rrt@sc3d.org>
4682
4683 * progmodes/ada-mode.el:
4684 * net/tramp.el (tramp-handle-file-symlink-p):
4685 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
4686 about VMS, which we no longer support.
4687 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
4688 and fix a FIXME, using convert-standard-filename in place of
4689 removed ada-convert-file-name.
4690
4691 2014-08-07 Eli Zaretskii <eliz@gnu.org>
4692
4693 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
4694
4695 2014-08-07 Reuben Thomas <rrt@sc3d.org>
4696
4697 Refer to MS-DOS using the same name everywhere.
4698 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
4699 ``msdog'' become ``MS-DOS''.
4700
4701 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
4702
4703 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4704 Use cached "remote-copy-args" value, if available. (Bug#18199)
4705
4706 2014-08-07 Leo Liu <sdl.web@gmail.com>
4707
4708 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
4709 Revert change on 2014-03-22.
4710
4711 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
4712
4713 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
4714 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
4715 (Bug#13750).
4716
4717
4718 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4719
4720 * image-mode.el (image-toggle-display-image): Always rescale images
4721 to not be bigger than the current window.
4722
4723 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
4724
4725 * net/eww.el (eww-bookmarks-directory): New variable.
4726 (eww-write-bookmarks): Use it.
4727 (eww-read-bookmarks): Ditto.
4728
4729 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4730
4731 * net/shr.el (shr-copy-url): Also copy the image URL.
4732
4733 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
4734
4735 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
4736 also for Tramp working buffers.
4737
4738 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4739
4740 * progmodes/python.el: Fix completions inside (i)pdb.
4741 (python-shell-completion-pdb-string-code): Make obsolete.
4742 (python-shell-completion-get-completions):
4743 Use python-shell-completion-string-code resending setup code
4744 continuously for (i)pdb.
4745
4746 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
4747
4748 * rect.el (rectangle--default-line-number-format): Rename
4749 from misspelled rectange--default-line-number-format (Bug#18045).
4750 All uses changed.
4751
4752 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
4753
4754 Don't mishandle year-9999 dates (Bug#18176).
4755 * calendar/parse-time.el (parse-time-rules):
4756 Allow years up to most-positive-fixnum.
4757 * calendar/time-date.el (date-to-time):
4758 Pass "Specified time is not representable" errors through.
4759
4760 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4761
4762 * progmodes/python.el: Completion code cleanups.
4763 (python-shell-completion-get-completions): Detect and send import
4764 statements directly to completion function.
4765 (python-shell-completion-at-point): Simplify prompt calculation
4766 and import vs input completion logic.
4767
4768 2014-08-02 Alan Mackenzie <acm@muc.de>
4769
4770 Fix confusion in C++ file caused by comma in "= {1,2},".
4771 Bug #17756.
4772 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
4773 for a statement boundary marked by "}", check there's no "="
4774 before the "{".
4775 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
4776 non-nil `comma-delim' argument.
4777 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
4778 initializer expression more accurately.
4779
4780 Correct loop termination condition in c-syntactic-skip-backward.
4781 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
4782 the situation where, after moving back out of a literal,
4783 skip-chars-backward doesn't move further, yet checks have still to
4784 be done.
4785
4786 2014-08-01 Eli Zaretskii <eliz@gnu.org>
4787
4788 * tutorial.el (tutorial--display-changes): Accept punctuation
4789 characters before the key binding. (Bug#18146)
4790
4791 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
4792
4793 * progmodes/python.el: Shell output capture enhancements.
4794 (python-shell-accept-process-output): New function.
4795 (inferior-python-mode)
4796 (python-shell-send-setup-code): Use it.
4797
4798 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
4799
4800 * calendar/icalendar.el (icalendar--decode-isodatetime):
4801 Use actual current-time-zone when converting to local time. (Bug#15408)
4802
4803 2014-07-29 Martin Rudalics <rudalics@gmx.at>
4804
4805 * window.el (window--state-put-2): Handle horizontal scroll
4806 bars, if present.
4807
4808 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4809
4810 * menu-bar.el (menu-bar-update-buffers): Update item list format
4811 in `buffers-menu' to confirm with changes to `get_keyelt'
4812 (r117463). (Bug#18016)
4813
4814 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4815
4816 * progmodes/python.el (inferior-python-mode): Make input prompts
4817 read-only.
4818
4819 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
4820
4821 * net/tramp-sh.el (tramp-get-remote-python): Also search for
4822 executables named "python2" or "python3".
4823 (tramp-get-remote-uid-with-python): Use parentheses around
4824 arguments to `print' to make it compatible with Python 3.
4825 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
4826
4827 2014-07-28 Eli Zaretskii <eliz@gnu.org>
4828
4829 * window.el (window--pixel-to-total): Use FRAME's root window, not
4830 that of the selected frame. (Bug#18112, Bug#16674)
4831
4832 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
4833
4834 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
4835 (Bug#18117)
4836
4837 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4838
4839 * progmodes/python.el (inferior-python-mode): Doc fix.
4840
4841 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
4842
4843 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
4844 not a character, ignore it instead of raising an error.
4845
4846 * calendar/todo-mode.el: Fix handling of marked items and make
4847 minor code improvements.
4848 (todo-edit-item): If there are marked items, ensure user can only
4849 invoke editing commands that work with marked items.
4850 (todo-edit-item--text): When there are marked items, make it a
4851 noop if invoked with point not on an item; otherwise, ensure it
4852 applies only to item at point.
4853 (todo-item-undone): If there are marked not-done items, return
4854 point to its original position before signaling user error.
4855 (todo--user-error-if-marked-done-item): New function.
4856 (todo-edit-item--header, todo-edit-item--diary-inclusion)
4857 (todo-item-done): Use it.
4858
4859 2014-07-28 Glenn Morris <rgm@gnu.org>
4860
4861 * files.el (toggle-read-only): Re-add basic doc-string.
4862 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
4863
4864 * progmodes/prolog.el (prolog-mode-keybindings-edit):
4865 Replace missing `switch-to-prolog' with `run-prolog'.
4866 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
4867
4868 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
4869
4870 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
4871 of file-wide setting when changing category-wide setting.
4872
4873 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
4874
4875 * doc-view.el (doc-view-open-text): Don't require that the
4876 document is saved in a file (e.g., email attachment).
4877
4878 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4879
4880 Parse completion input in a iPython friendly way. (Bug#18084)
4881 * progmodes/python.el
4882 (python-shell-completion-at-point): Rename from
4883 python-shell-completion-complete-at-point.
4884 (inferior-python-mode): Use it.
4885 (python-completion-at-point): Rename from
4886 python-completion-complete-at-point. Parse input up to first
4887 backward occurrence of whitespace, open-paren, close-paren or
4888 string delimiter.
4889 (python-mode): Use it.
4890
4891 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4892
4893 * progmodes/python.el
4894 (python-shell-with-shell-buffer): New macro.
4895 (python-shell-font-lock-get-or-create-buffer)
4896 (python-shell-font-lock-kill-buffer)
4897 (python-shell-font-lock-with-font-lock-buffer)
4898 (python-shell-font-lock-cleanup-buffer)
4899 (python-shell-font-lock-toggle): Use it.
4900 (python-shell-font-lock-turn-on)
4901 (python-shell-font-lock-turn-off): Use it. Make command.
4902
4903 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4904
4905 Grab all Python process output before inferior-python-mode hooks.
4906 * progmodes/python.el (inferior-python-mode):
4907 Call accept-process-output and sit-for to ensure all output for process
4908 has been received before running hooks.
4909 (python-shell-internal-get-or-create-process):
4910 Cleanup accept-process-output and sit-for calls.
4911
4912 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
4913
4914 More robust shell startup and code setup.
4915 * progmodes/python.el (python-shell-make-comint):
4916 Remove accept-process-output call.
4917 (python-shell-get-buffer): Return current buffer if major-mode is
4918 inferior-python-mode.
4919 (python-shell-get-or-create-process): Use it.
4920 (python-shell-send-setup-code): Send all setup code in one string,
4921 output success message and accept-process-output.
4922
4923 2014-07-27 Eli Zaretskii <eliz@gnu.org>
4924
4925 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
4926 Add rudimentary support for bidirectional text.
4927
4928 2014-07-27 Martin Rudalics <rudalics@gmx.at>
4929
4930 * frame.el (frame-notice-user-settings): Rewrite using
4931 frame-initial-frame-tool-bar-height.
4932 * menu-bar.el (menu-bar-horizontal-scroll-bar)
4933 (menu-bar-no-horizontal-scroll-bar): New functions.
4934 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
4935 scroll bars.
4936 * scroll-bar.el (scroll-bar-lines)
4937 (set-horizontal-scroll-bar-mode)
4938 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
4939 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
4940 (scroll-bar-toolkit-horizontal-scroll): New functions.
4941 (horizontal-scroll-bar-mode)
4942 (previous-horizontal-scroll-bar-mode)
4943 (horizontal-scroll-bar-mode-explicit): New variables.
4944 (horizontal-scroll-bar-mode): New option.
4945 (toggle-horizontal-scroll-bar): Do something.
4946 (top-level): Bind horizontal-scroll-bar mouse-1.
4947 * startup.el (tool-bar-originally-present): Remove variable.
4948 (command-line): Don't set tool-bar-originally-present.
4949 * window.el (window-min-height): Update doc-string.
4950 (window--dump-frame): Dump horizontal scroll bar values.
4951 (window--min-size-1): Handle minibuffer window separately.
4952 Count in margins and horizontal scroll bar. Return safe value
4953 iff IGNORE equals 'safe.
4954 (frame-windows-min-size): New function (used by frame resizing
4955 routines).
4956 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
4957 scroll bars.
4958 (window--sanitize-window-sizes): New function.
4959 (window-split-min-size): Remove.
4960 (split-window): Count divider-width. Don't use
4961 `window-split-min-size' any more. Reword error messages.
4962 Sanitize windows sizes after splitting.
4963
4964 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
4965
4966 Use `defvar-local' more.
4967 * progmodes/hideshow.el
4968 (hs-c-start-regexp, hs-block-start-regexp)
4969 (hs-block-start-mdata-select, hs-block-end-regexp)
4970 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
4971 remove corresponding `make-variable-buffer-local' top-level calls.
4972
4973 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4974
4975 Cleanup error signals. (Bug#18067)
4976 * progmodes/python.el
4977 (python-indent-shift-left): Use user-error instead.
4978 (python-shell-prompt-detect): Use lwarn with python group.
4979 (python-completion-complete-at-point)
4980 (python-eldoc--get-doc-at-point): Don't signal error.
4981
4982 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4983
4984 Support for packages in Python shell. (Bug#13570)
4985 * progmodes/python.el (python-shell--package-depth): New var.
4986 (python-shell-package-enable): New command.
4987 (python-util-list-directories, python-util-list-files)
4988 (python-util-list-packages): New functions.
4989
4990 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4991
4992 Faster comint output. (Bug#16875)
4993 * progmodes/python.el:
4994 (python-comint-output-filter-function): Make obsolete.
4995 (python-comint-postoutput-scroll-to-bottom): New function.
4996 (inferior-python-mode): Set comint-output-filter-functions to a
4997 minimum.
4998
4999 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
5000
5001 * progmodes/python.el (python-shell-font-lock-post-command-hook):
5002 Safeguard current point and undo history.
5003
5004 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5005
5006 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
5007 * progmodes/python.el:
5008 (python-shell-prompt-input-regexps): Add iPython block prompt.
5009 (python-shell-output-syntax-table): Delete var.
5010 (python-shell-font-lock-with-font-lock-buffer): New macro.
5011 (python-shell-font-lock-get-or-create-buffer)
5012 (python-shell-font-lock-kill-buffer)
5013 (python-shell-font-lock-cleanup-buffer)
5014 (python-shell-font-lock-post-command-hook)
5015 (python-shell-font-lock-turn-off): New functions.
5016 (python-shell-font-lock-turn-on): New function.
5017 (inferior-python-mode): Use it.
5018 (python-shell-font-lock-toggle): New command.
5019 (python-shell-font-lock-enable): Rename from
5020 python-shell-enable-font-lock.
5021 (run-python-internal): Use it.
5022 (python-shell-font-lock-comint-output-filter-function): New function.
5023 (python-shell-comint-end-of-output-p): New function.
5024 (python-shell-output-filter): Use it.
5025 (python-util-comint-last-prompt): New function.
5026 (python-util-text-properties-replace-name): New function.
5027
5028 2014-07-25 Glenn Morris <rgm@gnu.org>
5029
5030 * vc/ediff-init.el (ediff-toggle-read-only-function):
5031 * vc/ediff-util.el (ediff-toggle-read-only):
5032 Replace obsolete toggle-read-only with read-only-mode.
5033
5034 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
5035
5036 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
5037 with `save-match-data'. (Bug#18095)
5038
5039 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
5040
5041 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
5042 order to ensure that row and col are lexically bound inside the
5043 evaluated sexp.
5044
5045 2014-07-21 Glenn Morris <rgm@gnu.org>
5046
5047 * progmodes/hideif.el (hide-ifdef-mode-submap):
5048 Also substitute read-only-mode.
5049 * bindings.el (mode-line-toggle-read-only):
5050 * bs.el (bs-toggle-readonly):
5051 * buff-menu.el (Buffer-menu-toggle-read-only):
5052 * dired.el (dired-toggle-read-only):
5053 * files.el (view-read-only, find-file-read-only)
5054 (find-file-read-only-other-window)
5055 (find-file-read-only-other-frame):
5056 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
5057 Doc fixes re toggle-read-only.
5058
5059 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5060
5061 * progmodes/python.el: Add comment about pipe buffering and
5062 solutions for missing/delayed output in inferior Python shells.
5063 (Bug#17304)
5064
5065 * progmodes/python.el (python-mode): Don't set
5066 mode-require-final-newline. (Bug#17990)
5067
5068 Make python.el work with IPython automatically. (Bug#15510)
5069 * progmodes/python.el:
5070 (python-shell-completion-setup-code): New value supporting iPython.
5071 (python-shell-completion-string-code): New value supporting iPython.
5072 (python-shell-completion-get-completions): Use them.
5073 (python-shell-completion-module-string-code): Make obsolete.
5074 (python-shell-prompt-input-regexps)
5075 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
5076 (python-shell-output-filter): Fix comment typo.
5077
5078 Fix Python shell prompts detection for remote hosts.
5079 * progmodes/python.el (python-shell-prompt-detect):
5080 Replace call-process with process-file and make it more robust.
5081
5082 Autodetect Python shell prompts. (Bug#17370)
5083 * progmodes/python.el:
5084 (python-shell-interpreter-interactive-arg)
5085 (python-shell-prompt-detect-enabled)
5086 (python-shell-prompt-detect-failure-warning)
5087 (python-shell-prompt-input-regexps)
5088 (python-shell-prompt-output-regexps): New vars.
5089 (python-shell-prompt-calculated-input-regexp)
5090 (python-shell-prompt-calculated-output-regexp): New vars.
5091 (python-shell-get-process-name)
5092 (python-shell-internal-get-process-name)
5093 (python-shell-output-filter)
5094 (python-shell-completion-get-completions): Use them.
5095 (python-shell-prompt-detect)
5096 (python-shell-prompt-validate-regexps): New functions.
5097 (python-shell-prompt-set-calculated-regexps): New function.
5098 (inferior-python-mode): Use it. Also honor overriden
5099 python-shell-interpreter and python-shell-interpreter-args.
5100 (python-shell-make-comint): Honor overriden
5101 python-shell-interpreter and python-shell-interpreter-args.
5102 (python-shell-get-or-create-process): Make it testable by allowing
5103 to call run-python non-interactively.
5104 (python-util-valid-regexp-p): New function.
5105 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
5106 (python-shell-prompt-output-regexp)
5107 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
5108
5109 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * emacs-lisp/smie.el (smie-config--guess-1): Split from
5112 smie-config--guess.
5113 (smie-config--guess): Use it.
5114
5115 * emacs-lisp/edebug.el: Use nadvice.
5116 (edebug-original-read): Remove.
5117 (edebug--read): Rename from edebug-read and add `orig' arg.
5118 (edebug-uninstall-read-eval-functions)
5119 (edebug-install-read-eval-functions): Use nadvice.
5120 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
5121 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
5122 (edebug-read-string, edebug-read-function): Use just `read'.
5123 (edebug-original-debug-on-entry): Remove.
5124 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
5125 `orig' arg.
5126 (debug-on-entry): Override with nadvice.
5127
5128 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
5129 it also makes sense to bind it to a non-mouse event.
5130
5131 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
5132
5133 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
5136 (bug#18015).
5137
5138 * rect.el (rectangle--string-preview): Don't assume there
5139 a non-nil default (bug#17984).
5140
5141 2014-07-16 Glenn Morris <rgm@gnu.org>
5142
5143 * desktop.el (after-init-hook): Disable startup frame restoration
5144 in non-graphical situations. (Bug#17693)
5145
5146 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
5147 if it was "empty", or used for a different set of files. (Bug#17884)
5148
5149 2014-07-16 Eli Zaretskii <eliz@gnu.org>
5150
5151 * bindings.el (mode-line-remote): If default-directory is not a
5152 string, don't call file-remote-p on it; instead state in the
5153 help-echo that it is nil. (Bug#17986)
5154
5155 2014-07-14 Daniel Colascione <dancol@dancol.org>
5156
5157 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
5158 to `macroexpand-all'
5159
5160 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
5161 Use `macroexpand-all' instead of `cl-macroexpand-all'.
5162
5163 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
5164
5165 Fix bug: C-x v v discarded existing log message (Bug#17884).
5166 * vc/vc-dispatcher.el (vc-log-edit):
5167 Don't clobber an already-existing log message.
5168
5169 2014-07-12 Glenn Morris <rgm@gnu.org>
5170
5171 * vc/log-edit.el (log-edit-changelog-entries):
5172 Check for a visited-but-never-saved ChangeLog.
5173
5174 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
5177 a non-existing file (bug#17970).
5178
5179 * faces.el (face-name): Undo last change.
5180 (x-resolve-font-name): Don't call face-name (bug#17956).
5181
5182 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5183
5184 Fix dedenters and electric colon handling. (Bug#15163)
5185 * progmodes/python.el
5186 (python-rx-constituents): Add dedenter and block-ender.
5187 (python-indent-dedenters, python-indent-block-enders): Delete.
5188 (python-indent-context): Return new case for dedenter-statement.
5189 (python-indent-calculate-indentation): Handle new case.
5190 (python-indent-calculate-levels): Fix levels calculation for
5191 dedenter statements.
5192 (python-indent-post-self-insert-function): Fix colon handling.
5193 (python-info-dedenter-opening-block-message): New function.
5194 (python-indent-line): Use it.
5195 (python-info-closing-block)
5196 (python-info-closing-block-message): Remove.
5197 (python-info-dedenter-opening-block-position)
5198 (python-info-dedenter-opening-block-positions)
5199 (python-info-dedenter-statement-p): New functions.
5200
5201 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
5202
5203 * files.el (out-of-memory-warning-percentage): New defcustom.
5204 (warn-maybe-out-of-memory): Use it.
5205
5206 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
5207
5208 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
5209 when calling `read-string'. (Bug#17839)
5210
5211 2014-07-10 Eli Zaretskii <eliz@gnu.org>
5212
5213 * files.el (warn-maybe-out-of-memory): Fix the wording of the
5214 warning.
5215
5216 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
5217
5218 * files.el (warn-maybe-out-of-memory): New function.
5219 (find-file-noselect): Use it.
5220
5221 2014-07-09 Sam Steingold <sds@gnu.org>
5222
5223 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
5224 `constant' like `bless', `return' &c
5225
5226 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * rect.el (apply-on-rectangle): Check forward-line really moved to the
5229 next line.
5230
5231 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
5234 the middle of a line (bug#17896).
5235
5236 2014-07-09 Juri Linkov <juri@jurta.org>
5237
5238 * startup.el (command-line): Append displaying the warning about
5239 the errors in the init file to the end of `after-init-hook'.
5240 (Bug#17927)
5241
5242 * faces.el (face-name): Return input arg `face' as-is
5243 when it's not a symbol.
5244 (x-resolve-font-name): Don't check if the face is a symbol.
5245 (Bug#17956)
5246
5247 * facemenu.el (list-colors-print): In help-echo format use %.2f
5248 instead of %d because now HSV values are floating-point components
5249 between 0.0 and 1.0.
5250
5251 2014-07-09 Glenn Morris <rgm@gnu.org>
5252
5253 * emulation/cua-rect.el (cua--activate-rectangle):
5254 Avoid setting cua--rectangle to nil. (Bug#17877)
5255
5256 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
5257
5258 * calendar/todo-mode.el: Fix wrong-type-argument error when
5259 marking multiple consecutive items.
5260 (todo-toggle-mark-item): Don't try to mark the empty lines at the
5261 end of the todo and done items sections. Note in doc string that
5262 items marked by passing a numeric prefix argument can include the
5263 last todo and first done items.
5264 (todo-mark-category): Don't try to mark the empty line between the
5265 todo and done items sections.
5266
5267 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
5270 proper Lisp quoting (bug#17934).
5271
5272 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
5273 require-final-newline since prog-mode already took care of it (bug#17947).
5274
5275 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
5276
5277 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
5278 refer to the Todo mode Info manual. Update the comment on
5279 requiring cl-lib.
5280 (todo-find-filtered-items-file): Add todo-prefix overlays.
5281 (todo-filter-items): Reorder a let-bound variable to avoid a
5282 wrong-type-argument error on canceling the file choice dialog.
5283
5284 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * progmodes/octave.el (inferior-octave-mode):
5287 Set comint-input-ring-size to a number (bug#17912).
5288
5289 2014-07-09 Juri Linkov <juri@jurta.org>
5290
5291 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
5292 and `isearch-mode' associated with nil. (Bug#17849)
5293
5294 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5295
5296 * linum.el (linum--face-height): New function (bug#17813).
5297 (linum-update-window): Use it to adjust margin to linum's width.
5298
5299 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
5300 * eshell/em-smart.el (eshell-smart-scroll-window):
5301 Use with-selected-window.
5302
5303 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
5304 Remove also pointless window&mark manipulation.
5305
5306 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
5307 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
5308 (perl-continuation-line-p): Don't skip over anything else than labels.
5309 Return the previous char.
5310 (perl-calculate-indent): Use syntax-ppss instead of parse-start
5311 and update callers accordingly. For continuation lines, check the
5312 the case of array hashes.
5313 (perl-backward-to-noncomment): Make it non-interactive.
5314 (perl-backward-to-start-of-continued-exp): Rewrite.
5315
5316 2014-07-08 Sam Steingold <sds@gnu.org>
5317
5318 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
5319 New user commands.
5320
5321 2014-07-08 Juri Linkov <juri@jurta.org>
5322
5323 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
5324 (vc-annotate-color-map): Use less saturated colors (20%) for
5325 background-mode.
5326 (vc-annotate-very-old-color): Add default value for background-mode.
5327 (vc-annotate-background): Set default value to nil since now text on
5328 the default backgrounds should be legible in light and dark modes.
5329 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
5330 (Bug#17808)
5331
5332 2014-07-08 Juri Linkov <juri@jurta.org>
5333
5334 * simple.el (transpose-chars): Don't move point into read-only area.
5335 (Bug#17829)
5336
5337 2014-07-08 Juri Linkov <juri@jurta.org>
5338
5339 * window.el (with-displayed-buffer-window): New macro.
5340 (with-temp-buffer-window, with-current-buffer-window):
5341 Use `macroexp-let2' to evaluate and bind variables
5342 in the same order as macro arguments.
5343 (display-buffer--action-function-custom-type):
5344 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
5345
5346 * minibuffer.el (minibuffer-completion-help): Replace
5347 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
5348 with actions that display *Completions* at-bottom when called
5349 from the minibuffer, or below-selected in a normal buffer.
5350 Associate `window-height' with `fit-window-to-buffer'.
5351 Let-bind `pop-up-windows' to nil.
5352
5353 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
5354 instead of `with-current-buffer-window'. (Bug#17809)
5355
5356 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
5357
5358 * progmodes/hideif.el (hide-ifdef-env): Change to global.
5359 (hide-ifdef-env-backup): New variable.
5360 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
5361 New customizable variables.
5362 (hif-clear-all-ifdef-defined): New defun.
5363 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
5364 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
5365 (hif-tokenize): Fix for MS-DOS/Win EOL style.
5366 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
5367 Fix bug to hide the correct #elif region(s).
5368 (hif-range-elif): New defun.
5369 (hif-recurse-level): New var.
5370 (hif-evaluate-region, hif-evaluate-macro): New defun.
5371 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
5372 fully hidden.
5373 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
5374 Better interaction.
5375
5376 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
5377
5378 * net/dbus.el (dbus-peer-handler): New defun.
5379 (dbus-register-service): Register it. (Bug#17858)
5380 (dbus-managed-objects-handler): Fix docstring.
5381
5382 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
5383
5384 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
5385 (narrow-to-defun): New arg include-comments, defaulting to it
5386 (bug#16328).
5387
5388 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
5391 different calling convention to rectangle--unhighlight-for-redisplay.
5392
5393 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
5394
5395 * net/tramp.el (tramp-call-process): Handle error strings.
5396
5397 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
5398
5399 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
5400 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
5401
5402 * net/trampver.el: Update release number.
5403
5404 2014-07-03 Juri Linkov <juri@jurta.org>
5405
5406 * desktop.el (desktop-save): Rename arg `auto-save' to
5407 `only-if-changed'. Doc fix. (Bug#17873)
5408
5409 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5412 Use insert-for-yank (bug#17271).
5413
5414 2014-07-03 Leo Liu <sdl.web@gmail.com>
5415
5416 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
5417 Support lexical-binding.
5418
5419 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * vc/log-edit.el (log-edit-goto-eoh): New function.
5422 (log-edit--match-first-line): Use it (bug#17861).
5423
5424 2014-07-03 Glenn Morris <rgm@gnu.org>
5425
5426 * vc/log-edit.el (log-edit-hook): Add missing :version.
5427
5428 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
5429
5430 * progmodes/python.el (python-indent-post-self-insert-function):
5431 Enhancements to electric indentation behavior inside
5432 parens. (Bug#17658)
5433
5434 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
5435
5436 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
5437 buffer-invisibility-spec (bug#17867).
5438
5439 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
5440
5441 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
5442 pass "-a".
5443
5444 2014-07-03 Glenn Morris <rgm@gnu.org>
5445
5446 * cus-edit.el (help):
5447 * finder.el (finder-known-keywords):
5448 * help.el (help-for-help-internal):
5449 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
5450 (ediff-redraw-registry-buffer):
5451 * vc/ediff-ptch.el (ediff-patch-file-internal):
5452 Doc fixes re "online" help. (Bug#17803)
5453
5454 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
5455 (idlwave-mode): Doc URL update.
5456
5457 2014-07-01 Juri Linkov <juri@jurta.org>
5458
5459 * man.el: Display man pages immediately and use process-filter
5460 to format them asynchronously.
5461 (Man-width): Doc fix.
5462 (man): Doc fix.
5463 (Man-start-calling): Use `with-selected-window' to get
5464 `frame-width' and `window-width'.
5465 (Man-getpage-in-background): Call `Man-notify-when-ready'
5466 immediately after creating a new buffer. Call `Man-mode' and set
5467 `mode-line-process' in the created buffer. Set process-filter to
5468 `Man-bgproc-filter' in start-process branch. In call-process branch
5469 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
5470 Use `Man-start-calling' inside `with-current-buffer'.
5471 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
5472 (Man-cleanup-manpage): Don't print messages.
5473 (Man-bgproc-filter): New function.
5474 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
5475 user moved it during asynchronous formatting. Move calls of
5476 `Man-fontify-manpage' and `Man-cleanup-manpage' to
5477 `Man-bgproc-filter'. Move the call of `Man-mode' to
5478 `Man-getpage-in-background'. Use `quit-restore-window'
5479 instead of `kill-buffer'. Use `message' instead of `error'
5480 because errors are caught by process sentinel.
5481 (Man-mode): Move calls of `Man-build-page-list',
5482 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
5483 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
5484
5485 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
5486 for the message about the man page cleaned up.
5487
5488 2014-07-01 Mario Lang <mlang@delysid.org>
5489
5490 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
5491 cosutomization option `gnutls-verify-error'.
5492
5493 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
5496 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
5497
5498 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
5499 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
5500 is suspended (bug#17857).
5501
5502 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
5503
5504 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5505 Prefer utf-8 coding. (Bug#17859)
5506
5507 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
5508
5509 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
5510 for `reverse'.
5511
5512 2014-06-30 Glenn Morris <rgm@gnu.org>
5513
5514 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
5515 (autoload-ensure-default-file): Maybe make existing output writable.
5516 * Makefile.in (AUTOGEN_VCS): Remove.
5517 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
5518
5519 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
5520
5521 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
5522
5523 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
5524
5525 New if-let, when-let, thread-first and thread-last macros.
5526
5527 * emacs-lisp/subr-x.el
5528 (internal--listify, internal--check-binding)
5529 (internal--build-binding-value-form, internal--build-binding)
5530 (internal--build-bindings): New functions.
5531 (internal--thread-argument, thread-first, thread-last)
5532 (if-let, when-let): New macros.
5533
5534 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
5535
5536 * net/rcirc.el (rcirc-buffer-process): Restore previous
5537 behaviour. (Bug#17772)
5538
5539 2014-06-29 Alan Mackenzie <acm@muc.de>
5540
5541 Don't call c-parse-state when c++-template-syntax-table is active.
5542 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
5543 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
5544 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
5545
5546 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
5547
5548 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
5549 account for file-wide setting of todo-top-priorities-overrides.
5550 Make code a bit cleaner.
5551
5552 2014-06-28 Glenn Morris <rgm@gnu.org>
5553
5554 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
5555
5556 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
5557
5558 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
5559 category-wide setting of todo-top-priorities-overrides, check for
5560 a file-wide setting and fontify accordingly.
5561
5562 2014-06-28 Glenn Morris <rgm@gnu.org>
5563
5564 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
5565
5566 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
5569
5570 2014-06-28 K. Handa <handa@gnu.org>
5571
5572 Fix Bug#17739.
5573
5574 * composite.el: Setup composition-function-table for dotted circle.
5575 (compose-gstring-for-dotted-circle): New function.
5576
5577 * international/characters.el: Add category "^" to all
5578 non-spacing characters.
5579
5580 2014-06-28 Glenn Morris <rgm@gnu.org>
5581
5582 * Makefile.in (doit): Remove force rule.
5583 (custom-deps, finder-data, autoloads, update-subdirs)
5584 (compile-one-process): PHONY targets do not need force rules.
5585
5586 * Makefile.in (compile-main, compile, compile-always):
5587 No need to explicitly pass variables to ourself in recursive calls.
5588
5589 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
5592
5593 2014-06-26 Glenn Morris <rgm@gnu.org>
5594
5595 * Makefile.in (update-authors): Update for moved authors.el.
5596
5597 2014-06-26 Leo Liu <sdl.web@gmail.com>
5598
5599 * skeleton.el (skeleton-end-hook): Default to nil and move the
5600 work to skeleton-insert. (Bug#17850)
5601
5602 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
5603
5604 * calc/calc-alg.el (math-beforep):
5605 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
5606 Simplify because string-lessp can accept symbols as args.
5607
5608 2014-06-26 Daiki Ueno <ueno@gnu.org>
5609
5610 * emacs-lisp/package.el (package--check-signature):
5611 If package-check-signature is allow-unsigned, don't signal error when
5612 we can't verify signature because of missing public key
5613 (bug#17625).
5614
5615 2014-06-26 Glenn Morris <rgm@gnu.org>
5616
5617 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
5618 Remove outdated declaration.
5619
5620 * emacs-lisp/authors.el (authors-valid-file-names)
5621 (authors-renamed-files-alist): Additions.
5622
5623 2014-06-26 Leo Liu <sdl.web@gmail.com>
5624
5625 * textmodes/picture.el (picture-set-tab-stops):
5626 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
5627 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
5628
5629 * progmodes/asm-mode.el (asm-calculate-indentation):
5630 Use indent-next-tab-stop.
5631
5632 * indent.el (indent-accumulate-tab-stops): New function.
5633
5634 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
5637 (package-desc-status): Obey it.
5638
5639 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
5640
5641 * calendar/todo-mode.el: Fix two bugs.
5642 (todo-insert-item--basic): If user cancels item insertion to
5643 another category before setting priority, show original category
5644 whether it is in the same or a different file.
5645 (todo-set-item-priority): After selecting category, instead of
5646 moving point to top, which extends an active region, restore it.
5647
5648 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * help-fns.el (describe-function-1): Check file-name is a string before
5651 calling help-fns--autoloaded-p (bug#17564).
5652
5653 2014-06-26 Juri Linkov <juri@jurta.org>
5654
5655 * desktop.el (desktop-auto-save-enable)
5656 (desktop-auto-save-disable): New functions.
5657 (desktop-save-mode, desktop-auto-save-timeout): Use them.
5658 (desktop-read): Disable the autosave before loading the desktop,
5659 and enable afterwards. (Bug#17351)
5660
5661 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5662
5663 Fix some indentation problem with \; and pipes (bug#17842).
5664 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
5665 (sh-smie--default-forward-token, sh-smie--default-backward-token):
5666 New functions.
5667 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
5668 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
5669 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
5670
5671 2014-06-26 Glenn Morris <rgm@gnu.org>
5672
5673 * emacs-lisp/find-func.el (find-function-C-source-directory):
5674 Use file-accessible-directory-p.
5675
5676 * ps-samp.el: Make it slightly less awful.
5677 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
5678 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
5679 Only set local values.
5680 (ps-article-subject, ps-article-author): Use standard functions
5681 like mail-fetch-field.
5682 (ps-info-file, ps-info-node): Use match-string.
5683 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
5684 (ps-samp-ps-setup): ... new function.
5685
5686 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
5687 Optimize away code unneeded on any modern Emacs.
5688
5689 * emacs-lisp/authors.el: Move to ../admin.
5690
5691 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
5692
5693 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
5694
5695 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
5696 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
5697 performance enhancements.
5698 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
5699 expansion.
5700 (hif-factor, hif-string-concatenation, intern-safe): Support string
5701 concatenation and argumented macro expansion.
5702 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
5703 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
5704 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
5705 (hif-canonicalize-tokens, hif-place-macro-invocation)
5706 (hif-parse-macro-arglist): Mostly new functions for supporting
5707 argumented macro expansion.
5708 (hif-string-concatenation, hif-stringify, hif-token-concat)
5709 (hif-token-stringification, hif-token-concatenation):
5710 Stringification and concatenation.
5711 (hif-find-next-relevant): Fix comments.
5712 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
5713 some cases involving #elif.
5714 (hif-find-define, hif-add-new-defines): New functions for automatically
5715 scanning of defined symbols.
5716 (hide-ifdef-guts): Fix for defined symbol auto scanning.
5717 (hide-ifdef-undef): Fix behavior to match CPP.
5718
5719 2014-06-25 Glenn Morris <rgm@gnu.org>
5720
5721 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
5722 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
5723 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
5724 files. They are not relevant to the original issue (bug#1004),
5725 and cause unnecessary recompilation (bug#2151).
5726
5727 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5728
5729 * play/landmark.el: Use lexical-binding and avoid `intangible'.
5730 (landmark--last-pos): New var.
5731 (landmark--intangible-chars): New const.
5732 (landmark--intangible): New function.
5733 (landmark-mode, landmark-move): Use it.
5734 (landmark-mode): Remove properties.
5735 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
5736 (landmark-cross-qtuple):
5737 Don't worry about `intangible' any more.
5738 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
5739 (landmark-init-display): Don't set `intangible' and `point-entered'.
5740 (square): Remove. Inline it instead.
5741 (landmark--distance): Rename from `distance'.
5742 (landmark-calc-distance-of-robot-from): Rename from
5743 calc-distance-of-robot-from.
5744 (landmark-calc-smell-internal): Rename from calc-smell-internal.
5745
5746 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
5747
5748 * files.el (dir-locals-find-file, file-relative-name):
5749 * info.el (Info-complete-menu-item):
5750 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
5751 to compare-strings to avoid out-of-range errors.
5752 * subr.el (string-prefix-p): Adjust to match strict range
5753 checking in compare-strings.
5754
5755 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
5756
5757 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
5758 for comment lines non-greedy and stopping at newlines to fix stack
5759 overflows with large files.
5760
5761 2014-06-24 Eli Barzilay <eli@barzilay.org>
5762
5763 * calculator.el (calculator-last-input): Drop 'ascii-character property
5764 lookup.
5765
5766 2014-06-24 Leo Liu <sdl.web@gmail.com>
5767
5768 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
5769 tab-stop-list to nil. (Bug#16381)
5770
5771 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
5772 (indent-rigidly-left-to-tab-stop)
5773 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
5774 (move-to-tab-stop): Change callers.
5775
5776 2014-06-24 Eli Zaretskii <eliz@gnu.org>
5777
5778 * skeleton.el (skeleton-insert): Yet another fix of the doc string
5779 wrt behavior of \n as the first/last element of a skeleton.
5780
5781 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
5782
5783 * net/tramp-adb.el (tramp-adb-handle-process-file):
5784 * net/tramp-sh.el (tramp-sh-handle-process-file):
5785 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
5786 the output buffer when DISPLAY is non-nil. (Bug#17815)
5787
5788 2014-06-24 Glenn Morris <rgm@gnu.org>
5789
5790 * play/landmark.el (landmark-move-down, landmark-move-up):
5791 Fix 2007-10-20 change - preserve horizontal position.
5792
5793 2014-06-23 Sam Steingold <sds@gnu.org>
5794
5795 * simple.el (kill-append): Remove undo boundary depending on ...
5796 (kill-append-merge-undo): New user option.
5797
5798 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * simple.el (handle-shift-selection, exchange-point-and-mark)
5801 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
5802 (transient-mark-mode): Use&set the global value.
5803 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
5804 * emulation/edt.el (edt-emulation-off): Save&restore the global
5805 transient-mark-mode setting.
5806 * obsolete/pc-select.el (pc-selection-mode): Use the
5807 transient-mark-mode function.
5808
5809 2014-06-23 Eli Zaretskii <eliz@gnu.org>
5810
5811 * international/fontset.el (script-representative-chars):
5812 Add representative characters for scripts added in Unicode 7.0.
5813 (otf-script-alist): Synchronize with the latest registry of OTF
5814 script tags.
5815
5816 * international/characters.el (char-script-table): Update for
5817 scripts added and codepoint ranges changed in Unicode 7.0.
5818
5819 2014-06-23 Eli Barzilay <eli@barzilay.org>
5820
5821 * calculator.el (calculator-standard-displayer): Fix bug in use of
5822 `calculator-groupize-number'.
5823 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
5824 `eval' code, so it works in v24.3.1 too.
5825 (calculator-last-input): Comment to clarify purpose.
5826
5827 2014-06-22 Mario Lang <mlang@delysid.org>
5828
5829 * textmodes/rst.el (rst-comment-region): From from -> from.
5830
5831 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
5832
5833 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
5834
5835 * electric.el (electric-layout-post-self-insert-function):
5836 * emacs-lisp/ert.el (ert--insert-infos):
5837 * obsolete/vi.el (vi-set-mark):
5838 * term.el (term-handle-scroll):
5839 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
5840 * wid-edit.el (widget-editable-list-value-create):
5841 Prefer point-marker to copy-marker of point.
5842
5843 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5844
5845 Fix completion retrieval parsing (bug#17209).
5846 * progmodes/python.el (python-mode):
5847 (python-util-strip-string): New function.
5848 (python-shell-completion-get-completions): Use it.
5849
5850 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5851
5852 * skeleton.el (skeleton-insert): Fix last change.
5853
5854 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
5855
5856 Enhancements for outline integration (bug#17796).
5857 * progmodes/python.el (python-mode): Properly set
5858 outline-heading-end-regexp so that comments after colons for
5859 defuns are supported.
5860
5861 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5862
5863 * skeleton.el (skeleton-insert): Doc fix.
5864
5865 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
5868 (smie-config-guess): Use smie-config-local so the rules are obeyed
5869 (bug#17818).
5870
5871 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
5872 since it's already done inside the loop (bug#17819).
5873
5874 2014-06-21 Martin Rudalics <rudalics@gmx.at>
5875
5876 * mouse.el (mouse-drag-line): Re-remove code initially removed
5877 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
5878 (Bug#17819).
5879
5880 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
5883 align with the surrounding parent (bug#17721).
5884
5885 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5886
5887 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
5888 locally to nil.
5889 (texinfo-insert-block, texinfo-insert-@end)
5890 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
5891 local setting of skeleton-end-newline by adding an explicit \n to
5892 the skeletons where appropriate. (Bug#17801)
5893
5894 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
5897 (smie-indent--hanging-p): Use it.
5898 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
5899
5900 2014-06-21 Leo Liu <sdl.web@gmail.com>
5901
5902 * simple.el (read-quoted-char): Don't let help chars pop up help
5903 buffer. (Bug#16617)
5904
5905 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
5908 for | (bug#17621).
5909
5910 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
5911 Drop unknown events instead of burping.
5912
5913 2014-06-21 Eli Zaretskii <eliz@gnu.org>
5914
5915 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
5916 and later. (Bug#17790)
5917
5918 2014-06-21 Juri Linkov <juri@jurta.org>
5919
5920 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
5921 to `soft'. (Bug#17554)
5922
5923 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
5926 (bug#17737).
5927
5928 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
5929
5930 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
5931 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
5932
5933 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
5934
5935 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
5936 `unread-command-events'.
5937
5938 2014-06-19 William Xu <william.xwl@gmail.com>
5939
5940 * progmodes/hideif.el (hif-string-to-number): Don't return float for
5941 hex integer constants (bug#17807).
5942
5943 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 * international/mule-util.el (truncate-string-ellipsis): New var.
5946 (truncate-string-to-width): Use it.
5947
5948 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
5949
5950 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
5951 (lisp-string-in-doc-position-p): New function, extracted from
5952 lisp-font-lock-syntactic-face-function.
5953 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
5954
5955 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
5956
5957 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
5958
5959 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
5962 (bubbles--game-over): Don't add `intangible' properties since they
5963 didn't work anyway.
5964
5965 2014-06-18 Juri Linkov <juri@jurta.org>
5966
5967 * vc/ediff-init.el (ediff-current-diff-Ancestor)
5968 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
5969 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
5970 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
5971 Add `min-colors 88' version with removed black/white foregrounds.
5972 (Bug#10181)
5973
5974 2014-06-18 Juri Linkov <juri@jurta.org>
5975
5976 * vc/diff-mode.el (diff-changed): Empty face definition to use
5977 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
5978 (diff-context): Use darker color on light background and
5979 lighter color on dark background.
5980
5981 2014-06-18 Juri Linkov <juri@jurta.org>
5982
5983 * vc/diff-mode.el (diff-refine-changed): Rename from
5984 `diff-refine-change' for consistency with `diff-changed'.
5985 (diff-refine-change): Add obsolete face alias. (Bug#10181)
5986
5987 * vc/smerge-mode.el (smerge-refined-changed): Rename from
5988 `smerge-refined-change'.
5989 (smerge-refined-change): Add obsolete face alias.
5990
5991 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * rect.el (rectangle-preview): New custom.
5994 (rectangle): New group.
5995 (rectangle--pos-cols): Add `window' argument.
5996 (rectangle--string-preview-state, rectangle--string-preview-window):
5997 New vars.
5998 (rectangle--string-flush-preview, rectangle--string-erase-preview)
5999 (rectangle--space-to, rectangle--string-preview): New functions.
6000 (string-rectangle): Use them.
6001 (rectangle--inhibit-region-highlight): New var.
6002 (rectangle--highlight-for-redisplay): Obey it. Make sure
6003 `apply-on-region' uses the point-crutches of the right window.
6004 Use :align-to rather than multiple spaces.
6005
6006 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
6007
6008 * ruler-mode.el (ruler-mode-window-col)
6009 (ruler-mode-mouse-set-left-margin)
6010 (ruler-mode-mouse-set-right-margin): Fix calculation of column
6011 from mouse position (Bug#17768).
6012
6013 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
6014
6015 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
6016 without varname or rhs causes crash.
6017 (dun-ftp): Fix bug where blank ftp password is allowed, making it
6018 impossible to win endgame.
6019 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
6020 rlogin is anymore.
6021 (dun-help): Bump version number; update contact info.
6022
6023 2014-06-15 Eli Barzilay <eli@barzilay.org>
6024
6025 * calculator.el (calculator-prompt, calculator-remove-zeros)
6026 (calculator-mode-hook, calculator-operators, calculator-stack)
6027 (calculator-mode): Tweak docstring.
6028 (calculator-user-operators): Tweak docstring, fix a bug in the last
6029 example.
6030 (calculator-displayer): `std' case has an optional boolean.
6031 (calculator-displayers): Use the new boolean to group in decimal mode.
6032 (calculator-mode-map, calculator, calculator-message)
6033 (calculator-op-arity, calculator-add-operators)
6034 (calculator-string-to-number, calculator-displayer-prev)
6035 (calculator-displayer-next, calculator-remove-zeros)
6036 (calculator-eng-display, calculator-number-to-string)
6037 (calculator-update-display, calculator-last-input)
6038 (calculator-clear-fragile, calculator-digit, calculator-decimal)
6039 (calculator-exp, calculator-saved-move, calculator-clear)
6040 (calculator-copy, calculator-put-value, calculator-help)
6041 (calculator-expt, calculator-truncate): Minor code improvements.
6042 (calculator-need-3-lines): New function pulling out code from
6043 `calculator'.
6044 (calculator-get-display): Rename from `calculator-get-prompt', and
6045 improved.
6046 (calculator-push-curnum): Rename from `calculator-curnum-value', and
6047 extended for all uses of it. All callers changed.
6048 (calculator-groupize-number): New utility for splitting a number into
6049 groups.
6050 (calculator-standard-displayer): Improve code, new optional argument to
6051 use comma-split groups, make second argument optional too to use with
6052 'left/'right inputs. All callers changed.
6053 (calculator-reduce-stack-once): New utility, doing the meat of what
6054 `calculator-reduce-stack' used to do, much improved (mostly using
6055 `pcase' for conciseness and clarity).
6056 (calculator-reduce-stack): Now doing just the reduction loop using
6057 `calculator-reduce-stack-once'.
6058 (calculator-funcall): Improve code, make it work in v24.3.1 too.
6059 (calculator-last-input): Improve code, remove some old cruft.
6060 (calculator-quit): Kill `calculator-buffer' in electric mode too.
6061 (calculator-integer-p): Remove.
6062 (calculator-fact): Improve code, make it work on non-integer values
6063 too (using truncated numbers).
6064
6065 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
6066
6067 Sync with Tramp 2.2.10.
6068
6069 * net/tramp.el (tramp-methods): Tweak docstring.
6070 (tramp-handle-file-accessible-directory-p): Check for
6071 `file-readable-p' instead of `file-executable-p'.
6072 (tramp-check-cached-permissions):
6073 Use `tramp-compat-file-attributes'.
6074 (tramp-call-process): Add new argument VEC. Adapt callees in all
6075 tramp*.el files.
6076
6077 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
6078 (tramp-adb-maybe-open-connection): Don't set
6079 `tramp-current-*' variables.
6080
6081 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
6082 file properties of temporary buffers.
6083
6084 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
6085
6086 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
6087 (tramp-gvfs-handle-delete-file): Flush file
6088 properties, not directory properties.
6089 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
6090 reading "unix::mode".
6091 (tramp-gvfs-handle-file-name-all-completions):
6092 Use "-h" option for "gvfs-ls".
6093 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
6094 (tramp-gvfs-send-command): Simplify traces.
6095
6096 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
6097 (vc-git-program, vc-hg-program): Declare.
6098 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
6099 (tramp-methods) <nc>: Add new method.
6100 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
6101 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
6102 `tramp-login-args'.
6103 (tramp-default-user-alist): Add "nc".
6104 (top): Remove completion function for "sftp". Add completion
6105 functions for "nc" and "psftp".
6106 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
6107 Implement support for "nc" method.
6108 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
6109 (tramp-remote-coding-commands, tramp-call-local-coding-command):
6110 Tweak docstring.
6111 (tramp-sh-handle-write-region): Tweak error message.
6112 (tramp-sh-handle-vc-registered): Remove backends when the remote
6113 binary does not exist.
6114 (tramp-find-inline-encoding): Do not raise an error.
6115 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
6116 the "nc" case. Quote result also locally.
6117
6118 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6119 (tramp-smb-handle-set-file-acl): Use `start-process'.
6120 (tramp-smb-handle-insert-directory): Use progress reporter.
6121 (tramp-smb-handle-rename-file): Flush also file properties of
6122 FILENAME.
6123
6124 * net/trampver.el: Update release number.
6125
6126 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
6129 add-to-list.
6130 (ses-localvars): Remove ses--local-printer-list, unused.
6131 (ses--metaprogramming): New macro. Use it to defvar variables.
6132 (ses-set-localvars): Simplify.
6133 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
6134 property-list into an alist.
6135 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
6136 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
6137 Remove; use defstruct accessors/setters instead.
6138 (ses-cell-formula-aset, ses-cell-printer-aset)
6139 (ses-cell-references-aset): Remove, use setf instead.
6140 (ses--alist-get): New function.
6141 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
6142 Use an alist instead of a plist and don't do move-to-front since the
6143 list is always short.
6144 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
6145 (ses-cell-property-set-fun, ses-cell-property-set)
6146 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
6147 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
6148 (ses--letref): New macro.
6149 (ses-cell-property-pop): Rewrite.
6150 (ses--cell): Rename from ses-cell and make it into a function.
6151 Make `formula' fallback on `value' if nil.
6152 (ses--local-printer): Rename from ses-local-printer and make it into
6153 a function.
6154 (ses-set-cell): Turn it into a macro so finding the accessor from the
6155 field name is done at compile time.
6156 (ses-repair-cell-reference-all): Test presence of `sym' rather than
6157 `ref' before adding `sym' to :ses-repair-reference.
6158 (ses-calculate-cell): Use ses--letref rather than
6159 ses-cell-property-get-handle.
6160 (ses-write-cells): Use a single prin1-to-string.
6161 (ses-setter-with-undo): New function.
6162 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
6163 (ses-unset-with-undo): Remove.
6164 (ses-load): Prefer apply' over `eval'.
6165 (ses-read-printer, ses-set-column-width): Use standard "(default
6166 foo)" format.
6167
6168 2014-06-15 Glenn Morris <rgm@gnu.org>
6169
6170 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
6171
6172 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
6173 Replace delete-duplicates and mapcan by cl- versions throughout.
6174 And cl-macroexpand-all by macroexpand-all.
6175 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
6176
6177 2014-06-15 Eli Zaretskii <eliz@gnu.org>
6178
6179 * subr.el (posn-col-row): Doc fix. (Bug#17768)
6180
6181 2014-06-15 Juri Linkov <juri@jurta.org>
6182
6183 * bindings.el: Put `ascii-character' property on keypad keys
6184 mapped to characters. (Bug#17759)
6185
6186 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
6189 bumping forward into a closing paren (bug#17761).
6190
6191 * term/xterm.el (xterm--version-handler): Work around for OSX
6192 Terminal.app (bug#17607).
6193
6194 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
6195
6196 * play/dunnet.el (dun-describe-room, dun-mode):
6197 If a lamp is in the room, you won't be eaten by a grue.
6198
6199 2014-06-13 Glenn Morris <rgm@gnu.org>
6200
6201 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
6202 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
6203 (compile-always): GNU make automatically passes
6204 command-line arguments to sub-makes.
6205
6206 * calendar/calendar.el (calendar-generate-window):
6207 Remove pointless call to font-lock-fontify-buffer.
6208
6209 2014-06-13 Matthias Meulien <orontee@gmail.com>
6210
6211 * simple.el (completion-list-mode-map): Navigate with tab and backtab
6212 (bug#17767).
6213
6214 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * simple.el (set-mark-command): Simplify a bit.
6217
6218 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6219
6220 * help.el (help--key-binding-keymap): New function.
6221 (help--binding-locus): New function.
6222 (describe-key): Mention the keymap in which the binding was
6223 found. (bug#13948)
6224
6225 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * hippie-exp.el (he--all-buffers): New function.
6228 (try-expand-line-all-buffers, try-expand-list-all-buffers)
6229 (try-expand-dabbrev-all-buffers): Use it.
6230
6231 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
6232
6233 * hippie-exp.el (try-expand-line-all-buffers)
6234 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
6235 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
6236 original buffer, in case they're buffer-local.
6237
6238 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
6239
6240 * ses.el (ses-initial-global-parameters-re): New defconst, a
6241 specific regexp is needed now that ses.el can handle both
6242 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
6243 local printers.
6244 (ses-localvars): Add local variables needed for local printer handling.
6245 (ses-set-localvars): Handle hashmap initialisation.
6246 (ses-paramlines-plist): Add param-line for number of local printers.
6247 (ses-paramfmt-plist): New defconst, needed for code factorization
6248 between functions `ses-set-parameter' and
6249 `ses-file-format-extend-paramter-list'
6250 (ses-make-local-printer-info): New defsubst.
6251 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
6252 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
6253 (ses-cell-printer-aset): New defmacro.
6254 (ses-local-printer-compile): New defun.
6255 (ses-local-printer): New defmacro.
6256 (ses-printer-validate, ses-call-printer): Add support for local
6257 printer functions.
6258 (ses-file-format-extend-paramter-list): New defun.
6259 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
6260 factorization.
6261 (ses-load): Add support for local printer functions.
6262 (ses-read-printer): Update docstring and add support for local printer
6263 functions.
6264 (ses-refresh-local-printer, ses-define-local-printer): New defun.
6265 (ses-safe-printer): Add support for local printer functions.
6266
6267 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
6268
6269 * ffap.el (ffap-lax-url): New var (bug#17723).
6270 (ffap-url-at-point): Use it.
6271 (ffap-file-at-point): Avoid returning just "/".
6272
6273 2014-06-12 Matthias Meulien <orontee@gmail.com>
6274
6275 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
6276 (python-mode-map): Bind it.
6277
6278 * progmodes/python.el (class skeleton): Don't erase last char of class
6279 name (bug#17683).
6280
6281 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
6282
6283 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
6284
6285 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
6286
6287 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
6288 (bug#17745).
6289
6290 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 * international/mule-cmds.el: Use lexical-binding.
6293 (ucs-names): Simplify.
6294
6295 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
6296
6297 * progmodes/python.el (run-python): Use read-shell-command.
6298
6299 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6300
6301 * rect.el: Make it possible to move bounds past EOL or into TABs.
6302 (operate-on-rectangle): Use apply-on-rectangle.
6303 (rectangle--mark-crutches): New var.
6304 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
6305 (rectangle--crutches, rectangle--reset-crutches): New functions.
6306 (apply-on-rectangle): Obey crutches. Avoid setq.
6307 Fix missing final iteration if end is at EOB&BOL.
6308 (rectangle-mark-mode-map): Add remap bindings for
6309 exchange-point-and-mark and char/line movements.
6310 (rectangle--*-char): New function.
6311 (rectangle-exchange-point-and-mark, rectangle-right-char)
6312 (rectangle-left-char, rectangle-forward-char)
6313 (rectangle-backward-char, rectangle-next-line)
6314 (rectangle-previous-line): New commands.
6315 (rectangle--place-cursor): New function.
6316 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
6317
6318 2014-06-08 Glenn Morris <rgm@gnu.org>
6319
6320 * startup.el (initial-buffer-choice): Doc fix.
6321 Reset :version (adding an option does not merit a :version bump).
6322
6323 * bookmark.el (bookmark-load):
6324 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
6325
6326 2014-06-08 Juri Linkov <juri@jurta.org>
6327
6328 * desktop.el: Activate auto-saving on window configuration changes.
6329 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
6330 `desktop-auto-save-set-timer' to/from
6331 `window-configuration-change-hook'.
6332 (desktop-auto-save-set-timer): Change REPEAT arg of
6333 `run-with-idle-timer' from t to nil.
6334 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
6335
6336 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
6337
6338 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
6339 vc-hg-command (bug#17570).
6340
6341 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * international/mule-cmds.el (ucs-names): Add special entry for BEL
6344 (bug#17702).
6345
6346 2014-06-08 Glenn Morris <rgm@gnu.org>
6347
6348 * startup.el (window-setup-hook): Doc fix.
6349
6350 * emacs-lisp/package.el (package-check-signature)
6351 (package-unsigned-archives): Doc fixes.
6352
6353 2014-06-08 Martin Rudalics <rudalics@gmx.at>
6354
6355 * window.el (display-buffer-use-some-window): Don't make window
6356 used smaller than it was before (Bug#17671).
6357
6358 2014-06-08 Eli Zaretskii <eliz@gnu.org>
6359
6360 * menu-bar.el (menu-bar-open): Fix last change: use the PC
6361 'redisplay' instead of '(sit-for 0)'.
6362
6363 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
6364
6365 * net/tramp.el (tramp-ssh-controlmaster-options):
6366 Improve search regexp. (Bug#17653)
6367
6368 2014-06-08 Glenn Morris <rgm@gnu.org>
6369
6370 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
6371
6372 2014-06-08 Eli Zaretskii <eliz@gnu.org>
6373
6374 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
6375
6376 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
6377
6378 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
6379 (bug#17586).
6380
6381 * vc/vc-hg.el (vc-hg-log-graph): New var.
6382 (vc-hg-print-log): Use it.
6383 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
6384 graph output (bug#17515).
6385
6386 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * mouse.el (mouse-posn-property): Ignore buffer position info when the
6389 even happened elsewhere.
6390
6391 2014-06-06 Mario Lang <mlang@delysid.org>
6392
6393 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
6394 `recenter' if `current-buffer' is equal to `window-buffer'.
6395
6396 2014-06-05 Leo Liu <sdl.web@gmail.com>
6397
6398 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
6399
6400 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
6401
6402 * textmodes/tildify.el (tildify-foreach-region-outside-env):
6403 New function which calls a callback on portions of the buffer that are
6404 outside of ignored environments.
6405 (tildify-build-regexp): Remove function since it is now
6406 incorporated in `tildify-foreach-region-outside-env' where it is
6407 optimized and simplified by the use of `mapconcat'.
6408 (tildify-tildify): Return number of substitutions made so that…
6409 (tildify-count): …can be removed.
6410 (tildify-find-env): Accept a new PAIRS argument which was
6411 previously looked up in `tildify-ignored-environments-alist' each
6412 time the function was called. With this change, the lookup is
6413 performed only once in `tildify-foreach-region-outside-env'.
6414 (tildify-region): Greatly simplify the function since now most of
6415 the work is done by `tildify-foreach-region-outside-env'.
6416 (tildify-mode-alist): Simplify slightly by avoiding if and setq
6417 and instead using or.
6418
6419 * textmodes/tildify.el (tildify-ignored-environments-alist):
6420 Optimize environments regexes
6421
6422 Each time beginning of an environment to ignore is found,
6423 `tildify-find-env' needs to identify regexp for the ending
6424 of the environment. This is done by trying all the opening
6425 regexes on matched text in a loop, so to speed that up, this
6426 loop should have fewer things to match, which can be done by
6427 using alternatives in the opening regexes.
6428
6429 Coincidentally, this should make matching of the opening
6430 regexp faster as well thanks to the use of `regexp-opt' and
6431 having common prefix pulled from many regexes.
6432
6433 * textmodes/tildify.el (tildify-string-alist)
6434 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
6435 of supported modes since `xml-mode' is no longer a thing but just
6436 an alias to the former. Also include comments and insides of tags
6437 in `tildify-ignored-environments-alist' for XML modes. Finally,
6438 since XML does not define “&nbsp;”[1], use a numeric reference for
6439 a no-break space (namely “&#160;”)
6440
6441 [1] XML specification defines only a handful of predefined entities.
6442 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
6443 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
6444 >, &, ' and " respectively). This is in contrast to HTML and even
6445 XHTML which defined a whole bunch of entities including “&nbsp;”.
6446
6447 * textmodes/tildify.el (tildify-pattern-alist)
6448 (tildify-string-alist, tildify-ignored-environments-alist):
6449 Improve defcustom's types by adding more tags explaining what each
6450 value means and replace “sexp” used in
6451 `tildify-ignored-environments-alist' with a full type declaration.
6452
6453 * textmodes/tildify.el (tildify-find-env): Fix matched group
6454 indexes in end-regex building
6455
6456 When looking for a start of an ignore-environment, the regex is built
6457 by concatenating regexes of all the environments configured in
6458 `tildify-ignored-environments-alist'. So for example, the following
6459 list could be used to match TeX's \verb and \verb* commands:
6460
6461 (("\\\\verb\\(.\\)" . (1))
6462 ("\\\\verb\\*\\(.\\)" . (1)))
6463
6464 This would result in the following regex being used to find the start
6465 of any of the variants of the \verb command:
6466
6467 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
6468
6469 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
6470 won't match anything, and thus (match-string 1) will be nil, which
6471 will cause building of the end-matching regex to fail.
6472
6473 Fix this by using capture groups from the time when the opening
6474 regexes are matched individually.
6475
6476 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
6477 in `tildify-find-env'
6478
6479 The `tildify-ignored-environments-alist' allows the end-regex to
6480 be provided not as a static string but mix of strings and indexes
6481 of groups matched the begin-regex. For example, the “\verb!…!”
6482 TeX-command (where “!” is an arbitrary character) is handled
6483 using:
6484
6485 ("\\\\verb\\*?\\(.\\)" . (1))
6486
6487 In the same way, the following should be supported as well:
6488
6489 ("open-\\(.\\)" . ("end-" 1))
6490
6491 However the tildify-find-env function fails at
6492
6493 (concat result
6494 (if (stringp (setq aux (car expression)))
6495 expression ; BUG: expression is a list
6496 (regexp-quote (match-string aux))))
6497
6498 where the string part is handled incorrectly.
6499
6500 The most trivial fix would be to replace `expression' in the
6501 true-part of the if-statement with `aux', but instead, this commit
6502 optimizes `tildify-find-env' by changing it to use `mapconcat'
6503 rather than open-coded while-loop.
6504
6505 2014-06-05 Mario Lang <mlang@delysid.org>
6506
6507 * woman.el (woman-mapcan): Remove.
6508 (woman-parse-colon-path): Use cl-mapcan instead.
6509
6510 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6511
6512 * register.el: Add link to Emacs manual in Commentary.
6513
6514 2014-06-02 Sam Steingold <sds@gnu.org>
6515
6516 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
6517 (popup-menu): ...here.
6518 (menu-bar-open): Use it to avoid an error when `lookup-key'
6519 returns a number.
6520
6521 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
6522
6523 * net/tramp.el (tramp-call-process): Add traces.
6524 (tramp-handle-unhandled-file-name-directory): Return "/".
6525
6526 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
6527
6528 Sync with upstream verilog-mode revision 3cd8144.
6529 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6530 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
6531 (verilog-type-font-keywords): Add nor.
6532 (verilog-batch-execute-func): Force reading of Local Variables.
6533 Fix printing "no changes to be saved" with verilog-batch.
6534 (verilog-auto-arg-ports): Doc fix.
6535 Add verilog-auto-arg-format to support newlines in AUTOARG.
6536 (verilog-auto-arg): Doc fix.
6537
6538 2014-06-02 Glenn Morris <rgm@gnu.org>
6539
6540 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
6541 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
6542 * emulation/ws-mode.el: Move to obsolete/.
6543 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
6544
6545 2014-06-02 Eli Zaretskii <eliz@gnu.org>
6546
6547 * simple.el (keyboard-quit): Force update of mode lines, to remove
6548 the "Def" indicator, if we were defining a macro. (Bug#17615)
6549
6550 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * minibuffer.el (minibuffer-force-complete-and-exit):
6553 Obey minibuffer-default (bug#17545).
6554
6555 * progmodes/js.el (js-indent-line): Don't mix columns and chars
6556 (bug#17619).
6557
6558 * subr.el (set-transient-map): Don't wait for some "nested"
6559 transient-map to finish if we're only supposed to be active for
6560 the next command (bug#17642).
6561
6562 2014-06-02 Leo Liu <sdl.web@gmail.com>
6563
6564 * emacs-lisp/gv.el (window-buffer, window-display-table)
6565 (window-dedicated-p, window-hscroll, window-point, window-start):
6566 Fix gv-expander. (Bug#17630)
6567
6568 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6569
6570 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
6571 clicks (bug#17633).
6572
6573 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
6574 for the single comma, since ", " is *very* common in normal French text
6575 (bug#17643).
6576
6577 2014-06-02 Glenn Morris <rgm@gnu.org>
6578
6579 * emacs-lisp/package.el (package-check-signature)
6580 (package-unsigned-archives): Fix :version.
6581
6582 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * subr.el (sit-for): Don't run input-methods (bug#15614).
6585
6586 2014-06-02 Glenn Morris <rgm@gnu.org>
6587
6588 * cus-start.el: Fix some :version numbers.
6589
6590 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * simple.el (deactivate-mark): Set mark-active to nil even if
6593 deactivation is done via setting transient-mark-mode to nil,
6594 since one is buffer-local and the other is global.
6595
6596 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
6597 there can't be more than 2 arguments (bug#17584).
6598
6599 2014-06-02 Glenn Morris <rgm@gnu.org>
6600
6601 * simple.el (filter-buffer-substring-functions)
6602 (filter-buffer-substring-function, buffer-substring-filters)
6603 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
6604
6605 * minibuffer.el (completion-in-region-functions, completion-in-region)
6606 (completion--in-region): Doc fixes.
6607
6608 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
6609 (expand-abbrev, abbrev--default-expand): Doc fixes.
6610
6611 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
6612
6613 Include sources used to create macuvs.h.
6614 * international/README: Refer to the Unicode Terms of Use rather
6615 than copying it bodily here, as that simplifies maintenance.
6616
6617 2014-06-01 Glenn Morris <rgm@gnu.org>
6618
6619 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
6620
6621 2014-05-31 Glenn Morris <rgm@gnu.org>
6622
6623 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
6624
6625 2014-05-30 Glenn Morris <rgm@gnu.org>
6626
6627 * loadup.el: Treat `command-line-args' more flexibly.
6628
6629 2014-05-30 Alan Mackenzie <acm@muc.de>
6630
6631 Guard (looking-at "\\s!") from XEmacs.
6632 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
6633
6634 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
6635
6636 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
6637 The argument COUNT is now optional, to be more backward-compatible.
6638 Doc fix. (Bug#17560)
6639
6640 2014-05-29 Reuben Thomas <rrt@sc3d.org>
6641
6642 * whitespace.el (whitespace-report-region):
6643 Simplify documentation.
6644 (whitespace-report-region): Allow report-if-bogus to take the
6645 value `never', for non-interactive use.
6646 (whitespace-report): Refer to whitespace-report-region's
6647 documentation.
6648
6649 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6650
6651 * whitespace.el: Use font-lock-flush. Minimize refontifications.
6652 Side benefit: it works without jit-lock.
6653 (whitespace-point--used): New buffer-local var.
6654 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
6655 (whitespace-color-off): Use font-lock-flush.
6656 (whitespace-point--used, whitespace-point--flush-used): New functions.
6657 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
6658 (whitespace-empty-at-eob-regexp): Use them.
6659 (whitespace-post-command-hook): Rewrite.
6660
6661 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
6662 (font-lock-fontify-buffer): Mark interactive-only.
6663 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
6664 Make buffer-local.
6665 (font-lock-specified-p): Remove redundant boundp check.
6666 (font-lock-flush-function, font-lock-ensure-function): New vars.
6667 (font-lock-turn-on-thing-lock): Set them.
6668 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
6669 (font-lock-after-change-function): Make `old-len' optional.
6670 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
6671 Call font-lock-flush, just in case.
6672 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
6673 recent Emacsen.
6674 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
6675 (vera-mode-map, vera-mode-menu): Remove bindings to it.
6676 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
6677 and with-syntax-table.
6678 * textmodes/conf-mode.el (conf-quote-normal):
6679 * progmodes/sh-script.el (sh-set-shell):
6680 * progmodes/prog-mode.el (prettify-symbols-mode):
6681 * progmodes/f90.el (f90-font-lock-n):
6682 * progmodes/cwarn.el (cwarn-mode):
6683 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
6684 * progmodes/compile.el (compilation-setup, compilation--unsetup):
6685 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
6686 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
6687 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
6688 font-lock-fontify-buffer-function and
6689 font-lock-unfontify-buffer-function.
6690 (rmail-unfontify-buffer-function, rmail-fontify-message):
6691 Use with-silent-modifications.
6692 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
6693 and font-lock-ensure.
6694 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
6695
6696 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
6697
6698 * emacs-lisp/package.el (package-generate-autoloads):
6699 Inhibit backup files.
6700
6701 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
6704 (bug#17608).
6705
6706 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
6707
6708 * textmodes/tildify.el (tildify-buffer, tildify-region):
6709 Add dont-ask option.
6710
6711 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6712
6713 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
6714 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
6715
6716 * subr.el (internal--funcall-interactively): New.
6717 (internal--call-interactively): Remove.
6718 (called-interactively-p): Detect funcall-interactively instead of
6719 call-interactively.
6720 * simple.el (repeat-complex-command): Use funcall-interactively.
6721 (repeat-complex-command--called-interactively-skip): Remove.
6722
6723 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * register.el (register-read-with-preview): Don't burp on
6726 frame switches (e.g. due to the frame we just popped).
6727
6728 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
6729 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
6730
6731 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
6732
6733 * cus-face.el (custom-face-attributes): Add :distant-foreground.
6734
6735 2014-05-26 Martin Rudalics <rudalics@gmx.at>
6736
6737 * window.el (window--dump-frame): Remove interactive specification.
6738
6739 2014-05-26 Glenn Morris <rgm@gnu.org>
6740
6741 * hippie-exp.el (he-line-search-regexp):
6742 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
6743
6744 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
6745
6746 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
6747 to avoid errors when trying to create or visit a file foo.todo
6748 located outside to todo-directory, and to allow having such files
6749 without them being tied to Todo mode (bug#17482).
6750 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
6751 (todo-archive-done-item, todo-find-filtered-items-file)
6752 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
6753 (todo-category-completions, todo-read-category): When visiting a
6754 Todo file, make sure we're in the right mode and the buffer local
6755 variables are set.
6756 (todo-make-categories-list, todo-reset-nondiary-marker)
6757 (todo-reset-done-string, todo-reset-comment-string):
6758 After processing all Todo files, kill the buffers of those files that
6759 weren't being visited before the processing.
6760 (todo-display-as-todo-file, todo-add-to-buffer-list)
6761 (todo-visit-files-commands): Comment out.
6762 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
6763 (auto-mode-alist): Remove add-to-list calls making Todo file
6764 extensions unrestrictedly tied to Todo modes.
6765
6766 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
6769 (advice-function-member-p): Tell it to check both names and functions
6770 (bug#17531).
6771 (advice--add-function): Adjust call accordingly.
6772
6773 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
6774
6775 * calendar/todo-mode.el: Miscellaneous bug fixes.
6776 (todo-delete-file): When deleting an archive but not its todo
6777 file, make sure to update the todo file's category sexp.
6778 (todo-move-category): Keep the moved category's name unless the
6779 file moved to already has a category with that name. If the
6780 numerically last category of the source file was moved, make the
6781 first category current to avoid selecting a nonexisting category.
6782 (todo-merge-category): Fix implementation to make merging to a
6783 category in another file work as documented. Eliminate now
6784 insufficient and unnecessary renaming of archive category, correct
6785 document string accordingly, and clarify it. If the numerically
6786 last category of the source file was merged, make the first
6787 category current to avoid selecting a nonexisting category.
6788 (todo-archive-done-item): When there are marked items and point
6789 happens to be on an unmarked item, ignore the latter. Don't leave
6790 point below last item after archiving marked items.
6791 (todo-unarchive-items): Fix logic to ensure unarchiving an item
6792 from an archive with only one category deletes the archive only
6793 when the category is empty after unarchiving. Make sure the todo
6794 file's category sexp is updated.
6795 (todo-read-file-name): Allow an existing file name even when it is
6796 not required (todo-move-category needs this to work as documented).
6797 (todo-add-file): Call todo-validate-name to reject the name of an
6798 existing todo file (needed due to fix in todo-read-file-name).
6799 (todo-reset-nondiary-marker): Also reset in filtered items files.
6800 (todo-reset-done-string, todo-reset-comment-string): Also reset in
6801 regexp filtered items files.
6802 (todo-reset-highlight-item): Also reset in filtered items files.
6803 Fix incorrect variable reference in document string.
6804
6805 2014-05-26 Glenn Morris <rgm@gnu.org>
6806
6807 * window.el (window--dump-frame): Avoid error in --without-x builds.
6808
6809 2014-05-26 Glenn Morris <rgm@gnu.org>
6810
6811 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
6812
6813 2014-05-26 Eli Zaretskii <eliz@gnu.org>
6814
6815 * frame.el (set-frame-font): Doc fix.
6816
6817 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
6818
6819 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
6820
6821 * emacs-lisp/package.el (package--download-one-archive):
6822 Use `write-region' instead of `save-buffer' to avoid running various
6823 hooks. (Bug#17155)
6824 (describe-package-1): Same. Insert newline at the end of the
6825 buffer if appropriate.
6826
6827 2014-05-26 Juri Linkov <juri@jurta.org>
6828
6829 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
6830 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
6831 Add more modifiers: meta, control, shift, hyper, super, alt.
6832 (Bug#17439)
6833
6834 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
6835 to allow changing its value with `set-variable'.
6836
6837 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
6840 #; comments.
6841 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
6842 New functions.
6843 (scheme-mode-variables): Set syntax-propertize-function instead of
6844 font-lock-syntactic-face-function.
6845 (scheme-font-lock-syntactic-face-function): Delete.
6846
6847 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
6848
6849 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
6850 (bug#17392).
6851
6852 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
6853
6854 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
6855 for a temporary file name.
6856
6857 2014-05-26 Eli Zaretskii <eliz@gnu.org>
6858
6859 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
6860
6861 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
6862
6863 * net/dbus.el (dbus-init-bus, dbus-call-method)
6864 (dbus-call-method-asynchronously, dbus-send-signal)
6865 (dbus-method-return-internal, dbus-method-error-internal):
6866 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
6867
6868 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6869
6870 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
6871 methods which do not have a doc string. (Bug#17490)
6872
6873 2014-05-25 Tassilo Horn <tsdh@gnu.org>
6874
6875 * textmodes/reftex-ref.el (reftex-format-special): Make it work
6876 also for AMS Math's \eqref macro.
6877
6878 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
6879
6880 Arrange to never byte-compile the generated -pkg.el file.
6881
6882 * emacs-lisp/package.el (package-generate-description-file):
6883 Output first-line comment to set buffer-local var `no-byte-compile'.
6884 Suggested by Dmitry Gutov:
6885 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
6886
6887 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
6888
6889 Fix bug: Properly quote args to generated -pkg.el `define-package'.
6890
6891 * emacs-lisp/package.el (package-generate-description-file):
6892 Inline `package--alist-to-plist'; rewrite to selectively
6893 quote alist values that are not self-quoting.
6894 (package--alist-to-plist): Delete func.
6895
6896 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
6897
6898 * term/xterm.el (xterm-function-map): Add mapping for shifted
6899 keypad keys.
6900
6901 2014-05-24 Daniel Colascione <dancol@dancol.org>
6902
6903 * progmodes/subword.el (subword-find-word-boundary): Move point to
6904 correct spot before search. (Bug#17580)
6905
6906 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
6907 breaking the build.
6908
6909 2014-05-24 Leo Liu <sdl.web@gmail.com>
6910
6911 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
6912
6913 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * minibuffer.el (completion--sreverse): Remove.
6916 (completion--common-suffix): Use `reverse' instead.
6917 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
6918
6919 2014-05-22 Glenn Morris <rgm@gnu.org>
6920
6921 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
6922
6923 2014-05-21 Daniel Colascione <dancol@dancol.org>
6924
6925 * files.el (interpreter-mode-alist): Add mksh.
6926
6927 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
6928 derivative.
6929 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
6930 mksh. Improve custom spec; allow regular expressions.
6931 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
6932 (sh-after-hack-local-variables): New function.
6933 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
6934 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
6935 the normalization.
6936 (sh-canonicalize-shell): Rewrite to support regexes.
6937
6938 2014-05-21 Leo Liu <sdl.web@gmail.com>
6939
6940 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
6941
6942 2014-05-19 Leo Liu <sdl.web@gmail.com>
6943
6944 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
6945
6946 2014-05-18 Glenn Morris <rgm@gnu.org>
6947
6948 * loadup.el:
6949 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
6950
6951 2014-05-14 Sam Steingold <sds@gnu.org>
6952
6953 * progmodes/python.el (python-shell-get-or-create-process):
6954 Do not bind `current-prefix-arg' so that C-c C-z does not talk
6955 back unless requested.
6956
6957 2014-05-14 Glenn Morris <rgm@gnu.org>
6958
6959 * subr.el (with-file-modes): New macro.
6960 * printing.el (pr-save-file-modes): Make obsolete.
6961 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
6962 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6963 Add with-file-modes.
6964 * doc-view.el (doc-view-make-safe-dir):
6965 * epg.el (epg--start):
6966 * files.el (locate-user-emacs-file, make-temp-file)
6967 (backup-buffer-copy, move-file-to-trash):
6968 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
6969 * eshell/esh-util.el (eshell-with-private-file-modes)
6970 (eshell-make-private-directory):
6971 * net/browse-url.el (browse-url-mosaic):
6972 * obsolete/mailpost.el (post-mail-send-it):
6973 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
6974 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
6975 Use with-file-modes.
6976
6977 * vc/emerge.el (emerge-make-temp-file): Simplify.
6978
6979 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
6980 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
6983 suffix (bug#15419).
6984
6985 2014-05-14 Glenn Morris <rgm@gnu.org>
6986
6987 * vc/emerge.el (emerge-temp-file-prefix):
6988 Make pointless option obsolete.
6989 (emerge-temp-file-mode): Make non-functional option obsolete.
6990
6991 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
6992
6993 * net/browse-url.el (browse-url):
6994 Use `unhandled-file-name-directory' when setting `default-directory',
6995 in order to circumvent stalled remote connections. (Bug#17425)
6996
6997 2014-05-14 Glenn Morris <rgm@gnu.org>
6998
6999 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
7000 Optimize on Emacs, which has the relevant functions for ages.
7001
7002 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7003
7004 * simple.el (undo-make-selective-list): Obey undo-no-redo.
7005
7006 2014-05-12 Sam Steingold <sds@gnu.org>
7007
7008 * calendar/time-date.el (seconds-to-string): New function to
7009 pretty print time delay in seconds.
7010
7011 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * mpc.el (mpc-format): Trim Date to the year.
7014 (mpc-songs-hashcons): Shorten the Date field.
7015
7016 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
7017 into autoloading just because of a silly indirection.
7018
7019 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
7020
7021 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
7022
7023 2014-05-12 Glenn Morris <rgm@gnu.org>
7024
7025 * emacs-lisp/find-gc.el: Move to ../admin.
7026
7027 * printing.el (pr-version):
7028 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
7029
7030 * net/browse-url.el (browse-url-mosaic):
7031 Create /tmp/Mosaic.PID as a private file.
7032
7033 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7034
7035 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
7036 (advice--member-p): If name is given, only compare the name.
7037 (advice--remove-function): Don't stop at the first match.
7038 (advice--normalize-place): New function.
7039 (add-function, remove-function): Use it.
7040 (advice--add-function): Pass the name, if any, to
7041 advice--remove-function.
7042
7043 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
7044
7045 * electric.el (electric-indent-post-self-insert-function): Don't use
7046 `pos' after modifying the buffer (bug#17449).
7047
7048 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
7049
7050 * calendar/todo-mode.el (todo-insert-item-from-calendar):
7051 Correct argument list to conform to todo-insert-item--basic.
7052
7053 2014-05-12 Glenn Morris <rgm@gnu.org>
7054
7055 * files.el (cd-absolute): Test if directory is accessible
7056 rather than executable. (Bug#17330)
7057
7058 * progmodes/compile.el (recompile):
7059 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
7060
7061 * net/browse-url.el (browse-url-mosaic):
7062 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
7063 This is CVE-2014-3423.
7064
7065 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * mouse.el: Use the normal toplevel loop while dragging.
7068 (mouse-set-point): Handle multi-clicks.
7069 (mouse-set-region): Handle multi-clicks for drags.
7070 (mouse-drag-region): Update call accordingly.
7071 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
7072 Use the normal event loop instead of a local while/read-event loop.
7073 (global-map): Remove redundant bindings for double/triple-mouse-1.
7074 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
7075 Generate synthetic down events when the protocol only sends up events.
7076 (xterm-mouse-last): Remove.
7077 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
7078 terminal parameter instead.
7079 (xterm-mouse--set-click-count): New function.
7080 (xterm-mouse-event): Detect/generate double/triple clicks.
7081 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
7082
7083 * info.el (Info-quoted): New face.
7084 (Info-mode-font-lock-keywords): New var.
7085 (Info-mode): Use it.
7086
7087 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
7088 are a hindrance for C-x C-e.
7089
7090 2014-05-11 Leo Liu <sdl.web@gmail.com>
7091
7092 * net/rcirc.el (rcirc-sentinel): Fix last change.
7093
7094 2014-05-08 Sam Steingold <sds@gnu.org>
7095
7096 * net/rcirc.el (rcirc-reconnect-delay): New user option.
7097 (rcirc-sentinel): Auto-reconnect to the server if
7098 `rcirc-reconnect-delay' is non-0 (but not more often than its
7099 value in case the host is off-line).
7100
7101 2014-05-09 Eli Zaretskii <eliz@gnu.org>
7102
7103 * progmodes/grep.el (lgrep): Fix a typo in last commit.
7104
7105 2014-05-09 Glenn Morris <rgm@gnu.org>
7106
7107 * files.el (file-expand-wildcards):
7108 * man.el (Man-support-local-filenames):
7109 * printing.el (pr-i-directory, pr-interface-directory):
7110 * progmodes/grep.el (lgrep, rgrep):
7111 * textmodes/ispell.el (ispell-call-process)
7112 (ispell-call-process-region, ispell-start-process)
7113 (ispell-init-process): Use file-accessible-directory-p.
7114
7115 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7116
7117 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
7118 (xterm-mouse--read-event-sequence-1000): Return nil if something
7119 looks fishy.
7120 (xterm-mouse-event): Propagate it.
7121 (xterm-mouse-translate-1): Handle it.
7122
7123 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
7124
7125 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
7126 four slots of the parameter list are filled, make sure to pass it
7127 to the argument list of todo-insert-item--basic.
7128
7129 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
7132 Add optional `seen' argument to detect and break infinite loops.
7133
7134 2014-05-08 Eli Zaretskii <eliz@gnu.org>
7135
7136 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
7137 (trace-unsafe, trace-use-tree): Make parentheses style be
7138 according to Emacs style.
7139
7140 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
7141
7142 * net/tramp-sh.el (tramp-remote-process-environment):
7143 Remove HISTFILE and HISTSIZE; it's too late to set them here.
7144 Add :version entry.
7145 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
7146 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
7147 extra "PSx=..." commands.
7148 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
7149 (Bug#17295)
7150
7151 (tramp-uudecode): Replace the hard-coded temporary file name by a
7152 format specifier.
7153 (tramp-remote-coding-commands): Enhance docstring.
7154 (tramp-find-inline-encoding): Replace "%t" by a temporary file
7155 name. (Bug#17415)
7156 This is CVE-2014-3424.
7157
7158 2014-05-08 Glenn Morris <rgm@gnu.org>
7159
7160 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
7161 (find-gc-source-files): Update some names.
7162 (trace-call-tree): Simplify and update.
7163 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
7164 This is CVE-2014-3422.
7165
7166 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * minibuffer.el (completion--try-word-completion): Revert fix for
7169 Bug#15980 (bug#17375).
7170
7171 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
7172 Always store button numbers in the same way in xterm-mouse-last;
7173 Don't burp is xterm-mouse-last is not set as expected.
7174 Never return negative indices.
7175
7176 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
7177
7178 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7179 Backtrack one char if the global/char-literal var matcher hits
7180 inside a string. The next char could be the beginning of an
7181 expression expansion.
7182
7183 2014-05-08 Glenn Morris <rgm@gnu.org>
7184
7185 * help-fns.el (describe-function-1): Test for an autoload before a
7186 macro, since `macrop' works on autoloads. (Bug#17410)
7187
7188 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * electric.el (electric-indent-functions-without-reindent): Add yaml.
7191
7192 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
7193 Make sure the new point we return is within the new string (bug#17239).
7194
7195 2014-05-05 Daniel Colascione <dancol@dancol.org>
7196
7197 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7198 Port `gnu' pattern to rx.
7199
7200 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
7201
7202 Remove unneeded prompt when closing a buffer with active
7203 emacsclient ("Buffer ... still has clients"), #16548.
7204 * server.el (server-start): Remove the only call to:
7205 (server-kill-buffer-query-function): Remove.
7206
7207 2014-05-04 Leo Liu <sdl.web@gmail.com>
7208
7209 * calendar/diary-lib.el (calendar-chinese-month-name-array):
7210 Defvar to pacify compiler.
7211
7212 2014-05-04 Eli Zaretskii <eliz@gnu.org>
7213
7214 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
7215
7216 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7217
7218 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
7219 Use nil rather than `default' for the "default" appearance (bug#17388).
7220 * vc/ediff-util.el (ediff-inferior-compare-regions)
7221 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
7222 a misleading `default' value when it's really a boolean.
7223 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
7224 overlay is not visible.
7225
7226 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
7227
7228 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
7229 (todo-menu): Uncomment and update.
7230
7231 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
7232
7233 * calendar/todo-mode.el: Reimplement item editing to have the same
7234 basic user interface as item insertion, and make small UI and
7235 larger internal improvements to the latter.
7236 (todo-insert-item): Add reference to the Todo mode user manual to
7237 the documentation string.
7238 (todo-insert-item--basic): Rename from todo-basic-insert-item and
7239 adjust all callers. Change signature to combine diary and
7240 nonmarking arguments. Incorporate functionality of deleted item
7241 copying command and add error checking. Remove detailed
7242 descriptions of the arguments from the documentation string, since
7243 this is treated in the Todo mode user manual.
7244 (todo-copy-item, todo-edit-multiline-item)
7245 (todo-edit-done-item-comment, todo-edit-item-header)
7246 (todo-edit-item-time, todo-edit-item-date-from-calendar)
7247 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
7248 (todo-edit-item-date-year, todo-edit-item-date-month)
7249 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
7250 Remove.
7251 (todo-edit-item): Reimplement as wrapper command for
7252 todo-edit-item--next-key and make it distinguish done and not done
7253 todo items.
7254 (todo-edit-item--text): New function, replacing old command
7255 todo-edit-item and incorporating deleted commands
7256 todo-edit-multiline-item and todo-edit-done-item-comment.
7257 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
7258 Use only numeric value of prefix argument. Remove detailed
7259 descriptions of the arguments from the documentation string, since
7260 this is treated in the Todo mode user manual.
7261 (todo-edit-item--diary-inclusion): New function, replacing old
7262 command todo-edit-item-diary-inclusion and incorporating and fixing
7263 functionality of deleted command todo-edit-item-diary-nonmarking,
7264 making sure to remove todo-nondiary-marker when adding
7265 diary-nonmarking-symbol.
7266 (todo-edit-category-diary-inclusion): Make sure to delete
7267 diary-nonmarking-symbol when adding todo-nondiary-marker.
7268 (todo-edit-category-diary-nonmarking): Fix indentation.
7269 (todo-insert-item--parameters): Group diary and nonmarking
7270 parameters together.
7271 (todo-insert-item--apply-args): Adjust to signature of
7272 todo-insert-item--basic and incorporate copy parameter.
7273 Make small code improvements.
7274 (todo-insert-item--next-param): Improve prompt and adjust it to
7275 new parameter grouping. Remove obsolete code.
7276 (todo-edit-item--param-key-alist)
7277 (todo-edit-item--date-param-key-alist)
7278 (todo-edit-done-item--param-key-alist): New defconsts.
7279 (todo-edit-item--prompt): New variable.
7280 (todo-edit-item--next-key): New function.
7281 (todo-key-bindings-t): Bind "e" to todo-edit-item.
7282 Remove bindings of deleted commands.
7283
7284 2014-05-04 Leo Liu <sdl.web@gmail.com>
7285
7286 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
7287
7288 2014-05-04 Glenn Morris <rgm@gnu.org>
7289
7290 * allout-widgets.el (allout-widgets-tally)
7291 (allout-decorate-item-guides):
7292 * menu-bar.el (menu-bar-positive-p):
7293 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7294 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
7295 * progmodes/js.el (js--inside-param-list-p)
7296 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
7297 * progmodes/prolog.el (region-exists-p):
7298 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
7299 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
7300 Doc fixes (replace `iff').
7301
7302 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
7305
7306 2014-05-04 Leo Liu <sdl.web@gmail.com>
7307
7308 Support Chinese diary entries in calendar and diary. (Bug#17393)
7309 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
7310 (calendar-chinese-from-absolute-for-diary)
7311 (calendar-chinese-to-absolute-for-diary)
7312 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
7313 (diary-chinese-list-entries): New functions to list and mark
7314 Chinese diary entries in the calendar window.
7315 (diary-chinese-anniversary)
7316 (diary-chinese-insert-anniversary-entry)
7317 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
7318 (diary-chinese-insert-yearly-entry): New commands to insert
7319 Chinese diary entries.
7320
7321 * calendar/diary-lib.el (diary-font-lock-keywords):
7322 Support font-locking Chinese dates.
7323
7324 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
7325 inserting Chinese diary entries.
7326
7327 * calendar/calendar.el (diary-chinese-entry-symbol):
7328 New customizable variable.
7329 (calendar-mode-map): Add bindings for inserting Chinese diary
7330 entries.
7331
7332 2014-05-03 Juri Linkov <juri@jurta.org>
7333
7334 * dired.el (dired-check-switches, dired-switches-recursive-p):
7335 New functions. (Bug#17218)
7336 (dired-switches-escape-p, dired-move-to-end-of-filename):
7337 Use `dired-check-switches'.
7338 (dired-insert-old-subdirs, dired-build-subdir-alist)
7339 (dired-sort-R-check): Use `dired-switches-recursive-p'.
7340
7341 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
7342
7343 * simple.el (undo-make-selective-list): New algorithm fixes
7344 incorrectness of position adjustments when undoing in region.
7345 (Bug#17235)
7346 (undo-elt-crosses-region): Make obsolete.
7347 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
7348 New functions to adjust positions using undo-deltas.
7349
7350 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
7353 the last consecutive closing paren (bug#17345).
7354
7355 2014-04-30 Reuben Thomas <rrt@sc3d.org>
7356
7357 * dired.el (dired-mode): make terminology for eXpunge command
7358 consistent. (Bug#17276)
7359
7360 2014-04-30 Eli Zaretskii <eliz@gnu.org>
7361
7362 * dired.el (dired-initial-position-hook, dired-initial-position):
7363 Doc string fixes.
7364
7365 2014-04-30 Glenn Morris <rgm@gnu.org>
7366
7367 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
7368
7369 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
7370
7371 * faces.el (face-spec-recalc): Apply X resources only after the
7372 defface spec has been applied. Thus, X resources are no longer
7373 overriden by the defface spec which also fixes issues on win32 where
7374 the toolbar coloring was wrong because it is set through X resources
7375 and was (wrongfully) overriden. (Bug#16694)
7376
7377 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * textmodes/rst.el (electric-pair-pairs): Declare.
7380 (rst-mode): Set it (bug#17131).
7381
7382 2014-04-30 Juri Linkov <juri@jurta.org>
7383
7384 * desktop.el (desktop-value-to-string): Let-bind `print-length'
7385 and `print-level' to nil. (Bug#17351)
7386
7387 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7388
7389 * battery.el (battery-update): Handle the case where battery
7390 status is "N/A" (bug#17319).
7391
7392 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
7395 to syntax-propertize.
7396 (ps-mode-auto-indent): Mark as obsolete.
7397 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
7398 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
7399 word regexp operators.
7400 (ps-mode-map): Move initialization into declaration. Remove binding
7401 for TAB, RET, >, ], and }.
7402 (ps-mode-syntax-table): Move initialization into declaration.
7403 Don't give word syntax to non-word chars.
7404 (ps-run-mode-map): Move initialization into declaration.
7405 (ps-mode-menu-main): Remove auto-indent entry.
7406 (ps-mode-smie-rules): New function.
7407 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
7408 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
7409 (ps-mode--string-syntax-table): New const.
7410 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
7411 New functions.
7412 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
7413 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
7414
7415 2014-04-27 Daniel Colascione <dancol@dancol.org>
7416
7417 * term/xterm.el (xterm-paste): Use large finite timeout when
7418 reading event to avoid putting keys in this-command-keys.
7419
7420 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
7423 (perl-syntax-propertize-function): Use it. Extend handling of
7424 here-docs to the unquoted case.
7425
7426 2014-04-25 Eli Zaretskii <eliz@gnu.org>
7427
7428 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
7429 Use equal-including-properties to compare help-echo strings (bug#17331).
7430
7431 2014-04-25 Leo Liu <sdl.web@gmail.com>
7432
7433 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7434 Fix syntax for @. (Bug#17325)
7435
7436 2014-04-25 Daniel Colascione <dancol@dancol.org>
7437
7438 * emacs-lisp/cl.el (gv): Require gv early to break eager
7439 macro-expansion cycles.
7440
7441 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * simple.el (region-active-p): Check there's a mark (bug#17324).
7444
7445 * simple.el (completion-list-mode-map): Use choose-completion for the
7446 mouse binding as well (bug#17302).
7447 (completion-list-mode, completion-setup-function): Adjust docstring and
7448 echo area message accordingly.
7449 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
7450 calling convention of choose-completion.
7451 * comint.el (comint-dynamic-list-completions):
7452 * term.el (term-dynamic-list-completions): Accept choose-completion.
7453
7454 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
7455 &, |, +, - and * can't be a division (bug#17317).
7456
7457 * term/xterm.el (xterm--version-handler): Don't use modern xterm
7458 features on gnome-terminal (bug#16988).
7459
7460 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
7461
7462 Improve Scheme font-locking for (define ((foo ...) ...) ...).
7463
7464 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
7465 the declared object, ignore zero or more parens, not zero or one.
7466
7467 2014-04-24 Leo Liu <sdl.web@gmail.com>
7468
7469 * progmodes/xscheme.el (xscheme-expressions-ring)
7470 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
7471 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
7472 (xscheme-allow-output-p, xscheme-prompt)
7473 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
7474
7475 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
7476 Comment out unused functions.
7477
7478 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7479
7480 * info.el: Use lexical-binding and cl-lib.
7481 Use defvar-local and setq-local instead of make-local-variable.
7482 (Info-apropos-matches): Avoid add-to-list.
7483 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
7484
7485 2014-04-24 Daniel Colascione <dancol@dancol.org>
7486
7487 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
7488
7489 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
7492
7493 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
7494
7495 * dired.el (dired-insert-set-properties): Do not consider
7496 subdirectory headings and empty lines to be information that
7497 `dired-hide-details-mode' should hide. (Bug#17228)
7498
7499 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
7500
7501 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7502 Remove test messages.
7503 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
7504 and `target' twice.
7505
7506 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
7509 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
7510
7511 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
7512
7513 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
7514
7515 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7516 Set "IFS=" when using read builtin, in order to preserve spaces in
7517 the file name. Add test messages for hunting a bug on hydra.
7518 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
7519
7520 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
7523 Don't prettify a word within a symbol.
7524
7525 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
7526
7527 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
7528 possible.
7529
7530 2014-04-22 Daniel Colascione <dancol@dancol.org>
7531
7532 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
7533 use defun to define `function-put'.
7534
7535 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
7538 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
7539 (lisp-mode-variables): Set font-lock-extra-managed-props.
7540
7541 * emacs-lisp/byte-run.el (function-put): New function.
7542 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
7543 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
7544 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
7545 Use them.
7546
7547 2014-04-22 Daniel Colascione <dancol@dancol.org>
7548
7549 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
7550 Add `full-p' parameter; when nil, call `macroexpand' instead of
7551 `macroexpand-all'.
7552
7553 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
7554 Improve docstrings.
7555
7556 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7557 Use lambda function values, not quoted lambdas.
7558 (byte-compile-recurse-toplevel): Remove extraneous &optional.
7559
7560 * emacs-lisp/cl-macs.el
7561 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
7562 (cl-struct-slot-value): Conditionally use aref or nth so that the
7563 compiler produces optimal code.
7564
7565 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7566
7567 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
7568 (inline): Don't inline cl--set-elt.
7569 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
7570 Define as inlinable instead.
7571 (cl-struct-set-slot-value): Remove.
7572
7573 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
7574 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
7575 Use setf instead.
7576
7577 2014-04-21 Daniel Colascione <dancol@dancol.org>
7578
7579 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
7580 last two parameters after all.
7581 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
7582 (cl--compiler-macro-assoc,cl-struct-slot-value)
7583 (cl-struct-set-slot-value): Stop using them.
7584
7585 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
7588 entry in image-mode-winprops-alist.
7589
7590 2014-04-21 Daniel Colascione <dancol@dancol.org>
7591
7592 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
7593 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
7594 (byte-compile-toplevel-file-form): Use it.
7595
7596 * emacs-lisp/cl-macs.el:
7597 (cl--loop-let): Properly destructure `while' clauses.
7598
7599 2014-04-20 Daniel Colascione <dancol@dancol.org>
7600
7601 * vc/vc.el (vc-root-dir): New public autoloaded function for
7602 generically finding the current VC root.
7603 * vc/vc-hooks.el (vc-not-supported): New error.
7604 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
7605
7606 2014-04-20 Daniel Colascione <dancol@dancol.org>
7607
7608 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
7609 argument.
7610 (cl--const-expr-val): cl--const-expr-val should macroexpand its
7611 argument in case we're inside a symbol-macrolet.
7612 (cl--do-arglist, cl--compiler-macro-typep)
7613 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
7614 environment to `cl--const-expr-val'.
7615 (cl-struct-sequence-type,cl-struct-slot-info)
7616 (cl-struct-slot-offset, cl-struct-slot-value)
7617 (cl-struct-set-slot-value): New functions.
7618
7619 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
7622 assignments such as "case=hello" (bug#17297).
7623
7624 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
7625
7626 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
7627 Do not autoload.
7628 (tramp-file-name-handler, tramp-completion-file-name-handler):
7629 Revert patch from 2014-04-10, it isn't necessary anymore.
7630 (tramp-autoload-file-name-handler)
7631 (tramp-register-autoload-file-name-handlers): New defuns.
7632 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
7633 (tramp-register-file-name-handlers): Remove also
7634 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
7635 Do not autoload its invocation, but eval it after loading of 'tramp.
7636
7637 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
7638
7639 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
7640
7641 2014-04-17 Daniel Colascione <dancol@dancol.org>
7642
7643 Add support for bracketed paste mode; add infrastructure for
7644 managing terminal mode enabling and disabling automatically.
7645
7646 * xt-mouse.el:
7647 (xterm-mouse-mode): Simplify.
7648 (xterm-mouse-tracking-enable-sequence)
7649 (xterm-mouse-tracking-disable-sequence): New constants.
7650 (turn-on-xterm-mouse-tracking-on-terminal)
7651 (turn-off-xterm-mouse-tracking-on-terminal):
7652 Use tty-mode-set-strings and tty-mode-reset-strings terminal
7653 parameters instead of random hooks.
7654 (turn-on-xterm-mouse-tracking)
7655 (turn-off-xterm-mouse-tracking): Delete.
7656
7657 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
7658 (xterm-paste-ending-sequence): New constant.
7659 (xterm-paste): New command used for bracketed paste support.
7660
7661 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
7662 (terminal-init-xterm-bracketed-paste-mode): New function.
7663 (terminal-init-xterm): Call it.
7664 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
7665 and tty-mode-reset-strings instead of random hooks.
7666 (xterm-turn-on-modify-other-keys)
7667 (xterm-turn-off-modify-other-keys)
7668 (xterm-remove-modify-other-keys): Delete obsolete functions.
7669
7670 * term/screen.el: Rewrite to just use the xterm code.
7671 Add copyright notice. Mention tmux.
7672
7673 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
7674
7675 * image-mode.el (image-mode-window-put): Also update the property of
7676 the "default window".
7677 * doc-view.el (doc-view-new-window-function): If no window
7678 exists, move to the last known page.
7679
7680 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
7683 here-documents (bug#17262).
7684
7685 2014-04-16 Eli Zaretskii <eliz@gnu.org>
7686
7687 * term/pc-win.el (x-list-fonts, x-get-selection-value):
7688 Provide doc strings, as required by snarf-documentation.
7689
7690 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
7693 arg of overlays-at. Use `invisible-p'.
7694
7695 * obsolete/lucid.el (extent-at):
7696 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
7697 overlays-at.
7698 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
7699
7700 2014-04-16 João Távora <joaotavora@gmail.com>
7701
7702 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
7703 links. (Bug#17217).
7704
7705 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7706
7707 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
7708 Use mapc to loop over a vector. (Bug#17257).
7709
7710 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
7711
7712 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
7713 patch, there are new problems with file names containing spaces.
7714 Get rid of backticks. (Bug#17238)
7715
7716 2014-04-16 João Távora <joaotavora@gmail.com>
7717
7718 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
7719 possible bug.
7720
7721 2014-04-16 Eli Zaretskii <eliz@gnu.org>
7722
7723 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
7724 (blink-cursor-mode): Mention customization variables and the
7725 effect of 'blink-cursor-blinks'.
7726
7727 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
7728
7729 * simple.el (undo): Prevent insertion of identity mapping into
7730 undo-equiv-table so as undo-only does not inf loop in the presence
7731 of consecutive nils in undo list.
7732
7733 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
7734
7735 * faces.el (make-face): Deprecate optional argument as it is no
7736 longer needed/used since the conditional X resources handling
7737 has been pushed down to make-face-x-resource-internal itself.
7738 (make-empty-face): Don't pass optional argument to make-face.
7739
7740 2014-04-16 Karl Fogel <kfogel@red-bean.com>
7741
7742 * savehist.el (savehist-save): Remove workaround for a read-passwd
7743 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
7744 noticing that the shim was still present.
7745
7746 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
7749
7750 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
7751
7752 * faces.el (face-set-after-frame-default): Remove unused local variable.
7753
7754 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7755
7756 * progmodes/grep.el: Use lexical-binding.
7757 (grep-expand-template): Pass explicit lexical env to `eval'.
7758 (zrgrep): Let-bind grep-find-template explicitly.
7759
7760 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
7761 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
7762
7763 2014-04-12 Eli Zaretskii <eliz@gnu.org>
7764
7765 * international/characters.el <standard-case-table>: Add entries
7766 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
7767 Set category of Coptic characters be 'g' (Greek).
7768
7769 2014-04-12 Leo Liu <sdl.web@gmail.com>
7770
7771 * progmodes/octave.el (completion-table-with-cache):
7772 Define if not available.
7773 (octave-goto-function-definition, octave-sync-function-file-names)
7774 (octave-find-definition-default-filename):
7775 Backquote upattern for compatibility.
7776
7777 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
7778
7779 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
7780 name twice due to backticks. (Bug#17238)
7781
7782 2014-04-12 Glenn Morris <rgm@gnu.org>
7783
7784 * term/w32-win.el (x-win-suspend-error):
7785 * term/x-win.el (x-win-suspend-error): Sync docs.
7786
7787 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
7788
7789 * faces.el (make-face): Remove deprecated optional argument.
7790 The conditional application of X resources is handled directly by
7791 make-face-x-resource-internal since Emacs 24.4.
7792 (make-empty-face): Don't pass optional argument to make-face.
7793
7794 2014-04-11 Glenn Morris <rgm@gnu.org>
7795
7796 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
7797
7798 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7799
7800 Ediff's overlay priorities cause more trouble than they solve.
7801 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
7802 (ediff-highest-priority): Remove function (bug#17234).
7803 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
7804 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
7805 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
7806 overlay priorities.
7807
7808 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
7809
7810 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
7811 entry; use symbol boundaries to avoid mis-matches.
7812
7813 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
7814
7815 * net/tramp.el (tramp-file-name-handler)
7816 (tramp-completion-file-name-handler): Avoid recursive loading.
7817
7818 * net/tramp-sh.el (tramp-make-copy-program-file-name):
7819 Quote result also locally.
7820
7821 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7822
7823 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
7824 Remove left-over code.
7825
7826 * newcomment.el (comment-indent-new-line): Sink code where it's used.
7827 Reuse the previous comment's indentation unconditionally if it's on its
7828 own line.
7829
7830 2014-04-09 Daniel Colascione <dancol@dancol.org>
7831
7832 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
7833 `no-syntax-crossing' arguments. Forward to `up-list'.
7834 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
7835 Implement logic for escaping from strings. Use narrowing to deal
7836 with corner cases.
7837
7838 2014-04-09 Leo Liu <sdl.web@gmail.com>
7839
7840 * net/rcirc.el (rcirc-connection-info): New variable.
7841 (rcirc-connect): Use it to store connection info.
7842 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
7843 for killed process.
7844 (rcirc-cmd-reconnect): New command. (Bug#17045)
7845 (rcirc-mode, set-rcirc-encode-coding-system)
7846 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
7847
7848 2014-04-09 Daniel Colascione <dancol@dancol.org>
7849
7850 * emacs-lisp/cl-indent.el: Add comment claiming
7851 facility is also good for elisp.
7852 (lisp-indent-find-method): New function.
7853 (common-lisp-indent-function): Recognize cl-loop.
7854 (common-lisp-indent-function-1): Recognize cl constructs; use
7855 `lisp-indent-find-method' instead of `get' directly.
7856 (if): Use else-body style for elisp.
7857
7858 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
7859
7860 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7861 Module methods. (Bug#17216)
7862
7863 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
7864
7865 * help.el (describe-bindings): Fix buffer handling (bug#17210).
7866 (describe-bindings-internal): Mark obsolete.
7867
7868 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
7871 buffer-file-name, and buffer-file-truename any more.
7872
7873 2014-04-08 Leo Liu <sdl.web@gmail.com>
7874
7875 Use lexical-binding and require cl-lib.
7876 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
7877 (rcirc-handler-generic, rcirc-fill-paragraph)
7878 (rcirc-format-response-string, rcirc-target-buffer)
7879 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
7880 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
7881 (rcirc-ctcp-sender-PING, rcirc-browse-url)
7882 (rcirc-markup-timestamp, rcirc-markup-attributes)
7883 (rcirc-markup-my-nick, rcirc-markup-urls)
7884 (rcirc-markup-bright-nicks, rcirc-markup-fill)
7885 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
7886 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
7887 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
7888 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
7889 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
7890 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
7891 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
7892 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
7893 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
7894 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
7895 use cl-lib.
7896
7897 2014-04-07 João Távora <joaotavora@gmail.com>
7898
7899 * elec-pair.el (electric-pair--syntax-ppss):
7900 When inside comments parse from comment beginning.
7901 (electric-pair--balance-info): Fix typo in comment.
7902 (electric-pair--in-unterminated-string-p): Delete.
7903 (electric-pair--unbalanced-strings-p): New function.
7904 (electric-pair-string-bound-function): New var.
7905 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
7906 according to `electric-pair--in-unterminated-string-p'
7907
7908 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
7909 Inhibit quote pairing if point-max is inside an unterminated string.
7910 (electric-pair--looking-at-unterminated-string-p): Delete.
7911 (electric-pair--in-unterminated-string-p): New function.
7912
7913 2014-04-07 Glenn Morris <rgm@gnu.org>
7914
7915 * shell.el (shell-directory-tracker):
7916 Go back to just ignoring failures. (Bug#17159)
7917
7918 2014-04-07 João Távora <joaotavora@gmail.com>
7919
7920 Fix `electric-pair-delete-adjacent-pairs' in modes binding
7921 backspace. (Bug#16981)
7922 * elec-pair.el (electric-pair-backward-delete-char): Delete.
7923 (electric-pair-backward-delete-char-untabify): Delete.
7924 (electric-pair-mode-map): Bind backspace to a menu item filtering
7925 a new `electric-pair-delete-pair' command.
7926 (electric-pair-delete-pair): New command.
7927
7928 * progmodes/python.el (python-electric-pair-string-delimiter):
7929 Fix triple-quoting electricity. (Bug#17192)
7930
7931 * elec-pair.el (electric-pair-post-self-insert-function):
7932 Don't skip whitespace when `electric-pair-text-pairs' and
7933 `electric-pair-pairs' were used. syntax to
7934 electric-pair--skip-whitespace. (Bug#17183)
7935
7936 2014-04-07 Eli Zaretskii <eliz@gnu.org>
7937
7938 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
7939 "<F>". (Bug#17199)
7940
7941 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
7944 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
7945
7946 2014-04-07 Glenn Morris <rgm@gnu.org>
7947
7948 * help.el (view-lossage): Doc tweak.
7949
7950 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
7951
7952 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
7953 only when inhibit-x-resources is nil, and do that earlier in the
7954 function. Doc fix. (Bug#16694)
7955 (face-spec-choose): Accept additional optional argument, whose
7956 value is returned if no matching attributes are found.
7957 (face-spec-recalc): Use the new optional argument when calling
7958 face-spec-choose. (Bug#16378)
7959 (make-face-x-resource-internal): Do nothing when
7960 inhibit-x-resources is non-nil. Don't touch the default face if
7961 reversed video is given--as was done in previous versions of Emacs.
7962 (face-set-after-frame-default): Don't call
7963 make-face-x-resource-internal here. (Bug#16434)
7964
7965 2014-04-07 Tassilo Horn <tsdh@gnu.org>
7966
7967 * doc-view.el (doc-view-bookmark-jump):
7968 Use `bookmark-after-jump-hook' to jump to the right page after the
7969 buffer is shown in a window. (bug#16090)
7970
7971 2014-04-07 Eli Zaretskii <eliz@gnu.org>
7972
7973 * international/characters.el (mirroring): Fix last change:
7974 instead of loading uni-mirrored.el explicitly, do that implicitly
7975 by creating the 'mirroring' uniprop table. This avoids announcing
7976 the loading of uni-mirrored.el.
7977
7978 2014-04-07 Glenn Morris <rgm@gnu.org>
7979
7980 * files.el (buffer-stale--default-function)
7981 (buffer-stale-function, revert-buffer--default):
7982 * autorevert.el (auto-revert-buffers): Doc tweaks.
7983
7984 2014-04-07 Eli Zaretskii <eliz@gnu.org>
7985
7986 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
7987
7988 2014-04-07 Glenn Morris <rgm@gnu.org>
7989
7990 * files.el (make-backup-file-name-function)
7991 (make-backup-file-name, make-backup-file-name--default-function)
7992 (make-backup-file-name-1, find-backup-file-name)
7993 (revert-buffer-function, revert-buffer-insert-file-contents-function)
7994 (buffer-stale--default-function, buffer-stale-function)
7995 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
7996 (revert-buffer, revert-buffer--default)
7997 (revert-buffer-insert-file-contents--default-function):
7998 Doc fixes related to defaults no longer being nil.
7999 (make-backup-file-name-function): Bump :version.
8000 Restore nil as a valid but deprecated custom type.
8001
8002 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
8003
8004 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8005 Handle $' used as a variable (bug#17174).
8006
8007 * progmodes/perl-mode.el (perl-indent-new-calculate):
8008 Handle forward-sexp failure (bug#16985).
8009 (perl-syntax-propertize-function): Add "foreach" and "for" statement
8010 modifiers introducing expressions (bug#17116).
8011
8012 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
8015
8016 2014-04-05 Leo Liu <sdl.web@gmail.com>
8017
8018 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8019 Add define-compilation-mode.
8020
8021 2014-04-04 João Távora <joaotavora@gmail.com>
8022
8023 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
8024 parse from comment beginning.
8025 (electric-pair--balance-info): Fix typo in comment.
8026 (electric-pair--in-unterminated-string-p): Delete.
8027 (electric-pair--unbalanced-strings-p): New function.
8028 (electric-pair-string-bound-function): New var.
8029 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
8030 according to `electric-pair--in-unterminated-string-p'.
8031
8032 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8033
8034 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
8035 Move declaration before first use.
8036 (reftex-move-to-next-arg): Silence compiler warning.
8037
8038 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
8039
8040 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
8041 Use `window-total-width' instead of `window-width'.
8042
8043 2014-04-03 Daniel Colascione <dancol@dancol.org>
8044
8045 * subr.el (set-transient-map): Remove rms's workaround entirely;
8046 use new `suspicious-object' subr to mark our lambda for closer
8047 scrutiny during gc.
8048
8049 2014-04-02 Richard Stallman <rms@gnu.org>
8050
8051 * subr.el (set-transient-map): Comment out previous change.
8052
8053 2014-04-02 Glenn Morris <rgm@gnu.org>
8054
8055 * menu-bar.el (menu-bar-file-menu):
8056 * vc/ediff.el (ediff-current-file):
8057 Update for revert-buffer-function no longer being nil by default.
8058
8059 * simple.el (command-execute): Respect nil disabled-command-function.
8060
8061 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8062
8063 * simple.el (command-execute): Do not execute the command when it
8064 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
8065
8066 2014-04-02 Juri Linkov <juri@jurta.org>
8067
8068 * dired-aux.el (dired-compress-file): Don't use string-match-p
8069 because its match data is used afterwards.
8070
8071 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
8072
8073 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
8074 0 like nil.
8075
8076 2014-04-02 João Távora <joaotavora@gmail.com>
8077
8078 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
8079 Inhibit quote pairing if point-max is inside an unterminated string.
8080 (electric-pair--looking-at-unterminated-string-p):
8081 Delete.
8082 (electric-pair--in-unterminated-string-p): New function.
8083
8084 2014-04-01 Daniel Colascione <dancol@dancol.org>
8085
8086 * minibuffer.el (minibuffer-complete): Prevent assertion failure
8087 when trying to complete the prompt.
8088
8089 2014-03-31 Leo Liu <sdl.web@gmail.com>
8090
8091 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8092 Refactor out eldoc-documentation-function-default.
8093 (eldoc-documentation-function-default): New function.
8094 (eldoc-documentation-function): Change value.
8095
8096 2014-03-31 Glenn Morris <rgm@gnu.org>
8097
8098 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
8099
8100 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
8101 (vhdl-compose-components-package, vhdl-compose-configuration):
8102 Abbreviate default-directory (missing from some previous upstream sync).
8103
8104 2014-03-31 Reto Zimmermann <reto@gnu.org>
8105
8106 Sync with upstream vhdl mode v3.35.2.
8107 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
8108 (top-level): No longer require assoc.
8109 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
8110 New functions. Use throughout to replace aget etc.
8111 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
8112 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
8113 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
8114 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
8115 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
8116 except `vhdl-compiler'.
8117 (vhdl-error-regexp-add-emacs): Remove all other compilers,
8118 when appropriate.
8119
8120 2014-03-31 Glenn Morris <rgm@gnu.org>
8121
8122 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
8123 Revert 2014-03-26 merge goof; go back to using defalias.
8124
8125 2014-03-30 Daniel Colascione <dancol@dancol.org>
8126
8127 * comint.el (comint-send-input):
8128 Deactivate completion-in-region-mode before we send comint input.
8129 (Bug#17139).
8130
8131 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
8132 on keyboard-quit.
8133
8134 2014-03-29 Glenn Morris <rgm@gnu.org>
8135
8136 * textmodes/reftex.el: Manage most autoloads automatically.
8137 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
8138 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
8139 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
8140 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
8141 * textmodes/reftex-toc.el: Set generated-autoload-file,
8142 and add autoload cookies for reftex.el.
8143 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
8144
8145 2014-03-28 Glenn Morris <rgm@gnu.org>
8146
8147 * cus-start.el (report-emacs-bug-address): Set custom properties.
8148 * mail/emacsbug.el (report-emacs-bug-address):
8149 Variable is now defined in emacs.c.
8150
8151 * mail/emacsbug.el (report-emacs-bug):
8152 Include system-configuration-features.
8153
8154 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
8155
8156 * simple.el (cycle-spacing): Never delete spaces on first run by
8157 default, but do so in a new 'fast mode and if there are already
8158 N spaces (the previous behavior).
8159 Compare N with its value in previous invocation so that changing
8160 prefix argument restarts `cycle-spacing' sequence.
8161 The idea is that with this change, binding M-SPC to
8162 `cycle-spacing' should not introduce any changes in behavior of
8163 the binding so long as users do not type M-SPC twice in a raw with
8164 the same prefix argument or lack thereof.
8165
8166 2014-03-28 Glenn Morris <rgm@gnu.org>
8167
8168 * faces.el (term-file-aliases): New variable.
8169 (tty-run-terminal-initialization): Respect term-file-aliases.
8170 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
8171 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
8172 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
8173
8174 2014-03-27 Glenn Morris <rgm@gnu.org>
8175
8176 * startup.el (inhibit-startup-hooks): Doc tweak.
8177 (normal-top-level): Simplify running of hooks.
8178 For window-setup-hook, respect inhibit-startup-hooks.
8179 (command-line-1): Don't set window-setup-hook to nil.
8180
8181 Allow selective autoloading from obsolete/ directory.
8182 * Makefile.in (obsolete-autoloads): New rule.
8183 (autoloads): Run obsolete-autoloads.
8184 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
8185 * simple.el (iswitchb-mode): Remove hand-written autoloads.
8186
8187 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
8188
8189 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8190 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8191
8192 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8193 Don't propertize `?' or `!' as symbol constituent when after
8194 colon. (Bug#17097)
8195
8196 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
8199 which is no longer needed and causes trouble in GTK builds (bug#17046).
8200
8201 * emacs-lisp/package-x.el (package--archive-contents-from-url):
8202 Use url-insert-file-contents; package-handle-response no longer exists.
8203
8204 2014-03-26 Daniel Colascione <dancol@dancol.org>
8205
8206 * simple.el (process-menu-mode-map): New variable.
8207 (process-menu-delete-process): New command.
8208
8209 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
8210
8211 * emacs-lisp/package.el: Fix bug#16733 (again).
8212 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
8213 (url-http-target-url): Remove unused declarations.
8214 (package-handle-response): Remove.
8215 (package--with-work-buffer): Use url-insert-file-contents and simplify.
8216 (package--download-one-archive): Use current-buffer instead of
8217 dynamic binding of `buffer'.
8218 (describe-package-1): Do not decode readme-string.
8219
8220 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
8221
8222 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
8223
8224 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
8225 from 2014-03-07, it decreases performance unnecessarily. Let-bind
8226 `remote-file-name-inhibit-cache' to nil in the second pass.
8227 (tramp-find-executable): Do not call "which" on SunOS.
8228 (tramp-send-command-and-check): Fix docstring.
8229 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
8230 check whether source directory has set the sticky bit.
8231
8232 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
8233
8234 * simple.el (primitive-undo): Only process marker adjustments
8235 validated against their corresponding (TEXT . POS). Issue warning
8236 for lone marker adjustments in undo history. (Bug#16818)
8237 (undo-make-selective-list): Add marker adjustments to selective
8238 undo list based on whether their corresponding (TEXT . POS) is in
8239 the region. Remove variable adjusted-markers, which was unused
8240 and only non nil during undo-make-selective-list.
8241 (undo-elt-in-region): Return nil when passed a marker adjustment
8242 and explain in function doc.
8243
8244 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8245
8246 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
8247
8248 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
8249
8250 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
8251 Match special global variables without curlies, too.
8252 (ruby-font-lock-keywords): Simplify the matcher for special global
8253 variables. Don't require a non-word character after the variable.
8254 (Bug#17057)
8255
8256 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * simple.el (redisplay-highlight-region-function): Increase priority of
8259 overlay to make sure boundaries are visible (bug#15899).
8260
8261 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
8262
8263 * frameset.el (frameset--initial-params): Fix typo in parameter name.
8264 (frameset-restore): Compare display strings with equal.
8265
8266 * frame.el (make-frame): Don't quote display name in error message,
8267 it is already a string.
8268
8269 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8270
8271 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
8272 the password.
8273
8274 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
8275
8276 * emacs-lisp/package.el (package--add-to-archive-contents):
8277 Include already installed and built-in packages in
8278 `package-archive-contents'.
8279 (package-install): Don't include already installed packages in the
8280 options during interactive invocation. (Bug#16762)
8281 (package-show-package-list): If the buffer is already displayed in
8282 another window, switch to that window.
8283
8284 2014-03-26 Reto Zimmermann <reto@gnu.org>
8285
8286 Sync with upstream vhdl mode v3.35.1.
8287 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
8288 (vhdl-compiler-alist): Doc fix.
8289 (vhdl-goto-line): Remove.
8290 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
8291 (vhdl-mode) <paragraph-start>: Fix value.
8292 (vhdl-fix-statement-region): Not `for' in wait-statement.
8293 (vhdl-beautify-region): Also (un)tabify.
8294 (vhdl-get-visible-signals):
8295 Scan declarative part of generate statements.
8296 (vhdl-template-record): Fix indentation for record type declaration.
8297 (vhdl-expand-abbrev, vhdl-expand-paren):
8298 Revert to using fset again rather than defalias.
8299 (vhdl-scan-directory-contents): Tweak.
8300 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
8301 (vhdl-compose-components-package):
8302 Replace vhdl-goto-line with forward-line.
8303 (top-level): Tweak speedbar frame selection.
8304 (vhdl-generate-makefile-1): Support for compilers with no
8305 unit-to-file name mapping (create directory with dummy files).
8306
8307 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
8308
8309 Sync with upstream verilog-mode revision 702457d.
8310 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8311 (create-lockfiles): Declare.
8312 (verilog-read-decls): Fix module header imports, bug709.
8313 Reported by Victor Lau.
8314 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
8315 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
8316 interface-only modules, bug721. Reported by Dean Hoyt.
8317
8318 2014-03-26 Glenn Morris <rgm@gnu.org>
8319
8320 * obsolete/gulp.el: Move here from emacs-lisp/.
8321
8322 * files.el (lock-buffer, unlock-buffer, file-locked-p):
8323 Remove fallback aliases, since they are always defined now.
8324
8325 2014-03-24 Daniel Colascione <dancol@dancol.org>
8326
8327 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
8328 instead of cl-loop search function.
8329
8330 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
8331
8332 * calendar/parse-time.el (parse-time-iso8601-regexp)
8333 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
8334 it more generally.
8335
8336 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
8337
8338 * net/dns.el (network-interface-list): Define for XEmacs.
8339
8340 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
8341
8342 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
8343 the network interfaces changed.
8344 (dns-query): Use it to flush the data.
8345
8346 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
8347
8348 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
8349
8350 2014-03-23 Daniel Colascione <dancol@dancol.org>
8351
8352 Change subword-mode to use `find-word-boundary-function-table' and
8353 replace `capitalized-words-mode'. Also, convert to lexical binding.
8354 * progmodes/cap-words.el: Delete now-obsolete file.
8355 * progmodes/subword.el: Reimplement using
8356 `find-word-boundary-function-table'.
8357 (subword-mode-map): Hollow out.
8358 (capitalized-words-mode): Define as obsolete alias for
8359 `subword-mode'.
8360 (subword-mode, superword-mode): Tweak documentation to reflect new
8361 implementation; call `subword-setup-buffer'.
8362 (subword-forward, subword-capitalize): Add underscore to indicate
8363 unused variable.
8364 (subword-find-word-boundary-function-table): New constant.
8365 (subword-empty-char-table): New constant.
8366 (subword-setup-buffer): New function.
8367 (subword-find-word-boundary): New function.
8368
8369 2014-03-23 Daniel Colascione <dancol@dancol.org>
8370
8371 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
8372 list to look for keyword arguments instead of `memq', fixing
8373 (Bug#3647) --- unfortunately, only for freshly-compiled code.
8374 Please make bootstrap.
8375
8376 2014-03-22 Glenn Morris <rgm@gnu.org>
8377
8378 * dired.el (dired-read-regexp): Make obsolete.
8379 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
8380 (dired-flag-files-regexp):
8381 * dired-aux.el (dired-mark-read-regexp):
8382 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
8383
8384 * startup.el (fancy-startup-text):
8385 * help.el (describe-gnu-project): Visit online info about GNU project.
8386
8387 * help-fns.el (help-fns--interactive-only): New function.
8388 (help-fns-describe-function-functions): Add the above function.
8389 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
8390 (next-line, previous-line): Remove hand-written interactive-only
8391 information from doc strings, it is auto-generated now.
8392 * bookmark.el (bookmark-write):
8393 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
8394 (epa-mail-import-keys): Mark interactive-only,
8395 and remove hand-written interactive-only information from doc strings.
8396 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
8397 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
8398 * files.el (not-modified):
8399 * simple.el (mark-whole-buffer): Mark interactive-only.
8400
8401 * emacs-lisp/byte-run.el (defun-declarations-alist):
8402 Add interactive-only. Doc tweak.
8403 (macro-declarations-alist): Doc tweak.
8404 * subr.el (declare): Doc tweak (add xref to manual).
8405 * comint.el (comint-run):
8406 * files.el (insert-file-literally, insert-file):
8407 * replace.el (replace-string, replace-regexp):
8408 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8409 (delete-forward-char, goto-line, insert-buffer, next-line)
8410 (previous-line): Set interactive-only via declare.
8411
8412 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
8413
8414 * emacs-lisp/package.el (package-desc): Use the contents of the
8415 quoted form, not its cdr. (Bug#16873)
8416
8417 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
8418
8419 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
8420 benefit of doc.c; change parameter profile to match the X function.
8421
8422 2014-03-22 Leo Liu <sdl.web@gmail.com>
8423
8424 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
8425 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
8426
8427 2014-03-21 Richard Stallman <rms@gnu.org>
8428
8429 * battery.el (battery-linux-sysfs): Search for each field
8430 from the beginning of the buffer.
8431
8432 * subr.el (set-transient-map): Clear out function and value
8433 of the temporary symbol when we're done with it.
8434
8435 * mail/rmailsum.el (rmail-summary-delete-forward):
8436 Optimize case of reaching end and handling count.
8437 (rmail-summary-mark-deleted): Optimize when N is current msg.
8438 Don't create new summary line.
8439 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
8440 (rmail-summary-undelete-many): Rewrite for speed.
8441 (rmail-summary-msg-number): New function.
8442
8443 * mail/rmail.el (rmail-delete-message): Update summary.
8444 (rmail-undelete-previous-message): Handle repeat count arg.
8445 (rmail-delete-backward, rmail-delete-forward): Likewise.
8446
8447 2014-03-21 Daniel Colascione <dancol@dancol.org>
8448
8449 * mail/emacsbug.el (report-emacs-bug): Include memory usage
8450 information in bug reports.
8451
8452 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
8453
8454 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
8455 and `tramp-copy-env'.
8456
8457 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
8458 (tramp-maybe-open-connection): Handle `tramp-login-env'.
8459
8460 2014-03-21 Glenn Morris <rgm@gnu.org>
8461
8462 * electric.el (electric-indent-post-self-insert-function): Add doc.
8463
8464 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
8465
8466 * emacs-lisp/package.el (package-compute-transaction):
8467 Use `version-list-<=' to compare the requirement version against
8468 the version of package already to be installed. Update the error
8469 message. (Bug#16826)
8470
8471 * progmodes/ruby-mode.el (ruby-smie-rules):
8472 Add indentation rule for ` @ '. (Bug#17050)
8473
8474 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
8475
8476 * align.el (align-regexp): Remove superfluous backslash.
8477
8478 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
8479 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
8480 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
8481 Fix docstring typos.
8482 (ffap-next): Use C-u in docstring.
8483 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
8484 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
8485 Remove superfluous backslashes.
8486 (ffap-string-at-point): Reflow docstring.
8487
8488 * server.el (server-host): Reflow docstring.
8489 (server-unload-function): Fix docstring typo.
8490 (server-eval-at): Remove superfluous backslash.
8491
8492 * skeleton.el (skeleton-insert): Remove superfluous backslash.
8493 (skeleton-insert): Doc fix.
8494 (skeleton-insert): Reflow docstring.
8495
8496 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
8497 (tty-color-approximate, tty-color-by-index, tty-color-values)
8498 (tty-color-desc): Remove superfluous backslashes.
8499
8500 2014-03-21 Glenn Morris <rgm@gnu.org>
8501
8502 * cus-start.el (history-length): Bump :version.
8503
8504 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8505 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8506 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8507 Don't set `make-backup-files'.
8508
8509 * info.el (info--prettify-description): New function,
8510 to give info-finder descriptions consistent case, punctuation.
8511 (Info-finder-find-node): Use it. Sort packages.
8512 Refer to "description" rather than "commentary".
8513
8514 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
8515
8516 * frameset.el (frameset--print-register): New function.
8517 (frameset-to-register): Use it.
8518
8519 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
8520
8521 * progmodes/hideif.el (hif-string-to-number): New function.
8522 (hif-tokenize): Use it to understand non-decimal floats.
8523
8524 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
8525
8526 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
8527
8528 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * electric.el (electric-newline-and-maybe-indent): New command.
8531 Bind it globally to C-j.
8532 (electric-indent-mode): Don't mess with the global map any more.
8533 Don't drop the post-self-insert-hook is some buffer is still using it
8534 (bug#16770).
8535
8536 * bindings.el (global-map): Remove C-j binding.
8537
8538 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
8539 the docstring of functions advised before dumping (bug#16993).
8540
8541 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
8542
8543 * ps-print.el (ps-generate-postscript-with-faces):
8544 Explicitly deactivate the mark (bug#16866).
8545 * simple.el (deactivate-mark): Update region highlight.
8546
8547 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
8548
8549 * emacs-lisp/package.el (describe-package-1):
8550 Decode commentary (bug#16733).
8551
8552 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
8553
8554 * custom.el (defcustom): Doc fix: recommend avoiding destructive
8555 modification of the value argument of :set (bug#16755).
8556
8557 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8558
8559 * simple.el (newline-and-indent): Do autofill (bug#17031).
8560
8561 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
8562
8563 * newcomment.el (comment-normalize-vars): Only add escaping check
8564 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
8565 (comment-beginning): Use `narrow-to-region' instead of moving back
8566 one character.
8567 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
8568 (comment-start-skip): Update the docstring.
8569
8570 2014-03-18 Richard Stallman <rms@gnu.org>
8571
8572 * dired.el (dired-display-file): Force use of other window.
8573
8574 2014-03-18 Daniel Colascione <dancol@dancol.org>
8575
8576 * startup.el (tty-handle-args): Remove debug message from 2007.
8577
8578 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
8581 (advice--make-interactive-form): Use it to avoid (auto)loading function.
8582 (advice--make-1, advice-add, advice-remove):
8583 Remove braindead :advice-pending hack.
8584
8585 2014-03-17 Glenn Morris <rgm@gnu.org>
8586
8587 * calendar/calendar.el (calendar-generate-month): Apply weekend
8588 face to the right days; fixes 2013-08-06 change. (Bug#17028)
8589
8590 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
8591
8592 * net/tramp.el (tramp-action-out-of-band): Read pending output.
8593 (tramp-call-process): Trace also DESTINATION.
8594
8595 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8596 Quote file names when they are local. Remove superfluous trace.
8597
8598 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
8599
8600 * newcomment.el (comment-beginning): If `comment-start-skip'
8601 doesn't match, move back one char and try again. (Bug#16971)
8602
8603 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8604 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
8605 Set `comment-start-skip' to a simpler value that doesn't try to
8606 check if the semicolon is escaped (this is handled by
8607 `syntax-ppss' now). (Bug#16971)
8608
8609 * progmodes/scheme.el (scheme-mode-variables): Same.
8610
8611 2014-03-16 Martin Rudalics <rudalics@gmx.at>
8612
8613 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
8614 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
8615 current (Bug#16816, Bug#17007).
8616 (with-current-buffer-window): New macro doing the same as
8617 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
8618 * help.el (help-print-return-message): Warn in doc-string to not
8619 use this in `with-help-window'.
8620 (describe-bindings-internal): Call `describe-buffer-bindings'
8621 from within help buffer. See Juanma's scenario in (Bug#16816).
8622 (with-help-window): Update doc-string.
8623 * dired.el (dired-mark-pop-up):
8624 * files.el (save-buffers-kill-emacs):
8625 * register.el (register-preview): Use `with-current-buffer-window'
8626 instead of `with-temp-buffer-window'.
8627
8628 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
8629
8630 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
8631 Implement inserting into current buffer, documented in their docstrings.
8632 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
8633 (rst-section-tree-point, rst-forward-section, rst-indent)
8634 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
8635 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
8636 (rst-font-lock-handle-adornment-pre-match-form)
8637 (rst-repeat-last-character): Reflow docstrings.
8638 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
8639 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
8640 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
8641 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
8642 Fix docstring typos.
8643 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
8644 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
8645 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
8646
8647 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
8648
8649 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
8650 for compatibility with other ports.
8651 (ns-initialize-window-system): Use it. It is set in term/common-win.el
8652 from the -xrm command line argument, but in the Nextstep port its value
8653 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
8654
8655 * progmodes/python.el (defconst, python-syntax-count-quotes)
8656 (python-indent-region, python-indent-shift-right)
8657 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
8658 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
8659 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
8660 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
8661 (inferior-python-mode, python-shell-make-comint, run-python-internal)
8662 (python-shell-buffer-substring, python-shell-send-buffer)
8663 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
8664 (python-completion-complete-at-point, python-fill-docstring-style)
8665 (python-eldoc-function, python-imenu-format-item-label)
8666 (python-imenu-format-parent-item-label)
8667 (python-imenu-format-parent-item-jump-label)
8668 (python-imenu--build-tree, python-imenu-create-index)
8669 (python-imenu-create-flat-index): Fix docstring typos.
8670 (python-indent-context, python-shell-prompt-regexp, run-python):
8671 Remove superfluous backslashes.
8672 (python-indent-line, python-nav-beginning-of-defun)
8673 (python-shell-get-buffer, python-shell-get-process)
8674 (python-info-current-defun, python-info-current-line-comment-p)
8675 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
8676 (python-indent-post-self-insert-function, python-shell-send-file)
8677 (python-shell-completion-get-completions)
8678 (python-shell-completion-complete-or-indent)
8679 (python-eldoc--get-doc-at-point): Reflow docstrings.
8680
8681 2014-03-14 Glenn Morris <rgm@gnu.org>
8682
8683 * emacs-lisp/package.el (package-menu-mode-map):
8684 Replace use of obsolete function alias. Tweak menu item text.
8685
8686 * info.el (Info-finder-find-node):
8687 Ignore the `emacs' metapackage. (Bug#10813)
8688
8689 * finder.el (finder-list-matches): Include unversioned packages
8690 in the result of a keyword search.
8691
8692 * finder.el (finder--builtins-descriptions): New constant.
8693 (finder-compile-keywords): Use finder--builtins-descriptions.
8694
8695 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
8696
8697 * simple.el (blink-matching-paren): Describe the new value,
8698 `jump', enabling the old behavior.
8699 (blink-matching-open): Use that value. (Bug#17008)
8700
8701 2014-03-14 Glenn Morris <rgm@gnu.org>
8702
8703 * finder.el (finder-no-scan-regexp): Add leim-list.
8704 (finder-compile-keywords):
8705 Don't skip files with same basename. (Bug#14010)
8706 * Makefile.in (setwins_finder): New, excluding leim.
8707 (finder-data): Use setwins_finder.
8708
8709 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
8710 (help-function-arglist, help-make-usage): Move from here...
8711 * help.el (help-split-fundoc, help-add-fundoc-usage)
8712 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
8713 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
8714
8715 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
8716
8717 * net/socks.el (socks, socks-override-functions)
8718 (socks-find-services-entry):
8719 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
8720 (hif-find-ifdef-block):
8721 * progmodes/modula2.el (m2-indent): Fix docstring typos.
8722
8723 * net/tls.el (tls-program): Reflow docstring.
8724
8725 * progmodes/pascal.el (pascal-mode-abbrev-table)
8726 (pascal-imenu-generic-expression, pascal-auto-endcomments)
8727 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
8728 (pascal-outline-mode): Fix docstring typos.
8729 (pascal-mode): Let define-derived-mode document mode hook.
8730 (pascal-uncomment-area): Reflow.
8731 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
8732
8733 * progmodes/opascal.el (opascal-compound-block-indent)
8734 (opascal-case-label-indent): Fix docstring typos.
8735 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
8736
8737 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
8738
8739 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8740 Fontify multiple adjacent negation chars. (Bug#17004)
8741
8742 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
8743
8744 * emacs-lisp/package.el (package--prepare-dependencies):
8745 Accept requirements without explicit version (bug#14941).
8746
8747 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
8748
8749 * register.el (register-separator, copy-to-register): Doc fixes.
8750 (register-preview-default): Remove unnecessary call to concat.
8751
8752 * frameset.el (frameset-restore): When checking for a visible frame,
8753 use the action map instead of calling visible-frame-list.
8754
8755 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
8756
8757 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
8758
8759 2014-03-12 Martin Rudalics <rudalics@gmx.at>
8760
8761 * window.el (fit-frame-to-buffer): Get maximum width from
8762 display's width instead of height.
8763
8764 2014-03-12 Glenn Morris <rgm@gnu.org>
8765
8766 * desktop.el (desktop-restore-frames)
8767 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
8768 (desktop-restore-reuses-frames): Doc tweaks.
8769
8770 * electric.el (electric-indent-mode): Doc fix.
8771
8772 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
8773
8774 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
8775 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
8776 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
8777 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
8778 (cvs-dired-use-hook): Fix docstring typos.
8779 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
8780 Doc fixes.
8781
8782 * vc/pcvs-defs.el (cvs-auto-remove-handled)
8783 (cvs-auto-remove-directories, cvs-default-ignore-marks)
8784 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
8785 (cvs-execute-single-dir): Fix docstring typos.
8786
8787 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
8788 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
8789
8790 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
8791
8792 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
8793 Fix docstring typos.
8794
8795 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
8796
8797 * frameset.el (frameset--jump-to-register): Add autoload; it could be
8798 called from jump-to-register after unloading the frameset package.
8799
8800 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
8803 (bug#16975). Deactivate the mark before setting it to nil.
8804 (activate-mark): Do nothing if region is already active.
8805
8806 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
8807
8808 * frameset.el (frameset--target-display): Remove definition; declare.
8809 (frameset-save, frameset-restore): Let-bind frameset--target-display.
8810
8811 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
8814 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
8815 when the advice is pending.
8816 (advice-remove): Remove this marker when not needed any more.
8817
8818 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
8819
8820 * frameset.el: Separate options for reusing frames and cleaning up.
8821 (frameset--reuse-list): Remove definition; declare.
8822 (frameset--action-map): Declare.
8823 (frameset--find-frame-if): Doc fix.
8824 (frameset--restore-frame): Cache frame action.
8825 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
8826 how to clean up the frame list after restoring. Remove cleaning
8827 options from REUSE-FRAMES. Change all keyword values to symbols.
8828 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
8829
8830 * desktop.el (desktop-restore-forces-onscreen)
8831 (desktop-restore-reuses-frames): Use non-keyword values.
8832 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
8833
8834 2014-03-10 Glenn Morris <rgm@gnu.org>
8835
8836 * files.el (find-file): Doc fix: update info node name.
8837
8838 * emacs-lisp/advice.el (ad-add-advice, defadvice):
8839 Doc fix: remove references to deleted info nodes.
8840
8841 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
8842
8843 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8844 Do not add nil to the environment, when there's no remote `locale'.
8845 (tramp-find-inline-encoding): Check, that the remote host has
8846 installed perl, before sending scripts.
8847
8848 2014-03-10 Leo Liu <sdl.web@gmail.com>
8849
8850 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8851 Clear eldoc-last-message. (Bug#16920)
8852
8853 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
8856 (bug#14430).
8857
8858 2014-03-09 Juri Linkov <juri@jurta.org>
8859
8860 * ansi-color.el (ansi-color-names-vector): Copy default colors
8861 from `xterm-standard-colors' that look well on the default white
8862 background (and also on the black background) to avoid illegible
8863 color combinations like yellow-on-white and white-on-white.
8864 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
8865
8866 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
8867
8868 * frameset.el (frameset-restore): When no frame is visible, do not
8869 generate a list of frames, just make visible the selected one.
8870
8871 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
8872
8873 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
8874 it only contains the repository root. (Bug#16897)
8875
8876 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
8877
8878 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
8879 only when `remote-file-name-inhibit-cache' is nil.
8880 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
8881
8882 2014-03-06 Martin Rudalics <rudalics@gmx.at>
8883
8884 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
8885 Fix doc-strings.
8886 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
8887 fit-frame-to-buffer variable. Fix doc-string.
8888 (fit-window-to-buffer): Set ONLY argument in call of
8889 fit-frame-to-buffer. Fix doc-string.
8890
8891 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
8892
8893 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
8894 (tramp-action-password): Clear password cache if needed.
8895 (tramp-read-passwd): Do not clear password cache.
8896
8897 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
8898 cache unless it is the first password request.
8899
8900 2014-03-06 Glenn Morris <rgm@gnu.org>
8901
8902 * simple.el (newline): Doc tweak.
8903
8904 * emacs-lisp/shadow.el (load-path-shadows-find):
8905 Ignore dir-locals. (Bug#12357)
8906
8907 2014-03-05 Glenn Morris <rgm@gnu.org>
8908
8909 * files.el (interpreter-mode-alist):
8910 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
8911
8912 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
8913
8914 * frameset.el (frameset--initial-params): Filter out null entries.
8915
8916 2014-03-05 Martin Rudalics <rudalics@gmx.at>
8917
8918 * window.el (window-min-height, window-min-width):
8919 Rewrite doc-strings.
8920 (window-body-size): Add PIXELWISE argument to make it consistent
8921 with its callees.
8922
8923 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
8924
8925 * finder.el (finder-mode-map, finder-mode-syntax-table):
8926 Revert part of 2014-02-28 change.
8927
8928 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
8929
8930 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
8931 (eww-setup-buffer): Clear next/prev/etc more reliably.
8932 (eww-textarea-map): [tab] doesn't work on tty.
8933 Reported by Mario Lang.
8934
8935 * net/shr.el (shr-map): Ditto.
8936
8937 2014-03-04 Glenn Morris <rgm@gnu.org>
8938
8939 * minibuffer.el (completion-hilit-commonality):
8940 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
8941
8942 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
8943
8944 * hilit-chg.el (hilit-chg-unload-function): New function.
8945 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
8946 (hilit-chg-map-changes): Prefer cardinal number to digit.
8947 (hilit-chg-display-changes): Reflow docstring.
8948 (highlight-changes-rotate-faces): Remove superfluous backslash.
8949
8950 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
8953 `tramp-send-command-and-check'.
8954
8955 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
8956
8957 * hexl.el (hexl-address-region, hexl-ascii-region)
8958 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
8959 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
8960 (hexl-forward-word, hexl-previous-line, hexl-next-line):
8961 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
8962 (hexl-mode): Doc fix.
8963 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
8964 (hexl-mode-ruler): Fix typos in docstrings.
8965
8966 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
8967 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
8968 Remove superfluous backslashes.
8969 (strokes-last-stroke, strokes-global-map, strokes-mode):
8970 Reflow docstrings.
8971 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
8972 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
8973 (strokes-distance-squared, strokes-global-set-stroke)
8974 (strokes-global-set-stroke-string): Doc fixes.
8975 (strokes-help): Fix typos; reflow docstring.
8976
8977 2014-03-04 Martin Rudalics <rudalics@gmx.at>
8978
8979 * window.el (window-in-direction): Fix doc-string.
8980
8981 2014-03-04 Glenn Morris <rgm@gnu.org>
8982
8983 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
8984 Explicit error if no grammar.
8985 (smie-config-save): Doc fix. Fix quote typo.
8986
8987 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
8990 electric-indent-mode-hook if we obey electric-indent-mode.
8991 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
8992 decide whether we obey electric-indent-mode.
8993 (c-change-set-fl-decl-start, c-extend-after-change-region):
8994 Silence warnings.
8995 (c-electric-indent-mode-hook): Assume we do want to obey
8996 electric-indent-mode.
8997
8998 * electric.el (electric-indent-mode-has-been-called): Remove.
8999 (electric-indent-mode): Fix accordingly.
9000
9001 * files.el (hack-local-variables): Mention file name in warning.
9002
9003 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
9004
9005 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
9006
9007 * bindings.el: Add comment describing why C-d binds to `delete-char'.
9008 * simple.el (delete-forward-char): Mark as interactive-only.
9009
9010 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
9011
9012 * icomplete.el (icomplete-completions):
9013 Follow-up to 2014-03-01 change.
9014
9015 * icomplete.el: Miscellaneous doc fixes.
9016 Use Icomplete everywhere instead of icomplete for consistency.
9017 (icomplete-max-delay-chars): Fix typo.
9018 (icomplete-mode): Use \[].
9019 (icomplete-tidy, icomplete-exhibit): Reflow.
9020 (icomplete-minibuffer-setup-hook, icomplete-completions):
9021 Remove superfluous backlashes.
9022
9023 * ido.el: Miscellaneous doc fixes.
9024 Use Ido everywhere instead of ido or `ido' for consistency.
9025 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
9026 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
9027 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
9028 (ido-separator): Extract obsolescence info from docstring and declare
9029 with make-obsolete-variable.
9030 (ido-minibuffer-setup-hook): Simplify example.
9031 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
9032 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
9033 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
9034 (ido-everywhere): Reflow docstring.
9035 (ido-toggle-vc): Doc fix.
9036 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
9037 of long list of keybindings.
9038
9039 2014-03-03 Glenn Morris <rgm@gnu.org>
9040
9041 * frame.el (display-pixel-height, display-pixel-width)
9042 (display-mm-dimensions-alist, display-mm-height)
9043 (display-mm-width): Doc tweaks.
9044
9045 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
9046
9047 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
9048 case of undo in region.
9049
9050 2014-03-02 Martin Rudalics <rudalics@gmx.at>
9051
9052 * window.el (fit-window-to-buffer): Fix argument in window-size
9053 call when window is horizontally combined.
9054
9055 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
9056
9057 * icomplete.el (icomplete-completions): Use string-width.
9058 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9059
9060 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
9061
9062 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9063 Highlight regexp options. (Bug#16914)
9064
9065 2014-03-01 Martin Rudalics <rudalics@gmx.at>
9066
9067 * window.el (window--max-delta-1): Round down when calculating
9068 how many lines/columns we can get from a window.
9069
9070 2014-03-01 Glenn Morris <rgm@gnu.org>
9071
9072 * isearch.el (search-invisible): Doc fix.
9073
9074 * minibuffer.el (completion-hilit-commonality):
9075 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
9076 * comint.el (comint-dynamic-list-completions): Doc fix.
9077 * comint.el (comint-dynamic-list-completions):
9078 * filecache.el (file-cache-minibuffer-complete):
9079 * tempo.el (tempo-display-completions):
9080 * eshell/em-hist.el (eshell-list-history):
9081 Replace use of obsolete argument of display-completion-list.
9082
9083 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
9084
9085 * icomplete.el (icomplete-completions):
9086 Revert back to using "..." when ?… cannot be displayed.
9087
9088 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
9089
9090 * finder.el (finder-unload-function): New function.
9091
9092 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
9093
9094 * dframe.el (dframe-detach):
9095 * find-dired.el (find-dired, find-name-dired):
9096 * finder.el (finder-mode-map, finder-mode-syntax-table)
9097 (finder-headmark, finder-select, finder-mouse-select):
9098 Fix docstring typos.
9099
9100 2014-02-28 Martin Rudalics <rudalics@gmx.at>
9101
9102 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
9103 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
9104 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9105 Fix doc-string based on a suggestion by Nicolas Richard
9106 <theonewiththeevillook@yahoo.fr>.
9107 * help.el (with-help-window): Fix doc-string.
9108
9109 2014-02-28 Ivan Kanis <ivan@kanis.fr>
9110
9111 * net/shr.el (shr-image-animate): New option.
9112 (shr-put-image): Respect shr-image-animate.
9113
9114 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
9115
9116 * net/tramp-adb.el (tramp-adb-parse-device-names):
9117 Use `accept-process-output'.
9118 (tramp-adb-handle-file-truename): Cache the localname only.
9119 (tramp-adb-handle-make-directory)
9120 (tramp-adb-handle-delete-directory): Flush file properties correctly.
9121 (tramp-adb-handle-set-file-modes): Do not raise an error when file
9122 modes cannot be changed.
9123
9124 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
9125 file properties of symlinks.
9126
9127 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
9128
9129 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
9130 required/optional fields to match development biblatex. (Bug#16781)
9131
9132 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
9133
9134 * saveplace.el (toggle-save-place):
9135 Fix argument handling. (Bug#16673)
9136
9137 2014-02-28 Glenn Morris <rgm@gnu.org>
9138
9139 * minibuffer.el (completions-first-difference)
9140 (completions-common-part, completion-hilit-commonality): Doc fixes.
9141
9142 2014-02-28 Karl Berry <karl@gnu.org>
9143
9144 * info.el (Info-mode-map): Add H for describe-mode,
9145 to synchronize with standalone Info.
9146
9147 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
9148
9149 * progmodes/sql.el (sql-interactive-mode):
9150 Avoid setting global comint-input-ring-separator. (Bug#16814)
9151
9152 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
9153
9154 * net/dbus.el (dbus--init-bus): Declare function.
9155 (dbus-path-local, dbus-interface-local): New defconst.
9156 (dbus-init-bus): Use them.
9157 (dbus-return-values-table): Extend doc.
9158 (dbus-handle-bus-disconnect): Extend error message.
9159
9160 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
9161
9162 * subr.el (y-or-n-p): Fix double space issue in message.
9163
9164 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
9165
9166 * net/tramp.el (tramp-call-process): Improve trace message.
9167 (tramp-handle-insert-file-contents): Trace error case.
9168
9169 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
9170 <insert-directory>: Use `tramp-handle-insert-directory'.
9171 (tramp-adb-handle-insert-directory): Remove function.
9172 (tramp-adb-send-command-and-check): New defun, replacing
9173 `tramp-adb-command-exit-status'. Change all callees.
9174 (tramp-adb-handle-file-attributes)
9175 (tramp-adb-handle-directory-files-and-attributes): Use it.
9176 (tramp-adb-ls-output-name-less-p):
9177 Use `directory-listing-before-filename-regexp'.
9178 (tramp-adb-handle-delete-directory): Flush also file properties of
9179 the truename of directory.
9180 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
9181 (tramp-adb-handle-file-local-copy): Make the local copy readable.
9182 (tramp-adb-handle-write-region): Implement APPEND.
9183 (tramp-adb-handle-rename-file): Make it more robust. Flush file
9184 properties correctly.
9185 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
9186 variables. Check for connected devices only when needed.
9187
9188 2014-02-27 Glenn Morris <rgm@gnu.org>
9189
9190 * minibuffer.el (completion-table-dynamic)
9191 (completion-table-with-cache): Doc fixes.
9192
9193 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
9194 (completing-read-multiple): Doc fixes.
9195
9196 2014-02-27 Daniel Colascione <dancol@dancol.org>
9197
9198 * minibuffer.el (completion--nth-completion): Fix indentation.
9199
9200 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
9201 explicit tramp path is empty.
9202
9203 2014-02-27 Glenn Morris <rgm@gnu.org>
9204
9205 * emacs-lisp/crm.el (completing-read-multiple):
9206 Empower help-enable-auto-load.
9207
9208 2014-02-26 Glenn Morris <rgm@gnu.org>
9209
9210 * startup.el (command-line): Don't init the tty in daemon mode.
9211
9212 Avoid calling tty-setup-hook twice, eg if a term file
9213 explicitly calls tty-run-terminal-initialization. (Bug#16859)
9214 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
9215 (tty-create-frame-with-faces): Use it.
9216 * startup.el (command-line): Pass run-hook argument
9217 to tty-run-terminal-initialization.
9218
9219 * dired.el (dired-restore-desktop-buffer): Demote errors;
9220 eg in case a glob match fails. (Bug#16884)
9221
9222 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
9223
9224 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
9225 error from `read-from-string'. (Bug#16850)
9226
9227 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
9228 result of `completing-read' in the interactive form. (Bug#16854)
9229
9230 2014-02-25 Glenn Morris <rgm@gnu.org>
9231
9232 * image.el (image-animate, image-animate-timeout):
9233 Stop animating images in dead buffers. (Bug#16878)
9234
9235 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
9236
9237 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
9238 Doc fixes.
9239 * startup.el (term-setup-hook): Doc fix. Make obsolete.
9240 * term/sun.el (sun-raw-prefix-hooks):
9241 Use tty-setup-hook instead of term-setup-hook.
9242 (terminal-init-sun): Construct message from bytecomp plist.
9243 * term/wyse50.el (enable-arrow-keys): Doc fix.
9244
9245 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
9246
9247 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
9248 Fix docstring typos.
9249
9250 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
9251
9252 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
9253
9254 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9255
9256 * minibuffer.el (completion--try-word-completion):
9257 Fix error when completing M-x commands (bug#16808).
9258
9259 2014-02-24 Leo Liu <sdl.web@gmail.com>
9260
9261 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
9262
9263 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
9264
9265 * apropos.el (apropos-print): Avoid formatting error when
9266 apropos-do-all and apropos-compact-layout are both t.
9267
9268 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
9269
9270 * apropos.el (apropos-property, apropos-all-words-regexp)
9271 (apropos-true-hit, apropos-variable, apropos-print):
9272 Fix docstring typos, and remove obsolete comment.
9273
9274 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
9275
9276 * net/tramp-sh.el (tramp-sh-handle-file-truename):
9277 Preserve trailing "/". (Bug#16851)
9278
9279 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
9280
9281 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
9282 after `=>' (bug#16811).
9283 (ruby-smie-rules): Handle the inconsistent second element of the
9284 list returned by `smie-indent--parent'.
9285 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
9286 method call.
9287
9288 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
9289
9290 * elec-pair.el (electric-pair-text-syntax-table)
9291 (electric-pair-syntax-info, electric-pair--syntax-ppss)
9292 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
9293 (electric-pair--looking-at-unterminated-string-p): Doc fix.
9294 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
9295
9296 2014-02-22 Glenn Morris <rgm@gnu.org>
9297
9298 * imenu.el (imenu--generic-function): Doc fix.
9299
9300 * register.el (frame-configuration-to-register): Make obsolete.
9301
9302 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
9303
9304 * desktop.el (desktop-save-buffer-p): Do not fail when
9305 desktop-files-not-to-save is nil. Return t for true result
9306 as the doc says.
9307
9308 2014-02-22 Daniel Colascione <dancol@dancol.org>
9309
9310 * net/secrets.el (secrets-create-item, secrets-search-items):
9311 Check that attribute values are strings, avoiding the construction
9312 of invalid dbus messages.
9313
9314 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9315
9316 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
9317 defun-declarations-alist.
9318
9319 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
9320
9321 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
9322 (bug#16829).
9323
9324 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9325
9326 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
9327 (whitespace-newline, whitespace-trailing, whitespace-line)
9328 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
9329 (whitespace-space-after-tab): Fix typo in docstrings.
9330
9331 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
9332
9333 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
9334
9335 * electric.el (electric-indent-functions-without-reindent):
9336 Add `yaml-indent-line'.
9337
9338 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9339
9340 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
9341 It has done nothing for years; should be removed after the release.
9342
9343 * simple.el (choose-completion): Fix docstring typo.
9344 (read-quoted-char-radix): Remove unneeded * in docstring.
9345 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
9346 Don't escape parentheses unnecessarily in docstrings.
9347
9348 2014-02-21 Martin Rudalics <rudalics@gmx.at>
9349
9350 Fix handling of window-min-height/-width (Bug#16738).
9351 * window.el (window--dump-window, window--dump-frame):
9352 New functions.
9353 (window--min-size-1): Account for window dividers.
9354 When window-resize-pixelwise is nil, delay rounding till after the
9355 sum of the window components has been calculated.
9356 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
9357 nil make sure at least one text line and two text columns remain
9358 fully visible.
9359 (window-resize): Signal an error when window-resize-apply fails.
9360 (window--resize-child-windows): Fix calculation of by how many
9361 pixels a window can still be shrunk via window-new-normal.
9362 (adjust-window-trailing-edge): Call window--resizable with
9363 correct TRAIL argument.
9364
9365 (with-temp-buffer-window): Don't evaluate BODY within
9366 with-current-buffer (Bug#16816).
9367
9368 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
9369
9370 * net/tramp.el (tramp-check-cached-permissions):
9371 Call `file-attributes' with `suffix' being a symbol but a string.
9372
9373 2014-02-21 Daniel Colascione <dancol@dancol.org>
9374
9375 * net/dbus.el (dbus-init-bus-1): Declare new subr.
9376 (dbus-init-bus): New function: call into dbus-init-bus-1
9377 and installs a handler for the disconnect signal.
9378 (dbus-call-method): Rewrite to look for result in cons.
9379 (dbus-call-method-handler): Store result in cons.
9380 (dbus-check-event): Recognize events with nil sender as valid.
9381 (dbus-handle-bus-disconnect): New function. React to bus
9382 disconnection signal by synthesizing dbus error for each
9383 pending synchronous or asynchronous call.
9384 (dbus-notice-synchronous-call-errors): New function.
9385 (dbus-handle-event): Raise errors directly only when `dbus-debug'
9386 is true, not all the time.
9387
9388 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
9389
9390 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
9391 Remove obsolescence declarations, these variables do not exist anymore.
9392
9393 * savehist.el (savehist-save-minibuffer-history)
9394 (savehist-additional-variables, savehist-file, savehist-mode-hook)
9395 (savehist-save-hook, savehist-coding-system, savehist-loaded)
9396 (savehist-load, savehist-install, savehist-autosave): Fix typos;
9397 mostly, refer to "Savehist mode" when talking about the mode,
9398 and not the function.
9399
9400 * saveplace.el (save-place): Remove redundant info in docstring.
9401 (save-place-forget-unreadable-files, toggle-save-place)
9402 (save-place-forget-unreadable-files, save-place-dired-hook):
9403 Fix typos and remove unneeded backslashes.
9404
9405 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
9406
9407 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
9408 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
9409
9410 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9411 <insert-directory>: Use `tramp-handle-insert-directory'.
9412 (tramp-gvfs-handle-insert-directory): Remove function.
9413
9414 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9415 Call `tramp-handle-insert-directory'.
9416
9417 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
9418
9419 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
9420 before the start of buffer/region (bug#16799).
9421
9422 2014-02-20 Glenn Morris <rgm@gnu.org>
9423
9424 * isearch.el (search-invisible): Doc fix.
9425
9426 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
9427
9428 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
9429 (bug#16657).
9430
9431 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
9432
9433 * frameset.el (frameset-restore): Delay removing an old frame's
9434 duplicate id until the new frame has been correctly created.
9435
9436 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
9437
9438 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
9439 (tramp-check-cached-permissions): Call `file-attributes' if the
9440 cache is empty.
9441
9442 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
9443 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
9444
9445 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9446 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
9447 (tramp-gvfs-maybe-open-connection): Set always connection
9448 properties, even if target is mounted already.
9449
9450 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
9451 Set tramp-autoload cookie.
9452 (tramp-get-remote-touch): New defun.
9453 (tramp-sh-handle-set-file-times): Use it.
9454 (tramp-sh-handle-directory-files-and-attributes):
9455 Use `tramp-handle-directory-files-and-attributes' if neither stat
9456 nor perl are available on the remote host.
9457
9458 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
9459 "/". Write long listing only when "l" belongs to the switches.
9460
9461 * net/trampver.el: Update release number.
9462
9463 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
9464
9465 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
9466
9467 2014-02-19 Martin Rudalics <rudalics@gmx.at>
9468
9469 * window.el (window-state-put): Allow WINDOW to refer to an
9470 internal window (Bug#16793).
9471
9472 2014-02-19 Glenn Morris <rgm@gnu.org>
9473
9474 * textmodes/remember.el: Move provide statement to end.
9475 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
9476 (remember-notes): Doc fixes.
9477
9478 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * delsel.el (delete-char): Restore incorrectly erased property
9481 (bug#16795).
9482
9483 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
9484
9485 * frameset.el (frameset--restore-frame): When a frame is being reused
9486 and its root window is not alive, delete all the frame's windows before
9487 restoring the window state. This works around the issue in bug#16793.
9488
9489 2014-02-18 Glenn Morris <rgm@gnu.org>
9490
9491 * textmodes/remember.el (remember-data-directory)
9492 (remember-directory-file-name-format, remember-store-in-files)
9493 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
9494 (remember-notes-save-and-bury-buffer)
9495 (remember-notes--kill-buffer-query): Doc fixes.
9496
9497 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
9498
9499 2014-02-17 Alan Mackenzie <acm@muc.de>
9500
9501 Connect electric-indent-mode up with CC Mode. Bug #15478.
9502 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
9503 to electric-indent-{,local-}-mode.
9504 (c-basic-common-init): Set electric-indent-inhibit.
9505 Initialise c-electric-flag from electric-indent-mode.
9506 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
9507 New hook functions which propagate electric-indent-mode to CC mode.
9508
9509 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
9510 hit, toggle electric-indent-local-mode.
9511
9512 * electric.el (electric-indent-mode-has-been-called):
9513 New variable.
9514
9515 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
9516
9517 * frameset.el (frameset-cfg-id): New function.
9518 (frameset--reuse-frame, frameset-restore): Use it.
9519 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
9520
9521 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * ido.el (ido-file-internal): Remove unused var `d'.
9524 Use \` for to match BoS. Fit within 80n columns.
9525
9526 2014-02-17 Daniel Colascione <dancol@dancol.org>
9527
9528 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
9529 dbus-call-method check for completion using a busy-wait loop with
9530 gradual backoff.
9531
9532 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
9533
9534 Sync with Tramp 2.2.9.
9535
9536 * net/trampver.el: Update release number.
9537
9538 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
9539
9540 * ido.el (ido-file-internal): Don't add the name of an existing
9541 directory twice. (Bug#16747)
9542
9543 2014-02-16 Glenn Morris <rgm@gnu.org>
9544
9545 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
9546 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
9547
9548 2014-02-15 Michael R. Mauger <michael@mauger.com>
9549
9550 * progmodes/sql.el: Version 3.4
9551 (sql-oracle-options): New default value ("-L").
9552 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9553 (sql-placeholders-filter): Correct placeholder pattern.
9554 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9555 (sql-login-delay): New variable.
9556 (sql-product-interactive): Use it.
9557
9558 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
9559
9560 * frameset.el (frameset--jump-to-register): Check that buffer is live
9561 (bug#16749).
9562
9563 2014-02-15 Glenn Morris <rgm@gnu.org>
9564
9565 * info.el (info-initialize): Revert 2014-01-10 change.
9566
9567 2014-02-14 Glenn Morris <rgm@gnu.org>
9568
9569 * replace.el (map-query-replace-regexp)
9570 (read-regexp-defaults-function, read-regexp): Doc fixes.
9571
9572 * dired.el (dired-read-regexp):
9573 * faces.el (list-faces-display):
9574 * misearch.el (multi-isearch-read-matching-buffers)
9575 (multi-isearch-read-matching-files):
9576 * play/cookie1.el (cookie-apropos):
9577 * progmodes/grep.el (grep-read-regexp): Doc fixes.
9578
9579 * textmodes/remember.el (remember): Use frameset-to-register
9580 rather than frame-configuration-to-register.
9581
9582 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
9583
9584 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
9585 incorrect keybinding.
9586
9587 2014-02-13 Daniel Colascione <dancol@dancol.org>
9588
9589 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
9590 when adding overlays so that line numbers from compiler match line
9591 numbers we use.
9592
9593 2014-02-13 Glenn Morris <rgm@gnu.org>
9594
9595 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
9596
9597 * jit-lock.el (jit-lock-mode): Doc fix.
9598
9599 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
9600
9601 * apropos.el (apropos-read-pattern): When the user passes an empty
9602 string, give a more helpful error message than "Wrong type
9603 argument: stringp, nil".
9604
9605 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
9606
9607 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
9608
9609 2014-02-13 Glenn Morris <rgm@gnu.org>
9610
9611 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
9612
9613 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
9614
9615 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
9616 shift-select commands.
9617
9618 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
9619
9620 * progmodes/js.el (js-indent-line): Don't widen.
9621 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
9622
9623 2014-02-12 Glenn Morris <rgm@gnu.org>
9624
9625 * icomplete.el (icomplete): Add info-link to defgroup.
9626 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
9627 (icomplete-minibuffer-map, icomplete-mode)
9628 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
9629
9630 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
9631 (package-menu-filter): Rename from package-menu-filter-interactive.
9632 Doc fix.
9633
9634 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
9635
9636 * frameset.el (frameset--jump-to-register): Select the required
9637 window and buffer before restoring position (bug#16696).
9638
9639 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
9640
9641 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
9642
9643 2014-02-10 Glenn Morris <rgm@gnu.org>
9644
9645 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
9646
9647 2014-02-10 Eli Zaretskii <eliz@gnu.org>
9648
9649 * w32-common-fns.el (x-get-selection): Doc fix.
9650 * select.el (x-get-selection): Doc fix. (Bug#15109)
9651
9652 * face-remap.el (face-remap-add-relative)
9653 (face-remap-remove-relative, face-remap-reset-base)
9654 (face-remap-set-base): Call force-mode-line-update to redisplay
9655 the current buffer due to potential change in faces. (Bug#16709)
9656
9657 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
9658
9659 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
9660 script more robustly.
9661
9662 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9663
9664 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
9665
9666 * simple.el (choose-completion): Doc fix (bug#14160).
9667
9668 * subr.el (event-start): Say what a nil EVENT value means.
9669
9670 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
9671 (bug#14197).
9672
9673 * progmodes/grep.el (find-program): Doc fix (bug#14289).
9674
9675 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
9676
9677 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
9678
9679 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
9680 predicate function (bug#15455).
9681
9682 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
9683
9684 * ielm.el (inferior-emacs-lisp-mode): Instead of
9685 `comment-use-global-state', set `comment-use-syntax'.
9686
9687 2014-02-10 Glenn Morris <rgm@gnu.org>
9688
9689 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
9690
9691 2014-02-09 Alan Mackenzie <acm@muc.de>
9692
9693 Fix c-invalidate-state-cache on narrowed buffers.
9694 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
9695 Widen when setting and clearing the CPP delimiter properties.
9696
9697 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
9698
9699 * help.el (describe-bindings): Doc fix (bug#9888).
9700
9701 * files.el (save-buffer): Use ARG as the parameter name for
9702 consistency (bug#10346).
9703 (save-buffer): Clarify the 0 argument (bug#10346).
9704
9705 * cus-edit.el (customize-apropos): Fix error string.
9706 (custom-buffer-create): Doc fix (bug#11122).
9707 (custom-sort-items): Doc fix (bug#11121).
9708
9709 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
9710
9711 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
9712 (icomplete-simple-completing-p): Mention the previous variable.
9713
9714 * font-lock.el (font-lock-value-in-major-mode): Clarify the
9715 meaning of the parameter (bug#12282).
9716
9717 * files.el (find-file-noselect): Clarify prompt when changing
9718 readedness (bug#13261).
9719 (locate-file): Suffixes aren't returned, so don't say that they
9720 are (bug#12674).
9721 (backup-inhibited): Doc clarification (bug#12525).
9722
9723 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
9724 before we actually start to delete things (bug#16331).
9725
9726 * subr.el (event-start): Doc fix (bug#14228).
9727 (event-end): Ditto.
9728
9729 2014-02-09 Glenn Morris <rgm@gnu.org>
9730
9731 * emacs-lisp/warnings.el (lwarn):
9732 Empower help-enable-auto-load. (Bug#15940)
9733
9734 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
9735
9736 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
9737 (Bug#16690)
9738
9739 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
9740
9741 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9742 Insert output at end of buffer. (Bug#16120)
9743
9744 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
9745
9746 * simple.el (choose-completion-string-functions): Document new
9747 calling convention (bug#14153).
9748 (execute-extended-command): Clarify doc string (bug#13373).
9749
9750 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
9751
9752 * find-dired.el (find-name-dired): Doc fix (bug#14290).
9753 (find-grep-dired): Doc fix (bug#14288).
9754
9755 2014-02-08 Juri Linkov <juri@jurta.org>
9756
9757 * isearch.el (isearch-quote-char): Check character validity
9758 like in `quoted-insert' (bug#16677).
9759
9760 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
9761
9762 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
9763
9764 * isearch.el (isearch-hide-immediately): Doc clarification
9765 (bug#14723).
9766
9767 * simple.el (line-move): Document utility function used many
9768 places in the Emacs sources (bug#14843).
9769
9770 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
9771 (dired-prev-marked-file): Doc fix (bug#14855).
9772 (dired-up-directory): Doc fix (bug#14848).
9773
9774 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
9775
9776 * files.el (file-relative-name): Doc fix (bug#15159).
9777
9778 * fringe.el (fringe-styles): Doc fix (bug#15239).
9779
9780 * isearch.el (isearch-filter-predicate): Documentation typo fix
9781 (bug#15474).
9782
9783 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
9784
9785 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
9786
9787 * replace.el (replace-match-maybe-edit): Doc clarification
9788 (bug#15632).
9789
9790 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
9791
9792 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
9793
9794 2014-02-08 Glenn Morris <rgm@gnu.org>
9795
9796 * help-fns.el (describe-variable):
9797 Check {file,dir}-local-variables-alist, and buffer-file-name,
9798 in the correct buffer.
9799
9800 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
9801
9802 * help-fns.el (describe-variable): Fix the case where
9803 a value is directory-local with no dir-locals file. (Bug#16635)
9804
9805 2014-02-08 Glenn Morris <rgm@gnu.org>
9806
9807 * abbrev.el (edit-abbrevs-mode):
9808 Derive from fundamental-mode. (Bug#16682)
9809
9810 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
9811
9812 * simple.el (quoted-insert): Check character validity (bug#16677).
9813
9814 2014-02-07 Juri Linkov <juri@jurta.org>
9815
9816 * desktop.el (desktop-read): Claim the lock when the owner is not
9817 the current process. (Bug#16157)
9818
9819 2014-02-07 Juri Linkov <juri@jurta.org>
9820
9821 * desktop.el (desktop-buffers-not-to-save): Change default from nil
9822 to "\\` ". (Bug#16651)
9823
9824 2014-02-07 Juri Linkov <juri@jurta.org>
9825
9826 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
9827 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
9828 (desktop-auto-save-cancel-timer): New function with some code from
9829 `desktop-auto-save-set-timer'.
9830 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
9831 Instead of setting `desktop-save-mode' to nil, call
9832 `desktop-save-mode' with arg 0. (Bug#16630)
9833
9834 2014-02-07 Glenn Morris <rgm@gnu.org>
9835
9836 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
9837 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
9838 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
9839
9840 * obsolete/iswitchb.el: Move to obsolete/.
9841 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
9842 since obsolete/ is not scanned for autoloads.
9843 * emacs-lisp/authors.el (authors-valid-file-names):
9844 Add iswitchb.el.
9845
9846 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
9847 Disable now non-functional find-file-hook.
9848
9849 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
9850
9851 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
9852 instead of ";" in order to avoid additional prompts. Let heredoc
9853 scripts read from tty. (Bug#16582)
9854 (tramp-send-command): No special handling of heredocs, it isn't
9855 necessary anymore.
9856
9857 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
9860 with a space (bug#16664). Limit the symbols considered to the ones
9861 that are bound or fbound (bug#16646).
9862
9863 2014-02-06 Glenn Morris <rgm@gnu.org>
9864
9865 * epa.el (epa-mail-aliases): Doc fix.
9866
9867 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
9868
9869 * emacs-lisp/lisp.el (lisp-completion-at-point):
9870 Use `completion-table-merge' instead of `completion-table-in-turn'
9871 (bug#16604).
9872
9873 * minibuffer.el (completion-table-merge): New function.
9874
9875 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
9876
9877 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
9878 (tramp-sh-handle-set-file-acl)
9879 (tramp-sh-handle-start-file-process)
9880 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
9881 (tramp-find-executable, tramp-send-command): Use it.
9882
9883 2014-02-05 Glenn Morris <rgm@gnu.org>
9884
9885 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
9886
9887 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
9888
9889 * progmodes/python.el (python-shell-send-string)
9890 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
9891
9892 2014-02-04 Anders Lindgren <andlind@gmail.com>
9893
9894 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
9895 the names (bug#16620).
9896
9897 2014-02-03 Martin Rudalics <rudalics@gmx.at>
9898
9899 * faces.el (window-divider): New default value. Rewrite doc-string.
9900 (window-divider-first-pixel, window-divider-last-pixel): New faces.
9901
9902 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
9903
9904 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
9905 `protected' and `public' can also be called without arguments.
9906
9907 2014-02-03 Glenn Morris <rgm@gnu.org>
9908
9909 * register.el (window-configuration-to-register)
9910 (frame-configuration-to-register): Unadvertise unused argument.
9911 * frameset.el (frameset-to-register): Remove unused argument.
9912
9913 * frameset.el (frameset-to-register):
9914 * kmacro.el (kmacro-to-register):
9915 * register.el (increment-register):
9916 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
9917 (calc-append-to-register, calc-prepend-to-register):
9918 * play/gametree.el (gametree-layout-to-register)
9919 (gametree-apply-register-layout):
9920 * textmodes/picture.el (picture-clear-rectangle-to-register)
9921 (picture-yank-rectangle-from-register):
9922 * vc/emerge.el (emerge-combine-versions-register):
9923 Use register-read-with-preview to read registers.
9924
9925 2014-02-03 João Távora <joaotavora@gmail.com>
9926
9927 * elec-pair.el (electric-pair-backward-delete-char): Don't error
9928 when at beginning of (possibly narrowed) buffer.
9929
9930 2014-02-02 Daniel Colascione <dancol@dancol.org>
9931
9932 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
9933 Also try to display local help from just before point.
9934
9935 2014-02-02 Alan Mackenzie <acm@muc.de>
9936
9937 c-parse-state. Don't "append-lower-brace-pair" in certain
9938 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
9939 recognised as a comment.
9940
9941 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
9942 as well as normal comment starter.
9943 (c-parse-state-get-strategy): Extra return possibility
9944 'back-and-forward.
9945 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
9946 return value list to indicate replacement of a brace-pair cons
9947 with its car.
9948 (c-parse-state-1): With 'back-and-forward, only call
9949 c-append-lower-brace-pair-to state-cache when cons-separated.
9950
9951 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
9952
9953 * term/ns-win.el (ns-suspend-error): New function.
9954 (ns-initialize-window-system): Add ns-suspend-error to
9955 suspend-hook (Bug#16612).
9956
9957 2014-02-02 Daniel Colascione <dancol@dancol.org>
9958
9959 * progmodes/cc-defs.el (c-find-assignment-for-mode):
9960 Make loading cc-mode silent.
9961
9962 2014-02-02 Daniel Colascione <dancol@dancol.org>
9963
9964 * comint.el (comint-prompt-read-only): Change doc to suggest
9965 remap keybinding.
9966
9967 2014-02-02 Glenn Morris <rgm@gnu.org>
9968
9969 * register.el (register-read-with-preview, point-to-register)
9970 (window-configuration-to-register, frame-configuration-to-register)
9971 (jump-to-register, number-to-register, view-register, insert-register)
9972 (copy-to-register, append-to-register, prepend-to-register)
9973 (copy-rectangle-to-register): Doc fixes.
9974
9975 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
9978 * emacs-lisp/find-func.el (find-function-C-source): Idem.
9979 * emacs-lisp/nadvice.el (advice--cd*r): New function.
9980 * help-fns.el (describe-function-1): Use it.
9981
9982 2014-02-02 Glenn Morris <rgm@gnu.org>
9983
9984 * register.el (register-preview-default): New function,
9985 split from register-preview.
9986 (register-preview-function): Rename from register-preview-functions,
9987 make it not a hook.
9988 (register-preview): Use register-preview-function.
9989 (register-read-with-preview): Error on non-character event. (Bug#16595)
9990
9991 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
9992
9993 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
9994 `:' before binary operators (bug#16609). Don't check for `:'
9995 before `[' and `(', or their syntax status. A percent literal
9996 can't end with either.
9997 (ruby-font-lock-keywords): For built-ins that require arguments,
9998 check that they're followed by something that looks like argument
9999 (bug#16610).
10000
10001 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
10002
10003 * subr.el (butlast): Document what an omitted N means (bug#13437).
10004 (nbutlast): Ditto.
10005
10006 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
10007
10008 * net/shr.el (shr-generic): Make into a defsubst to make the stack
10009 depth shallower (bug#16587).
10010 (shr-tag-svg): Respect `shr-inhibit-images'.
10011 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
10012
10013 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
10014
10015 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
10016 (ruby-smie-grammar): Make "." right-associative. Make its priority
10017 lower than the ternary and all binary operators.
10018 (ruby-smie-rules): Indent "(" relative to the first non-"."
10019 parent, or the first "." parent at indentation.
10020 Use `ruby-align-chained-calls' for indentation of "." tokens.
10021 (Bug#16593)
10022
10023 2014-01-31 Juri Linkov <juri@jurta.org>
10024
10025 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
10026 from `make-hash-table'.
10027
10028 * textmodes/ispell.el (ispell-init-process): Change message format
10029 to be consistent with other messages.
10030
10031 2014-01-31 Glenn Morris <rgm@gnu.org>
10032
10033 * delsel.el (delete-selection-mode): Doc fix.
10034
10035 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
10036 (trace-function-background): Doc fixes.
10037
10038 * ido.el (ido-use-virtual-buffers): Doc fix.
10039 Reset :version, since the default value has not changed.
10040
10041 * register.el (register-preview-delay, register-read-with-preview):
10042 Doc fixes.
10043
10044 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
10045 do not mess with mail-buffer position (fixes 2009-11-03 change).
10046 * progmodes/cc-mode.el (c-submit-bug-report):
10047 Check auto-fill-mode is bound. (Bug#16592)
10048
10049 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
10050
10051 * startup.el (fancy-splash-image-file): New function,
10052 split from fancy-splash-head.
10053 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
10054 so that we are both using the same image. (Bug#16574)
10055
10056 2014-01-30 Glenn Morris <rgm@gnu.org>
10057
10058 * simple.el (eval-expression): Doc fix.
10059
10060 * hexl.el (hexl-mode-hook):
10061 * ielm.el (ielm-mode-hook):
10062 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
10063 (lisp-interaction-mode-hook):
10064 * progmodes/cfengine.el (cfengine3-documentation-function):
10065 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
10066
10067 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
10068
10069 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
10070 is a symbol (bug#16584).
10071
10072 2014-01-30 Glenn Morris <rgm@gnu.org>
10073
10074 * help.el (help-for-help-internal): Add "P" to text.
10075
10076 2014-01-29 Glenn Morris <rgm@gnu.org>
10077
10078 * simple.el (just-one-space, cycle-spacing): Doc fixes.
10079
10080 2014-01-28 Martin Rudalics <rudalics@gmx.at>
10081
10082 * window.el (fit-frame-to-buffer): Fix calculations for margins and
10083 height constraints.
10084
10085 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
10086
10087 * progmodes/hideif.el: Extend to full CPP expression syntax.
10088 (hif-token-alist): Add missing tokens.
10089 (hif-token-regexp): Add support for float/octal/hex immediates.
10090 (hif-string-literal-regexp): New const.
10091 (hif-tokenize): Recognize strings and float/octal/hex immediates.
10092 (hif-exprlist): New function.
10093 (hif-parse-if-exp): Use it.
10094 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
10095 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
10096 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
10097 (hif-logxor, hif-comma): New functions.
10098
10099 2014-01-28 Glenn Morris <rgm@gnu.org>
10100
10101 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
10102
10103 * indent.el (tab-stop-list): Doc fix. Add :version.
10104
10105 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
10106 (cvs-append-to-ignore): Add compatibility alias.
10107
10108 2014-01-27 Glenn Morris <rgm@gnu.org>
10109
10110 * dired.el (dired-hide-details-mode): Don't autoload it,
10111 since it cannot be used outside Dired buffers anyway.
10112
10113 * emulation/cua-base.el (cua-mode): Doc fix.
10114
10115 * dired.el (dired-hide-details-hide-symlink-targets)
10116 (dired-hide-details-hide-information-lines)
10117 (dired-hide-details-mode): Doc fixes.
10118
10119 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
10120 * strokes.el (strokes-file): Doc fix. Bump :version.
10121 (strokes-help): Doc fix.
10122 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
10123 * emulation/viper.el (viper): Doc fix for custom group.
10124 (top-level): Remove oh-so-no-longer-relevant text about vip.
10125 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
10126
10127 * ido.el (ido-save-directory-list-file):
10128 * saveplace.el (save-place-file):
10129 * calendar/timeclock.el (timeclock-file):
10130 * net/quickurl.el (quickurl-url-file):
10131 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10132 * progmodes/idlwave.el (idlwave-config-directory):
10133 * textmodes/remember.el (remember-data-file):
10134 Bump :version.
10135
10136 2014-01-26 Glenn Morris <rgm@gnu.org>
10137
10138 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
10139 Doc fix. Make obsolete.
10140 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
10141
10142 * sort.el (delete-duplicate-lines): Doc fix.
10143
10144 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10145
10146 * progmodes/ada-mode.el (ada):
10147 * woman.el (woman): Link to info manual and Commentary section.
10148
10149 * progmodes/flymake.el (flymake):
10150 * nxml/nxml-mode.el (nxml):
10151 * net/eww.el (eww):
10152 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
10153 * htmlfontify.el (htmlfontify):
10154 * ses.el (ses):
10155 * epa.el (epa):
10156 * ido.el (ido): Link to info manual.
10157
10158 2014-01-25 Leo Liu <sdl.web@gmail.com>
10159
10160 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
10161
10162 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
10163
10164 * net/shr.el (shr-tag-img): Prefer the title over the alt text
10165 (bug#16537).
10166
10167 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
10168
10169 * net/eww.el (eww-download-callback):
10170 Fix reference to eww-download-directory.
10171
10172 * emacs-lisp/bytecomp.el (byte-compile-file):
10173 Remove unused local variable `file-name'.
10174
10175 2014-01-24 Glenn Morris <rgm@gnu.org>
10176
10177 * woman.el (woman-default-faces, woman-monochrome-faces):
10178 Fix obsolescence specification.
10179
10180 * subr.el (with-demoted-errors): Doc fix.
10181
10182 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
10185 (cl--macroexp-fboundp): New function.
10186 (cl--make-type-test): Use it.
10187
10188 2014-01-23 Glenn Morris <rgm@gnu.org>
10189
10190 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
10191 * simple.el (eval-expression): Doc fixes.
10192
10193 2014-01-22 Glenn Morris <rgm@gnu.org>
10194
10195 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
10196
10197 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * emacs-lisp/package.el: Write files silently.
10200 (package-autoload-ensure-default-file, package--write-file-no-coding)
10201 (package-generate-description-file, package--download-one-archive)
10202 (package-install-from-archive): Tell `write-region' to stay quiet.
10203 (package-menu-mode, package-menu--print-info): Omit the Archive column
10204 if there's only one archive.
10205 (package-all-keywords, package--has-keyword-p): Remove dead code.
10206
10207 2014-01-22 Glenn Morris <rgm@gnu.org>
10208
10209 * version.el (emacs-bzr-version-bzr): Fix typo.
10210
10211 * version.el (emacs-repository-get-version):
10212 Check either .bzr or .git, but not both.
10213 Make the git case actually use the DIR argument, and return nil
10214 rather than the empty string.
10215 Avoid error if .git exists but the git executable is not found.
10216
10217 2014-01-22 Martin Rudalics <rudalics@gmx.at>
10218
10219 Fixes in window size functions around Bug#16430 and Bug#16470.
10220 * window.el (window-total-size, window-size): New argument ROUND.
10221 (window--min-delta-1, window-min-delta, window--max-delta-1):
10222 Be more conservative when calculating the numbers of lines or
10223 columns a window can shrink (Bug#16430).
10224 (fit-window-to-buffer): Simplify code.
10225 * term.el (term-window-width): Call window-body-width again.
10226
10227 2014-01-22 Glenn Morris <rgm@gnu.org>
10228
10229 * image.el (image-format-suffixes): Doc fix.
10230
10231 * international/quail.el (quail-define-package): Doc fix.
10232
10233 * emacs-lisp/authors.el (authors-valid-file-names)
10234 (authors-renamed-files-alist): Additions.
10235
10236 * vc/vc-git.el (vc-git-print-log): Remove --follow;
10237 reverts 2014-01-09 change. (Bug#16422)
10238
10239 * calc/calc-embed.el (thing-at-point-looking-at):
10240 * emacs-lisp/map-ynp.el (x-popup-dialog):
10241 * obsolete/lmenu.el (x-popup-dialog):
10242 * emacs-lisp/package.el (url-recreate-url):
10243 * mail/mailclient.el (clipboard-kill-ring-save):
10244 * subr.el (x-popup-dialog): Update declaration.
10245 * mail/rmail.el (rmail-mime-message-p):
10246 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
10247
10248 2014-01-21 Daniel Colascione <dancol@dancol.org>
10249
10250 * progmodes/sh-script.el (sh--inside-noncommand-expression):
10251 Correctly detect when we're inside an arithmetic expansion form
10252 containing nested parenthesis.
10253 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
10254 to detect cases where we shouldn't expand "<<" to a heredoc
10255 skeleton.
10256
10257 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
10260 (eldoc--message-command-p): New function.
10261 (eldoc-display-message-p): Use it.
10262 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
10263 message is not automatically erased for us.
10264 (eldoc-print-current-symbol-info): Erase previous message, if any.
10265
10266 2014-01-21 Tassilo Horn <tsdh@gnu.org>
10267
10268 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
10269 specify it's an interactive function.
10270
10271 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
10272 Fix regex used for scanning for citation keys which failed for
10273 citations with optional arguments.
10274
10275 2014-01-21 Leo Liu <sdl.web@gmail.com>
10276
10277 * simple.el (read--expression): Don't enable eldoc-mode.
10278
10279 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * simple.el (move-beginning-of-line): Make sure we don't move forward
10282 (bug#16497).
10283
10284 2014-01-20 Juri Linkov <juri@jurta.org>
10285
10286 * saveplace.el (toggle-save-place, save-place-to-alist)
10287 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
10288 'dired-mode) before checking for dired-directory. (Bug#16477)
10289
10290 2014-01-20 Juri Linkov <juri@jurta.org>
10291
10292 * indent.el (indent-line-to): Use backward-to-indentation
10293 instead of back-to-indentation. (Bug#16461)
10294
10295 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
10296
10297 Revert some of the CANNOT_DUMP fix (Bug#16494).
10298 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
10299 but fixing this can wait until after the next release.
10300 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
10301
10302 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
10303
10304 * eshell/esh-mode.el (eshell-password-prompt-regexp):
10305 Use `password-word-equivalents'.
10306 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
10307 to t. (Bug#5664, Bug#13124)
10308
10309 2014-01-19 Alan Mackenzie <acm@muc.de>
10310
10311 Bind open-paren-in-column-0-is-defun-start to nil at some entry
10312 points.
10313 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
10314 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
10315 * progmodes/cc-mode.el (c-before-change, c-after-change)
10316 (c-font-lock-fontify-region): Bind it here.
10317
10318 2014-01-19 Martin Rudalics <rudalics@gmx.at>
10319
10320 * term.el (term-window-width): Call window-text-width instead of
10321 window-width (Bug#16470).
10322
10323 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
10324
10325 * simple.el (password-word-equivalents): Remove duplicates.
10326 Sort, to make this easier next time.
10327 Downcase. Omit ": " after "jelszó".
10328
10329 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
10330
10331 * term/common-win.el (saved-region-selection): Defvar it.
10332 (x-select-text): Set saved-region-selection (Bug#16382).
10333
10334 2014-01-18 Glenn Morris <rgm@gnu.org>
10335
10336 * emacs-lisp/authors.el (authors-aliases)
10337 (authors-renamed-files-alist): Add some entries.
10338
10339 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
10340
10341 * net/tramp.el (tramp-password-prompt-regexp):
10342 Use `password-word-equivalents' if available.
10343 (tramp-action-password, tramp-process-one-action)
10344 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
10345
10346 2014-01-17 Chong Yidong <cyd@gnu.org>
10347
10348 * simple.el (password-word-equivalents): New defcustom.
10349 * comint.el (comint-password-prompt-regexp): Use it. Bump version
10350 to 24.4.
10351 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
10352 to t. (Bug#13124)
10353
10354 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
10355
10356 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
10357 (ruby-align-to-stmt-keywords): Change the default value.
10358 Use `ruby-alignable-keywords' to generate the possible customization
10359 choices.
10360 (ruby-smie-rules): Instead of using a hardcoded list of alignable
10361 keywords, check against the value of `ruby-alignable-keywords'
10362 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
10363
10364 2014-01-17 Glenn Morris <rgm@gnu.org>
10365
10366 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
10367
10368 Make M-x authors return zero *Authors Errors* from current logs.
10369 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
10370 (authors-ignored-files): Add some entries, remove others.
10371 (authors-ambiguous-files, authors-valid-file-names):
10372 Add some entries.
10373 (authors-renamed-files-alist): Add, remove, and adjust entries.
10374 (authors-renamed-files-regexps): Add some entries.
10375 Remove some very broad ones. Make some entries `lax'.
10376 (authors-lax-changelogs): New constant.
10377 (authors-disambiguate-file-name): Treat top-level specially.
10378 (authors-lax-changelog-p): New function.
10379 (authors-canonical-file-name): Check file as written against
10380 authors-valid-file-names. Do not special-case etc/.
10381 Handle `lax' logs and authors-renamed-files-regexps elements.
10382
10383 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
10384
10385 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
10386 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
10387 callers.
10388
10389 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
10392 Assume we're already in the proper buffer.
10393 Inspired by Anders Lindgren <andlind@gmail.com>.
10394 (follow-post-command-hook): Call it from the right buffer.
10395 (follow-comint-scroll-to-bottom): Adjust call.
10396 (follow-all-followers): Use get-buffer-window-list.
10397
10398 2014-01-15 Daniel Colascione <dancol@dancol.org>
10399
10400 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
10401 `buffer-file-name' in interactive-form so that we don't leave
10402 pathless file names in `file-name-history'.
10403
10404 2014-01-15 Juri Linkov <juri@jurta.org>
10405
10406 * indent.el (indent-rigidly): Set deactivate-mark to nil
10407 in transient indentation mode. (Bug#16438)
10408
10409 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
10410
10411 * emacs-lisp/package.el (package-desc-keywords): New function
10412 (Bug#16222).
10413 (describe-package-1, package-all-keywords)
10414 (package--has-keyword-p): Use it.
10415
10416 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10417
10418 * simple.el (define-alternatives): When creating the
10419 COMMAND-alternatives variable, assign COMMAND as its definition
10420 name so that `describe-variable' can relocate it.
10421
10422 2014-01-14 Matthew Leach <matthew@mattleach.net>
10423
10424 * font-lock.el (font-lock-keywords): Fix typo in docstring
10425 (bug#16307).
10426
10427 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10428
10429 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
10430 line instead of wrongly reset `add-coment' (bug#13577).
10431
10432 2014-01-14 Daiki Ueno <ueno@gnu.org>
10433
10434 * epa-file.el (epa-file-write-region): Encode the region according
10435 to `buffer-file-format'. Problem reported at:
10436 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
10437
10438 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
10439
10440 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
10441 so it applies in the right buffer (bug#16410).
10442
10443 2014-01-13 Daniel Colascione <dancol@dancol.org>
10444
10445 * textmodes/rst.el (rst-define-key): Provide deprecated
10446 keybindings through named functions instead of anonymous ones so
10447 that "??" doesn't appear in describe-mode output.
10448
10449 2014-01-13 Bastien Guerry <bzg@gnu.org>
10450
10451 * simple.el (define-alternatives): Call the selected command
10452 interactively. When setting `COMMAND--implementation' for the
10453 first time, tell the user how to chose another implementation.
10454 Enhance the docstring.
10455
10456 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
10457
10458 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
10459 (log-edit--match-first-line): New function.
10460 (log-edit-font-lock-keywords): Use it.
10461 (log-edit-mode): Make jit-lock-defer-multiline work.
10462
10463 2014-01-13 Bastien Guerry <bzg@gnu.org>
10464
10465 * rect.el (rectangle-mark-mode): When the region is not active,
10466 display a message saying that the mark as been set and that
10467 rectangle mode is in use.
10468 (rectangle--highlight-for-redisplay): Only put an overlay with a
10469 visible vertical bar when (display-graphic-p) is non-nil.
10470 This partially fixes Bug#16403.
10471
10472 2014-01-13 Juri Linkov <juri@jurta.org>
10473
10474 * info.el (Info-find-file): Go to DIR before displaying the error
10475 about a nonexistent file if no previous Info file is visited.
10476 Use `user-error' instead of `error' for "Info file %s does not exist".
10477 (Info-find-node-2): In case of a nonexistent node in unwind forms
10478 go to the Top node if there is no previous node to revert to.
10479 (Bug#16405)
10480
10481 2014-01-13 Martin Rudalics <rudalics@gmx.at>
10482
10483 fit-frame/window-to-buffer code fixes including one for Bug#14096.
10484 * window.el (fit-frame-to-buffer): Fix doc-string.
10485 Respect window-min-height/-width. Fit pixelwise when
10486 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
10487 when avoiding that frame goes partially off-screen.
10488 (fit-window-to-buffer): Respect window-min-height/-width
10489 (Bug#14096).
10490
10491 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
10494 after an empty line.
10495
10496 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * net/shr.el (shr-render-region): Autoload.
10499
10500 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
10501
10502 * net/eww.el (eww-download-directory): Rename from
10503 `eww-download-path' (Bug#16419).
10504
10505 2014-01-12 Leo Liu <sdl.web@gmail.com>
10506
10507 * dired-x.el (dired-mode-map): Fix last change.
10508
10509 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
10510
10511 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
10512
10513 Spelling fixes.
10514 * emacs-lisp/generic.el (generic--normalize-comments):
10515 Rename from generic--normalise-comments. All uses changed.
10516 * play/bubbles.el (bubbles--neighborhood-score)
10517 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
10518 (bubbles--neighborhood-available)
10519 (bubbles--update-neighborhood-score):
10520 Rename from names with 'neighbourhood'. All uses changed.
10521
10522 2014-01-12 Leo Liu <sdl.web@gmail.com>
10523
10524 Re-implement the feature of showing eldoc info after editing.
10525 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
10526 (eldoc-edit-message-commands): New function.
10527 (eldoc-print-after-edit): New variable.
10528 (eldoc-pre-command-refresh-echo-area): Emit message only by
10529 eldoc-message-commands.
10530 (eldoc-mode): Restrict eldoc-message-commands to editing commands
10531 if eldoc-print-after-edit is set. (Bug#16346)
10532 * simple.el (read--expression): Enable eldoc-mode.
10533 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
10534
10535 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
10536 Eric S. Raymond <esr@thyrsus.com>
10537
10538 * version.el (emacs-repository-get-version): Enhance so the
10539 function works correctly in either a Bazaar or Git repo.
10540
10541 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
10542
10543 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
10544 Goes with removal of the joke manpages from /etc.
10545
10546 2014-01-10 Kenichi Handa <handa@gnu.org>
10547
10548 * mail/rmail.el (rmail-get-coding-system):
10549 Check rmail-get-coding-function before "funcall"ing it.
10550
10551 2014-01-10 Glenn Morris <rgm@gnu.org>
10552
10553 * emacs-lisp/authors.el (authors-fixed-entries):
10554 Update for files that no longer exist.
10555
10556 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
10557
10558 * version.el (emacs-bzr-get-version): Restore compatibilty with
10559 24.3 (Tested).
10560
10561 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
10562
10563 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
10564 and Podfile.
10565
10566 2014-01-10 Eli Zaretskii <eliz@gnu.org>
10567
10568 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
10569
10570 2014-01-10 Chong Yidong <cyd@gnu.org>
10571
10572 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
10573
10574 2014-01-10 Anders Lindgren <andlind@gmail.com>
10575
10576 * follow.el (follow-cache-command-list): Include right-char and
10577 left-char.
10578
10579 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
10580
10581 Spelling fixes.
10582 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
10583 * woman.el (woman-mark-horizontal-position):
10584 Rename from woman-mark-horizonal-position. Use changed.
10585
10586 2014-01-10 Glenn Morris <rgm@gnu.org>
10587
10588 * info.el (info-initialize): If running uninstalled, ensure our
10589 own info files are always found first, even if INFOPATH is set.
10590
10591 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
10592
10593 2014-01-09 David Engster <deng@randomsample.de>
10594
10595 * emacs-lisp/eieio-custom.el:
10596 * emacs-lisp/eieio-opt.el: Set generated autoload file to
10597 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
10598 * emacs-lisp/eieio.el: Regenerate autoloads.
10599
10600 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
10601
10602 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
10603 following renames. (Bug#8756)
10604
10605 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
10608 (bug#16382).
10609 (activate-mark): Add `no-tmm' argument.
10610 (set-mark, push-mark-command): Use it instead of running
10611 activate-mark-hook by hand.
10612
10613 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
10614
10615 In preparation for the move to git, sanitize out some
10616 Bazaar-specific names.
10617
10618 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
10619
10620 * version.el (emacs-bzr-version): Name changed to
10621 emacs-repository-version. Obsolete-variable alias made.
10622 * loadup.el: Follow through on this name change.
10623 * mail/emacsbug.el (report-emacs-bug): Factor out any
10624 assumption about the version control system in use.
10625
10626 2014-01-08 David Engster <deng@randomsample.de>
10627
10628 * help-fns.el (help-fns-describe-function-functions):
10629 New variable to call functions for augmenting help buffers.
10630 (describe-function-1): Remove explicit calls to
10631 `help-fns--compiler-macro', `help-fns--parent-mode' and
10632 `help-fns--obsolete'. Put them in above new variable instead, and
10633 call them through `run-hook-with-args'.
10634 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
10635 `eieio-describe-class'. Not meant for interactive use anymore,
10636 but to augment existing help buffers. Remove optional second
10637 argument. Create proper button for file location.
10638 Rewrite function to use `insert' instead of `princ' and `prin1' where
10639 possible.
10640 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
10641 (eieio-method-def, eieio-class-def): Move further up.
10642 (describe-method, describe-generic, eieio-describe-method):
10643 Remove aliases.
10644 (eieio-help-constructor, eieio-help-generic): Rename from
10645 `eieio-describe-constructor' and `eieio-describe-generic', resp.
10646 Rewrite to use `insert' in the current buffer and use proper help
10647 buttons.
10648 (eieio-help-find-method-definition)
10649 (eieio-help-find-class-definition): Also accept symbols as
10650 arguments.
10651 (eieio-help-mode-augmentation-maybee): Remove.
10652 (eieio-describe-class-sb): Use `describe-function'.
10653 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
10654 Add `eieio-help-generic' and `eieio-help-constructor'.
10655
10656 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
10657
10658 Spelling fixes.
10659 * language/china-util.el (hz-ascii-designation):
10660 Rename from hz-ascii-designnation.
10661 (hz-ascii-designation): Rename from hz-ascii-designnation.
10662 All uses changed.
10663
10664 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
10667 package-alist.
10668
10669 2014-01-08 Bastien Guerry <bzg@gnu.org>
10670
10671 * emacs-lisp/package.el (package-delete):
10672 Correctly delete the package from package-alist.
10673
10674 2014-01-08 Daiki Ueno <ueno@gnu.org>
10675
10676 * emacs-lisp/package.el (url-recreate-url): Declare.
10677 (url-http-target-url): Declare.
10678 (package-handle-response): Include requested URL in the error message.
10679 (package--check-signature): Don't re-signal errors from
10680 package--with-work-buffer. Suggested by Stefan Monnier.
10681
10682 2014-01-07 Bastien Guerry <bzg@gnu.org>
10683
10684 * minibuffer.el (completion--try-word-completion): When both a
10685 hyphen and a space are possible candidates for the character
10686 following a word, display both candidates. (Bug#15980)
10687
10688 2014-01-07 Martin Rudalics <rudalics@gmx.at>
10689
10690 * window.el (balance-windows-2): While rounding don't give a
10691 window more than the remainder. Bug#16351, bug#16383.
10692
10693 2014-01-07 Glenn Morris <rgm@gnu.org>
10694
10695 * menu-bar.el (menu-bar-help-extra-packages): Remove.
10696 (menu-bar-help-menu): Use view-external-packages instead.
10697
10698 2014-01-07 Bastien Guerry <bzg@gnu.org>
10699
10700 * emacs-lisp/package.el (package-delete): Also delete the package
10701 name from `package-alist', not its description only.
10702
10703 2014-01-07 Glenn Morris <rgm@gnu.org>
10704
10705 * help.el (view-external-packages):
10706 * menu-bar.el (menu-bar-help-extra-packages):
10707 Visit efaq.info rather than etc/MORE.STUFF.
10708
10709 2014-01-07 Juri Linkov <juri@jurta.org>
10710
10711 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
10712 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
10713
10714 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
10715 that shadows RET. (Bug#16342)
10716
10717 2014-01-07 Chong Yidong <cyd@gnu.org>
10718
10719 * isearch.el (isearch-yank-char, isearch-yank-word)
10720 (isearch-yank-line): Doc fix.
10721
10722 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
10723
10724 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
10725 * emacs-lisp/elint.el (elint-find-builtins):
10726 * emacs-lisp/eldoc.el (eldoc-symbol-function):
10727 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
10728 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
10729 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10730 * apropos.el (apropos-safe-documentation):
10731 * subr.el (symbol-file): Remove redundant fboundp.
10732 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
10733
10734 2014-01-06 Bastien Guerry <bzg@gnu.org>
10735
10736 * hl-line.el (global-hl-line-overlay): Make a local variable.
10737 (global-hl-line-overlays): New variable to store all overlays.
10738 (global-hl-line-mode): Don't delete overlays from the current
10739 buffer when `global-hl-line-sticky-flag' is non-nil.
10740 (global-hl-line-highlight): Add new overlays to
10741 `global-hl-line-overlays'.
10742 (global-hl-line-unhighlight-all): New function to delete all
10743 overlays when turning off `global-hl-line-mode'.
10744 This fixes Bug#16183.
10745
10746 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 * subr.el (set-transient-map): Fix nested case and docstring.
10749
10750 2014-01-06 Tassilo Horn <tsdh@gnu.org>
10751
10752 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
10753 `Texinfo' entry.
10754
10755 2014-01-06 Daniel Colascione <dancol@dancol.org>
10756
10757 Fix defun navigation in vc log view.
10758
10759 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
10760 like `beginning-of-defun'.
10761 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
10762 log-view-end-of-defun to log-view-end-of-defun-1. Replace
10763 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
10764 (log-view-extract-comment): Call `log-view-current-entry' directly
10765 instead of relying on broken `log-view-beginning-of-defun' behavior.
10766
10767 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
10768
10769 Spelling fixes.
10770 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
10771 * emacs-lisp/debug.el (cancel-debug-on-entry):
10772 * epg.el (epg-error-to-string):
10773 * files.el (recover-file):
10774 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
10775 * mail/emacsbug.el (report-emacs-bug-hook):
10776 * mail/sendmail.el (mail-recover):
10777 * ses.el (ses-yank-resize):
10778 * term/ns-win.el (ns-print-buffer):
10779 Spelling fixes in diagnostics, mostly for "canceled" with one L.
10780 * epg.el (epg-key-capability-alist): Rename from misspelled version.
10781 All uses changed.
10782 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
10783
10784 2014-01-06 Leo Liu <sdl.web@gmail.com>
10785
10786 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
10787 to avoid shadowing global key. (Bug#16354)
10788
10789 2014-01-06 Daniel Colascione <dancol@dancol.org>
10790
10791 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
10792 rst-mode.
10793
10794 2014-01-05 Martin Rudalics <rudalics@gmx.at>
10795
10796 * window.el (balance-windows): Add mising t to fix Bug#16351.
10797
10798 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10799
10800 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
10801 (bug#16285).
10802 (shr-insert): If we have a word that's longer than `shr-width',
10803 break after it anyway. Otherwise we'll do no breaking once we get
10804 such a long word.
10805
10806 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10807
10808 * net/eww.el (eww): Support single/double quote for search.
10809 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
10810 (eww-history-quit): Delete and use quit-window.
10811 (eww-history-kill): Delete, because it doesn't work well and
10812 not necessary.
10813 (eww-history-mode-map): Delete some keys and add easy-menu.
10814
10815 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
10816
10817 Fix misspelling of 'chinese' in rx (Bug#16237).
10818 * emacs-lisp/rx.el (rx-categories): Correct spelling of
10819 chinese-two-byte.
10820
10821 Change subword regexps back to vars (Bug#16296).
10822 * progmodes/subword.el (subword-forward-regexp)
10823 (subword-backward-regexp): Change these back to variables.
10824
10825 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
10828 syntax-begin-function (bug#16247).
10829
10830 2014-01-03 Chong Yidong <cyd@gnu.org>
10831
10832 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
10833 (advice--docstring): Delete variable.
10834 (advice--make-1): Leave the docstring empty.
10835 (advice-add): Use function-documentation for advised docstring.
10836
10837 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
10838 Ignore function-documentation property when getting documentation.
10839 (ad-activate-advised-definition): Use function-documentation
10840 generate the docstring.
10841 (ad-make-advised-definition): Don't call
10842 ad-make-advised-definition-docstring.
10843 (ad-make-advised-definition-docstring, ad-advised-definition-p):
10844 Delete functions.
10845
10846 * progmodes/sql.el (sql-help): Use function-documentation instead
10847 of dynamic-docstring-function property. No need to autoload now.
10848 (sql--help-docstring): New variable.
10849 (sql--make-help-docstring): Use it.
10850
10851 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * ielm.el (ielm-tab): Retarget.
10854 (ielm-map): Use ielm-tab for tab.
10855 (ielm-complete-filename): Use comint-filename-completion.
10856 (ielm-complete-symbol): Remove.
10857 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
10858 remove ielm-tab from completion-at-point-functions (bug#16224).
10859
10860 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
10861 Beware signals raised by predicates (bug#16201).
10862
10863 2014-01-02 Richard Stallman <rms@gnu.org>
10864
10865 * dired-aux.el (dired-do-print): Handle printer-name.
10866
10867 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
10868 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
10869 (rmail-epa-decrypt): Turn off mime processing.
10870
10871 * mail/rmail.el (rmail-make-in-reply-to-field):
10872 Add parens in message-id.
10873
10874 * mail/rmail.el (rmail-get-coding-function): Variable.
10875 (rmail-get-coding-system): Use it.
10876
10877 2013-12-31 Eli Zaretskii <eliz@gnu.org>
10878
10879 * international/mule-conf.el: Unify the charset indian-is13194.
10880 (indian-is13194): Specify unify-map.
10881
10882 2013-12-31 Leo Liu <sdl.web@gmail.com>
10883
10884 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
10885
10886 2013-12-30 Daniel Colascione <dancol@dancol.org>
10887
10888 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
10889 of printing a useless when we resume from sleep.
10890
10891 * progmodes/sh-script.el
10892 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
10893 in indentation code. (Bug#16233)
10894
10895 2013-12-28 João Távora <joaotavora@gmail.com>
10896
10897 * elec-pair.el (electric-pair-post-self-insert-function):
10898 Don't open extra newlines at beginning of buffer. (Bug#16272)
10899
10900 2013-12-28 Eli Zaretskii <eliz@gnu.org>
10901
10902 * frame.el (window-system-for-display): Don't allow to create a
10903 GUI frame from a -nw session on MS-Windows. (Bug#14739)
10904
10905 2013-12-28 Glenn Morris <rgm@gnu.org>
10906
10907 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
10908 Update callers.
10909
10910 * apropos.el (apropos-match-face):
10911 * calculator.el (calculator-displayer):
10912 * dabbrev.el (dabbrev-search-these-buffers-only):
10913 * face-remap.el (buffer-face-mode-face):
10914 * simple.el (yank-handled-properties):
10915 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
10916 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
10917 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
10918 (hashcash-double-spend-database):
10919 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
10920 (ruby-deep-indent-paren-style):
10921 * textmodes/flyspell.el (flyspell-auto-correct-binding):
10922 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
10923 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
10924 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
10925 Specify custom types.
10926
10927 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
10928 * bookmark.el (bookmark-bmenu-use-header-line):
10929 * doc-view.el (doc-view-scale-internally):
10930 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
10931 * register.el (register-preview-delay):
10932 * net/shr.el (shr-bullet):
10933 * progmodes/cfengine.el (cfengine-cf-promises)
10934 (cfengine-parameters-indent):
10935 * progmodes/octave.el (inferior-octave-error-regexp-alist):
10936 * textmodes/reftex-vars.el (reftex-label-regexps):
10937 * vc/log-edit.el (log-edit-setup-add-author): Add version.
10938
10939 * net/tls.el (tls-certtool-program): Fix default value.
10940
10941 * desktop.el (desktop-restore-in-current-display):
10942 * newcomment.el (comment-empty-lines):
10943 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
10944 (idlwave-pad-keyword):
10945 * progmodes/tcl.el (tcl-tab-always-indent):
10946 * textmodes/reftex-vars.el (reftex-index-default-tag):
10947 * elec-pair.el (electric-pair-skip-whitespace):
10948 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
10949
10950 * emacs-lisp/authors.el (authors-ignored-files)
10951 (authors-valid-file-names, authors-renamed-files-alist): Additions.
10952
10953 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
10954
10955 * shell.el (shell-dynamic-complete-command): Doc fix.
10956 (shell--command-completion-data): Shell completion now matches
10957 executable filenames from the current buffer's directory, on
10958 systems in which this behavior is the default (windows-nt, ms-dos).
10959
10960 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
10961
10962 * net/shr.el (shr-insert): Don't infloop if the width is zero.
10963
10964 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
10965
10966 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
10967 (bug#16251).
10968
10969 * electric.el: Move all electric-pair-* to elec-pair.el.
10970 * elec-pair.el: New file, split from electric.el.
10971
10972 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
10973
10974 * net/shr.el (shr-find-fill-point): Don't try to fill if the
10975 indentation level is larger than the width, because that will
10976 infloop.
10977 (shr-insert): Fill repeatedly long texts, so that Japanese is
10978 formatted correctly (bug#16263).
10979 (shr-find-fill-point): Off by one error in comparison with the
10980 indentation.
10981
10982 2013-12-26 João Távora <joaotavora@gmail.com>
10983
10984 * electric.el (electric-pair-mode): More flexible engine for skip-
10985 and inhibit predicates, new options for pairing-related functionality.
10986 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
10987 if that keeps or improves their balance in buffers.
10988 (electric-pair-delete-adjacent-pairs): Delete the pair when
10989 backspacing over adjacent matched delimiters.
10990 (electric-pair-open-extra-newline): Open extra newline when
10991 inserting newlines between adjacent matched delimiters.
10992 (electric--sort-post-self-insertion-hook):
10993 Sort post-self-insert-hook according to priority values when
10994 minor-modes are activated.
10995 * simple.el (newline-and-indent): Call newline with interactive
10996 set to t.
10997 (blink-paren-post-self-insert-function): Set priority to 100.
10998 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10999 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
11000 comments. Locally set electric-pair-skip-whitespace to 'chomp and
11001 electric-pair-open-newline-between-pairs to nil.
11002
11003 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
11004
11005 * progmodes/python.el: Use lexical-binding.
11006 (python-nav-beginning-of-defun): Stop searching ASAP.
11007
11008 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
11009
11010 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
11011 Fix interactive spec. Doc fix. (Bug#15754)
11012
11013 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
11014
11015 * emacs-lisp/byte-run.el (eval-when-compile):
11016 * progmodes/cc-defs.el (cc-eval-when-compile):
11017 Fix edebug spec (bug#16184).
11018
11019 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11020
11021 * net/shr.el (shr-visit-file): Remove debugging function.
11022 (shr-insert): Don't infloop if we can't find a good place to break
11023 the line (bug#16256).
11024
11025 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
11026
11027 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
11028 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
11029 python-nav-lisp-forward-sexp-safe.
11030 (python-nav--forward-sexp): New argument SAFE allows switching
11031 forward sexp movement behavior for parens.
11032 (python-nav-forward-sexp): Throw errors on unterminated parens
11033 (Bug#16191).
11034 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
11035 (python-nav-backward-sexp-safe): New functions.
11036 (python-shell-buffer-substring):
11037 Use `python-nav-forward-sexp-safe'.
11038
11039 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11040
11041 * net/shr.el (shr-find-fill-point): Don't break lines before a
11042 quotation mark.
11043 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
11044 (shr-find-fill-point): Remove the special checks for the quotation
11045 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
11046
11047 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11048
11049 * net/eww.el (eww-form-textarea): Use a different face for
11050 textareas than text input since they have different keymaps
11051 (bug#16142).
11052
11053 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
11054
11055 * progmodes/python.el (python-nav-beginning-of-statement):
11056 Speed up (Bug#15295).
11057
11058 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11059
11060 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
11061 the window configuration.
11062
11063 2013-12-24 Eli Zaretskii <eliz@gnu.org>
11064
11065 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
11066 we run on MS-Windows or MS-DOS.
11067
11068 2013-12-24 Martin Rudalics <rudalics@gmx.at>
11069
11070 * window.el (balance-windows-area): Call window-size instead of
11071 window-height and window-width. Bug#16241.
11072
11073 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11074
11075 * net/eww.el (eww-bookmark-quit): Remove.
11076 (eww-bookmark-browse): Restore the window configuration when you
11077 choose a bookmark (bug#16144).
11078
11079 2013-12-24 Daniel Colascione <dancol@dancol.org>
11080
11081 * icomplete.el: Remove redundant :group arguments to `defcustom'
11082 throughout.
11083 (icomplete-show-matches-on-no-input): New customizable variable.
11084 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
11085 we have something to show.
11086 (icomplete-exhibit): Compute completions even if we have no user input.
11087
11088 2013-12-23 Daniel Colascione <dancol@dancol.org>
11089
11090 * icomplete.el: Move `provide' to end of file.
11091
11092 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
11093
11094 * net/gnutls.el (gnutls-verify-error): Add version tag.
11095
11096 2013-12-23 Chong Yidong <cyd@gnu.org>
11097
11098 * subr.el (set-transient-map): Rename from
11099 set-temporary-overlay-map. Doc fix.
11100
11101 * face-remap.el (text-scale-adjust):
11102 * indent.el (indent-rigidly):
11103 * kmacro.el (kmacro-call-macro):
11104 * minibuffer.el (minibuffer-force-complete):
11105 * repeat.el (repeat):
11106 * simple.el (universal-argument--mode):
11107 * calendar/todo-mode.el (todo-insert-item--next-param):
11108 * progmodes/f90.el (f90-abbrev-start): Callers changed.
11109
11110 * indent.el (indent-rigidly): Use substitute-command-keys.
11111
11112 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11113
11114 * net/eww.el (eww-tag-select): Add text-property to jump to next
11115 select field.
11116 (eww): Add non-supported ftp error.
11117
11118 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11119
11120 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
11121 comments. Handle electric indent after typing `?' and `!'.
11122
11123 2013-12-22 Chong Yidong <cyd@gnu.org>
11124
11125 * faces.el (face-spec-recalc): If the theme specs are not
11126 applicable to a frame, fall back on the defface spec.
11127 This prevents themes from obliterating faces on low-color terminals.
11128
11129 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11130
11131 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
11132 after `{'. We need it after block openers, and it doesn't seem
11133 to hurt after hash openers.
11134
11135 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11136
11137 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
11138 extracted from `ruby-smie-rules'.
11139 (ruby--electric-indent-chars): New variable.
11140 (ruby--electric-indent-p): New function.
11141 (ruby-mode): Use `electric-indent-functions' instead of
11142 `electric-indent-chars'.
11143
11144 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11145
11146 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
11147 docstring.
11148 (ruby-smie-rules): Indent plus one level after `=>'.
11149
11150 2013-12-21 Richard Stallman <rms@gnu.org>
11151
11152 * simple.el (newline): Doc fix.
11153
11154 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11155
11156 * net/eww.el (eww-list-histories, eww-list-histories)
11157 (eww-history-browse, eww-history-quit, eww-history-kill)
11158 (eww-history-mode-map, eww-history-mode): New command and
11159 functions to list browser histories.
11160 (eww-form-text): Support text form with disabled
11161 and readonly attributes.
11162 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
11163
11164 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11165
11166 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
11167 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
11168 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
11169 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
11170 Use `user-error'.
11171 (eww-bookmark-mode-map): Add menu.
11172 (eww-render, eww-mode): Use `setq-local'.
11173 (eww-tool-bar-map): New variable.
11174 (eww-mode): Set `tool-bar-map'.
11175 (eww-view-source): Check for `html-mode' with `fboundp'.
11176
11177 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11178
11179 * net/shr.el (shr--extract-best-source): Don't bug out on audio
11180 elements with text inside. Also remove debugging.
11181
11182 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
11183
11184 * cus-start.el (all): Add ns-use-srgb-colorspace.
11185
11186 2013-12-21 Chong Yidong <cyd@gnu.org>
11187
11188 * custom.el (custom-theme-recalc-face): Do nothing if the face is
11189 undefined. Thus, theme settings for undefined faces do not take
11190 effect until the faces are defined with defface, the same as with
11191 theme variables.
11192
11193 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
11194 (face-spec-reset-face): Don't assign extra properties in temacs.
11195 (face-spec-recalc): Apply X resources too.
11196
11197 2013-12-21 Chong Yidong <cyd@gnu.org>
11198
11199 * faces.el (face-spec-set):
11200 * cus-face.el (custom-theme-set-faces, custom-set-faces):
11201 * custom.el (defface): Doc fixes (Bug#16203).
11202
11203 * indent.el (indent-rigidly-map): Add docstring, and move commands
11204 into named functions.
11205 (indent-rigidly-left, indent-rigidly-right)
11206 (indent-rigidly-left-to-tab-stop)
11207 (indent-rigidly-right-to-tab-stop): New functions. Decide on
11208 indentation direction based on bidi direction, and accumulate
11209 sequential commands in a single undo boundary.
11210 (indent-rigidly--pop-undo): New utility function.
11211
11212 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
11213
11214 * faces.el (read-face-name): Require crm.el when using crm-separator.
11215
11216 2013-12-20 Daniel Colascione <dancol@dancol.org>
11217
11218 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
11219 so that we don't reflow comments into the shebang line.
11220
11221 2013-12-20 Juri Linkov <juri@jurta.org>
11222
11223 * saveplace.el (save-place-to-alist): Add `dired-filename' as
11224 a position when `dired-directory' is non-nil. Check integer
11225 positions with `integerp'.
11226 (toggle-save-place, save-places-to-alist): Add check for
11227 `dired-directory'.
11228 (save-place-find-file-hook): Check integer positions with
11229 `integerp'.
11230 (save-place-dired-hook): Use `dired-goto-file' when
11231 `dired-filename' is found in the assoc list. Check integer
11232 positions with `integerp'.
11233 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
11234
11235 * dired.el (dired-initial-position-hook): Rename back from
11236 `dired-initial-point-hook'.
11237 (dired-initial-position): Rename `dired-initial-point-hook' to
11238 `dired-initial-position-hook'.
11239 (dired-file-name-at-point): Doc fix. (Bug#15329)
11240
11241 2013-12-20 Juri Linkov <juri@jurta.org>
11242
11243 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
11244 (read-regexp-suggestions): New function.
11245 (read-regexp): Use `read-regexp-defaults-function' to get default values.
11246 Use `read-regexp-suggestions'. Add non-empty default to history
11247 for empty input.
11248 (occur-read-regexp-defaults-function): Remove function.
11249 (occur-read-primary-args): Use `regexp-history-last' instead of
11250 `occur-read-regexp-defaults-function'.
11251
11252 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
11253 (hi-lock-line-face-buffer, hi-lock-face-buffer)
11254 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
11255 `hi-lock-read-regexp-defaults-function'. Doc fix.
11256 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
11257 with `find-tag-default-as-symbol-regexp'. Doc fix.
11258 (hi-lock-read-regexp-defaults): Remove function.
11259 (hi-lock-regexp-okay): Add check for null.
11260
11261 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
11262 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
11263
11264 * subr.el (find-tag-default-as-symbol-regexp): New function.
11265 (find-tag-default-as-regexp): Move symbol regexp formatting to
11266 `find-tag-default-as-symbol-regexp'.
11267
11268 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
11269
11270 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
11271 (Bug#14179)
11272
11273 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
11274
11275 * calendar/todo-mode.el: New implementation of item insertion
11276 commands and key bindings.
11277 (todo-key-prompt): New face.
11278 (todo-insert-item): New command.
11279 (todo-insert-item--parameters): New defconst, replacing defvar
11280 todo-insertion-commands-args-genlist.
11281 (todo-insert-item--param-key-alist): New defconst, replacing
11282 defvar todo-insertion-commands-arg-key-list.
11283 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
11284 (todo-insert-item--argsleft, todo-insert-item--apply-args)
11285 (todo-insert-item--next-param): New functions.
11286 (todo-insert-item--args, todo-insert-item--argleft)
11287 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
11288 New variables.
11289 (todo-key-bindings-t): Change binding of "i" from
11290 todo-insertion-map to todo-insert-item.
11291 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
11292 (todo-insertion-command-name, todo-insertion-commands-names)
11293 (todo-define-insertion-command, todo-insertion-commands)
11294 (todo-insertion-key-bindings, todo-insertion-map): Remove.
11295
11296 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
11297
11298 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
11299 (todo-toggle-item-highlighting): Use eval-and-compile instead of
11300 eval-when-compile.
11301 (todo-move-category): Allow choosing a non-existing todo file to
11302 move the category to, and create that file.
11303 (todo-default-priority): New user option.
11304 (todo-set-item-priority): Use it.
11305 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
11306 (desktop-restore-file-buffer): Declare.
11307 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
11308 (todo-modes-set-2): Locally set desktop-save-buffer to
11309 todo-desktop-save-buffer.
11310 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
11311 (auto-mode-alist): Add autoload cookie.
11312
11313 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
11314
11315 * emacs-lisp/subr-x.el: Renamed from helpers.el.
11316 helpers.el was a poor choice of name.
11317 (string-remove-prefix): New function.
11318 (string-remove-suffix): New function.
11319
11320 2013-12-20 Martin Rudalics <rudalics@gmx.at>
11321
11322 Fix assignment for new window total sizes.
11323 * window.el (window--pixel-to-size): Remove function.
11324 (window--pixel-to-total-1, window--pixel-to-total):
11325 Fix calculation of new total sizes.
11326
11327 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
11328
11329 * comint.el (comint-output-filter): Fix rear-nonsticky property
11330 placement (Bug#16010).
11331
11332 2013-12-20 Chong Yidong <cyd@gnu.org>
11333
11334 * faces.el (read-color): Minor fix for completion function.
11335
11336 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
11337
11338 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
11339 New option. (Bug#16182)
11340 (ruby-smie--indent-to-stmt-p): Use it.
11341 (ruby-smie-rules): Revert the logic in the handling of `when'.
11342 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
11343 (ruby-deep-arglist, ruby-deep-indent-paren)
11344 (ruby-deep-indent-paren-style): Update docstrings to note that the
11345 vars don't have any effect with SMIE.
11346
11347 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
11348
11349 * calc/calc.el (calc-enter, calc-pop): Use the variable
11350 `calc-context-sensitive-enter'.
11351
11352 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11353
11354 * net/shr.el (shr-insert): Protect against infloops in degenerate
11355 tables.
11356
11357 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11358
11359 * progmodes/octave.el (octave): Add link to manual and octave
11360 homepage.
11361 (octave-mode-menu): Link to octave-mode manual.
11362
11363 2013-12-20 Leo Liu <sdl.web@gmail.com>
11364
11365 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
11366 insertion using skeleton-end-newline. (Bug#16138)
11367
11368 2013-12-20 Juri Linkov <juri@jurta.org>
11369
11370 * replace.el (occur-engine): Use `add-face-text-property'
11371 to add the face property to matches and titles. (Bug#14645)
11372
11373 * hi-lock.el (hi-green): Use lighter color "light green" closer to
11374 the palette of other hi-lock colors.
11375 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
11376
11377 2013-12-19 Juri Linkov <juri@jurta.org>
11378
11379 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
11380 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
11381 (minibuffer-history-symbol): Move variable declaration closer to
11382 its usage.
11383
11384 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
11385 (Bug#14785)
11386
11387 2013-12-19 Juri Linkov <juri@jurta.org>
11388
11389 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
11390 New function.
11391 (log-edit-hook): Add it to :options. (Bug#16170)
11392
11393 2013-12-19 Juri Linkov <juri@jurta.org>
11394
11395 * simple.el (eval-expression-print-format): Don't check for
11396 command names and the last command. Always display additional
11397 formats of the integer result in the echo area, and insert them
11398 to the current buffer only with a zero prefix arg.
11399 Display character when char-displayable-p is non-nil.
11400 (eval-expression): With a zero prefix arg, set `print-length' and
11401 `print-level' to nil, and insert the integer values from
11402 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
11403
11404 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
11405 `eval-last-sexp-arg-internal'. Doc fix.
11406 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
11407 `eval-last-sexp-print-value'. Doc fix.
11408 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
11409 Set `print-length' and `print-level' to nil when arg is zero.
11410 (eval-last-sexp): Doc fix.
11411 (eval-defun-2): Print the integer values from
11412 `eval-expression-print-format' at the end.
11413
11414 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
11415 values from `eval-expression-print-format' at the end.
11416
11417 * ielm.el (ielm-eval-input): Print the integer
11418 values from `eval-expression-print-format' at the end.
11419
11420 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
11421
11422 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
11423 2013-12-11T19:01:44Z!tzz@lifelogs.com.
11424
11425 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
11426
11427 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
11428 (hl-line-highlight, global-hl-line-highlight): Use it.
11429 (hl-line-overlay): Use defvar-local.
11430
11431 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
11432
11433 * term/ns-win.el: Require dnd.
11434 (global-map): Remove drag items.
11435 (ns-insert-text, ns-set-foreground-at-mouse)
11436 (ns-set-background-at-mouse):
11437 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
11438 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
11439 New functions.
11440
11441 2013-12-19 Glenn Morris <rgm@gnu.org>
11442
11443 * emacs-lisp/ert.el (ert-select-tests):
11444 Fix string/symbol mixup. (Bug#16121)
11445
11446 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
11447
11448 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
11449 keywords to their parent.
11450
11451 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
11452
11453 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
11454 first arg to be a string (fixed dead code), or an operator symbol.
11455 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
11456 operator symbols.
11457 (ruby-smie-rules): Remove parent token check in the `.' clause, it
11458 did nothing. Don't respond to `(:after ".")', it will be called
11459 with :before anyway. Remove the ` @ ' rule, it didn't seem to
11460 change anything. Only return indentation for binary operators
11461 when they are hanging. De-dent opening paren when its parent is
11462 `.', otherwise it looks bad when the dot is not at bol or eol
11463 (bug#16182).
11464
11465 2013-12-19 Juri Linkov <juri@jurta.org>
11466
11467 * replace.el (query-replace-read-args): Split a non-negative arg
11468 and a negative arg into separate elements.
11469 (query-replace, query-replace-regexp, replace-string)
11470 (replace-regexp): Add arg `backward'. Doc fix.
11471 (replace-match-maybe-edit): When new arg `backward' is non-nil,
11472 move point to the beginning of the match.
11473 (replace-search, replace-highlight): Use new arg `backward'
11474 to set the value of `isearch-forward'.
11475 (perform-replace): Add arg `backward' and use it to perform
11476 replacement backward. (Bug#14979)
11477
11478 * isearch.el (isearch-query-replace): Use a negative prefix arg
11479 to call `perform-replace' with a non-nil arg `backward'.
11480
11481 2013-12-18 Juri Linkov <juri@jurta.org>
11482
11483 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
11484 to the default list. Move `log-edit-show-files' to the end.
11485 Add more available functions to options.
11486 (log-edit): Move default specific settings to
11487 `log-edit-insert-message-template'. Don't move point.
11488 (log-edit-insert-message-template): New function.
11489 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
11490 (Bug#16170)
11491
11492 2013-12-18 Juri Linkov <juri@jurta.org>
11493
11494 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
11495 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
11496
11497 2013-12-18 Leo Liu <sdl.web@gmail.com>
11498
11499 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
11500 (Bug#16186)
11501
11502 2013-12-18 Eli Zaretskii <eliz@gnu.org>
11503
11504 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
11505 formats for displaying file sizes when the -s switch is given.
11506 Instead, compute a separate format for displaying the size in
11507 blocks, which is displayed in addition to the "regular" size.
11508 When -h is given in addition to -s, produce size in blocks in
11509 human-readable form as well. (Bug#16179)
11510
11511 2013-12-18 Tassilo Horn <tsdh@gnu.org>
11512
11513 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11514 Reference tables with ~\ref{...} instead of only \ref{...}.
11515
11516 2013-12-18 Chong Yidong <cyd@gnu.org>
11517
11518 * cus-edit.el (custom-magic-alist): Fix "themed" description
11519 (Bug#14348).
11520
11521 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
11522 is non-nil, do not create a new entry in the symbol's theme-value
11523 or theme-face property; update theme-settings only (Bug#14664).
11524 (custom-available-themes): Doc fix.
11525
11526 * cus-theme.el (custom-new-theme-mode-map): Add bindings
11527 (Bug#15674).
11528
11529 * replace.el (occur-engine): Avoid infloop (Bug#7593).
11530
11531 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
11532
11533 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
11534 (Bug#13914).
11535
11536 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11537
11538 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
11539
11540 2013-12-18 Glenn Morris <rgm@gnu.org>
11541
11542 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
11543 * cus-start.el (load-prefer-newer): New option.
11544
11545 2013-12-18 Le Wang <l26wang@gmail.com>
11546
11547 * comint.el (comint-previous-matching-input-from-input):
11548 Retain point (Bug#13404).
11549
11550 2013-12-18 Chong Yidong <cyd@gnu.org>
11551
11552 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
11553
11554 2013-12-18 Glenn Morris <rgm@gnu.org>
11555
11556 * mail/emacsbug.el (report-emacs-bug):
11557 Only mention enable-multibyte-characters if non-standard.
11558
11559 2013-12-17 Juri Linkov <juri@jurta.org>
11560
11561 * arc-mode.el (archive-extract-by-file): Check if directory exists
11562 before deletion to not show irrelevant errors if it doesn't exist.
11563
11564 2013-12-17 Juri Linkov <juri@jurta.org>
11565
11566 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
11567 (Bug#14751)
11568
11569 * net/eww.el (browse-web): Add alias to `eww'.
11570 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
11571 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
11572
11573 * net/browse-url.el (browse-url-browser-function): Move `eww'
11574 closer to similar functions.
11575
11576 * startup.el (fancy-startup-screen, fancy-about-screen):
11577 Set browse-url-browser-function to eww-browse-url locally.
11578 (Bug#14751)
11579
11580 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
11581
11582 * window.el (window--pixel-to-total): Remove unused `mini' var.
11583 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
11584 (split-window): Remove unused `new' var.
11585 (window--display-buffer): Remove unused `frame' and `delta' vars.
11586 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
11587 and display-width'.
11588
11589 2013-12-17 Martin Rudalics <rudalics@gmx.at>
11590
11591 * dired.el (dired-mark-pop-up):
11592 * register.el (register-preview): Don't bind
11593 split-height-threshold here since it's now done in
11594 display-buffer-below-selected.
11595
11596 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
11597
11598 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
11599 xterm-rgb-convert-to-16bit.
11600 (rxvt-register-default-colors): Standardize with
11601 xterm-register-default-colors (Bug#14078).
11602
11603 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
11604
11605 * simple.el (kill-region): Pass mark first, then point, so that
11606 kill-append works right (Bug#12819).
11607 (copy-region-as-kill, kill-ring-save): Likewise.
11608
11609 2013-12-17 Leo Liu <sdl.web@gmail.com>
11610
11611 * net/rcirc.el (rcirc-add-face):
11612 * eshell/em-prompt.el (eshell-emit-prompt):
11613 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
11614 (Bug#16167)
11615
11616 2013-12-17 Chong Yidong <cyd@gnu.org>
11617
11618 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
11619 Suggested by Xue Fuqiao.
11620
11621 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
11622
11623 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
11624
11625 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * net/shr.el (shr-insert-document): Remove unused var
11628 `shr-preliminary-table-render'.
11629 (shr-rescale-image): Remove unused arg `force'.
11630 (shr-put-image): Update calls accordingly.
11631 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
11632
11633 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
11634
11635 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
11636 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
11637 :close-all, to see which indentation method to use (Bug#16116).
11638 (smie-rules-function): Document the method :close-all.
11639
11640 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11641
11642 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
11643
11644 * net/eww.el (eww-display-html): If we can't find the anchor we're
11645 looking for, then go to point-min.
11646
11647 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
11648
11649 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
11650 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
11651 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
11652 Expand dir too, in case it's relative.
11653
11654 2013-12-16 Juri Linkov <juri@jurta.org>
11655
11656 * desktop.el (desktop-auto-save-timeout): Change default to
11657 `auto-save-timeout'. Doc fix.
11658 (desktop-save): Skip the timestamp in desktop-saved-frameset
11659 when checking for auto-save changes.
11660 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
11661 `desktop-auto-save' is called repeatedly by the idle timer.
11662 (desktop-auto-save-set-timer): Replace `run-with-timer' with
11663 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
11664 (Bug#15331)
11665
11666 2013-12-16 Juri Linkov <juri@jurta.org>
11667
11668 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
11669 (Bug#16035)
11670 (isearch-pre-command-hook): Check `this-command' for symbolp.
11671
11672 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
11673
11674 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
11675
11676 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
11677
11678 * progmodes/cfengine.el (cfengine3--current-word): Remove.
11679 (cfengine3--current-function): Bring in the current-function
11680 functionality from `cfengine3--current-word'.
11681 (cfengine3-completion-function): Bring in the
11682 bounds-of-current-word functionality from
11683 `cfengine3--current-word'.
11684
11685 2013-12-16 Martin Rudalics <rudalics@gmx.at>
11686
11687 * window.el (display-buffer-below-selected):
11688 Bind split-height-threshold to 0 as suggested by Juri Linkov.
11689
11690 2013-12-16 Leo Liu <sdl.web@gmail.com>
11691
11692 * progmodes/compile.el (compile-goto-error): Do not push-mark.
11693 Remove NOMSG arg and all uses changed.
11694
11695 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
11698 (cua--deactivate-rectangle): Don't deactivate the mark.
11699 (cua-set-rectangle-mark): Don't set mark-active since
11700 cua--activate-rectangle already does it for us.
11701 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
11702 non-rectangular region.
11703
11704 * emulation/cua-base.el (cua-repeat-replace-region):
11705 Use with-current-buffer.
11706
11707 * net/gnutls.el: Use cl-lib.
11708 (gnutls-negotiate): `mapcan' -> cl-mapcan.
11709
11710 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
11711
11712 * emacs-lisp/package.el (package-built-in-p): Support both
11713 built-in and the package.el converted package descriptions.
11714 (package-show-package-list): Allow keywords.
11715 (package-keyword-button-action): Use it instead of
11716 `finder-list-matches'.
11717 (package-menu-filter-interactive): Interactive filtering (by
11718 keyword) function.
11719 (package-menu--generate): Support keywords and change keymappings
11720 and headers when they are given.
11721 (package--has-keyword-p): Helper function.
11722 (package-menu--refresh): Use it.
11723 (package--mapc): Helper function.
11724 (package-all-keywords): Use it.
11725 (package-menu-mode-map): Set up menu items and keybindings to
11726 provide a filtering UI.
11727
11728 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
11729
11730 * net/gnutls.el (gnutls-verify-error): New defcustom to control
11731 the behavior when a certificate fails validation. Defaults to
11732 old behavior: never abort, just warn.
11733 (gnutls-negotiate): Use it.
11734
11735 2013-12-14 Martin Rudalics <rudalics@gmx.at>
11736
11737 * window.el (display-buffer-below-selected): Never split window
11738 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
11739
11740 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
11741
11742 * emacs-lisp/package.el (package--prepare-dependencies): New function.
11743 (package-buffer-info): Use it (bug#15108).
11744
11745 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * icomplete.el (icomplete-completions): Make sure the prefix is already
11748 displayed elsewhere before hiding it (bug#16219).
11749
11750 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
11751
11752 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
11753 open-paren tokens when preceded by a open-paren, too.
11754 (ruby-smie-rules): Handle virtual indentation after open-paren
11755 tokens specially. If there is code between it and eol, return the
11756 column where is starts (Bug#16118).
11757
11758 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
11759
11760 * progmodes/cfengine.el: Fix `add-hook' doc.
11761 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
11762 (cfengine3--current-word): Fix parameters.
11763 (cfengine3-make-syntax-cache): Simplify further.
11764 (cfengine3-completion-function, cfengine3--current-function):
11765 Use `assq' for symbols.
11766 (cfengine3--current-function): Fix `cfengine3--current-word' call.
11767
11768 2013-12-13 Glenn Morris <rgm@gnu.org>
11769
11770 * loadup.el (load-path): Warn if site-load or site-init changes it.
11771 No more need to reset it when bootstrapping.
11772
11773 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
11774
11775 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
11776 locations for cf-promises.
11777 (cfengine-mode-syntax-functions-regex): New caching variable.
11778 (cfengine3-fallback-syntax): Fallback syntax for cases where
11779 cf-promises doesn't run.
11780 (cfengine3--current-word): Reimplement using
11781 `cfengine-mode-syntax-functions-regex'.
11782 (cfengine3-completion-function, cfengine3--current-function):
11783 Use `cfengine3-make-syntax-cache' directly.
11784 (cfengine3-clear-syntax-cache): New function.
11785 (cfengine3-make-syntax-cache): Simplify and create
11786 `cfengine-mode-syntax-functions-regex' on demand.
11787 (cfengine3-format-function-docstring): Don't call
11788 `cfengine3-make-syntax-cache' explicitly.
11789
11790 2013-12-13 Martin Rudalics <rudalics@gmx.at>
11791
11792 Fix windmove-find-other-window broken after pixelwise resizing
11793 (Bug#16017).
11794 * windmove.el (windmove-other-window-loc): Revert change from
11795 2013-12-04.
11796 (windmove-find-other-window): Call window-in-direction.
11797 * window.el (window-in-direction): New arguments SIGN, WRAP and
11798 MINI to emulate original windmove-find-other-window behavior.
11799
11800 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
11801
11802 * simple.el (blink-matching--overlay): New variable.
11803 (blink-matching-open): Instead of moving point, highlight the
11804 matching paren with an overlay
11805 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
11806
11807 * faces.el (paren-showing-faces, show-paren-match)
11808 (show-paren-mismatch): Move from paren.el.
11809
11810 2013-12-13 Leo Liu <sdl.web@gmail.com>
11811
11812 * indent.el (indent-region): Disable progress reporter in
11813 minibuffer. (Bug#16108)
11814
11815 * bindings.el (visual-order-cursor-movement): Fix version.
11816
11817 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11818
11819 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
11820 Also match after beginning of line.
11821 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
11822 files. Thanks to Russell Sim. (Bug#15378)
11823
11824 2013-12-13 Juri Linkov <juri@jurta.org>
11825
11826 * simple.el <Keypad support>: Remove key bindings duplicated
11827 with bindings.el. (Bug#14397)
11828
11829 2013-12-13 Juri Linkov <juri@jurta.org>
11830
11831 * comint.el (comint-mode-map): Replace `delete-char' with
11832 `delete-forward-char'. (Bug#16109)
11833
11834 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
11835
11836 * progmodes/python.el (python-indent-calculate-indentation):
11837 Fix de-denters cornercase. (Bug#15731)
11838
11839 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
11842 (advice--make): Pay attention to `depth'.
11843 (advice--make-1): Don't autoload commands eagerly.
11844 * emacs-lisp/elp.el (elp-instrument-function):
11845 * emacs-lisp/trace.el (trace-function-internal):
11846 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
11847
11848 * iswitchb.el (iswitchb-mode): Don't belittle ido.
11849
11850 2013-12-12 Eli Zaretskii <eliz@gnu.org>
11851
11852 * term/w32-win.el (w32-handle-dropped-file):
11853 * startup.el (normal-top-level):
11854 * net/browse-url.el (browse-url-file-url):
11855 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
11856 decode file names using 'utf-8' rather than
11857 file-name-coding-system.
11858
11859 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
11860
11861 * progmodes/python.el (python-indent-context)
11862 (python-indent-calculate-indentation): Fix auto-identation
11863 behavior for comment blocks. (Bug#15916)
11864
11865 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11866
11867 * progmodes/python.el (python-indent-calculate-indentation):
11868 When determining indentation, don't treat "return", "pass", etc., as
11869 operators when they are just string constituents. (Bug#15812)
11870
11871 2013-12-12 Juri Linkov <juri@jurta.org>
11872
11873 * uniquify.el (uniquify-buffer-name-style): Change default to
11874 `post-forward-angle-brackets'.
11875
11876 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
11877 `uniquify'. Change default to `post-forward-angle-brackets'.
11878
11879 2013-12-11 Glenn Morris <rgm@gnu.org>
11880
11881 * emacs-lisp/package.el (finder-list-matches):
11882 Autoload rather than falsely declaring.
11883
11884 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
11885
11886 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
11887 (eww-mode-map): Use them.
11888
11889 2013-12-11 Martin Rudalics <rudalics@gmx.at>
11890
11891 * window.el (display-buffer-in-side-window): Fix doc-string
11892 (Bug#16115).
11893
11894 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
11895
11896 * vc/vc-git.el: Silence byte-compiler warnings.
11897 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
11898 (log-edit-set-header): Declare.
11899
11900 2013-12-11 Eli Zaretskii <eliz@gnu.org>
11901
11902 * Makefile.in (custom-deps, finder-data): Run output file names
11903 through unmsys--file-name. (Bug#16099)
11904
11905 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
11906
11907 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
11908 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
11909
11910 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
11911 instead of deleting the selection "by hand" (bug#16098).
11912 Rely on insert-for-yank to yank rectangles.
11913 (cua-highlight-region-shift-only): Mark obsolete.
11914 (cua-mode): Don't enable/disable transient-mark-mode,
11915 shift-select-mode (cua-mode works both with and without them), and
11916 pc-selection-mode (obsolete).
11917 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
11918 (cua--deactivate-rectangle): Deactivate it.
11919
11920 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
11921 (delete-selection-helper): Make sure yank starts at the top of the
11922 deleted region.
11923 (minibuffer-keyboard-quit): Use region-active-p.
11924
11925 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
11926
11927 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
11928 to `delete' (bug#16109).
11929
11930 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11931
11932 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
11933 info manual and show keybindings and set `:group' keyword.
11934
11935 2013-12-11 Juri Linkov <juri@jurta.org>
11936
11937 * delsel.el (delete-active-region): Let-bind `this-command'
11938 to prevent `kill-region' from changing its original value.
11939 (delete-selection-helper): Handle `overwrite-mode' for the type
11940 `kill' exactly the same way as for the type `t'.
11941 (insert-char, quoted-insert, reindent-then-newline-and-indent):
11942 Support more commands. (Bug#13312)
11943
11944 2013-12-11 Juri Linkov <juri@jurta.org>
11945
11946 * bindings.el: Map kp keys to non-kp keys systematically
11947 with basic modifiers control, meta and shift. (Bug#14397)
11948
11949 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11950
11951 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
11952 "Close browser" menu items. Fix wrong function of "List
11953 bookmarks".
11954
11955 2013-12-11 Juri Linkov <juri@jurta.org>
11956
11957 * misearch.el (multi-isearch-buffers): Set the value of
11958 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
11959 arg of isearch-forward to t.
11960 (multi-isearch-buffers-regexp): Set the value of
11961 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
11962 arg of isearch-forward-regexp to t.
11963 (multi-isearch-files): Set the value of
11964 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
11965 arg of isearch-forward to t.
11966 (multi-isearch-files-regexp): Set the value of
11967 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
11968 arg of isearch-forward-regexp to t. (Bug#16035)
11969
11970 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
11971 arg of isearch-forward to t.
11972 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
11973 arg of isearch-forward-regexp to t.
11974 (dired-isearch-filter-filenames): Remove unnecessary check for
11975 `dired-isearch-filenames'.
11976
11977 * comint.el (comint-history-isearch-backward):
11978 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
11979 (comint-history-isearch-backward-regexp):
11980 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
11981
11982 2013-12-10 Eli Zaretskii <eliz@gnu.org>
11983
11984 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
11985 unmsys--file-name. (Bug#16099)
11986
11987 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
11988
11989 * emacs-lisp/package.el (package-keyword-button-action):
11990 Remove finder.el require dependency.
11991
11992 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
11993
11994 * emacs-lisp/package.el: Require finder.el.
11995 (describe-package-1): Add keyword buttons.
11996 (package-make-button): New convenience function.
11997 (package-keyword-button-action): Keyword button action using
11998 `finder-list-matches'.
11999
12000 2013-12-09 Eli Zaretskii <eliz@gnu.org>
12001
12002 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
12003 last commit.
12004
12005 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
12006
12007 * autorevert.el (auto-revert-notify-add-watch): Do not handle
12008 symlinked files.
12009
12010 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
12011
12012 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
12013 after the end of a percent literal.
12014
12015 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
12016
12017 * progmodes/ruby-mode.el (ruby-forward-string): Document.
12018 Handle caret-delimited strings (Bug#16079).
12019
12020 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
12021
12022 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
12023 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
12024 `ruby-parse-partial' (Bug#16078).
12025
12026 2013-12-09 Leo Liu <sdl.web@gmail.com>
12027
12028 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
12029
12030 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
12031
12032 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
12033 (js-switch-indent-offset): New option.
12034 (js--proper-indentation): Use it. And handle the case when
12035 "default" is actually a key in an object literal.
12036 (js--same-line): New function.
12037 (js--multi-line-declaration-indentation): Use it.
12038 (js--indent-in-array-comp, js--array-comp-indentation):
12039 New functions.
12040 (js--proper-indentation): Use them, to handle array comprehension
12041 continuations.
12042
12043 2013-12-08 Leo Liu <sdl.web@gmail.com>
12044
12045 * progmodes/flymake.el (flymake-highlight-line): Re-write.
12046 (flymake-make-overlay): Remove arg MOUSE-FACE.
12047 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
12048
12049 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
12052 New function.
12053 (redisplay-highlight-region-function): Use it.
12054
12055 * emulation/cua-base.el (cua--explicit-region-start)
12056 (cua--last-region-shifted): Remove.
12057 (cua--deactivate): Use deactivate-mark.
12058 (cua--pre-command-handler-1): Don't handle shift-selection.
12059 (cua--post-command-handler-1): Don't change transient-mark-mode.
12060 (cua--select-keymaps): Use region-active-p rather than
12061 cua--explicit-region-start or cua--last-region-shifted.
12062 (cua-mode): Enable shift-select-mode.
12063
12064 2013-12-08 Leo Liu <sdl.web@gmail.com>
12065
12066 * progmodes/flymake.el (flymake-popup-current-error-menu):
12067 Rename from flymake-display-err-menu-for-current-line. Reimplement.
12068 (flymake-posn-at-point-as-event, flymake-popup-menu)
12069 (flymake-make-emacs-menu): Remove. (Bug#16077)
12070
12071 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 * rect.el (rectangle-mark-mode): Activate mark even if
12074 transient-mark-mode is off (bug#16066).
12075 (rectangle--highlight-for-redisplay): Fix boundary condition when point
12076 is > mark and at bolp.
12077
12078 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
12079 (region-extract-function): Use it.
12080 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
12081 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
12082 Delete functions.
12083 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
12084 kill-ring-save, kill-region, delete-char, delete-forward-char.
12085 Ignore self-insert-iso.
12086
12087 * emulation/cua-gmrk.el (cua--init-global-mark):
12088 Ignore `self-insert-iso'.
12089
12090 * emulation/cua-base.el (cua--prefix-copy-handler)
12091 (cua--prefix-cut-handler): Rely on region-extract-function rather than
12092 checking cua--rectangle.
12093 (cua-delete-region): Use region-extract-function.
12094 (cua-replace-region): Delete function.
12095 (cua-copy-region, cua-cut-region): Obey region-extract-function.
12096 (cua--pre-command-handler-1): Don't do the delete-selection thing.
12097 (cua--self-insert-char-p): Ignore `self-insert-iso'.
12098 (cua--init-keymaps): Don't remap delete-selection commands.
12099 (cua-mode): Use delete-selection-mode instead of rolling our own
12100 (bug#16085).
12101
12102 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
12103 Obey region-extract-function.
12104
12105 Make registers and delete-selection-mode work on rectangles.
12106 * register.el (describe-register-1): Don't modify the register's value.
12107 (copy-to-register): Obey region-extract-function.
12108 * delsel.el (delete-active-region): Obey region-extract-function.
12109
12110 2013-12-08 Leo Liu <sdl.web@gmail.com>
12111
12112 * progmodes/flymake.el (flymake, flymake-error-bitmap)
12113 (flymake-warning-bitmap, flymake-fringe-indicator-position)
12114 (flymake-compilation-prevents-syntax-check)
12115 (flymake-start-syntax-check-on-newline)
12116 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
12117 (flymake-start-syntax-check-on-find-file, flymake-log-level)
12118 (flymake-xml-program, flymake-master-file-dirs)
12119 (flymake-master-file-count-limit)
12120 (flymake-allowed-file-name-masks): Relocate.
12121 (flymake-makehash, flymake-float-time)
12122 (flymake-replace-regexp-in-string, flymake-split-string)
12123 (flymake-get-temp-dir): Remove.
12124 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
12125 (flymake-current-row, flymake-selected-frame)
12126 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
12127 related functions. (Bug#16077)
12128
12129 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
12130
12131 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
12132
12133 2013-12-07 Tassilo Horn <tsdh@gnu.org>
12134
12135 * help-fns.el (describe-function-1): Use new advice-* functions
12136 rather than old ad-* functions. Fix function type description and
12137 source links for advised functions and subrs.
12138
12139 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12140
12141 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
12142
12143 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
12144
12145 * progmodes/compile.el (compilation-start):
12146 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
12147
12148 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12149 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
12150
12151 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12152
12153 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12154 Touch up the last change.
12155
12156 2013-12-06 Leo Liu <sdl.web@gmail.com>
12157
12158 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
12159 (inferior-octave-startup): Always use "octave> " for prompt.
12160 (octave-goto-function-definition)
12161 (octave-sync-function-file-names)
12162 (octave-find-definition-default-filename): Remove redundant backquotes.
12163
12164 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12165
12166 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
12167 syntax for `?'.
12168 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
12169 where appropriate already.
12170 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
12171 end of method names (Bug#15874).
12172
12173 2013-12-06 Juri Linkov <juri@jurta.org>
12174
12175 * isearch.el (isearch--saved-overriding-local-map):
12176 New internal variable.
12177 (isearch-mode): Set it to the initial value of
12178 `overriding-terminal-local-map'.
12179 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
12180 with `isearch--saved-overriding-local-map'. (Bug#16035)
12181
12182 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
12183
12184 * progmodes/octave.el (inferior-octave-completion-table):
12185 Turn back into function, use `completion-table-with-cache'
12186 (Bug#11906). Update all references.
12187
12188 * minibuffer.el (completion-table-with-cache): New function.
12189
12190 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
12191
12192 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
12193
12194 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
12195
12196 * net/eww.el (eww-current-source): New variable to store page
12197 source.
12198 (eww-display-html, eww-mode, eww-save-history)
12199 (eww-restore-history): Use it.
12200 (eww-view-source): New command to view page source.
12201 Opportunistically uses `html-mode' to highlight the buffer.
12202 (eww-mode-map): Install it.
12203
12204 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
12205
12206 * net/dbus.el (dbus-unregister-service)
12207 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
12208 Fix docstring.
12209 (dbus-unregister-service): Skip :serial entries in
12210 `dbus-registered-objects-table'.
12211 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
12212
12213 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
12214
12215 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
12216 around keywords with extra `split-string' argument.
12217
12218 2013-12-04 Martin Rudalics <rudalics@gmx.at>
12219
12220 * windmove.el (windmove-other-window-loc): Handle navigation
12221 between windows (excluding the minibuffer window - Bug#16017).
12222
12223 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
12224
12225 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
12226 in D-Bus type syntax.
12227 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
12228 preserve unibyte strings. (Bug#16048)
12229
12230 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12233 Call force-mode-line-update is the proper buffer (bug#16042).
12234
12235 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
12236
12237 * vc/log-edit.el (log-edit-add-new-comment): Rename to
12238 `log-edit-remember-comment', make argument optional. Adjust all
12239 callers.
12240 (log-edit-mode): Add `log-edit-remember-comment' to
12241 `kill-buffer-hook' locally.
12242 (log-edit-kill-buffer): Don't remember comment explicitly since
12243 the buffer is killed anyway.
12244
12245 2013-12-04 Juri Linkov <juri@jurta.org>
12246
12247 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
12248 add-hook and remove-hook for multi-buffer search. (Bug#16035)
12249
12250 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
12251
12252 * notifications.el (notifications-close-notification): Call the
12253 D-Bus method with ID being a `:uint32'. (Bug#16030)
12254
12255 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
12256
12257 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
12258
12259 2013-12-03 Juri Linkov <juri@jurta.org>
12260
12261 * progmodes/compile.el (compilation-start): Rename window alist
12262 entry `no-display-ok' to `allow-no-window'.
12263
12264 * simple.el (shell-command): Add window alist entry
12265 `allow-no-window' to `display-buffer'.
12266 (async-shell-command): Doc fix.
12267
12268 * window.el (display-buffer-no-window): New action function.
12269 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
12270
12271 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
12272
12273 * vc/log-edit.el (log-edit-set-header): Extract from
12274 `log-edit-toggle-header'.
12275 (log-edit-extract-headers): Separate the summary, when extracted
12276 from header, from the rest of the message with an empty line.
12277
12278 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
12279 line, if present, to the Summary header.
12280
12281 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
12284 in current-buffer (bug#16029).
12285
12286 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
12287
12288 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
12289 (debugger-mode-map): Bind it.
12290 (debugger--backtrace-base): New function.
12291 (debugger-eval-expression): Use it.
12292 (debugger-frame-number): Skip local vars when present.
12293 (debugger--locals-visible-p, debugger--insert-locals)
12294 (debugger--show-locals, debugger--hide-locals): New functions.
12295
12296 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
12297
12298 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
12299 "LC_ALL".
12300 (tramp-get-remote-locale): New defun.
12301 (tramp-open-connection-setup-interactive-shell): Use it.
12302
12303 2013-12-02 Leo Liu <sdl.web@gmail.com>
12304
12305 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
12306
12307 * progmodes/sh-script.el (sh-shell-process):
12308 * progmodes/octave.el (inferior-octave-process-live-p):
12309 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
12310 (gdb-inferior-io-sentinel):
12311 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
12312
12313 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
12314
12315 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
12316 `save-selected-window' to `log-edit-hide-buf'. This makes
12317 `log-edit-show-files' idempotent.
12318 (log-edit-show-files): Mark the new window as dedicated.
12319
12320 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
12321
12322 * vc/log-edit.el (log-edit-mode-map): Add binding for
12323 `log-edit-kill-biffer'.
12324 (log-edit-hide-buf): Add a FIXME comment.
12325 (log-edit-add-new-comment): New function, extracted from
12326 `log-edit-done'.
12327 (log-edit-done, log-edit-add-to-changelog): Use it.
12328 (log-edit-kill-buffer): New command.
12329
12330 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12331
12332 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
12333 instead of killing the buffer.
12334
12335 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
12338
12339 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12340
12341 * net/eww.el (eww-form-checkbox-selected-symbol)
12342 (eww-form-checkbox-symbol): New customizable variable.
12343 (eww-form-checkbox, eww-toggle-checkbox):
12344 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
12345
12346 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
12347 (shr--get-media-pref, shr--extract-best-source): New function.
12348 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
12349 no :src tag was specified.
12350
12351 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
12352 (eww-render): Handle `eww-use-external-browser-for-content-type'.
12353 Use \\` to match beginning of string instead of ^.
12354 (eww-browse-with-external-browser): Provide optional URL parameter.
12355 (eww-render): Set `eww-current-title' back to "".
12356
12357 * net/shr.el (shr-tag-video): Display content for video if no
12358 poster is available.
12359 (shr-tag-audio): Add support for <audio> tag.
12360
12361 * net/eww.el (eww-text-input-types): New const.
12362 (eww-process-text-input): Treat input types in
12363 `eww-text-input-types' as text.
12364
12365 * net/shr.el (shr-tag-table): Fix comment typo.
12366
12367 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12368
12369 * net/eww.el (eww-follow-link): New command to avoid reloading
12370 pages when we follow #target links (bug#15243).
12371 (eww-quit): Special mode buffers shouldn't query before exiting.
12372
12373 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12374
12375 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
12376 forms.
12377
12378 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12379
12380 * net/eww.el (eww-restore-history): Update the window title after
12381 moving in the history.
12382 (eww-current-dom): New variable used to save the current DOM.
12383
12384 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
12385
12386 * vc/log-edit.el (log-edit-mode-map): Add binding for
12387 `log-edit-beginning-of-line'.
12388 (log-edit-setup-add-author): New user option.
12389 (log-edit-beginning-of-line): New command.
12390 (log-edit): Move major mode call above the contents setup so that
12391 the local variable values are already applied.
12392 (log-edit): Only insert "Author: " when
12393 `log-edit-setup-add-author' is non-nil.
12394 (log-edit): When SETUP is non-nil, position point after ": "
12395 instead of point-min.
12396
12397 2013-12-01 Glenn Morris <rgm@gnu.org>
12398
12399 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
12400
12401 2013-11-30 Eli Zaretskii <eliz@gnu.org>
12402
12403 * startup.el (fancy-splash-frame): On MS-Windows, trigger
12404 redisplay to make sure the initial frame gets a chance to become
12405 visible. (Bug#16014)
12406
12407 2013-11-30 Martin Rudalics <rudalics@gmx.at>
12408
12409 Support resizing frames and windows pixelwise.
12410 * cus-start.el (frame-resize-pixelwise)
12411 (window-resize-pixelwise): New entries.
12412 * emacs-lisp/debug.el (debug): Use window-total-height instead
12413 of window-total-size.
12414 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
12415 * help.el (describe-bindings-internal): Use help-buffer as
12416 argument for with-help-window.
12417 (temp-buffer-max-width): New option.
12418 (resize-temp-buffer-window, help-window-setup)
12419 (with-help-window): Rewrite.
12420 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
12421 dragging dividers.
12422 * window.el (frame-char-size, window-min-pixel-height)
12423 (window-safe-min-pixel-height, window-safe-min-pixel-width)
12424 (window-min-pixel-width, window-safe-min-pixel-size)
12425 (window-combination-p, window-safe-min-size)
12426 (window-resizable-p, window--size-to-pixel)
12427 (window--pixel-to-size, window--resize-apply-p): New functions.
12428 (window-safe-min-height): Fix doc-string.
12429 (window-size, window-min-size, window--min-size-1)
12430 (window-sizable, window-sizable-p, window--min-delta-1)
12431 (window-min-delta, window--max-delta-1, window-max-delta)
12432 (window--resizable, window--resizable-p, window-resizable)
12433 (window-full-height-p, window-full-width-p, window-at-side-p)
12434 (window--in-direction-2, window-in-direction)
12435 (window--resize-reset-1, window--resize-mini-window)
12436 (window-resize, window-resize-no-error)
12437 (window--resize-child-windows-normal)
12438 (window--resize-child-windows, window--resize-siblings)
12439 (window--resize-this-window, window--resize-root-window)
12440 (window--resize-root-window-vertically)
12441 (adjust-window-trailing-edge, enlarge-window, shrink-window)
12442 (maximize-window, minimize-window, delete-window)
12443 (quit-restore-window, window-split-min-size, split-window)
12444 (balance-windows-2, balance-windows)
12445 (balance-windows-area-adjust, balance-windows-area)
12446 (window--state-get-1, window-state-get, window--state-put-1)
12447 (window--state-put-2, window-state-put)
12448 (display-buffer-record-window, window--display-buffer):
12449 Make functions handle pixelwise sizing of windows.
12450 (display-buffer--action-function-custom-type)
12451 (display-buffer-fallback-action):
12452 Add display-buffer-in-previous-window.
12453 (display-buffer-use-some-window): Resize window to height it had
12454 before.
12455 (fit-window-to-buffer-horizontally): New option.
12456 (fit-frame-to-buffer): Describe new values.
12457 (fit-frame-to-buffer-bottom-margin): Replace with
12458 fit-frame-to-buffer-margins.
12459 (window--sanitize-margin): New function.
12460 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
12461 using window-text-pixel-size.
12462
12463 2013-11-30 Glenn Morris <rgm@gnu.org>
12464
12465 * emacs-lisp/bytecomp.el (byte-compile-form):
12466 Make the `interactive-only' warning like the `obsolete' one.
12467 * comint.el (comint-run):
12468 * files.el (insert-file-literally, insert-file):
12469 * replace.el (replace-string, replace-regexp):
12470 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
12471 (goto-line, insert-buffer, next-line, previous-line):
12472 Tweak `interactive-only' spec.
12473
12474 Stop keeping (most) generated cedet grammar files in the repository.
12475 * Makefile.in (semantic): New.
12476 (compile-main): Depend on semantic.
12477
12478 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
12481 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
12482
12483 * uniquify.el (uniquify-buffer-name-style): Change default.
12484
12485 * loadup.el: Preload "uniquify".
12486
12487 * time.el (display-time-update): Update all mode lines (bug#15999).
12488
12489 * electric.el (electric-indent-mode): Enable by default.
12490 * loadup.el: Preload "electric".
12491
12492 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
12493
12494 * emacs-lisp/helpers.el (string-empty-p): New function.
12495 (string-blank-p): New function.
12496
12497 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
12498
12499 * imenu.el (imenu--index-alist): Add missing dot to the docstring
12500 (Bug#14029).
12501
12502 2013-11-29 Andreas Politz <politza@fh-trier.de>
12503 * imenu.el (imenu--subalist-p): Don't error on non-conses and
12504 allow non-lambda lists as functions.
12505 (imenu--in-alist): Don't recurse into non-subalists.
12506 (imenu): Don't pass function itself as an argument (Bug#14029).
12507
12508 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12509
12510 * progmodes/python.el (python-mode-map): Remove binding for ":".
12511 (python-indent-electric-colon): Remove command.
12512 (python-indent-post-self-insert-function): Integrate the previous code
12513 of python-indent-electric-colon. Make it conditional on
12514 electric-indent-mode.
12515 (python-mode): Add ?: to electric-indent-chars.
12516 Move python-indent-post-self-insert-function to the end of
12517 post-self-insert-hook.
12518
12519 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * doc-view.el (doc-view-goto-page): Update mode-line.
12522
12523 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
12524
12525 2013-11-27 Glenn Morris <rgm@gnu.org>
12526
12527 * international/charprop.el, international/uni-bidi.el:
12528 * international/uni-category.el, international/uni-combining.el:
12529 * international/uni-comment.el, international/uni-decimal.el:
12530 * international/uni-decomposition.el, international/uni-digit.el:
12531 * international/uni-lowercase.el, international/uni-mirrored.el:
12532 * international/uni-name.el, international/uni-numeric.el:
12533 * international/uni-old-name.el, international/uni-titlecase.el:
12534 * international/uni-uppercase.el:
12535 Remove generated files from VCS repository.
12536
12537 2013-11-27 Eli Zaretskii <eliz@gnu.org>
12538
12539 * filenotify.el (file-notify-add-watch): Don't special-case
12540 w32notify when computing the directory to watch.
12541
12542 2013-11-27 Glenn Morris <rgm@gnu.org>
12543
12544 Make bootstrap without generated uni-*.el files possible again.
12545 * loadup.el: Update command-line-args checking for unidata-gen.
12546 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
12547 * composite.el, international/characters.el:
12548 Handle unicode tables being undefined.
12549
12550 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
12551 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
12552 (compile-main): Depend on leim rule.
12553 (leim): New rule.
12554 * loadup.el: Move leim-list.el to leim/ subdirectory.
12555 * startup.el (normal-top-level): No more leim directory.
12556 * international/ja-dic-cnv.el (skkdic-convert):
12557 Disable version-control and autoloads in output files.
12558 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
12559 Disable version-control and autoloads in output files.
12560 * leim/quail: Move here from ../leim.
12561 * leim/quail/hangul.el (hangul-input-method-activate):
12562 Add autoload cookie.
12563 (generated-autoload-load-name): Set file-local value.
12564 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
12565 (generated-autoload-load-name): Set file-local value.
12566
12567 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
12568
12569 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
12570 (eww-add-bookmark): Ask confirmation when add to bookmarks.
12571 (eww-quit): Ask confirmation before quitting eww.
12572
12573 2013-11-26 Eli Zaretskii <eliz@gnu.org>
12574
12575 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
12576 reading output from Diff on MS-Windows and MS-DOS.
12577
12578 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
12579
12580 * emacs-lisp/helpers.el (string-reverse): New function.
12581
12582 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
12583
12584 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
12585 names on MS Windows, like "/[::1]:".
12586
12587 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
12588 SWITCHES.
12589
12590 2013-11-26 Glenn Morris <rgm@gnu.org>
12591
12592 * progmodes/python.el (python-indent-guess-indent-offset):
12593 Avoid corner-case error. (Bug#15975)
12594
12595 Preload leim-list.el. (Bug#4789)
12596 * loadup.el: Load leim-list.el when found.
12597 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
12598
12599 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
12600
12601 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
12602
12603 * emacs-lisp/helpers.el (string-join): New function.
12604
12605 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
12606
12607 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12608 Mark as obsolete and replace it with a symbol property.
12609 (byte-compile-form): Use new 'interactive-only property.
12610 * comint.el, files.el, replace.el, simple.el:
12611 Apply new 'interactive-only properly.
12612
12613 2013-11-25 Martin Rudalics <rudalics@gmx.at>
12614
12615 * window.el (display-buffer-at-bottom): Make sure that
12616 split-window-sensibly creates the new window on bottom
12617 (Bug#15961).
12618
12619 2013-11-23 David Kastrup <dak@gnu.org>
12620
12621 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
12622 on the conflict markers when available.
12623 (smerge--get-marker): New function.
12624 (smerge-end-re, smerge-base-re): Add subgroup.
12625
12626 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 * frame.el (handle-focus-in, handle-focus-out): Add missing
12629 interactive spec.
12630
12631 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
12632
12633 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
12634 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
12635
12636 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
12639 (gomoku--last-pos): New var.
12640 (gomoku--intangible-chars): New const.
12641 (gomoku--intangible): New function.
12642 (gomoku-mode): Use it. Derive from special-mode.
12643 (gomoku-move-up): Adjust line count.
12644 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
12645 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
12646 Simplify accordingly.
12647
12648 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
12649 Remove blink-cursor code.
12650 (blink-cursor-timer-function, blink-cursor-suspend):
12651 Don't special-case GUIs.
12652 (blink-cursor-mode): Use focus-in/out-hook.
12653
12654 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
12655
12656 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
12657 work when annotation is invisible (Bug#13886).
12658
12659 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
12660
12661 * json.el (json-alist-p): Only return non-nil if the alist has
12662 simple keys (Bug#13518).
12663
12664 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
12665
12666 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
12667 when control-statement is the first statement in a buffer (Bug#15956).
12668
12669 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
12670
12671 * imenu.el (imenu-generic-skip-comments-and-strings):
12672 New option (Bug#15560).
12673 (imenu--generic-function): Use it.
12674
12675 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
12676
12677 * minibuffer.el (completion--in-region-1): Scroll the correct window.
12678 (Bug#13898)
12679
12680 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
12681
12682 * emacs-lisp/helpers.el: Add some string helpers.
12683 (string-trim-left): Removes leading whitespace.
12684 (string-trim-right): Removes trailing whitespace.
12685 (string-trim): Removes leading and trailing whitespace.
12686
12687 * subr.el (string-suffix-p): New function.
12688
12689 2013-11-23 Glenn Morris <rgm@gnu.org>
12690
12691 * progmodes/python.el (python-shell-send-file):
12692 Add option to delete file when done. (Bug#15647)
12693 (python-shell-send-string, python-shell-send-region): Use it.
12694
12695 2013-11-23 Ivan Shmakov <ivan@siamics.net>
12696
12697 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
12698 to set buffer-read-only to t, never to nil. (Bug#15938)
12699
12700 * textmodes/tex-mode.el (latex-noindent-environments):
12701 Add safe-local-variable property. (Bug#15936)
12702
12703 2013-11-23 Glenn Morris <rgm@gnu.org>
12704
12705 * textmodes/enriched.el (enriched-mode): Doc fix.
12706 * emacs-lisp/authors.el (authors-renamed-files-alist):
12707 Add enriched.doc -> enriched.txt.
12708
12709 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
12710
12711 2013-11-22 Leo Liu <sdl.web@gmail.com>
12712
12713 * progmodes/octave.el (inferior-octave-startup): Spit out error
12714 message.
12715
12716 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
12717
12718 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
12719 Improve docstring.
12720 Add :version.
12721 (ruby-encoding-magic-comment-style): Add :version.
12722
12723 2013-11-22 Leo Liu <sdl.web@gmail.com>
12724
12725 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
12726 (Bug#15076)
12727 (octave-help-mode): Adapt to change to help-mode-finish to use
12728 derived-mode-p on 2013-09-17.
12729 (inferior-octave-prompt): Also match octave-gui.
12730 (octave-kill-process): Don't ask twice. (Bug#10564)
12731
12732 2013-11-22 Leo Liu <sdl.web@gmail.com>
12733
12734 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
12735 (inferior-octave-startup, inferior-octave-check-process)
12736 (inferior-octave-track-window-width-change)
12737 (octave-completion-at-point, octave-eldoc-function): Use it.
12738 (octave-kill-process): Provide confirmation. (Bug#10564)
12739
12740 2013-11-21 Leo Liu <sdl.web@gmail.com>
12741
12742 * progmodes/octave.el (octave-mode, inferior-octave-mode):
12743 Fix obsolete variable comment-use-global-state.
12744
12745 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12746
12747 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
12748 Add `octave-source-file'.
12749 (octave-source-file): New function. (Bug#15935)
12750
12751 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
12752
12753 * net/eww.el (eww-local-regex): New variable.
12754 (eww): Use it to detect localhost and similar.
12755
12756 2013-11-21 Leo Liu <sdl.web@gmail.com>
12757
12758 Add completion for command `ag'.
12759 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
12760 (pcomplete/ag): New function.
12761 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
12762
12763 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
12766 (bug#14646).
12767 (make-obsolete): Remove interactive spec.
12768
12769 2013-11-21 Glenn Morris <rgm@gnu.org>
12770
12771 * startup.el (command-line-1): Use path-separator with -L.
12772
12773 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
12774
12775 * emacs-lisp/package.el (describe-package-1): Add package archive
12776 to shown fields.
12777
12778 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
12779
12780 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
12781 Change default to "# encoding: %s" to differentiate it from the
12782 default Ruby encoding comment template.
12783
12784 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
12785
12786 * ses.el (ses-mode): Doc fix. (Bug#14748)
12787
12788 2013-11-20 Leo Liu <sdl.web@gmail.com>
12789
12790 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
12791
12792 2013-11-19 Dan Nicolaescu <dann@gnu.org>
12793
12794 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
12795 when rebase or bisect are in progress.
12796
12797 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
12798
12799 * filenotify.el (file-notify-add-watch): Doc fix.
12800
12801 2013-11-19 Leo Liu <sdl.web@gmail.com>
12802
12803 * obsolete/rcompile.el: Mark obsolete.
12804
12805 * progmodes/compile.el (compilation-start)
12806 (compilation-goto-locus, compilation-find-file):
12807 Pass no-display-ok and handle nil value from display-buffer.
12808 (Bug#13594)
12809
12810 * window.el (display-buffer-alist, display-buffer): Document the
12811 new parameter no-display-ok. Return either a window or nil
12812 but never a non-window value.
12813
12814 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12815
12816 * electric.el (electric-indent-mode-map): Remove.
12817 (electric-indent-mode): Change the global-map instead (bug#15915).
12818
12819 * textmodes/text-mode.el (paragraph-indent-minor-mode):
12820 Use add-function.
12821
12822 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * emacs-lisp/nadvice.el (remove-function): Align with
12825 add-function's behavior.
12826
12827 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
12828 (gdb--string-regexp): New constant.
12829 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
12830 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
12831 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
12832 submatch 1.
12833 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
12834 Adjust use accordingly.
12835 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
12836
12837 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
12838
12839 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
12840 interpolation curlies (Bug#15914).
12841
12842 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
12843
12844 * calc/calc.el (calc-context-sensitive-enter): New variable.
12845 (calc-enter): Use `calc-context-sensitive-enter'.
12846
12847 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
12848
12849 * progmodes/cfengine.el: Version bump.
12850 (cfengine-cf-promises): New defcustom to locate cf-promises.
12851 (cfengine3-vartypes): Add new "data" type.
12852 (cfengine3--current-word): New function to get current name-like
12853 word or its bounds.
12854 (cfengine3--current-function): New function to look up a CFEngine
12855 function's definition.
12856 (cfengine3-format-function-docstring): New function.
12857 (cfengine3-make-syntax-cache): New function.
12858 (cfengine3-documentation-function): New function: ElDoc glue.
12859 (cfengine3-completion-function): New function: completion glue.
12860 (cfengine3-mode): Set `compile-command',
12861 `eldoc-documentation-function', and add to
12862 `completion-at-point-functions'.
12863
12864 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
12865
12866 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
12867 `tramp-current-connection'.
12868
12869 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
12870
12871 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
12872 nil/self/true/false with "end of symbol".
12873
12874 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
12875
12876 * subr.el (version-regexp-alist): Fix a typo.
12877
12878 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
12879
12880 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
12881 "en_US.utf8" and "LC_CTYPE" to "".
12882 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
12883 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
12884
12885 2013-11-15 Leo Liu <sdl.web@gmail.com>
12886
12887 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
12888
12889 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
12890
12891 * progmodes/gud.el (ctl-x-map):
12892 Remove C-x SPC binding. (Bug#12342)
12893 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
12894
12895 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
12896
12897 * subr.el (version-regexp-alist):
12898 Recognize hg, svn and darcs versions as snapshot versions.
12899
12900 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
12901 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
12902 (ruby--encoding-comment-required-p): Extract from
12903 `ruby-mode-set-encoding'.
12904 (ruby-mode-set-encoding): Add the ability to always insert an
12905 utf-8 encoding comment. Fix and simplify coding comment update
12906 logic.
12907
12908 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
12909
12910 * net/tramp-gvfs.el (top): Run init code only when
12911 `tramp-gvfs-enabled' is not nil.
12912 (tramp-gvfs-enabled): Check also :system bus.
12913
12914 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
12915
12916 Sync with upstream verilog-mode revision 78e66ba.
12917 * progmodes/verilog-mode.el (verilog-end-of-defun)
12918 (verilog-type-completion, verilog-get-list): Remove unused funcs.
12919 (verilog-get-end-of-defun): Remove unused argument.
12920 (verilog-comment-depth): Remove unused local `e'.
12921 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
12922 Don't pass arg to verilog-get-end-of-defun.
12923
12924 2013-11-14 Glenn Morris <rgm@gnu.org>
12925
12926 * obsolete/assoc.el (aget): Prefix dynamic variable.
12927
12928 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
12929
12930 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
12931
12932 * widget.el, hfy-cmap.el: Remove bogus package version number.
12933
12934 2013-11-13 Glenn Morris <rgm@gnu.org>
12935
12936 * replace.el (replace-eval-replacement):
12937 Try to give more helpful error message. (Bug#15836)
12938
12939 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12940 (archive-7z-update): Avoid custom type mismatches.
12941
12942 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
12943
12944 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
12945
12946 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
12947 address can be empty.
12948
12949 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
12950 Accept nil SWITCHES.
12951 (tramp-gvfs-handle-write-region): Implement APPEND.
12952
12953 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
12954
12955 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
12956 binary "|" operator and closing block args delimiter.
12957 Remove FIXME comment referring to Ruby 1.8-only syntax.
12958 (ruby-smie--implicit-semi-p): Not after "|" operator.
12959 (ruby-smie--closing-pipe-p): New function.
12960 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
12961 (ruby-smie-rules): Indent after "|".
12962
12963 2013-11-12 Glenn Morris <rgm@gnu.org>
12964
12965 * ps-print.el (ps-face-attribute-list):
12966 Handle anonymous faces. (Bug#15827)
12967
12968 2013-11-12 Martin Rudalics <rudalics@gmx.at>
12969
12970 * window.el (display-buffer-other-frame): Fix doc-string.
12971 (Bug#15868)
12972
12973 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * subr.el (force-mode-line-update): Delete, move to buffer.c.
12976
12977 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
12978
12979 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
12980 (tramp-sh-handle-file-local-copy): Don't write a message when
12981 saving temporary files.
12982
12983 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
12984 both directories are remote.
12985 (tramp-smb-handle-directory-files): Do not return double entries.
12986 Do not expand full file names.
12987 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
12988 (tramp-smb-handle-write-region): Implement APPEND.
12989 (tramp-smb-get-stat-capability): Fix a stupid bug.
12990
12991 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
12994
12995 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
12996
12997 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
12998 throwing error over malformed let/let* (bug#15814).
12999
13000 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * iswitchb.el (iswitchb-mode): Mark obsolete.
13003
13004 2013-11-11 Glenn Morris <rgm@gnu.org>
13005
13006 * international/uni-bidi.el, international/uni-category.el:
13007 * international/uni-name.el, international/uni-numeric.el:
13008 Regenerate for Unicode 6.3.0.
13009
13010 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
13011
13012 * net/tramp.el (tramp-methods):
13013 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
13014 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
13015
13016 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
13017
13018 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13019 Force highlighting text after Summary keyword in doc face for rpm.
13020
13021 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
13022
13023 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
13024 available and the word has no wildcards, append one to the grep pattern.
13025 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
13026 (ispell-complete-word): Call `ispell-lookup-words' with the value
13027 independent of `ispell-look-p'.
13028
13029 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13030
13031 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
13032 Not after "||".
13033 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
13034 their parent.
13035
13036 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13037
13038 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
13039 (ruby-font-lock-keywords): Use backquote.
13040
13041 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13042
13043 * progmodes/ruby-mode.el (ruby-smie--forward-token)
13044 (ruby-smie--backward-token): Only consider full-string matches.
13045
13046 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
13047
13048 * faces.el (describe-face): Add distant-foreground.
13049
13050 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
13051
13052 * progmodes/ruby-mode.el: Improve encoding comment handling.
13053 (ruby-encoding-magic-comment-style): New option.
13054 (ruby-custom-encoding-magic-comment-template): New option.
13055 (ruby--insert-coding-comment, ruby--detect-encoding):
13056 New functions extracted from `ruby-mode-set-encoding'.
13057 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
13058 to control the style of the auto-inserted encoding comment.
13059
13060 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13061
13062 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
13063 Use `smie-backward-sexp' with token argument.
13064
13065 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
13066
13067 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13068 Remove instrumentation code.
13069
13070 2013-11-08 Glenn Morris <rgm@gnu.org>
13071
13072 * progmodes/autoconf.el (autoconf-mode):
13073 Tweak comment-start-skip. (Bug#15822)
13074
13075 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13076
13077 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
13078 at bobp (bug#15826).
13079 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
13080
13081 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
13082
13083 * man.el (Man-start-calling): New macro, extracted from
13084 Man-getpage-in-background.
13085 (Man-getpage-in-background): Use it.
13086 (Man-update-manpage): New command.
13087 (Man-mode-map): Bind it.
13088
13089 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
13090
13091 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
13092 of "and", "or", "&&" and "||".
13093 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
13094 argument. Prohibit opening curly brace because it could only be a
13095 block opener in that position.
13096 (ruby-smie--forward-token, ruby-smie--backward-token):
13097 Separate "|" from "&" or "*" going after it. That can happen in block
13098 arguments.
13099 (ruby-smie--indent-to-stmt): New function, seeks the end of
13100 previous statement or beginning of buffer.
13101 (ruby-smie-rules): Use it.
13102 (ruby-smie-rules): Check if there's a ":" before a curly block
13103 opener candidate; if there is, it's a hash.
13104
13105 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
13108 (cl--block-wrapper): Fix last accidental change.
13109
13110 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
13111
13112 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
13113 Instrument, in order to hunt failure on hydra.
13114
13115 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13116
13117 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
13118 malformed bindings form (bug#15814).
13119
13120 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
13121
13122 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
13123 "." compared to " @ ". This incidentally fixes some indentation
13124 examples with "do".
13125 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
13126 (ruby-smie-grammar): New tokens: "and" and "or".
13127 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
13128 Exclude "and" and "or". Remove "do" in order to work around token
13129 priorities.
13130 (ruby-smie-rules): Add all infix tokens. Handle the case of
13131 beginning-of-buffer.
13132
13133 2013-11-06 Glenn Morris <rgm@gnu.org>
13134
13135 * Makefile.in (setwins_almost, setwins_for_subdirs):
13136 Avoid accidental matches.
13137
13138 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
13139
13140 * menu-bar.el (popup-menu): Use key-binding.
13141
13142 2013-11-06 Eli Zaretskii <eliz@gnu.org>
13143
13144 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
13145 menus, support also the menus produced by minor modes.
13146 (Bug#15817)
13147
13148 2013-11-06 Leo Liu <sdl.web@gmail.com>
13149
13150 * thingatpt.el (thing-at-point-looking-at): Add optional arg
13151 DISTANCE to bound the search. All uses changed. (Bug#15808)
13152
13153 2013-11-06 Glenn Morris <rgm@gnu.org>
13154
13155 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
13156 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
13157 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
13158
13159 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
13160
13161 * electric.el (electric-indent-just-newline): New command.
13162 (electric-indent-mode-map): New keymap.
13163 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
13164 Re-add :group which weren't redundant.
13165
13166 * electric.el (electric-indent-local-mode): New minor mode.
13167 (electric-indent-functions-without-reindent): New var.
13168 (electric-indent-post-self-insert-function): Use it.
13169 * emacs-lisp/gv.el (buffer-local-value): Add setter.
13170
13171 2013-11-05 Eli Zaretskii <eliz@gnu.org>
13172
13173 * international/quail.el (quail-help): Be more explicit about the
13174 meaning of the labels shown on the keys. (Bug#15800)
13175
13176 * startup.el (normal-top-level): Load the subdirs.el files before
13177 setting the locale environment. (Bug#15805)
13178
13179 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13180
13181 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
13182 via arguments so as to get the right ones (bug#15418).
13183
13184 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
13185
13186 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
13187
13188 Fix problems found while writing a test suite.
13189
13190 * net/tramp-compat.el (tramp-compat-load): New defun.
13191 * net/tramp.el (tramp-handle-load): Use it.
13192
13193 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
13194 "(numberp ok-if-already-exists)" correctly.
13195
13196 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
13197
13198 * international/characters.el (glyphless-char-display-control):
13199 Add usage note.
13200
13201 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
13202
13203 * progmodes/python.el (python-mode):
13204 * progmodes/scheme.el (scheme-mode):
13205 * progmodes/prolog.el (prolog-mode):
13206 * progmodes/ruby-mode.el (ruby-mode):
13207 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
13208 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
13209
13210 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * rect.el (rectangle--highlight-for-redisplay):
13213 * emacs-lisp/smie.el (smie--next-indent-change):
13214 Use buffer-chars-modified-tick.
13215
13216 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
13217
13218 * electric.el (electric-indent-post-self-insert-function):
13219 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
13220
13221 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
13222
13223 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
13224
13225 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13226
13227 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
13228 (bug#15786).
13229
13230 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13231
13232 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
13233
13234 * progmodes/python.el: Fix up last change.
13235 (python-shell--save-temp-file): New function.
13236 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
13237 `string' comes from the current buffer.
13238 (python-shell-send-string-no-output): Remove `msg' arg.
13239 (python--use-fake-loc): New var.
13240 (python-shell-buffer-substring): Obey it. Try to compensate for the
13241 extra coding line added by python-shell--save-temp-file.
13242 (python-shell-send-region): Use python-shell--save-temp-file and
13243 python-shell-send-file directly. Add `nomain' argument.
13244 (python-shell-send-buffer): Use python-shell-send-region.
13245 (python-electric-pair-string-delimiter): New function.
13246 (python-mode): Use it.
13247
13248 2013-11-04 Eli Zaretskii <eliz@gnu.org>
13249
13250 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
13251 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
13252 environment and decoding all of the default-directory's to here
13253 from command-line.
13254 (command-line): Decode also argv[0].
13255
13256 * loadup.el: Error out if default-directory is a multibyte string
13257 when we are dumping.
13258
13259 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
13260
13261 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
13262
13263 * emacs-lisp/package.el (package-menu-mode)
13264 (package-menu--print-info, package-menu--archive-predicate):
13265 Add Archive column to package list.
13266
13267 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
13268
13269 Fix problems found while writing a test suite.
13270
13271 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
13272 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
13273 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
13274 to nil when running original file name handler. Otherwise,
13275 there are problems with constructs like "$$FOO".
13276
13277 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
13278 for `localname'.
13279
13280 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
13281
13282 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
13283
13284 * subr.el (version<, version<=, version=):
13285 Update docstrings with information for snapshot versions.
13286
13287 * helpers.el: New library for misc helper functions.
13288 (hash-table-keys): New function returning a list of hash keys.
13289 (hash-table-values): New function returning a list of hash values.
13290
13291 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
13292
13293 * progmodes/ruby-mode.el (ruby-smie--forward-token)
13294 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
13295
13296 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
13297
13298 * textmodes/fill.el (fill-single-char-nobreak-p): New function
13299 checking whether point is after a 1-letter word.
13300
13301 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13302
13303 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
13304 Don't infloop when expanding region over `multiline' syntax-type that
13305 begins a line (bug#15778).
13306
13307 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13308
13309 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
13310 Make it into a proper minor mode.
13311 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
13312 (rectangle-mark-mode-map): New keymap.
13313 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
13314
13315 2013-11-04 Glenn Morris <rgm@gnu.org>
13316
13317 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
13318
13319 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
13322 (ruby-smie-rules): Use smie-rule-parent instead.
13323
13324 * emacs-lisp/smie.el (smie-rule-parent): Always call
13325 smie-indent-virtual rather than only for hanging tokens.
13326 (smie--next-indent-change): New helper command.
13327
13328 2013-11-03 Glenn Morris <rgm@gnu.org>
13329
13330 * Makefile.in (abs_srcdir): Remove.
13331 (emacs): Unset EMACSLOADPATH.
13332
13333 2013-11-02 Glenn Morris <rgm@gnu.org>
13334
13335 * Makefile.in (EMACS): Use a relative filename.
13336 (abs_top_builddir): Remove.
13337 (custom-deps, finder-data, autoloads): Use --chdir.
13338
13339 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
13340
13341 Use relative filenames in TAGS files.
13342 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
13343 (lisptagsfiles4, TAGS): Use relative file names.
13344 (TAGS-LISP): Remove.
13345 (maintainer-clean): No more TAGS-LISP file.
13346
13347 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
13348 (lisptagsfiles4): Use absolute filenames again.
13349 (TAGS, TAGS-LISP): Not everything needs to run in one line.
13350 Remove all *loaddefs files, not just the first. Remove esh-groups.
13351 (maintainer-clean): Delete TAGS, TAGS-LISP.
13352
13353 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
13354
13355 * emacs-lisp/package.el (package-version-join):
13356 Recognize snapshot versions.
13357
13358 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
13359
13360 * subr.el (version-regexp-alist): Add support for snapshot versions.
13361
13362 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
13363
13364 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
13365 New function, replacement for `smie-rule-parent' for when we want to
13366 skip over our direct parent if it's an assignment token..
13367 (ruby-smie-rules): Use it.
13368
13369 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
13370
13371 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
13372 unconditionally. Remove now unnecessary forward declarations.
13373 Remove XEmacs-specific setup.
13374 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
13375 (ruby-font-lock-syntactic-keywords)
13376 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
13377 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
13378 (ruby-here-doc-end-syntax): Remove.
13379 (ruby-mode): Don't check whether `syntax-propertize-rules' is
13380 defined as function.
13381
13382 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
13383
13384 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
13385
13386 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
13387
13388 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
13389 table and abbrev table, `define-derived-mode' does that for us
13390 anyway.
13391
13392 2013-11-01 Glenn Morris <rgm@gnu.org>
13393
13394 * Makefile.in: Remove manual mh-e dependencies (writing .elc
13395 files is atomic for some time, so no parallel compilation issues).
13396
13397 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
13398
13399 * faces.el (face-x-resources): Add :distant-foreground.
13400 (region): Use :distant-foreground for gtk and ns.
13401
13402 2013-11-01 Tassilo Horn <tsdh@gnu.org>
13403
13404 Allow multiple bibliographies when BibLaTeX is used rather than
13405 BibTeX.
13406 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
13407 (reftex-locate-bibliography-files): Us it.
13408
13409 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
13410
13411 * image.el (image-type-header-regexps): Fix the 'pbm' part to
13412 allow comments in pbm files.
13413
13414 * term/w32-win.el (dynamic-library-alist): Support newer versions
13415 of libjpeg starting with v7: look only for the DLL from the
13416 version against which Emacs was built.
13417 Support versions of libpng beyond 1.4.x.
13418 Support libtiff v4.x.
13419
13420 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
13421
13422 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
13423 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
13424 Add property :safe.
13425 (ruby-deep-arglist): Add property :type.
13426
13427 2013-10-31 Glenn Morris <rgm@gnu.org>
13428
13429 * Makefile.in (custom-deps, finder-data): No need to setq the target
13430 variables, we are in the right directory and the defaults work fine.
13431
13432 2013-10-30 Glenn Morris <rgm@gnu.org>
13433
13434 * Makefile.in (autoloads): Do not use abs_lisp.
13435
13436 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13437 `newline' does not respect `standard-output', so use `princ'.
13438
13439 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
13440
13441 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
13442 * buff-menu.el (Buffer-menu--unmark): New function.
13443 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
13444
13445 2013-10-30 Glenn Morris <rgm@gnu.org>
13446
13447 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
13448
13449 * emacs-lisp/package.el (lm-homepage): Declare.
13450
13451 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
13452 Fix doc typos.
13453
13454 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
13455
13456 * Makefile.in (finder-data, autoloads, update-subdirs)
13457 (compile-main, compile-clean, compile-always, bootstrap-clean):
13458 Check return value of cd.
13459 (compile-calc): Remove.
13460
13461 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13462
13463 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
13464
13465 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
13466 (byte-compile-and-folded): New function.
13467 (=, <, >, <=, >=): Use it.
13468
13469 * dos-w32.el (minibuffer-history-case-insensitive-variables)
13470 (path-separator, null-device, buffer-file-coding-system)
13471 (lpr-headers-switches): Check system-type before modifying them.
13472 (find-buffer-file-type-coding-system): Mark obsolete.
13473 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
13474 find-file-not-found-set-buffer-file-coding-system.
13475 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
13476 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
13477 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
13478 (w32-direct-print-region-helper, w32-direct-print-region-function)
13479 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
13480 * startup.el (normal-top-level-add-subdirs-to-load-path):
13481 * ps-print.el (ps-print-region-function):
13482 * lpr.el (print-region-function): Use new name.
13483
13484 * subr.el (custom-declare-variable-early): Remove function.
13485 (custom-declare-variable-list): Remove var.
13486 (error, user-error): Remove `while' loop.
13487 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
13488 (user-emacs-directory-warning, locate-user-emacs-file):
13489 Move to files.el.
13490 * simple.el (read-quoted-char-radix, read-quoted-char):
13491 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
13492 Move from subr.el.
13493 * custom.el (custom-declare-variable-list): Don't process
13494 custom-declare-variable-list.
13495
13496 * progmodes/python.el (python-shell-get-buffer): New function.
13497 (python-shell-get-process): Use it.
13498 (python-shell-send-string): Always use utf-8 and add a cookie to tell
13499 Python which encoding was used. Don't split-string since we only care
13500 about the first line. Return the temp-file, if applicable.
13501 (python-shell-send-region): Tell compile.el how to turn locations in
13502 the temp-file into locations in the source buffer.
13503
13504 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * subr.el (undefined): Add missing behavior from the C code for
13507 unbound keys.
13508
13509 * rect.el: Use lexical-binding. Add new rectangular region support.
13510 (rectangle-mark): New command.
13511 (rectangle--region): New var.
13512 (deactivate-mark-hook): Reset rectangle--region.
13513 (rectangle--extract-region, rectangle--insert-for-yank)
13514 (rectangle--highlight-for-redisplay)
13515 (rectangle--unhighlight-for-redisplay): New functions.
13516 (region-extract-function, redisplay-unhighlight-region-function)
13517 (redisplay-highlight-region-function): Use them to handle
13518 rectangular region.
13519 * simple.el (region-extract-function): New var.
13520 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
13521 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
13522 (kill-region): Replace obsolete `yank-handler' arg with `region'.
13523 (copy-region-as-kill, kill-ring-save): Add `region' argument.
13524 (redisplay-unhighlight-region-function)
13525 (redisplay-highlight-region-function): New vars.
13526 (redisplay--update-region-highlight): New function.
13527 (pre-redisplay-function): Use it.
13528 (exchange-point-and-mark): Don't deactivate the mark before
13529 reactivate-it anyway.
13530 * comint.el (comint-kill-region): Remove yank-handler argument.
13531 * delsel.el (delete-backward-char, backward-delete-char-untabify)
13532 (delete-char): Remove property, since it's now part of their
13533 default behavior.
13534 (self-insert-iso): Remove property since this command doesn't exist.
13535
13536 * emacs-lisp/package.el (package--download-one-archive)
13537 (describe-package-1): Don't query the user about final newline.
13538
13539 2013-10-29 Daniel Colascione <dancol@dancol.org>
13540
13541 * net/tramp.el (tramp-methods): Document new functionality.
13542 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
13543 tramp-hostname-checker if method provides one instead of scanning
13544 argument list for "%h" to decide hostname acceptability.
13545
13546 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
13547
13548 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13549 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13550 Handle COPY-CONTENTS. (Bug#15737)
13551
13552 2013-10-28 Daiki Ueno <ueno@gnu.org>
13553
13554 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13555 Document that this option has no effect with GnuPG 2.0 (bug#15552).
13556
13557 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
13558
13559 * image.el (defimage, image-load-path): Doc fixes.
13560
13561 2013-10-27 Alan Mackenzie <acm@muc.de>
13562
13563 Indent statements in macros following "##" correctly.
13564 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13565 Modify the "#" arm of a cond form to handle "#" and "##" operators.
13566
13567 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13568
13569 * linum.el (linum-update-window): Fix boundary test (bug#13446).
13570
13571 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
13572
13573 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
13574 after `=' is probably a new expression.
13575
13576 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13577
13578 * man.el (man-imenu-title): New option.
13579 (Man-mode-map): Add menu. (Bug#15722)
13580 (Man-mode): Add imenu to menu.
13581
13582 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
13583
13584 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
13585 specific in what the first arg can be: a non-keyword word,
13586 string/regexp/percent literal opener, opening paren, or unary
13587 operator followed directly by word.
13588
13589 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13590
13591 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
13592 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
13593 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
13594 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
13595 Remove vars, they do not apply any more.
13596 (prolog-mode-abbrev-table): Remove redundant declaration.
13597 (prolog-upper-case-string, prolog-lower-case-string): Remove.
13598 (prolog-use-smie): Remove.
13599 (prolog-smie-rules): Add indentation rule for the if-then-else layout
13600 supported by prolog-electric-if-then-else-flag.
13601 (prolog-mode-variables, prolog-menu): Use setq-local.
13602 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
13603 Remove binding to `Backspace' since this key doesn't exist anyway.
13604 Remove bindings for electric self-inserting keys.
13605 (prog-mode): Assume it's defined.
13606 (prolog-post-self-insert): New function.
13607 (prolog-mode): Use it.
13608 (prolog-indent-line, prolog-indent-level)
13609 (prolog-find-indent-of-matching-paren)
13610 (prolog-indentation-level-of-line, prolog-goto-comment-column)
13611 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
13612 (prolog-goto-next-paren, prolog-in-string-or-comment)
13613 (prolog-tokenize, prolog-inside-mline-comment)
13614 (prolog-find-start-of-mline-comment): Remove functions.
13615 (prolog-find-unmatched-paren, prolog-clause-end)
13616 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
13617 (prolog-electric--if-then-else): Rename from
13618 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
13619 (prolog-tokenize-searchkey): Remove const.
13620 (prolog-clause-info): Use forward-sexp.
13621 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
13622 (prolog-electric-if-then-else): Remove commands.
13623 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
13624 for use in post-self-insert-hook.
13625 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
13626 for use in post-self-insert-hook.
13627 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
13628 for use in post-self-insert-hook.
13629 (prolog-electric--underscore): Rename from prolog-electric--underscore;
13630 adapt it for use in post-self-insert-hook.
13631
13632 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
13633
13634 * emacs-lisp/ert.el (ert-run-tests-interactively):
13635 Use `completing-read'. (Bug#9756)
13636
13637 2013-10-25 Eli Zaretskii <eliz@gnu.org>
13638
13639 * simple.el (line-move): Call line-move-1 instead of
13640 line-move-visual when the current window hscroll is zero, but
13641 temporary-goal-column indicates we will need to hscroll as result
13642 of the movement. (Bug#15712)
13643
13644 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
13645
13646 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
13647 capitalization. Use :visible instead of :active.
13648 Fix `ruby-indent-exp' reference. Add menu items for the generic
13649 commands that are used with SMIE.
13650 (ruby-do-end-to-brace): Insert space after `{'.
13651
13652 2013-10-25 John Anthony <john@jo.hnanthony.com>
13653
13654 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
13655
13656 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
13657
13658 2013-10-25 Glenn Morris <rgm@gnu.org>
13659
13660 * vc/vc.el (vc-print-log): Don't use a working revision unless
13661 one was explicitly specified. (Bug#15322)
13662
13663 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13664
13665 * subr.el (add-to-list): Preserve return value in compiler-macro
13666 (bug#15692).
13667
13668 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13669
13670 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
13671 result. Ask user to retry using '-all' flag. (Bug#15701)
13672
13673 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13674
13675 * emacs-lisp/smie.el: New smie-config system.
13676 (smie-config): New defcustom.
13677 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
13678 (smie-config-guess, smie-config-save): New commands.
13679 (smie-config--mode-local, smie-config--buffer-local)
13680 (smie-config--trace, smie-config--modefuns): New vars.
13681 (smie-config--advice, smie-config--mode-hook)
13682 (smie-config--setter, smie-config-local, smie-config--get-trace)
13683 (smie-config--guess-value, smie-config--guess): New functions.
13684 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
13685 text properties. Treat "string fence" syntax like string syntax.
13686
13687 * progmodes/sh-script.el (sh-use-smie): Change default.
13688 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
13689 (sh-var-value): Simplify by CSE.
13690 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
13691 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
13692 is used.
13693 (sh-guess-basic-offset): Use cl-incf.
13694 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
13695
13696 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
13697
13698 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
13699 (bug#15699).
13700
13701 2013-10-24 Glenn Morris <rgm@gnu.org>
13702
13703 * Makefile.in (abs_top_srcdir): Remove.
13704 (update-subdirs): Use relative path to update-subdirs.
13705
13706 2013-10-24 Eli Zaretskii <eliz@gnu.org>
13707
13708 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
13709 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
13710 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
13711 Call unmsys--file-name before expand-file-name, not after it.
13712
13713 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
13714
13715 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
13716 (ert-test-skipped): New error.
13717 (ert-skip, ert-stats-skipped): New defuns.
13718 (ert--skip-unless): New macro.
13719 (ert-test-skipped): New struct.
13720 (ert--run-test-debugger, ert-test-result-type-p)
13721 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
13722 (ert--stats-set-test-and-result, ert-char-for-test-result)
13723 (ert-string-for-test-result, ert-run-tests-batch)
13724 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
13725 Handle skipped tests. (Bug#9803)
13726
13727 2013-10-24 Glenn Morris <rgm@gnu.org>
13728
13729 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
13730
13731 * Makefile.in (abs_top_srcdir): New, set by configure.
13732 (update-subdirs): Correct build-aux location.
13733
13734 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
13735
13736 * vc/vc.el (vc-print-root-log): Always set `default-directory'
13737 value, whether we could auto-deduce `backend', or not.
13738
13739 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
13740 with parameters" example. Simplify the "is it block or is it
13741 hash" check, but also make it more thorough.
13742
13743 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
13744
13745 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
13746
13747 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13748
13749 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
13750 { if it is hanging.
13751
13752 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
13753 :before ";".
13754
13755 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
13756
13757 * progmodes/compile.el (compilation-directory-matcher)
13758 (compilation-page-delimiter):
13759 Support GNU Make-4.0 directory quoting. (Bug#15678)
13760
13761 2013-10-23 Leo Liu <sdl.web@gmail.com>
13762
13763 * ido.el (ido-tidy): Handle read-only text.
13764
13765 2013-10-23 Glenn Morris <rgm@gnu.org>
13766
13767 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
13768 (emacs, compile, compile-always):
13769 Quote entities that might contain whitespace.
13770 (custom-deps, finder-data, autoloads): Use abs_lisp.
13771 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13772 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13773 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
13774
13775 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
13776
13777 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
13778 Use `following-char'.
13779
13780 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
13783 * progmodes/ruby-mode.el (ruby-smie-rules):
13784 Remove corresponding workaround. Fix indentation rule of ";" so it
13785 also applies when ";" is the parent.
13786
13787 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
13788
13789 * frame.el (display-screens, display-pixel-height)
13790 (display-pixel-width, display-mm-width, display-backing-store)
13791 (display-save-under, display-planes, display-color-cells)
13792 (display-visual-class, display-monitor-attributes-list):
13793 Mention the optional ‘display’ argument in doc strings.
13794
13795 2013-10-22 Michael Gauland <mikelygee@amuri.net>
13796
13797 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
13798 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
13799
13800 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
13801
13802 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
13803 TODO. Add "." after " @ ".
13804 (ruby-smie--at-dot-call): New function. Checks if point at method
13805 call with explicit target.
13806 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
13807 to the method name tokens when it precedes them.
13808 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
13809 (ruby-smie-rules): Add rule for indentation before and after "."
13810 token.
13811
13812 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13813
13814 * textmodes/remember.el (remember-diary-extract-entries):
13815 Avoid add-to-list.
13816
13817 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
13818 an instruction.
13819
13820 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
13821
13822 * progmodes/ruby-mode.el (ruby-smie-grammar):
13823 Add (almost) all infix operators.
13824 (ruby-smie--implicit-semi-p): Add new operator chars.
13825
13826 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
13827 `smie-down-list'.
13828 (ruby-smie--args-separator-p): Check that there's no newline
13829 between method call and its arguments.
13830
13831 2013-10-20 Alan Mackenzie <acm@muc.de>
13832
13833 Allow comma separated lists after Java "implements".
13834
13835 * progmodes/cc-engine.el (c-backward-over-enum-header):
13836 Parse commas.
13837 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
13838 from a "disallowed" list in enum fontification.
13839
13840 2013-10-20 Johan Bockgård <bojohan@gnu.org>
13841
13842 * startup.el (default-frame-background-mode): Remove unused defvar.
13843
13844 * progmodes/verilog-mode.el (verilog-mode): Don't set
13845 comment-indent-function globally.
13846
13847 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
13848
13849 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
13850 Move Info menu item creation to ns-win.el.
13851
13852 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
13853 in menu bar.
13854
13855 * menu-bar.el: Move GNUstep specific menus...
13856
13857 * term/ns-win.el (ns-initialize-window-system): ... to here.
13858
13859 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13860
13861 * simple.el (newline): Only run post-self-insert-hook when
13862 called interactively.
13863
13864 2013-10-19 Johan Bockgård <bojohan@gnu.org>
13865
13866 * icomplete.el (icomplete-with-completion-tables): Add :version.
13867
13868 2013-10-19 Alan Mackenzie <acm@muc.de>
13869
13870 Fix fontification bugs with constructors and const.
13871
13872 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
13873 CASE 2) Remove the check for the absence of a suffix construct
13874 after a function declaration with only types (no identifiers) in
13875 the parentheses. Also, accept a function declaration with just a
13876 type inside the parentheses, if this type can be positively
13877 recognised as such, or if a prefix keyword like "explicit" nails
13878 down the construct as a declaration.
13879
13880 2013-10-19 Eli Zaretskii <eliz@gnu.org>
13881
13882 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
13883 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
13884 the problem whereby selecting a menu item that leads to a
13885 minibuffer prompt moves the cursor out of the minibuffer window,
13886 making it hard to type at the prompt. Suggested by Stefan Monnier
13887 <monnier@iro.umontreal.ca>.
13888
13889 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
13890
13891 * menu-bar.el: Don't make Services menu.
13892
13893 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13894
13895 * ffap.el: Handle "/usr/include/c++/<version>" directories.
13896 (ffap-alist): Use ffap-c++-mode for c++-mode.
13897 (ffap-c++-path): New variable.
13898 (ffap-c++-mode): New function.
13899
13900 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
13901
13902 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
13903
13904 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
13905
13906 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
13907 introduced on 2013-09-08, which results in an infinite loop
13908 requesting a password.
13909
13910 2013-10-18 Glenn Morris <rgm@gnu.org>
13911
13912 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
13913
13914 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
13915
13916 Sync with upstream verilog-mode revision 1a6ecec7.
13917 * progmodes/verilog-mode.el (verilog-mode-version): Update.
13918 (verilog-mode-release-date): Remove.
13919 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
13920 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
13921 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
13922 (verilog-auto-tieoff-ignore-regexp)
13923 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
13924 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
13925 (verilog-signals-with, verilog-dir-cache-preserving)
13926 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
13927 Doc fixes.
13928 (verilog-case-fold): New option, to control case folding in
13929 regexp searches, bug597.
13930 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
13931 (verilog-string-match-fold, verilog-in-paren-count)
13932 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
13933 (verilog-at-close-struct-p): New functions.
13934 (verilog-beg-block-re-ordered, verilog-extended-case-re)
13935 (verilog-forward-sexp, verilog-set-auto-endcomments)
13936 (verilog-leap-to-case-head): Handle "unique0" case.
13937 (verilog-in-constraint-re): New constant.
13938 (verilog-keywords, verilog-type-font-keywords):
13939 Add some SystemVerilog 1800-2012 keywords.
13940 (verilog-label-be): Remove unimplemented argument, bug669.
13941 (verilog-batch-execute-func): When batch expanding clear
13942 create-lockfiles to prevent spurious user locks when a file ends
13943 up not changing.
13944 (verilog-calculate-indent, verilog-calc-1)
13945 (verilog-at-close-constraint-p, verilog-at-constraint-p)
13946 (verilog-do-indent): Fix indentation of nested constraints
13947 and structures.
13948 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
13949 (verilog-auto-inst-param): Use verilog-string-match-fold.
13950 (verilog-read-inst-module-matcher):
13951 Fix AUTOINST on gate primitives with #1.
13952 (verilog-read-decls): Fix double-declaring user-defined typed signals.
13953 Reads all user-defined typed variables.
13954 (verilog-read-defines): Fix reading definitions inside comments, bug647.
13955 (verilog-signals-matching-regexp)
13956 (verilog-signals-not-matching-regexp, verilog-auto):
13957 Respect verilog-case-fold.
13958 (verilog-diff-report): Fix line count.
13959 (verilog-auto-assign-modport): Remove unused local `modi'.
13960 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
13961 better handle multidimensional arrays.
13962 Fix packed array ports misadding bit index in AUTOINST, bug637.
13963 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
13964 to not double-declare existing outputs and inputs, respectively.
13965 (verilog-template-map): Bind U to verilog-sk-uvm-component.
13966 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
13967 (verilog-sk-uvm-component): New skeleton.
13968 (verilog-submit-bug-report): Add verilog-case-fold,
13969 remove verilog-mode-release-date.
13970
13971 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
13972
13973 * subr.el (sit-for): Call (input-pending-p t) so as to behave
13974 as before.
13975
13976 2013-10-18 Reuben Thomas <rrt@sc3d.org>
13977
13978 * textmodes/remember.el (remember): Set buffer-offer-save in
13979 remember buffers (bug#13566).
13980
13981 2013-10-18 Daniel Colascione <dancol@dancol.org>
13982
13983 When evaluating forms in ielm, direct standard output to ielm
13984 buffer. Add new ielm-return-for-effect command. Remove trailing
13985 whitespace throughout.
13986
13987 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
13988 (ielm-return-for-effect): New command.
13989 (ielm-send-input): Accept optional `for-effect' parameter.
13990 (ielm-eval-input): Accept optional `for-effect' parameter.
13991 Bind `standard-output' to stream we create using
13992 `ielm-standard-output-impl'. Suppress printing result when
13993 `for-effect'.
13994 (ielm-standard-output-impl): New function.
13995 (inferior-emacs-lisp-mode): Explain new features in documentation.
13996
13997 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
13998
13999 Code cleanup.
14000
14001 * net/tramp.el (tramp-debug-message): Do not check for connection
14002 buffer.
14003 (tramp-message): Use "vector" connection property.
14004
14005 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
14006 (tramp-equal-remote, tramp-eshell-directory-change)
14007 * net/tramp-adb.el (tramp-adb-handle-copy-file)
14008 (tramp-adb-handle-rename-file)
14009 * net/tramp-cmds.el (tramp-list-remote-buffers)
14010 (tramp-cleanup-connection, tramp-cleanup-this-connection)
14011 * net/tramp-compat.el (tramp-compat-process-running-p)
14012 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
14013 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
14014 (tramp-gvfs-handle-rename-file)
14015 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14016 (tramp-set-file-uid-gid)
14017 * net/tramp-smb.el (tramp-smb-handle-copy-file)
14018 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
14019 of `file-remote-p'.
14020
14021 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
14022 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14023 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
14024 (tramp-gw-open-network-stream): Suppress unrelated traces.
14025
14026 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
14027 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14028 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14029 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
14030 connection property.
14031
14032 * net/tramp-cache.el (top): Suppress traces when reading
14033 persistency file.
14034
14035 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14036 Refactor common code. Improve debug message.
14037 (tramp-maybe-open-connection)
14038 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
14039 connection buffer too early.
14040
14041 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
14042 from `tramp-smb-actions-with-acl'.
14043 (tramp-smb-actions-set-acl): New defconst.
14044 (tramp-smb-handle-copy-directory)
14045 (tramp-smb-action-get-acl): New defun, renamed from
14046 `tramp-smb-action-with-acl'.
14047 (tramp-smb-action-set-acl): New defun.
14048 (tramp-smb-handle-set-file-acl): Rewrite.
14049
14050 2013-10-17 Glenn Morris <rgm@gnu.org>
14051
14052 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
14053
14054 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 * skeleton.el (skeleton-newline): Remove.
14057 (skeleton-internal-1): Use (insert "\n") instead.
14058
14059 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
14060 let-bindings.
14061
14062 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
14063 forward-sexp-function while we redo its job (bug#15613).
14064
14065 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
14066
14067 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
14068 represented by lists.
14069
14070 2013-10-16 Glenn Morris <rgm@gnu.org>
14071
14072 * tmm.el (tmm--history): New dynamic variable.
14073 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
14074
14075 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
14076
14077 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
14078 (tramp-smb-errors): Add error messages.
14079 (tramp-smb-actions-with-acl): New defconst.
14080 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
14081 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
14082 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
14083 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
14084 (tramp-smb-get-stat-capability): Fix tests.
14085
14086 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
14087
14088 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
14089 (bug#15580).
14090
14091 2013-10-16 Glenn Morris <rgm@gnu.org>
14092
14093 * ansi-color.el (ansi-color-drop-regexp):
14094 Add 1J, 1K, 2K. (Bug#15617)
14095
14096 * files.el (hack-local-variables--warned-lexical): New.
14097 (hack-local-variables):
14098 Warn about misplaced lexical-binding. (Bug#15616)
14099
14100 * net/eww.el (eww-render): Always set eww-current-url,
14101 and update header line. (Bug#15622)
14102 (eww-display-html): ... Rather than just doing it here.
14103
14104 2013-10-15 Eli Zaretskii <eliz@gnu.org>
14105
14106 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
14107 menu navigations commands.
14108
14109 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
14110
14111 * progmodes/subword.el (subword-capitalize): Be careful when
14112 the search for [[:alpha:]] fails (bug#15580).
14113
14114 2013-10-14 Eli Zaretskii <eliz@gnu.org>
14115
14116 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
14117 to commands that scroll the menu.
14118
14119 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
14120
14121 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
14122 Handle methods ending with `?' and `!'.
14123
14124 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
14125
14126 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
14127 `japanese-cp932' to `cp932' to fix the problem where saving a
14128 source file written in Shift_JIS twice would end up having
14129 `coding: japanese-cp932' which Ruby could not recognize.
14130 (ruby-mode-set-encoding): Add support for encodings mapped to nil
14131 in `ruby-encoding-map'.
14132 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
14133 doesn't need to be explicitly declared in magic comment.
14134 (ruby-encoding-map): Add type declaration for better customize UI.
14135
14136 2013-10-13 Glenn Morris <rgm@gnu.org>
14137
14138 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
14139 Occur buffers are read-only. http://bugs.debian.org/720775
14140
14141 * emacs-lisp/authors.el (authors-fixed-entries):
14142 Comment out old alpha stuff.
14143
14144 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
14145
14146 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
14147 to `after-save-hook' instead of `before-save-hook'.
14148 (ruby-mode-set-encoding): Use the value of coding system used to
14149 write the file. Call `basic-save-buffer-1' after modifying the
14150 buffer.
14151
14152 2013-10-13 Alan Mackenzie <acm@muc.de>
14153
14154 Fix indentation/fontification of Java enum with
14155 "implements"/generic.
14156
14157 * progmodes/cc-engine.el (c-backward-over-enum-header):
14158 Extracted from the three other places and enhanced to handle generics.
14159 (c-inside-bracelist-p): Uses new function above.
14160 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
14161 function above.
14162 (c-font-lock-enum-tail): Uses new function above.
14163
14164 2013-10-13 Kenichi Handa <handa@gnu.org>
14165
14166 * international/mule-cmds.el (select-safe-coding-system): Remove a
14167 superfluous condition in chekcing whether a coding system is safe
14168 or not.
14169
14170 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
14171
14172 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
14173
14174 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
14175
14176 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
14177
14178 2013-10-13 Glenn Morris <rgm@gnu.org>
14179
14180 * menu-bar.el (menu-bar-update-buffers):
14181 Unify Buffers menu prompt string. (Bug#15576)
14182
14183 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
14184
14185 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
14186 Add some entries.
14187 (authors-fixed-entries): Use accented form of name.
14188
14189 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14190
14191 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
14192 method calls (bug#15594).
14193 (ruby-smie--args-separator-p): New function.
14194 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
14195 recognize paren-free method calls.
14196
14197 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
14198 internals of universal-argument.
14199
14200 2013-10-11 Eli Zaretskii <eliz@gnu.org>
14201
14202 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
14203 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
14204 dropped menu on second mouse click on the menu bar.
14205
14206 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14207
14208 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
14209 (explicit-shell-file-name): Declare.
14210 (sh--vars-before-point, sh--cmd-completion-table): New functions.
14211 (sh-completion-at-point-function): New function.
14212 (sh-mode): Use it.
14213 (sh-smie--keyword-p): Remove unused argument.
14214 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
14215 vars.
14216 (sh-set-shell): Always setup SMIE, even if we use the
14217 old indentation code.
14218
14219 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
14220
14221 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
14222 cases of ? and =.
14223 (ruby-smie-rules): Simplify the "do" rule. The cases when the
14224 predicate would return nil are almost non-existent.
14225 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
14226
14227 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
14228 cache also after commands that modify the buffer but don't move
14229 point.
14230
14231 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
14232
14233 * env.el (substitute-env-in-file-name): New function.
14234 (substitute-env-vars): Extend the meaning of the optional arg.
14235
14236 2013-10-10 Eli Zaretskii <eliz@gnu.org>
14237
14238 * term/w32-win.el (dynamic-library-alist): Define separate lists
14239 of GIF DLLs for versions before and after 5.0.0 of giflib.
14240 (Bug#15531)
14241
14242 2013-10-10 João Távora <joaotavora@gmail.com>
14243
14244 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
14245 not locked, use last revision and current source as
14246 defaults. (Bug#15569)
14247
14248 2013-10-10 Masatake YAMATO <yamato@redhat.com>
14249
14250 * menu-bar.el (menu-bar-open): Don't use popup-menu if
14251 menu-bar is hidden.
14252
14253 2013-10-10 Martin Rudalics <rudalics@gmx.at>
14254
14255 * window.el (pop-to-buffer-same-window): Fix doc-string.
14256 (Bug#15492)
14257
14258 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
14259
14260 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
14261
14262 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
14263
14264 * calendar/icalendar.el (icalendar-import-file):
14265 Fix interactive spec. (Bug#15482)
14266
14267 2013-10-10 Glenn Morris <rgm@gnu.org>
14268
14269 * desktop.el (desktop-save): Default to saving in .emacs.d,
14270 since PWD is no longer in desktop-path by default. (Bug#15319)
14271
14272 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
14273 now that text mode has a menu with the same entry.
14274 (menu-bar-text-mode-auto-fill): Remove now unused func.
14275 * textmodes/text-mode.el (text-mode-map):
14276 Use auto-fill help text from menu-bar.el.
14277
14278 2013-10-10 John Anthony <john@jo.hnanthony.com>
14279
14280 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
14281
14282 2013-10-09 Juri Linkov <juri@jurta.org>
14283
14284 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
14285 instead of this-command-keys. Add universal-argument-more and
14286 universal-argument-minus to the list of prefix commands. (Bug#15568)
14287
14288 2013-10-09 Glenn Morris <rgm@gnu.org>
14289
14290 * vc/vc-svn.el (vc-svn-create-repo):
14291 Expand paths in file://... url. (Bug#15446)
14292
14293 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
14294 Add some entries.
14295 (authors): Remove unused local variables.
14296
14297 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
14298
14299 * profiler.el: Create a more coherent calltree from partial backtraces.
14300 (profiler-format): Hide the tail with `invisible' so that C-s can still
14301 find the hidden elements.
14302 (profiler-calltree-depth): Don't recurse so enthusiastically.
14303 (profiler-function-equal): New hash-table-test.
14304 (profiler-calltree-build-unified): New function.
14305 (profiler-calltree-build): Use it.
14306 (profiler-report-make-name-part): Indent the calltree less.
14307 (profiler-report-mode): Add visibility specs for profiler-format.
14308 (profiler-report-expand-entry, profiler-report-toggle-entry):
14309 Expand the whole subtree when provided with a prefix arg.
14310
14311 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
14312
14313 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
14314 iuwu-mod token.
14315 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
14316 hanging iuwu-mod token.
14317 (ruby-smie--forward-token): Do not include a dot after a token in
14318 that token.
14319 (ruby-smie--backward-token): Likewise.
14320
14321 2013-10-08 Juri Linkov <juri@jurta.org>
14322
14323 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
14324 to isearch-other-control-char.
14325 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
14326 and isearch-post-command-hook to post-command-hook.
14327 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
14328 and isearch-post-command-hook from post-command-hook.
14329 (isearch-unread-key-sequence)
14330 (isearch-reread-key-sequence-naturally)
14331 (isearch-lookup-scroll-key, isearch-other-control-char)
14332 (isearch-other-meta-char): Remove functions.
14333 (isearch-pre-command-hook, isearch-post-command-hook):
14334 New functions based on isearch-other-meta-char rewritten
14335 relying on the new behavior of overriding-terminal-local-map
14336 that does not replace the local keymaps any more. (Bug#15200)
14337
14338 2013-10-08 Eli Zaretskii <eliz@gnu.org>
14339
14340 Support menus on text-mode terminals.
14341 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
14342 functionality.
14343
14344 * tooltip.el (tooltip-mode): Don't error out on TTYs.
14345
14346 * menu-bar.el (popup-menu, popup-menu-normalize-position):
14347 Move here from mouse.el.
14348 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
14349 and arrow keys.
14350 (tty-menu-navigation-map): New map for TTY menu navigation.
14351
14352 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
14353
14354 * frame.el (display-mouse-p): Report text-mode mouse as available
14355 on w32.
14356 (display-popup-menus-p): Report availability if mouse is
14357 available; don't condition on window-system.
14358
14359 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
14360 (tty-menu-selected-face): New faces.
14361
14362 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
14363
14364 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
14365 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
14366 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
14367 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
14368 New constants.
14369 (lisp-mode-variables): New `elisp' argument.
14370 (emacs-lisp-mode): Use it.
14371 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
14372 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
14373
14374 * indent.el: Use lexical-binding.
14375 (indent-region): Add progress reporter.
14376 (tab-stop-list): Make it implicitly extend to infinity by repeating the
14377 last step.
14378 (indent--next-tab-stop): New function to implement this behavior.
14379 (tab-to-tab-stop, move-to-tab-stop): Use it.
14380
14381 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
14382
14383 * indent.el (indent-rigidly--current-indentation): New function.
14384 (indent-rigidly-map): New var.
14385 (indent-rigidly): Use it to provide interactive mode (bug#8196).
14386
14387 2013-10-08 Bastien Guerry <bzg@gnu.org>
14388
14389 * register.el (insert-register): Fix 2013-10-07 change.
14390
14391 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
14392
14393 * progmodes/perl-mode.el: Use lexical-binding.
14394 Remove redundant :group args.
14395 (perl-nochange): Change default to be closer to other major modes's
14396 standard behavior.
14397 (perl-indent-line): Don't consider text on current line as a
14398 valid beginning of function from which to indent.
14399
14400 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
14401 with more than one argument (bug#15538).
14402
14403 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
14404
14405 * vc/pcvs.el: Use lexical-binding.
14406 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
14407 environment of `eval'.
14408 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
14409 than a list of expressions. Adjust callers.
14410 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
14411
14412 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
14413
14414 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
14415 case of the dot in a chained method call being on the following line.
14416
14417 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14418
14419 * electric.el (electric-indent-inhibit): New var.
14420 (electric-indent-post-self-insert-function): Use it.
14421 * progmodes/python.el (python-mode): Set it.
14422
14423 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
14424 open braces.
14425
14426 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
14427
14428 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
14429 (css-mode): Use electric-indent-chars.
14430
14431 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
14432 (font-lock-beg, font-lock-end): Move before first use.
14433 (nxml-mode): Use syntax-propertize-function.
14434 (nxml-after-change, nxml-after-change1): Adjust accordingly.
14435 (nxml-extend-after-change-region): Remove.
14436 * nxml/xmltok.el: Use lexical-binding.
14437 (xmltok-save): Use `declare'.
14438 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
14439 * nxml/nxml-util.el: Use lexical-binding.
14440 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
14441 Use `declare'.
14442 * nxml/nxml-ns.el: Use lexical-binding.
14443 (nxml-ns-save): Use `declare'.
14444 (nxml-ns-prefixes-for): Avoid add-to-list.
14445 * nxml/rng-match.el: Use lexical-binding.
14446 (rng--ipattern): Use cl-defstruct.
14447 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
14448 (rng-cons-group-after, rng-subst-group-after)
14449 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
14450 Use closures instead of `(lambda...).
14451
14452 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
14453
14454 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
14455 of BEG and END.
14456
14457 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14458 Use `tramp-handle-insert-file-contents'.
14459 (tramp-gvfs-handle-insert-file-contents): Remove function.
14460
14461 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14462 Use `save-restriction' in order to keep markers.
14463
14464 * net/trampver.el: Update release number.
14465
14466 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14467
14468 * progmodes/compile.el (compilation-parse-errors):
14469 Use compilation--put-prop.
14470 (compilation--ensure-parse): Check compilation-multiline.
14471
14472 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
14473
14474 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
14475 lexical-binding.
14476
14477 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
14478
14479 * progmodes/ruby-mode.el: Fix recently added tests.
14480 (ruby-smie-grammar): Add - and +.
14481 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
14482 (ruby-smie--backward-id): New functions.
14483 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
14484 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
14485 any more.
14486
14487 2013-10-07 Leo Liu <sdl.web@gmail.com>
14488
14489 * register.el (register-preview-delay)
14490 (register-preview-functions): New variables.
14491 (register-read-with-preview, register-preview)
14492 (register-describe-oneline): New functions.
14493 (point-to-register, window-configuration-to-register)
14494 (frame-configuration-to-register, jump-to-register)
14495 (number-to-register, view-register, insert-register)
14496 (copy-to-register, append-to-register, prepend-to-register)
14497 (copy-rectangle-to-register): Use register-read-with-preview to
14498 read register. (Bug#15525)
14499
14500 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
14501
14502 * net/network-stream.el (network-stream-open-starttls): Don't add
14503 --insecure if it's already present, because that gnutls-cli
14504 rejects getting that parameter twice.
14505
14506 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
14507
14508 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
14509 keyword, too.
14510
14511 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
14512
14513 * newcomment.el (comment-use-global-state): Change default value
14514 to t, mark obsolete (Bug#15251).
14515 (comment-beginning): In addition to `comment-to-syntax', check the
14516 value of `comment-use-global-state'.
14517
14518 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14519
14520 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
14521 (ruby-comment-column): Follow the global default, by default.
14522 (ruby-smie-grammar): Add assignment syntax.
14523 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
14524 open-paren, a comma, or a \.
14525 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
14526 and line continuations.
14527 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
14528 followed by implicit semi-colons. Add rule for string concatenation
14529 and for indentation at BOB.
14530 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
14531
14532 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
14533 calling next-sexp, since next-token may have skipped chars which
14534 next-sexp doesn't know should be skipped!
14535
14536 2013-10-05 Leo Liu <sdl.web@gmail.com>
14537
14538 * progmodes/octave.el (octave-send-region):
14539 Call compilation-forget-errors.
14540
14541 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
14542
14543 * vc/vc-svn.el (vc-svn-find-admin-dir):
14544 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
14545 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
14546 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
14547 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
14548
14549 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
14550
14551 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
14552
14553 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
14554
14555 * subr.el (read-passwd): Hide chars even when called within a context
14556 where after-change-functions is disabled (bug#15501).
14557 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
14558 until we removed ourself from overriding-terminal-local-map.
14559
14560 2013-10-04 Leo Liu <sdl.web@gmail.com>
14561
14562 * progmodes/octave.el (inferior-octave-mode):
14563 Call compilation-forget-errors.
14564
14565 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
14566
14567 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
14568
14569 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
14570
14571 * net/secrets.el (secrets-create-collection): Add optional
14572 argument ALIAS. Use proper Label keyword. Append ALIAS as
14573 dbus-call-method argument. (Bug#15516)
14574
14575 2013-10-04 Leo Liu <sdl.web@gmail.com>
14576
14577 * progmodes/octave.el (inferior-octave-error-regexp-alist)
14578 (inferior-octave-compilation-font-lock-keywords): New variables.
14579 (compilation-error-regexp-alist)
14580 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
14581 (inferior-octave-mode): Use compilation-shell-minor-mode.
14582
14583 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
14584
14585 * minibuffer.el (completion--replace): Be careful that `end' might be
14586 a marker.
14587
14588 2013-10-03 Daiki Ueno <ueno@gnu.org>
14589
14590 Add support for package signature checking.
14591 * emacs-lisp/package.el (url-http-file-exists-p)
14592 (epg-make-context, epg-context-set-home-directory)
14593 (epg-verify-string, epg-context-result-for)
14594 (epg-signature-status, epg-signature-to-string)
14595 (epg-check-configuration, epg-configuration)
14596 (epg-import-keys-from-file): Declare.
14597 (package-check-signature): New user option.
14598 (package-unsigned-archives): New user option.
14599 (package-desc): Add `signed' field.
14600 (package-load-descriptor): Set `signed' field if .signed file exists.
14601 (package--archive-file-exists-p): New function.
14602 (package--check-signature): New function.
14603 (package-install-from-archive): Check package signature.
14604 (package--download-one-archive): Check archive signature.
14605 (package-delete): Remove .signed file.
14606 (package-import-keyring): New command.
14607 (package-refresh-contents): Import default keyring.
14608 (package-desc-status): Add "unsigned" status.
14609 (describe-package-1, package-menu--print-info)
14610 (package-menu-mark-delete, package-menu--find-upgrades)
14611 (package-menu--status-predicate): Support "unsigned" status.
14612
14613 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14614
14615 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
14616 the new compilation scheme using the new byte-codes.
14617
14618 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
14619 (byte-pophandler): New byte codes.
14620 (byte-goto-ops): Adjust accordingly.
14621 (byte-compile--use-old-handlers): New var.
14622 (byte-compile-catch): Use new byte codes depending on
14623 byte-compile--use-old-handlers.
14624 (byte-compile-condition-case--old): Rename from
14625 byte-compile-condition-case.
14626 (byte-compile-condition-case--new): New function.
14627 (byte-compile-condition-case): New function that dispatches depending
14628 on byte-compile--use-old-handlers.
14629 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
14630 when we can.
14631
14632 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
14633 Optimize under `condition-case' and `catch' if
14634 byte-compile--use-old-handlers is nil.
14635 (disassemble-offset): Handle new bytecodes.
14636
14637 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14638
14639 * subr.el (error): Use `declare'.
14640 (decode-char, encode-char): Use advertised-calling-convention instead
14641 of the docstring to discourage use of the `restriction' arg.
14642
14643 2013-10-03 Daiki Ueno <ueno@gnu.org>
14644
14645 * epg.el (epg-verify-file): Add a comment saying that it does not
14646 notify verification error as a return value nor a signal.
14647 (epg-verify-string): Ditto.
14648
14649 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14650
14651 * progmodes/compile.el (compilation-start): Try globbing the arg to
14652 `cd' (bug#15417).
14653
14654 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
14655
14656 Sync with Tramp 2.2.8.
14657
14658 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
14659 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
14660 * net/trampver.el: Update release number.
14661
14662 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
14663
14664 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
14665 and default-process-coding-system for darwin only.
14666
14667 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14668
14669 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
14670
14671 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
14672
14673 * vc/vc-git.el (vc-git-grep): Disable pager.
14674
14675 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
14676
14677 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
14678 Use :url instead of :homepage, as per
14679 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
14680
14681 * newcomment.el (comment-beginning): When `comment-use-syntax' is
14682 non-nil, use `syntax-ppss' (Bug#15251).
14683
14684 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14685
14686 * progmodes/octave.el (inferior-octave-startup-file):
14687 Prefer ~/.emacs.d/init_octave.m.
14688
14689 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
14690
14691 * emacs-lisp/package.el (package-desc-from-define):
14692 Accept additional arguments as plist, convert them to an alist and store
14693 them in the `extras' slot.
14694 (package-generate-description-file): Convert extras alist back to
14695 plist and append to the `define-package' form arguments.
14696 (package--alist-to-plist): New function.
14697 (package--ac-desc): Add `extras' slot.
14698 (package--add-to-archive-contents): Check if the archive-contents
14699 vector is long enough, and if it is, pass its `extras' slot value
14700 to `package-desc-create'.
14701 (package-buffer-info): Call `lm-homepage', pass the returned value
14702 to `package-desc-from-define'.
14703 (describe-package-1): Render the homepage button (Bug#13291).
14704
14705 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14706 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
14707
14708 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
14709
14710 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
14711 and default-process-coding-system to utf-8-unix (Bug#15402).
14712
14713 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
14714
14715 * subr.el (looking-back): Do not recommend using looking-back.
14716
14717 2013-09-28 Alan Mackenzie <acm@muc.de>
14718
14719 Fix indentation/fontification of Java enum with "implements".
14720
14721 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
14722 regexp which matches "implements", etc., in Java.
14723 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
14724 specifier clauses coming after "enum".
14725 * progmodes/cc-fonts.el (c-font-lock-declarations)
14726 (c-font-lock-enum-tail): Check for extra specifier clauses coming
14727 after "enum".
14728
14729 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
14730
14731 * faces.el (region): Change ns_selection_color to
14732 ns_selection_fg_color, add ns_selection_bg_color.
14733
14734 2013-09-28 Leo Liu <sdl.web@gmail.com>
14735
14736 * progmodes/octave.el (inferior-octave-completion-table)
14737 (inferior-octave-completion-at-point): Minor tweaks.
14738
14739 * textmodes/ispell.el (ispell-lookup-words): Rename from
14740 lookup-words. (Bug#15460)
14741 (lookup-words): Obsolete.
14742 (ispell-complete-word, ispell-command-loop): All uses changed.
14743
14744 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14745
14746 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
14747 (octave-mode-menu): Add octave-send-buffer.
14748 (octave-send-buffer): New function.
14749
14750 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14751
14752 * progmodes/octave.el (octave-mode-map): Add key binding for
14753 octave-lookfor.
14754 (octave-mode-menu): Add octave-lookfor.
14755 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
14756 octave-lookfor.
14757 (octave-lookfor): New function.
14758
14759 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14760
14761 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
14762 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
14763 its convention.
14764 (cl--loop-set-iterator-function): New function.
14765 (cl-loop): Adjust accordingly, so as not to use cl-subst.
14766 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
14767 Bind `it' with `let' instead of substituting it with `cl-subst'.
14768 (cl--unused-var-p): New function.
14769 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
14770 Eliminate some unused variable warnings (bug#15326).
14771
14772 2013-09-27 Tassilo Horn <tsdh@gnu.org>
14773
14774 * doc-view.el (doc-view-scale-reset): Rename from
14775 `doc-view-reset-zoom-level'.
14776 (doc-view-scale-adjust): New command.
14777 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
14778 `doc-view-scale-adjust'.
14779
14780 2013-09-26 Tassilo Horn <tsdh@gnu.org>
14781
14782 * doc-view.el (doc-view-reset-zoom-level): New command.
14783 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
14784 zoom commands (bug#15466).
14785
14786 2013-09-26 Kenichi Handa <handa@gnu.org>
14787
14788 * international/quail.el (quail-help): Make it not a command.
14789
14790 2013-09-26 Leo Liu <sdl.web@gmail.com>
14791
14792 * minibuffer.el (completion-all-sorted-completions): Make args
14793 optional as they are.
14794
14795 2013-09-25 Daniel Colascione <dancol@dancol.org>
14796
14797 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
14798 specs are and that they're not evaluated.
14799
14800 2013-09-24 Sam Steingold <sds@gnu.org>
14801
14802 * midnight.el (clean-buffer-list-kill-regexps)
14803 (clean-buffer-list-kill-buffer-names): Update for the new Man
14804 buffer naming which includes the object name.
14805
14806 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14807
14808 * eshell/esh-cmd.el (eshell--sep-terms): New var.
14809 (eshell-parse-command, eshell-parse-pipeline): Use it since
14810 eshell-separate-commands requires a dynamic scoped var.
14811 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
14812
14813 2013-09-23 Leo Liu <sdl.web@gmail.com>
14814
14815 * autoinsert.el (auto-insert-alist): Make the value of
14816 lexical-binding match its file setting.
14817
14818 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
14819
14820 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
14821
14822 * autoarg.el (autoarg-kp-digit-argument):
14823 * electric.el (Electric-command-loop):
14824 * kmacro.el (kmacro-step-edit-insert):
14825 Do not set universal-argument-num-events.
14826
14827 2013-09-22 Leo Liu <sdl.web@gmail.com>
14828
14829 * files.el (interpreter-mode-alist): Add octave.
14830
14831 2013-09-21 Alan Mackenzie <acm@muc.de>
14832
14833 C++: fontify identifier in declaration following "public:" correctly.
14834 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
14835 to match "public", etc.
14836 (c-decl-prefix-re): Add ":" into the C++ value.
14837 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
14838 bit. Add a check for a ":" preceded by "public", etc.
14839
14840 2013-09-21 Eli Zaretskii <eliz@gnu.org>
14841
14842 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
14843 recognized by GDB 7.5 and later.
14844
14845 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
14846
14847 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
14848
14849 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14850
14851 * subr.el (internal--call-interactively): New const.
14852 (called-interactively-p): Use it (bug#3984).
14853
14854 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
14855
14856 * vc/pcvs.el (cvs-mode-ignore):
14857 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
14858 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
14859
14860 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
14863 (eshell-ls-orig-insert-directory): Remove.
14864 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
14865 (eshell-ls-use-in-dired): Use advice-add/remove.
14866 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
14867 Add `orig-fun' arg for use in :around advice.
14868 Make it check (redundantly) eshell-ls-use-in-dired.
14869
14870 2013-09-19 Glenn Morris <rgm@gnu.org>
14871
14872 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
14873
14874 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
14875
14876 * emacs-lisp/eieio.el (class-parent): Undo previous change.
14877
14878 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
14879
14880 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
14881 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
14882 (tramp-get-remote-python): New defuns.
14883 (tramp-get-remote-uid-with-perl)
14884 (tramp-get-remote-gid-with-perl): New defuns. Perl code
14885 contributed by yary <not.com@gmail.com> (tiny change).
14886 (tramp-get-remote-uid-with-python)
14887 (tramp-get-remote-gid-with-python): New defuns. Python code
14888 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
14889 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
14890
14891 2013-09-19 Glenn Morris <rgm@gnu.org>
14892
14893 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
14894
14895 * eshell/em-unix.el (eshell-remove-entries):
14896 Rename argument to avoid name-clash with global `top-level'.
14897
14898 * eshell/esh-proc.el (eshell-kill-process-function):
14899 Remove eshell-reset-after-proc from eshell-kill-hook if present.
14900 (eshell-reset-after-proc): Remove unused arg `proc'.
14901
14902 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
14903 (directory-files-and-attributes): Mark unused arg.
14904
14905 * eshell/em-unix.el (eshell-remove-entries):
14906 Remove unused arg `path'. Update callers.
14907
14908 * eshell/em-hist.el (eshell-hist-parse-arguments):
14909 Remove unused arg `silent'. Update callers.
14910
14911 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
14912 Fix (f)boundp mix-up.
14913
14914 * eshell/em-smart.el (eshell-smart-scroll-window)
14915 (eshell-disable-after-change):
14916 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
14917
14918 2013-09-18 Alan Mackenzie <acm@muc.de>
14919
14920 Fix fontification of type when followed by "const".
14921 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
14922 "known" types from fontification.
14923
14924 2013-09-18 Glenn Morris <rgm@gnu.org>
14925
14926 * emacs-lisp/chart.el (x-display-color-cells): Declare.
14927 (chart-face-list): Drop Emacsen without display-color-p.
14928
14929 * net/eww.el (libxml-parse-html-region): Declare.
14930 (eww-display-html): Explicit error if no libxml2 support.
14931
14932 * doc-view.el (doc-view-mode): Silence --without-x compilation.
14933
14934 * image.el (image-type-from-buffer, image-multi-frame-p):
14935 Remove --without-x warning/error.
14936
14937 * mouse.el (mouse-yank-primary):
14938 * term.el (term-mouse-paste):
14939 Reorder to silence --without-x compilation.
14940
14941 * mpc.el (doc-view-mode): Silence --without-x compilation.
14942
14943 * mail/rmailmm.el (rmail-mime-set-bulk-data):
14944 Silence --without-x compilation.
14945
14946 * progmodes/gud.el (gud-find-file, gud-mode):
14947 Silence --without-x compilation.
14948 (tooltip-mode): Declare.
14949
14950 * wdired.el (dired-backup-overwrite): Remove declaration.
14951 (wdired-mode-map): Add doc string.
14952
14953 * custom.el (x-get-resource): Declare.
14954
14955 * eshell/em-glob.el (ange-cache):
14956 * eshell/em-unix.el (ange-cache): Declare.
14957
14958 * faces.el (x-display-list, x-open-connection, x-get-resource):
14959 Declare.
14960
14961 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
14962 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
14963 Declare.
14964
14965 * frame.el (x-display-grayscale-p, x-display-name): Declare.
14966
14967 * net/gnutls.el (gnutls-log-level): Declare.
14968
14969 * net/shr.el (image-size, image-animate): Declare.
14970
14971 * simple.el (font-info): Declare.
14972
14973 * subr.el (x-popup-dialog): Declare.
14974
14975 * term/common-win.el (x-select-enable-primary)
14976 (x-last-selected-text-primary, x-last-selected-text-clipboard):
14977 Declare.
14978
14979 * term/ns-win.el (x-handle-args): Declare.
14980
14981 * term/x-win.el (x-select-enable-clipboard): Declare.
14982
14983 * term/w32-win.el (create-default-fontset): Declare.
14984
14985 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
14986 Declare.
14987
14988 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
14989 (fit-frame-to-buffer): Explicit error if --without-x.
14990 (mouse-autoselect-window-select): Silence compiler.
14991
14992 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14993
14994 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
14995 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
14996 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
14997 * eshell/esh-util.el (eshell-sublist):
14998 Remove unused local variables.
14999
15000 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
15001
15002 * textmodes/two-column.el: Make 2C-split work for --without-x.
15003 (scroll-bar-columns): Autoload.
15004 (top-level): Require fringe when compiling.
15005
15006 2013-09-18 Leo Liu <sdl.web@gmail.com>
15007
15008 * subr.el (add-hook): Robustify to handle closure as well.
15009
15010 2013-09-17 Glenn Morris <rgm@gnu.org>
15011
15012 * simple.el (messages-buffer-mode-map): Unbind "g".
15013
15014 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15015
15016 * help-mode.el (help-mode-finish): Use derived-mode-p.
15017 Remove obsolete highlighting.
15018
15019 * play/life.el (life-mode): Use define-derived-mode. Derive from
15020 special-mode.
15021 (life): Let-bind inhibit-read-only.
15022 (life-setup): Avoid `setq'. Use `life-mode'.
15023
15024 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
15025 which should not be needed any more.
15026 (package-menu-refresh, package-menu-describe-package): Use user-error.
15027
15028 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
15029 (eshell-post-rewrite-command-hook): Make obsolete.
15030 (eshell-parse-command): Simplify.
15031 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
15032 (eshell--cmd): Declare.
15033 (eshell-parse-pipeline): Remove unused var `final-p'.
15034 Pass a dynvar to eshell-post-rewrite-command-hook.
15035 Implement the new eshell-post-rewrite-command-function.
15036 (eshell-invoke-directly): Remove unused arg `input'.
15037 * eshell/esh-io.el (eshell-io-initialize):
15038 Use eshell-post-rewrite-command-function (bug#15399).
15039 (eshell--apply-redirections): Rename from eshell-apply-redirections;
15040 adjust to new calling convention.
15041 (eshell-create-handles): Rename args to avoid clashing with dynvar
15042 `standard-output'.
15043
15044 2013-09-17 Glenn Morris <rgm@gnu.org>
15045
15046 * simple.el (messages-buffer-mode): New major mode.
15047 (messages-buffer): New function.
15048 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
15049 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
15050 (ert-run-test): Use `messages-buffer' function.
15051 (ert--force-message-log-buffer-truncation): Ignore read-only.
15052 * help.el (view-echo-area-messages): Use `messages-buffer' function.
15053 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
15054
15055 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15056
15057 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
15058
15059 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
15060
15061 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15062
15063 * icomplete.el (icomplete-in-buffer): New var.
15064 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
15065 vars and replace them with functions.
15066 (icomplete-minibuffer-setup): Adjust accordingly.
15067 (icomplete--completion-table, icomplete--completion-predicate)
15068 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
15069 New functions.
15070 (icomplete-forward-completions, icomplete-backward-completions)
15071 (icomplete-simple-completing-p, icomplete-exhibit)
15072 (icomplete-completions): Use them.
15073 (icomplete--in-region-buffer): New var.
15074 (icomplete--in-region-setup): New function.
15075 (icomplete-mode): Use it.
15076
15077 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
15078 (bug#15379).
15079 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
15080 return args and options.
15081 (eshell-eval-using-options): Use the new return value of
15082 eshell--do-opts to set the options's vars in their scope.
15083 (eshell--set-option): Rename from eshell-set-option.
15084 Add arg `opt-vals'.
15085 (eshell--process-option): Rename from eshell-process-option.
15086 Add arg `opt-vals'.
15087 (eshell--process-args): Use an `opt-vals' alist to store the options's
15088 values during their processing and return them additionally to the
15089 remaining args.
15090
15091 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
15092
15093 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
15094 continuation character an operator, as far as indentation is
15095 concerned (Bug#15369).
15096
15097 2013-09-15 Martin Rudalics <rudalics@gmx.at>
15098
15099 * window.el (window--state-put-2): Don't process buffer state
15100 when buffer doesn't exist any more (Bug#15382).
15101
15102 2013-09-15 Glenn Morris <rgm@gnu.org>
15103
15104 * eshell/em-unix.el (eshell/rm):
15105 Make -f ignore missing files. (Bug#15373)
15106
15107 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
15108 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
15109 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
15110
15111 2013-09-14 Glenn Morris <rgm@gnu.org>
15112
15113 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
15114
15115 2013-09-13 Glenn Morris <rgm@gnu.org>
15116
15117 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
15118 (dired-guess-default): Make `file' available in the env. (Bug#15363)
15119
15120 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
15121
15122 * frame.el (x-focus-frame): Mark as declared in frame.c.
15123
15124 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15125
15126 * ls-lisp.el: Use advice-add.
15127 (original-insert-directory): Remove.
15128 (ls-lisp--insert-directory): Rename from insert-directory; add
15129 `orig-fun' argument.
15130 (insert-directory): Advise.
15131
15132 2013-09-13 Eli Zaretskii <eliz@gnu.org>
15133
15134 * term.el (term-emulate-terminal): Decode the command string
15135 before passing it to term-command-hook. (Bug#15337)
15136
15137 2013-09-13 Glenn Morris <rgm@gnu.org>
15138
15139 * eshell/esh-util.el (ange-cache): Move declaration earlier.
15140
15141 * eshell/esh-ext.el (eshell-search-path): Declare.
15142
15143 * eshell/em-prompt.el (eshell/pwd): Autoload it.
15144 Otherwise an error occurs if eshell-dirs module not loaded.
15145
15146 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
15147
15148 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
15149
15150 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
15151 `tramp-check-proper-host'. Check for a valid method name.
15152
15153 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15154 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15155 * net/tramp-sh.el (tramp-maybe-open-connection):
15156 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
15157
15158 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
15159 also for hash values.
15160
15161 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15162
15163 * term/ns-win.el (parameters): Don't declare as dynamic.
15164 (before-make-frame-hook): Don't add ineffective function.
15165
15166 * eshell/*.el: Use lexical-binding (bug#15231).
15167
15168 2013-09-12 Kenichi Handa <handa@gnu.org>
15169
15170 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
15171
15172 2013-09-12 Glenn Morris <rgm@gnu.org>
15173
15174 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
15175 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
15176
15177 * subr.el (do-after-load-evaluation): Also give compiler warnings
15178 when obsolete files are used (except by obsolete files).
15179
15180 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
15181 in the status output, assume `filename' is the first. (Bug#15322)
15182
15183 * vc/vc.el (vc-deduce-fileset): Doc fix.
15184
15185 * calc/calc-help.el (Info-goto-node):
15186 * progmodes/cperl-mode.el (Info-find-node):
15187 * vc/ediff.el (Info-goto-node): Update declarations.
15188
15189 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
15190
15191 * vc/vc-bzr.el (vc-compilation-mode): Declare.
15192 (vc-bzr-pull): Require vc-dispatcher.
15193 * vc/vc-git.el (vc-compilation-mode): Declare.
15194 (vc-git-pull): Require vc-dispatcher.
15195
15196 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
15197
15198 * progmodes/octave.el (help-button-action): Declare.
15199
15200 * shell.el (shell-directory-tracker): Output error as a message
15201 rather than just returning it as a string.
15202 (shell-process-pushd): Remove useless use of message.
15203
15204 * dframe.el (dframe-timer-fn):
15205 * files.el (dir-locals-read-from-file):
15206 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
15207 (mpc-format):
15208 * reveal.el (reveal-post-command):
15209 * saveplace.el (load-save-place-alist-from-file):
15210 * shell.el (shell-resync-dirs):
15211 * w32-common-fns.el (x-get-selection-value):
15212 * emacs-lisp/copyright.el (copyright-find-copyright):
15213 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
15214 * emulation/tpu-edt.el (tpu-copy-keyfile):
15215 * play/bubbles.el (bubbles--mark-neighbourhood):
15216 * progmodes/executable.el
15217 (executable-make-buffer-file-executable-if-script-p):
15218 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
15219
15220 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15221
15222 Cleanup Eshell to rely less on dynamic scoping.
15223 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
15224 last-value, and ext-command here. Bind `args' closer to `body'.
15225 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
15226 (eshell--args): Declare new dynamic var.
15227 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
15228 last-value, and ext-command. Pass `args' to `body'.
15229 (eshell-process-args): Bind eshell--args.
15230 (eshell-set-option): Use eshell--args.
15231 * eshell/eshell.el (eshell): Use derived-mode-p.
15232 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
15233 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
15234 (eshell-glob-function): Declare.
15235 * eshell/esh-util.el: Require cl-lib.
15236 (eshell-read-hosts-file): Avoid add-to-list.
15237 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
15238 `err'.
15239 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
15240 Declare.
15241 (eshell/diff): Remove unused var `err'.
15242 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
15243 `killflag'.
15244 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
15245 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
15246 first use.
15247 * eshell/em-glob.el (eshell-glob-matches, message-shown):
15248 Move declaration before first use.
15249 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
15250 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
15251 rely on cl-return.
15252
15253 2013-09-12 Glenn Morris <rgm@gnu.org>
15254
15255 * term/ns-win.el (global-map): Remove binding for ispell-next,
15256 deleted 1999-05-29. (Bug#15357)
15257
15258 2013-09-11 Glenn Morris <rgm@gnu.org>
15259
15260 * echistory.el (electric-command-history): Remove call to deleted func.
15261
15262 * play/landmark.el (landmark-mode): Fix typos.
15263
15264 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
15265 Check cvs-sort-ignore-file is bound.
15266
15267 * savehist.el: No need for cl when compiling on Emacs.
15268
15269 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15270
15271 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
15272 (bug#15338).
15273 (eshell-self-insert-command, eshell-send-invisible):
15274 Remove unused argument.
15275 (eshell-handle-control-codes): Remove unused var `orig'.
15276 Avoid delete-backward-char.
15277
15278 * files.el (set-auto-mode): Simplify a bit further.
15279
15280 2013-09-11 Glenn Morris <rgm@gnu.org>
15281
15282 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
15283 (set-auto-mode): Don't regexp-quote elements.
15284 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
15285 * progmodes/cc-mode.el (interpreter-mode-alist):
15286 * progmodes/ruby-mode.el (interpreter-mode-alist):
15287 Revert previous change.
15288
15289 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * play/snake.el (snake-mode):
15292 * play/mpuz.el (mpuz-mode):
15293 * play/landmark.el (lm-mode):
15294 * play/blackbox.el (blackbox-mode):
15295 * play/5x5.el (5x5-mode):
15296 * obsolete/options.el (Edit-options-mode):
15297 * net/quickurl.el (quickurl-list-mode):
15298 * net/newst-treeview.el (newsticker-treeview-mode):
15299 * mail/rmailsum.el (rmail-summary-mode):
15300 * mail/mspools.el (mspools-mode):
15301 * locate.el (locate-mode):
15302 * ibuffer.el (ibuffer-mode):
15303 * emulation/ws-mode.el (wordstar-mode):
15304 * emacs-lisp/debug.el (debugger-mode):
15305 * array.el (array-mode):
15306 * net/eudc.el (eudc-mode): Use define-derived-mode.
15307 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
15308 Move initialization into declaration.
15309 (mairix-searches-mode): Use define-derived-mode.
15310 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
15311 (eudc-edit-hotlist): Use dolist.
15312 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
15313 (Man-mode): Use define-derived-mode.
15314 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
15315 (Info-edit-mode): Use define-derived-mode.
15316 (Info-cease-edit): Use Info-mode.
15317 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
15318 into declaration.
15319 (eshell-mode): Use define-derived-mode.
15320 * chistory.el (command-history-mode-map): Rename from
15321 command-history-map.
15322 (command-history-mode): Use define-derived-mode.
15323 (Command-history-setup): Remove function.
15324 * calc/calc.el (calc-trail-mode-map): New var.
15325 (calc-trail-mode): Use define-derived-mode.
15326 (calc-trail-buffer): Set calc-main-buffer manually.
15327 * bookmark.el (bookmark-insert-annotation): New function.
15328 (bookmark-edit-annotation): Use it.
15329 (bookmark-edit-annotation-mode): Make it a proper major mode.
15330 (bookmark-send-edited-annotation): Use derived-mode-p.
15331 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
15332 closer to its ideal place. Use \' to match EOS.
15333
15334 * profiler.el (profiler-calltree-find): Use function-equal.
15335
15336 2013-09-10 Glenn Morris <rgm@gnu.org>
15337
15338 * files.el (interpreter-mode-alist): Convert to regexps.
15339 (set-auto-mode): Adapt for this. (Bug#15306)
15340 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
15341 Comment out unused variable.
15342 * progmodes/cc-mode.el (interpreter-mode-alist):
15343 * progmodes/python.el (interpreter-mode-alist):
15344 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
15345 * progmodes/sh-script.el (sh-set-shell):
15346 No longer use interpreter-mode-alist to get list of shells.
15347
15348 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
15349
15350 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15351
15352 * simple.el: Use set-temporary-overlay-map for universal-argument.
15353 (universal-argument-map): Don't use default-bindings (bug#15317).
15354 Bind switch-frame explicitly. Replace universal-argument-minus with
15355 a conditional binding.
15356 (universal-argument-num-events, saved-overriding-map): Remove.
15357 (restore-overriding-map): Remove.
15358 (universal-argument--mode): Rename from save&set-overriding-map,
15359 and rewrite.
15360 (universal-argument, universal-argument-more, negative-argument)
15361 (digit-argument): Adjust accordingly.
15362 (universal-argument-minus): Remove.
15363 (universal-argument-other-key): Remove.
15364
15365 * subr.el (with-demoted-errors): Add `format' argument.
15366
15367 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
15368
15369 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
15370 `tramp-cleanup-connection'.
15371
15372 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
15373 parameters KEEP-DEBUG and KEEP-PASSWORD.
15374
15375 * net/tramp.el (tramp-file-name-handler):
15376 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15377 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15378 (tramp-maybe-open-connection):
15379 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
15380 Use `tramp-cleanup-connection'.
15381
15382 * net/tramp-sh.el (tramp-maybe-open-connection):
15383 Catch 'uname-changed inside the progress reporter.
15384
15385 2013-09-10 Glenn Morris <rgm@gnu.org>
15386
15387 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
15388
15389 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
15390 returns "alternate access method" in mode (eg "-rw-r--r--.").
15391
15392 2013-09-08 Glenn Morris <rgm@gnu.org>
15393
15394 * saveplace.el (load-save-place-alist-from-file):
15395 Demote errors. (Bug#15305)
15396
15397 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
15398
15399 Improve compatibility with older Emacsen, and XEmacs.
15400
15401 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
15402 only if it is bound. It isn't for XEmacs.
15403 (with-tramp-progress-reporter): Do not let-bind `result'.
15404 This yields to scoping errors in XEmacs.
15405 (tramp-handle-make-auto-save-file-name): New function, moved from
15406 tramp-sh.el.
15407
15408 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
15409 for `make-auto-save-file-name'.
15410 (tramp-adb--gnu-switches-to-ash):
15411 Use `tramp-compat-replace-regexp-in-string'.
15412
15413 * net/tramp-cache.el (tramp-cache-print): Call
15414 `substring-no-properties' only if it is bound. It isn't for XEmacs.
15415
15416 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
15417 bound. It isn't for XEmacs.
15418
15419 * net/tramp-compat.el (tramp-compat-copy-file):
15420 Catch `wrong-number-of-arguments' error.
15421 (tramp-compat-replace-regexp-in-string): New defun.
15422
15423 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
15424 for `make-auto-save-file-name'.
15425 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
15426 `copy-file'.
15427 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
15428 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
15429 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
15430
15431 * net/tramp-gw.el (tramp-gw-open-network-stream):
15432 Use `tramp-compat-replace-regexp-in-string'.
15433
15434 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15435 Call `tramp-handle-make-auto-save-file-name'.
15436 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
15437 (tramp-sh-file-gvfs-monitor-dir-process-filter)
15438 (tramp-sh-file-inotifywait-process-filter):
15439 Use `tramp-compat-replace-regexp-in-string'.
15440 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
15441
15442 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
15443 for `make-auto-save-file-name'.
15444 (tramp-smb-handle-copy-directory):
15445 Call `tramp-compat-replace-regexp-in-string'.
15446 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
15447 (tramp-smb-handle-copy-file): Improve error message.
15448 (tramp-smb-handle-rename-file): Rename directly only in case
15449 `newname' does not exist yet. This is a restriction of smbclient.
15450 (tramp-smb-maybe-open-connection): Rerun the function only when
15451 `auth-sources' is non-nil.
15452
15453 2013-09-08 Kenichi Handa <handa@gnu.org>
15454
15455 * international/characters.el: Set category "^" (Combining) for
15456 more characters.
15457
15458 2013-09-07 Alan Mackenzie <acm@muc.de>
15459
15460 Correctly fontify Java class constructors.
15461 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
15462 in Java Mode.
15463 (c-recognize-typeless-decls): Set the Java value to t.
15464 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15465 While handling a "(", add a check for, effectively, Java, and handle a
15466 "typeless" declaration there.
15467
15468 2013-09-07 Roland Winkler <winkler@gnu.org>
15469
15470 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
15471 field subtitle for entry type book.
15472
15473 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
15474
15475 * minibuffer.el: Make minibuffer-complete call completion-in-region
15476 rather than other way around.
15477 (completion--some, completion-pcm--find-all-completions):
15478 Don't delay signals when debugging.
15479 (minibuffer-completion-contents): Beware fields within the
15480 minibuffer contents.
15481 (completion-all-sorted-completions): Use defvar-local.
15482 (completion--do-completion, completion--cache-all-sorted-completions)
15483 (completion-all-sorted-completions, minibuffer-force-complete):
15484 Add args `beg' and `end'.
15485 (completion--in-region-1): New fun, extracted from minibuffer-complete.
15486 (minibuffer-complete): Use completion-in-region.
15487 (completion-complete-and-exit): New fun, extracted from
15488 minibuffer-complete-and-exit.
15489 (minibuffer-complete-and-exit): Use it.
15490 (completion--complete-and-exit): Rename from
15491 minibuffer--complete-and-exit.
15492 (completion-in-region--single-word): New function, extracted from
15493 minibuffer-complete-word.
15494 (minibuffer-complete-word): Use it.
15495 (display-completion-list): Make `common-substring' argument obsolete.
15496 (completion--in-region): Call completion--in-region-1 instead of
15497 minibuffer-complete.
15498 (completion-help-at-point): Pass boundaries to
15499 minibuffer-completion-help as args rather than via an overlay.
15500 (completion-pcm--string->pattern): Use `any-delim'.
15501 (completion-pcm--optimize-pattern): New function.
15502 (completion-pcm--pattern->regex): Handle `any-delim'.
15503 * icomplete.el (icomplete-forward-completions)
15504 (icomplete-backward-completions, icomplete-completions):
15505 Adjust calls to completion-all-sorted-completions and
15506 completion--cache-all-sorted-completions.
15507 (icomplete-with-completion-tables): Default to t.
15508 * emacs-lisp/crm.el (crm--current-element): Rename from
15509 crm--select-current-element. Don't put an overlay but return the
15510 boundaries instead.
15511 (crm--completion-command): Take two new args to bind to the boundaries.
15512 (crm-completion-help): Adjust accordingly.
15513 (crm-complete): Use completion-in-region.
15514 (crm-complete-word): Use completion-in-region--single-word.
15515 (crm-complete-and-exit): Use completion-complete-and-exit.
15516
15517 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
15518
15519 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
15520 than dynamically.
15521
15522 2013-09-06 Juri Linkov <juri@jurta.org>
15523
15524 * info.el (Info-display-images-node): When image file doesn't exist
15525 display text version of the image if it's provided in the Info file.
15526 Otherwise, display the location of missing image from SRC attribute.
15527 Add help-echo text property from ALT attribute. (Bug#15279)
15528
15529 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
15530
15531 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
15532 (edit-abbrevs-mode): Use define-derived-mode.
15533
15534 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
15535 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
15536 that it's defined.
15537 (epa-key-list-mode, epa-key-mode, epa-info-mode):
15538 Use define-derived-mode.
15539
15540 * epg.el (epg-start-encrypt): Minor CSE simplification.
15541
15542 2013-09-06 William Xu <william.xwl@gmail.com>
15543
15544 * arc-mode.el: Add support for 7za (bug#15264).
15545 (archive-7z-program): New var.
15546 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
15547 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
15548 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
15549
15550 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
15551
15552 Remove URL syntax.
15553
15554 * net/tramp.el (tramp-syntax, tramp-prefix-format)
15555 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
15556 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
15557 (tramp-postfix-host-format, tramp-file-name-regexp)
15558 (tramp-completion-file-name-regexp)
15559 (tramp-completion-dissect-file-name)
15560 (tramp-handle-substitute-in-file-name): Remove 'url case.
15561 (tramp-file-name-regexp-url)
15562 (tramp-completion-file-name-regexp-url): Remove constants.
15563
15564 2013-09-06 Glenn Morris <rgm@gnu.org>
15565
15566 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
15567
15568 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
15569
15570 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
15571 keywords" below "here-doc beginnings" (Bug#15270).
15572
15573 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
15574
15575 * subr.el (pop): Use `car-safe'.
15576 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
15577 to detect unused `pop' return value.
15578
15579 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
15580 var `block-regexp'.
15581 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
15582 (python-fill-string): Remove unused var `marker'.
15583 (python-skeleton-add-menu-items): Remove unused var `items'.
15584
15585 * international/mule-cmds.el: Require CL.
15586 (find-coding-systems-for-charsets): Avoid add-to-list.
15587 (sanitize-coding-system-list): New function, extracted from
15588 select-safe-coding-system-interactively.
15589 (select-safe-coding-system-interactively): Use it.
15590 (read-input-method-name): Accept symbols for `default'.
15591
15592 * emacs-lisp/advice.el (defadvice): Add indent rule.
15593
15594 2013-09-05 Daniel Hackney <dan@haxney.org>
15595
15596 * dired-x.el:
15597 * net/ange-ftp.el:
15598 * net/browse-url.el:
15599 * net/dbus.el:
15600 * net/eudc.el:
15601 * net/eudcb-ldap.el:
15602 * net/eww.el:
15603 * net/imap.el:
15604 * printing.el:
15605 * vc/ediff-diff.el:
15606 * vc/ediff-init.el:
15607 * vc/ediff-merg.el:
15608 * vc/ediff-mult.el:
15609 * vc/ediff-util.el:
15610 * vc/ediff-wind.el:
15611 * vc/ediff.el:
15612 * vc/emerge.el:
15613 * vc/pcvs.el:
15614 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
15615 byte compiler. Remove some unused let-bound variables.
15616
15617 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
15618
15619 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
15620 a "ref-cell", since it gets better optimized (bug#14883).
15621
15622 2013-09-05 Glenn Morris <rgm@gnu.org>
15623
15624 * progmodes/cc-awk.el (c-forward-sws): Declare.
15625
15626 2013-09-04 Glenn Morris <rgm@gnu.org>
15627
15628 * generic-x.el [rul-generic-mode]: Require cc-mode.
15629 (c++-mode-syntax-table): Declare.
15630 (rul-generic-mode-syntax-table): Init in the defvar.
15631
15632 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
15633
15634 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
15635 (vc-do-command, vc-set-async-update):
15636 * vc/vc-mtn.el (vc-mtn-dir-status):
15637 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
15638 (vc-hg-pull, vc-hg-merge-branch):
15639 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
15640 (vc-git-merge-branch):
15641 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
15642 (vc-cvs-dir-status-files):
15643 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
15644 (vc-bzr-dir-status-files):
15645 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
15646 * vc/vc-annotate.el: Use lexical-binding.
15647 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
15648 (vc-sentinel-movepoint): Declare.
15649 (vc-annotate): Don't use `goto-line'.
15650 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
15651 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
15652 (vc-sentinel-movepoint): Declare.
15653 * vc/vc-svn.el: Use lexical-binding.
15654 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
15655 * vc/vc-sccs.el:
15656 * vc/vc-rcs.el: Use lexical-binding.
15657
15658 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
15659 `deleted'. Don't drop errors silently.
15660
15661 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
15662
15663 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
15664
15665 * vc/vc.el (vc-ignore): Rewrite.
15666 (vc-default-ignore): New function.
15667 (vc-default-ignore-completion-table): Use find-ignore-file.
15668
15669 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
15670 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
15671 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
15672 Remove. Most code moved to vc.el.
15673
15674 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
15677 * net/tramp-smb.el (tramp-smb-get-file-entries):
15678 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
15679 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
15680
15681 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
15682 Update call to it.
15683 (eww-change-select): Remove unused var `properties'.
15684 (eww-make-unique-file-name): Remove unused var `base'.
15685
15686 * finder.el (finder-compile-keywords): Don't mess with windows.
15687
15688 * calculator.el (calculator-funcall): Fix typo in last change.
15689
15690 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
15691
15692 * emacs-lisp/package.el (package-activate-1): Don't let a missing
15693 <pkg>-autoloads.el file stop us.
15694
15695 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
15696 warnings, and factor out common code.
15697
15698 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
15699
15700 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
15701 two-character operators and whether the character preceding them
15702 changes their meaning (Bug#15208).
15703
15704 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
15705
15706 Format code sent to Python shell for robustness.
15707 * progmodes/python.el (python-shell-buffer-substring):
15708 New function.
15709 (python-shell-send-region, python-shell-send-buffer): Use it.
15710
15711 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
15712
15713 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
15714 * net/tramp.el (tramp-user-error): ... here.
15715 (tramp-find-method, tramp-check-proper-host)
15716 (tramp-dissect-file-name, tramp-debug-message)
15717 (tramp-handle-shell-command):
15718 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15719 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
15720
15721 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
15722
15723 2013-09-02 Martin Rudalics <rudalics@gmx.at>
15724
15725 * avoid.el (mouse-avoidance-point-position)
15726 (mouse-avoidance-too-close-p): Handle case where posn-at-point
15727 returns nil.
15728
15729 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
15730
15731 * progmodes/python.el (python-shell-completion-get-completions):
15732 Drop use of deleted `comint-last-prompt-overlay'.
15733 (python-nav-if-name-main): New command.
15734
15735 2013-09-01 Glenn Morris <rgm@gnu.org>
15736
15737 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
15738 Avoid leading space in $wins. Otherwise the sed command used by
15739 eg compile-main ends up containing "/*.el". (Bug#15170)
15740
15741 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
15742
15743 2013-08-30 Glenn Morris <rgm@gnu.org>
15744
15745 * emacs-lisp/bytecomp.el (byte-recompile-directory):
15746 Fix is-this-a-directory logic. (Bug#15220)
15747
15748 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15749
15750 * textmodes/css-mode.el: Use SMIE.
15751 (css-smie-grammar): New var.
15752 (css-smie--forward-token, css-smie--backward-token)
15753 (css-smie-rules): New functions.
15754 (css-mode): Use them.
15755 (css-navigation-syntax-table): Remove var.
15756 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
15757 (css-indent-calculate, css-indent-line): Remove functions.
15758
15759 Misc changes to reduce use of `(lambda...); and other cleanups.
15760 * cus-edit.el: Use lexical-binding.
15761 (customize-push-and-save, customize-apropos)
15762 (custom-buffer-create-internal): Use closures.
15763 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
15764 * progmodes/ada-xref.el: Use setq.
15765 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
15766 * dframe.el: Use lexical-binding.
15767 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
15768 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
15769 * descr-text.el: Use lexical-binding.
15770 (describe-text-widget, describe-text-sexp, describe-property-list):
15771 Use closures.
15772 * comint.el (comint-history-isearch-push-state): Use a closure.
15773 * calculator.el: Use lexical-binding.
15774 (calculator-number-to-string): Make it work with lexical-binding.
15775 (calculator-funcall): Same and use cl-letf.
15776
15777 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
15778 (lisp--company-doc-string, lisp--company-location): New functions.
15779 (lisp-completion-at-point): Use them to improve Company support.
15780
15781 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
15782 params of lambda expressions.
15783 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
15784 (ruby-smie--opening-pipe-p): New function.
15785 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
15786 symbols and matched |...| for formal params.
15787 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
15788 from being treated as hanging. Handle "rescue".
15789
15790 2013-08-29 Glenn Morris <rgm@gnu.org>
15791
15792 * progmodes/cc-engine.el (c-pull-open-brace):
15793 Move definition before use.
15794
15795 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15796
15797 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
15798 are immutable. Don't use `unsafe' any more.
15799 (cl--defsubst-expand): Don't substitute at the same time as keeping
15800 a residual unused let-binding. Don't use `unsafe' any more.
15801
15802 2013-08-29 Glenn Morris <rgm@gnu.org>
15803
15804 * calendar/cal-china.el (calendar-chinese-year-cache):
15805 Recenter on 2015.
15806
15807 * nxml/nxml-util.el (nxml-debug-clear-inside):
15808 Use cl-loop rather than loop.
15809
15810 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
15811
15812 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
15813
15814 2013-08-28 Glenn Morris <rgm@gnu.org>
15815
15816 * progmodes/antlr-mode.el: No need to require cc-mode twice.
15817
15818 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
15819
15820 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
15821
15822 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15823
15824 * simple.el (repeat-complex-command--called-interactively-skip):
15825 New function.
15826 (repeat-complex-command): Use it (bug#14136).
15827
15828 * progmodes/cc-mode.el: Minor cleanup of var declarations.
15829 (c-define-abbrev-table): Add `doc' argument.
15830 (c-mode-abbrev-table, c++-mode-abbrev-table)
15831 (objc-mode-abbrev-table, java-mode-abbrev-table)
15832 (idl-mode-abbrev-table, pike-mode-abbrev-table)
15833 (awk-mode-abbrev-table): Use it.
15834 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
15835 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
15836 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
15837 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
15838 Move initialization into the declaration; and remove any
15839 autoload cookie.
15840
15841 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
15842 and dynamic let binding.
15843
15844 * vc/smerge-mode.el: Remove redundant :group args.
15845
15846 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
15847 to load-path.
15848
15849 2013-08-28 Juri Linkov <juri@jurta.org>
15850
15851 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
15852 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
15853 (isearch-other-meta-char): Handle an undefined shifted printing
15854 character by downshifting it. (Bug#15200)
15855
15856 2013-08-28 Juri Linkov <juri@jurta.org>
15857
15858 * isearch.el (isearch-search): Change regexp error message for
15859 non-regexp searches. (Bug#15166)
15860
15861 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
15862
15863 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
15864 for portability to hosts where /bin/sh has problems.
15865
15866 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15867
15868 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
15869
15870 2013-08-27 Juri Linkov <juri@jurta.org>
15871
15872 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
15873 in the keyboard macro. (Bug#15126)
15874
15875 2013-08-27 Juri Linkov <juri@jurta.org>
15876
15877 * isearch.el (isearch-quote-char): Comment out converting unibyte
15878 to multibyte, thus syncing with its `quoted-insert' counterpart.
15879 (Bug#15166)
15880
15881 2013-08-27 Martin Rudalics <rudalics@gmx.at>
15882
15883 * window.el (display-buffer-use-some-window): Add missing
15884 argument in call of get-largest-window (Bug#15185).
15885 Reported by Stephen Leake.
15886
15887 2013-08-27 Glenn Morris <rgm@gnu.org>
15888
15889 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
15890
15891 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15892
15893 * progmodes/python.el (python-font-lock-keywords): Don't return nil
15894 from a matcher-function unless there's no more matches (bug#15161).
15895
15896 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
15897
15898 * minibuffer.el: Revert change from 2013-08-20.
15899
15900 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
15901 with text property `tramp-default', if appropriate.
15902 (tramp-check-proper-host): New defun.
15903 (tramp-dissect-file-name): Do not check hostname. Revert change
15904 of 2013-03-18.
15905 (tramp-backtrace): Make VEC-OR-PROC optional.
15906
15907 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
15908 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
15909 * net/tramp-sh.el (tramp-maybe-open-connection):
15910 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
15911 Apply `tramp-check-proper-host'.
15912
15913 2013-08-26 Tassilo Horn <tsdh@gnu.org>
15914
15915 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
15916 lambda expression in order to have `describe-variable' display it.
15917
15918 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
15919
15920 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
15921 BUF can be optional. (Bug#15186)
15922
15923 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
15924
15925 * progmodes/flymake.el (flymake-get-real-file-name-function):
15926 Fix broken customization. (Bug#15184)
15927
15928 2013-08-25 Alan Mackenzie <acm@muc.de>
15929
15930 Improve indentation of bracelists defined by macros (without "=").
15931
15932 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
15933 expansion begins with "{", regard it as bracelist when it doesn't
15934 contain a ";".
15935
15936 Parse C++ inher-intro when there's a template split over 2 lines.
15937
15938 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
15939 rigorously the search for "class" etc. followed by ":".
15940
15941 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
15942 random languages a regexp which never matches rather than nil.
15943
15944 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
15945
15946 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
15947 (c-awk-regexp-one-line-possibly-open-char-list-re)
15948 (c-awk-one-line-possibly-open-regexp-re)
15949 (c-awk-one-line-non-syn-ws*-re): Remove.
15950 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
15951 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
15952 (c-awk-space*-unclosed-regexp-/-re): New constants.
15953 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
15954 aren't regexp delimiters.
15955
15956 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
15957 handling for a rare situation in AWK Mode involving unterminated
15958 strings/regexps.
15959
15960 2013-08-23 Glenn Morris <rgm@gnu.org>
15961
15962 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
15963
15964 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
15965
15966 * files.el (create-file-buffer): If the result would begin with
15967 spaces, prepend a "|" instead of removing them. (Bug#15162)
15968
15969 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15970
15971 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
15972 text-properties (bug#15155).
15973
15974 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
15975 exist any more.
15976 (calc-keypad-redraw): Remove unused var `pad'.
15977 (calc-keypad-press): Remove unused var `menu'.
15978
15979 2013-08-23 Martin Rudalics <rudalics@gmx.at>
15980
15981 * window.el (display-buffer-pop-up-frame):
15982 Call pop-up-frame-function with BUFFER current so `make-frame' will
15983 use it as the new frame's buffer (Bug#15133).
15984
15985 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15986
15987 * calendar/timeclock.el: Minor cleanups.
15988 (timeclock-ask-before-exiting, timeclock-use-display-time):
15989 Use `symbol'.
15990 (timeclock-modeline-display): Define as alias before the
15991 actual definition.
15992 (timeclock-mode-line-display): Use define-minor-mode.
15993 (timeclock-day-list-template): Make it a function, add an argument.
15994 (timeclock-day-list-required, timeclock-day-list-length)
15995 (timeclock-day-list-debt, timeclock-day-list-span)
15996 (timeclock-day-list-break): Adjust calls accordingly.
15997
15998 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15999
16000 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
16001 Use read--expression so that completion works again.
16002
16003 2013-08-21 Sam Steingold <sds@gnu.org>
16004
16005 Add rudimentary inferior shell interaction
16006 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
16007 (sh-set-shell): Reset it.
16008 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
16009 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
16010
16011 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
16012
16013 * align.el: Use lexical-binding.
16014 (align-region): Simplify accordingly.
16015
16016 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
16017
16018 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
16019
16020 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
16021 `non-essential' up.
16022
16023 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
16024
16025 * net/tramp.el:
16026 * net/tramp-adb.el:
16027 * net/tramp-cmds.el:
16028 * net/tramp-ftp.el:
16029 * net/tramp-gvfs.el:
16030 * net/tramp-gw.el:
16031 * net/tramp-sh.el: Don't wrap external variable declarations by
16032 `eval-when-compile'.
16033
16034 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16035
16036 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
16037 now that Emacs supports ImageMagick animations.
16038
16039 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
16040
16041 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
16042 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
16043
16044 2013-08-16 Martin Rudalics <rudalics@gmx.at>
16045
16046 * window.el (mouse-autoselect-window-select): Do autoselect when
16047 mouse pointer is on margin.
16048
16049 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
16050
16051 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
16052
16053 2013-08-16 Glenn Morris <rgm@gnu.org>
16054
16055 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
16056 Handle "Remote Directory" response of some clients. (Bug#15058)
16057
16058 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
16059 Tweak warning. (Bug#14926)
16060
16061 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
16062 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
16063
16064 * image-mode.el (image-mode-map): Add menu items to reverse,
16065 increase, decrease, reset animation speed.
16066 (image--set-speed, image-increase-speed, image-decrease-speed)
16067 (image-reverse-speed, image-reset-speed): New functions.
16068 (image-mode-map): Add bindings for speed commands.
16069
16070 * image.el (image-animate-get-speed, image-animate-set-speed):
16071 New functions.
16072 (image-animate-timeout): Respect image :speed property.
16073
16074 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16075
16076 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
16077 previous line (bug#15101).
16078 (debugger-eval-expression, debugger-record-expression):
16079 Use read--expression (bug#15102).
16080
16081 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
16082
16083 Remove byte compiler warnings, visible when compiling with
16084 `byte-compile-force-lexical-warnings' set to t.
16085
16086 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
16087 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
16088 (tramp-handle-unhandled-file-name-directory)
16089 (tramp-handle-file-notify-add-watch, tramp-action-login)
16090 (tramp-action-succeed, tramp-action-permission-denied)
16091 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
16092 arguments with "_".
16093
16094 * net/tramp-adb.el (tramp-adb-parse-device-names)
16095 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
16096 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
16097 (tramp-adb-handle-file-truename): Remove unused arguments.
16098
16099 * net/tramp-cache.el (tramp-flush-directory-property)
16100 (tramp-flush-connection-property, tramp-list-connections)
16101 (tramp-parse-connection-properties): Prefix unused arguments with "_".
16102
16103 * net/tramp-compat.el (tramp-compat-make-temp-file):
16104 Rename FILENAME to F.
16105
16106 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16107 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
16108 (tramp-zeroconf-parse-workstation-device-names)
16109 (tramp-zeroconf-parse-webdav-device-names)
16110 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
16111
16112 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16113 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
16114
16115 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
16116 arguments.
16117 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
16118 (tramp-sh-handle-insert-file-contents-literally)
16119 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
16120 with "_".
16121 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
16122 Remove unused variables.
16123
16124 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16125 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
16126 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
16127
16128 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
16129 Make them a defconst.
16130 (tramp-uuencode-region): Remove unused variable.
16131
16132 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
16133
16134 * frameset.el (frameset--prop-setter): New function.
16135 (frameset-prop): Add gv-setter declaration.
16136 (frameset-filter-minibuffer): Deal with the case that the minibuffer
16137 parameter was already set in FILTERED. Doc fix.
16138 (frameset--record-minibuffer-relationships): Allow saving a
16139 minibufferless frame without its corresponding minibuffer frame.
16140 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
16141 frame, if the frame id matches.
16142 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
16143 frames before orphaned ones.
16144 (frameset-restore): Warn about orphaned windows, instead of error out.
16145
16146 2013-08-14 Martin Rudalics <rudalics@gmx.at>
16147
16148 * window.el (window-make-atom): Don't overwrite parameter
16149 already present.
16150 (display-buffer-in-atom-window): Handle special case where we
16151 split an already atomic window.
16152 (window--major-non-side-window, display-buffer-in-side-window)
16153 (window--side-check): Ignore minibuffer window when walking
16154 window tree.
16155 (window-deletable-p): Return 'frame only if no other frame uses
16156 our minibuffer window.
16157 (record-window-buffer): Run buffer-list-update-hook.
16158 (split-window): Make sure window--check-frame won't destroy an
16159 existing atomic window in case the new window gets nested
16160 inside.
16161 (display-buffer-at-bottom): Ignore minibuffer window when
16162 walking window tree. Don't split a side window.
16163 (pop-to-buffer): Don't set-buffer here, the select-window call
16164 should do that.
16165 (mouse-autoselect-window-select): Autoselect only if we are in the
16166 text portion of the window.
16167
16168 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16169
16170 * net/shr.el (shr-parse-image-data): New function to grab both the
16171 data itself and the Content-Type.
16172 (shr-put-image): Use it.
16173
16174 * net/eww.el (eww-display-image): Ditto.
16175
16176 * image.el (image-content-type-suffixes): New variable.
16177
16178 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
16179
16180 * progmodes/python.el (python-imenu--build-tree)
16181 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
16182
16183 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
16184
16185 * simple.el (backward-word): Mention the optional argument.
16186
16187 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
16188
16189 * frameset.el (frameset--make): Rename constructor from make-frameset.
16190 (frameset-p, frameset-valid-p): Don't autoload.
16191 (frameset-valid-p): Use normal accessors.
16192
16193 2013-08-13 Glenn Morris <rgm@gnu.org>
16194
16195 * progmodes/compile.el (compile-command): Tweak example in doc.
16196 * obsolete/scribe.el (scribe-mode):
16197 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
16198
16199 * mail/feedmail.el (feedmail-confirm-outgoing)
16200 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
16201
16202 * cus-start.el (truncate-partial-width-windows): Fix type.
16203
16204 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
16205
16206 * net/shr.el (shr-table-horizontal-line): Fix custom type.
16207
16208 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
16209
16210 * emacs-lisp/timer.el (timer--time-setter): New function.
16211 (timer--time): Use it as gv-setter.
16212
16213 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
16214 setter is not a symbol.
16215
16216 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
16217
16218 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
16219 if sending fails. This makes debugging easier.
16220
16221 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
16222
16223 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
16224 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
16225 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
16226
16227 2013-08-12 Eli Zaretskii <eliz@gnu.org>
16228
16229 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
16230
16231 2013-08-12 Glenn Morris <rgm@gnu.org>
16232
16233 * format.el (format-annotate-function):
16234 Handle read-only text properties in the source. (Bug#14887)
16235
16236 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16237
16238 * net/eww.el (eww-display-html): Ignore coding system errors.
16239 One web site uses "utf-8lias" as the coding system.
16240
16241 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
16242
16243 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
16244
16245 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
16246
16247 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
16248 (tutorial--detailed-help): Remove unused local variables.
16249 (tutorial--save-tutorial-to): Use ignore-errors.
16250 (help-with-tutorial): Use looking-at-p.
16251
16252 * view.el (view-buffer-other-window, view-buffer-other-frame):
16253 Mark unused arguments.
16254
16255 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
16256 (woman-select-symbol-fonts, woman, woman-find-file)
16257 (woman-insert-file-contents, woman-non-underline-faces):
16258 Use string-match-p.
16259 (woman1-unquote): Move declaration.
16260
16261 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
16262 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
16263 argument. Remove unused local variable.
16264 (xml-parse-elem-type): Use string-match-p.
16265 (xml-substitute-numeric-entities): Use ignore-errors.
16266
16267 * calculator.el (calculator): Mark unused argument.
16268 (calculator-paste, calculator-quit, calculator-integer-p):
16269 Use ignore-errors.
16270 (calculator-string-to-number, calculator-decimal, calculator-exp)
16271 (calculator-op-or-exp): Use string-match-p.
16272
16273 * dired.el (dired-buffer-more-recently-used-p): Declare.
16274 (dired-insert-set-properties, dired-insert-old-subdirs):
16275 Use ignore-errors.
16276
16277 * dired-aux.el (dired-compress): Use ignore-errors.
16278 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
16279 (dired-do-async-shell-command, dired-do-shell-command)
16280 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
16281 (dired-insert-subdir-validate): Use string-match-p.
16282 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
16283 (dired-add-entry): Use string-match-p, looking-at-p.
16284 (dired-insert-subdir-newpos): Remove unused local variable.
16285
16286 * filenotify.el (file-notify-callback): Remove unused local variable.
16287
16288 * filesets.el (filesets-error): Mark unused argument.
16289 (filesets-which-command-p, filesets-filter-dir-names)
16290 (filesets-directory-files, filesets-get-external-viewer)
16291 (filesets-ingroup-get-data): Use string-match-p.
16292
16293 * find-file.el (ff-other-file-name, ff-other-file-name)
16294 (ff-find-the-other-file, ff-cc-hh-converter):
16295 Remove unused local variables.
16296 (ff-get-file-name): Use string-match-p.
16297 (ff-all-dirs-under): Use ignore-errors.
16298
16299 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
16300 (follow-select-if-visible): Remove unused local variable.
16301
16302 * forms.el (read-file-filter): Move declaration.
16303 (forms--make-format, forms--make-parser, forms-insert-record):
16304 Quote function with #'.
16305 (forms--update): Use string-match-p. Quote function with #'.
16306
16307 * help-mode.el (help-dir-local-var-def): Mark unused argument.
16308 (help-make-xrefs): Use looking-at-p.
16309 (help-xref-on-pp): Use looking-at-p, ignore-errors.
16310
16311 * ibuffer.el (ibuffer-ext-visible-p): Declare.
16312 (ibuffer-confirm-operation-on): Use string-match-p.
16313
16314 * msb.el (msb-item-handler, msb-dired-item-handler):
16315 Mark unused arguments.
16316
16317 * ses.el (ses-decode-cell-symbol)
16318 (ses-kill-override): Remove unused local variable.
16319 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
16320 (ses-load): Use ignore-errors, looking-at-p.
16321 (ses-jump-safe): Use ignore-errors.
16322 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
16323
16324 * tabify.el (untabify, tabify): Mark unused arguments.
16325
16326 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
16327 Mark unused argument.
16328 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
16329 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
16330
16331 * emacs-lisp/timer.el (timer--time): Define setter with
16332 gv-define-setter to avoid deprecation warning.
16333
16334 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
16335 (*record-cmpl-statistics-p*): Remove (was commented out).
16336 (cmpl-statistics-block): Remove (body was commented out).
16337 All callers changed.
16338 (add-completions-from-buffer, load-completions-from-file):
16339 Remove unused variables.
16340
16341 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
16342
16343 * filecache.el (file-cache-delete-file-list):
16344 Print message only when told so.
16345 (file-cache-files-matching): Use #' in mapconcat argument.
16346
16347 * ffap.el (ffap-url-at-point): Fix reference to variable
16348 thing-at-point-default-mail-uri-scheme.
16349
16350 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
16351
16352 * subr.el (define-error): New function.
16353 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
16354 error-file-not-found and define with define-error.
16355 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
16356 and define with define-error.
16357 * userlock.el (file-locked, file-supersession):
16358 * simple.el (mark-inactive):
16359 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
16360 * progmodes/ada-mode.el (ada-mode-errors):
16361 * play/life.el (life-extinct):
16362 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
16363 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
16364 * nxml/rng-util.el (rng-error):
16365 * nxml/rng-uri.el (rng-uri-error):
16366 * nxml/rng-match.el (rng-compile-error):
16367 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
16368 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
16369 * nxml/nxml-rap.el (nxml-scan-error):
16370 * nxml/nxml-outln.el (nxml-outline-error):
16371 * net/soap-client.el (soap-error):
16372 * net/gnutls.el (gnutls-error):
16373 * net/ange-ftp.el (ftp-error):
16374 * mpc.el (mpc-proc-error):
16375 * json.el (json-error, json-readtable-error, json-unknown-keyword)
16376 (json-number-format, json-string-escape, json-string-format)
16377 (json-key-format, json-object-format):
16378 * jka-compr.el (compression-error):
16379 * international/quail.el (quail-error):
16380 * international/kkc.el (kkc-error):
16381 * emacs-lisp/ert.el (ert-test-failed):
16382 * calc/calc.el (calc-error, inexact-result, math-overflow)
16383 (math-underflow):
16384 * bookmark.el (bookmark-error-no-filename):
16385 * epg.el (epg-error): Define with define-error.
16386
16387 * time.el (display-time-event-handler)
16388 (display-time-next-load-average): Don't call sit-for since it seems
16389 unnecessary (bug#15045).
16390
16391 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
16392 Use #' instead of ' to quote functions.
16393 (checkdoc-output-mode): Use setq-local.
16394 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
16395 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
16396 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
16397 (checkdoc-ispell, checkdoc-ispell-current-buffer)
16398 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
16399 (checkdoc-ispell-message-text, checkdoc-ispell-start)
16400 (checkdoc-ispell-continue, checkdoc-ispell-comments)
16401 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
16402
16403 * ido.el (ido-completion-help): Fix up compiler warning.
16404
16405 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
16406
16407 * frameset.el (frameset-p): Add autoload cookie.
16408 (frameset--jump-to-register): New function, based on code moved from
16409 register.el.
16410 (frameset-to-register): Move from register.el. Adapt to `registerv'.
16411
16412 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
16413 (frameset-restore, frameset-save, frameset-session-filter-alist):
16414 Remove declarations.
16415 (register-alist): Doc fix.
16416 (frameset-to-register): Move to frameset.el.
16417 (jump-to-register, describe-register-1): Remove frameset-specific code.
16418
16419 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16420
16421 * allout-widgets.el (allout-widgets-pre-command-business)
16422 (allout-widgets-post-command-business)
16423 (allout-widgets-after-change-handler)
16424 (allout-decorate-item-and-context, allout-set-boundary-marker)
16425 (allout-body-modification-handler)
16426 (allout-graphics-modification-handler): Mark ignored arguments.
16427 (allout-widgets-post-command-business)
16428 (allout-widgets-exposure-change-processor)
16429 (allout-widgets-exposure-undo-processor)
16430 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
16431 (allout-parse-item-at-point, allout-decorate-item-guides)
16432 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
16433 * allout.el (epa-passphrase-callback-function): Declare.
16434 (allout-overlay-insert-in-front-handler)
16435 (allout-overlay-interior-modification-handler)
16436 (allout-isearch-end-handler, allout-chart-siblings)
16437 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
16438 (allout-yank-processing, allout-process-exposed)
16439 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
16440 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
16441 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
16442 (lisp-indent-defform): Mark ignored arguments.
16443 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
16444 (calculate-lisp-indent): Remove unused variables.
16445 * international/characters.el (indian-2-column, arabic-2-column)
16446 (tibetan): Mark ignored arguments.
16447 (use-cjk-char-width-table): Mark ignored arguments.
16448 Remove unused variables.
16449 * international/fontset.el (build-default-fontset-data)
16450 (x-compose-font-name, create-fontset-from-fontset-spec):
16451 Mark ignored arguments.
16452 (fontset-plain-name): Remove unused variables.
16453 * international/mule.el (charset-id, charset-bytes, generic-char-p)
16454 (keyboard-coding-system): Mark ignored arguments.
16455 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
16456 * help.el (resize-temp-buffer-window):
16457 * window.el (display-buffer-in-major-side-window)
16458 (display-buffer-in-side-window, display-buffer-in-previous-window):
16459 Remove unused variables.
16460 * isearch.el (isearch-forward-symbol):
16461 * version.el (emacs-bzr-version-bzr):
16462 * international/mule-cmds.el (current-language-environment):
16463 * term/common-win.el (x-handle-iconic, x-handle-geometry)
16464 (x-handle-display):
16465 * term/pc-win.el (x-list-fonts, x-display-planes)
16466 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
16467 (x-server-version, x-display-screens, x-display-mm-height)
16468 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
16469 (x-selection-owner-p, x-own-selection-internal)
16470 (x-disown-selection-internal, x-get-selection-internal)
16471 (msdos-initialize-window-system):
16472 * term/tty-colors.el (tty-color-alist, tty-color-clear):
16473 * term/x-win.el (x-handle-no-bitmap-icon):
16474 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
16475 (vc-default-find-file-hook, vc-default-extra-menu):
16476 Mark ignored arguments.
16477
16478 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
16479
16480 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
16481 break-condition in the context of the debugged code (bug#12685).
16482
16483 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
16484
16485 * comint.el:
16486 Do not use an overlay to highlight the last prompt. (Bug#14744)
16487 (comint-mode): Make comint-last-prompt buffer local.
16488 (comint-last-prompt): New variable.
16489 (comint-last-prompt-overlay): Remove. Superseded by
16490 comint-last-prompt.
16491 (comint-snapshot-last-prompt, comint-output-filter):
16492 Use comint-last-prompt.
16493
16494 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16495
16496 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
16497 (frameset-save): Check validity of the resulting frameset.
16498
16499 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
16500
16501 * ido.el (ido-record-command): Add doc string.
16502
16503 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16504
16505 * frameset.el (frameset): Do not disable creation of the default
16506 frameset-p predicate. Doc fix.
16507 (frameset-valid-p): New function, copied from the old predicate-p.
16508 Add additional checks.
16509 (frameset-restore): Check with frameset-valid-p.
16510 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
16511 (frameset-name, frameset-description, frameset-properties)
16512 (frameset-states): Add docstring.
16513 (frameset-session-filter-alist, frameset-persistent-filter-alist)
16514 (frameset-filter-alist): Doc fixes.
16515
16516 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16517
16518 * frameset.el (frameset-p, frameset-prop): Doc fixes.
16519
16520 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
16521
16522 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
16523 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
16524 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
16525 (byte-compile-normal-call): Remove obsolescence check.
16526
16527 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
16528
16529 * frameset.el (frameset-restore): Doc fix.
16530
16531 * register.el (frameset-frame-id, frameset-frame-with-id)
16532 (frameset-p, frameset-restore, frameset-save): Declare.
16533 (register-alist): Document framesets.
16534 (frameset-session-filter-alist): Declare.
16535 (frameset-to-register): New function.
16536 (jump-to-register): Implement jumping to framesets. Doc fix.
16537 (describe-register-1): Describe framesets.
16538
16539 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
16540
16541 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
16542
16543 * desktop.el (desktop-save-frameset): Use new frameset-save args.
16544 Use lexical-binding.
16545
16546 * frameset.el (frameset): Use type vector, not list (incompatible
16547 change). Do not declare a new constructor, use the default one.
16548 Upgrade suggested properties `app', `name' and `desc' to slots `app',
16549 `name' and `description', respectively, and add read-only slot
16550 `timestamp'. Doc fixes.
16551 (frameset-copy, frameset-persistent-filter-alist)
16552 (frameset-filter-alist, frameset-switch-to-gui-p)
16553 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
16554 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
16555 (frameset-filter-iconified, frameset-keep-original-display-p):
16556 Doc fixes.
16557 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
16558 Rename from frameset-filter-(save|restore)-param. All callers changed.
16559 Doc fix.
16560 (frameset-p): Adapt to change to vector and be more thorough.
16561 Change arg name to OBJECT. Doc fix.
16562 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
16563 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
16564 All callers changed.
16565 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
16566 All callers changed.
16567 (frameset--record-minibuffer-relationships): Rename from
16568 frameset--process-minibuffer-frames. All callers changed.
16569 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
16570 Use new default constructor (again). Doc fix.
16571 (frameset--find-frame-if): Rename from `frameset--find-frame'.
16572 All callers changed.
16573 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
16574 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
16575 Doc fix.
16576 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
16577 PARAMETERS and WINDOW-STATE, respectively.
16578 (frameset-restore): Add new keyword argument PREDICATE.
16579 Reset frameset--target-display to nil. Doc fix.
16580
16581 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
16582
16583 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
16584 (bat-mode): Use it.
16585 (bat-mode-syntax-table): Mark \n as end-of-comment.
16586 (bat-font-lock-keywords): Remove comment rule.
16587
16588 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
16589 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
16590
16591 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
16592 (byte-compile-callargs-warn): Use `push'.
16593 (byte-compile-arglist-warn): Ignore higher-order "calls".
16594 (byte-compile-file-form-autoload): Use `pcase'.
16595 (byte-compile-function-form): If quoting a symbol, check that it exists.
16596
16597 2013-08-07 Eli Zaretskii <eliz@gnu.org>
16598
16599 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
16600 and add a few popular commands found in batch files.
16601 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
16602 (dos-mode): Doc fixes.
16603
16604 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
16605
16606 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
16607 (dos-mode): Use setq-local. Add space after "rem".
16608 (dos-mode-syntax-table): Don't use "w" for symbol chars.
16609 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
16610
16611 2013-08-07 Arni Magnusson <arnima@hafro.is>
16612
16613 * progmodes/dos.el: New file.
16614 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
16615 dos-mode.
16616
16617 2013-08-06 Glenn Morris <rgm@gnu.org>
16618
16619 * calendar/calendar.el: Add new faces, and day-header-array.
16620 (calendar-weekday-header, calendar-weekend-header)
16621 (calendar-month-header): New faces.
16622 (calendar-day-header-construct): New function.
16623 (calendar-day-header-width): Also :set calendar-day-header-array.
16624 (calendar-american-month-header, calendar-european-month-header)
16625 (calendar-iso-month-header): Use calendar- faces.
16626 (calendar-generate-month):
16627 Use calendar-day-header-array for day headers; apply faces to them.
16628 (calendar-mode): Check calendar-font-lock-keywords non-nil.
16629 (calendar-abbrev-construct): Add optional maxlen argument.
16630 (calendar-day-name-array): Doc fix.
16631 (calendar-day-name-array, calendar-abbrev-length)
16632 (calendar-day-abbrev-array):
16633 Also :set calendar-day-header-array, and maybe redraw.
16634 (calendar-day-header-array): New option. (Bug#15007)
16635 (calendar-font-lock-keywords): Set to nil and make obsolete.
16636 (calendar-day-name): Add option to use header array.
16637
16638 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16639
16640 * net/shr.el (shr-render-td): Remove debugging.
16641 (shr-render-td): Make width computation consistent by defaulting
16642 all zero-width columns to 10 characters. This may not be optimal,
16643 but it's at least consistent.
16644 (shr-make-table-1): Redo last change to fix the real problem in
16645 colspan handling.
16646
16647 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
16648
16649 * files.el (cache-long-line-scans):
16650 Make obsolete alias to `cache-long-scans'.
16651
16652 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
16653
16654 * frameset.el (frameset, frameset-filter-alist)
16655 (frameset-filter-params, frameset-save, frameset--reuse-frame)
16656 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
16657 (frameset-compute-pos): Rename from frameset--compute-pos,
16658 and add docstring.
16659 (frameset-move-onscreen): Use frameset-compute-pos.
16660 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
16661
16662 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
16663 Fix typos in docstrings.
16664
16665 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
16666
16667 * frame.el (get-other-frame): Tiny cleanup.
16668
16669 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
16670
16671 * vc/vc.el (vc-default-ignore-completion-table):
16672 Silence byte-compiler warning.
16673
16674 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
16675 slot, which can indeed be nil.
16676 (frameset-live-filter-alist, frameset-persistent-filter-alist):
16677 Move entry for `left' from persistent to live filter alist.
16678 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
16679 Doc fixes.
16680 (frameset-filter-params): When restoring a frame, copy items added to
16681 `filtered', to avoid unwittingly modifying the original parameters.
16682 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
16683 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
16684
16685 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
16686 to use looking-at-p instead of looking-at. (Bug#15028)
16687
16688 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16689
16690 Revert introduction of isearch-filter-predicates (bug#14714).
16691 Rely on add-function instead.
16692 * isearch.el (isearch-filter-predicates): Rename it back to
16693 isearch-filter-predicate.
16694 (isearch-message-prefix): Use advice-function-mapc and advice
16695 properties to get the isearch-message-prefix.
16696 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
16697 instead of run-hook-with-args-until-failure.
16698 (isearch-filter-visible): Not obsolete any more.
16699 * loadup.el: Preload nadvice.
16700 * replace.el (perform-replace): Revert to funcall
16701 instead of run-hook-with-args-until-failure.
16702 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
16703 * dired-aux.el (dired-isearch-filenames-mode): Rename from
16704 dired-isearch-filenames-toggle; make it into a proper minor mode.
16705 Use add/remove-function.
16706 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
16707 Call the minor-mode rather than add/remove-hook.
16708 (dired-isearch-filter-filenames):
16709 Remove isearch-message-prefix property.
16710 * info.el (Info--search-loop): New function, extracted from Info-search.
16711 Funcall isearch-filter-predicate instead of
16712 run-hook-with-args-until-failure isearch-filter-predicates.
16713 (Info-search): Use it.
16714 (Info-mode): Use isearch-filter-predicate instead of
16715 isearch-filter-predicates.
16716
16717 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
16718
16719 Do not call to `selected-window' where it is assumed by default.
16720 Affected functions are `window-minibuffer-p', `window-dedicated-p',
16721 `window-hscroll', `window-width', `window-height', `window-buffer',
16722 `window-frame', `window-start', `window-point', `next-window'
16723 and `window-display-table'.
16724 * abbrev.el (abbrev--default-expand):
16725 * bs.el (bs--show-with-configuration):
16726 * buff-menu.el (Buffer-menu-mouse-select):
16727 * calc/calc.el (calc):
16728 * calendar/calendar.el (calendar-generate-window):
16729 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
16730 (diary-make-entry):
16731 * comint.el (send-invisible, comint-dynamic-complete-filename)
16732 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
16733 * completion.el (complete):
16734 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
16735 * disp-table.el (describe-current-display-table):
16736 * doc-view.el (doc-view-insert-image):
16737 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
16738 * ehelp.el (with-electric-help):
16739 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16740 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
16741 * emacs-lisp/helper.el (Helper-help-scroller):
16742 * emulation/cua-base.el (cua--post-command-handler-1):
16743 * eshell/esh-mode.el (eshell-output-filter):
16744 * ffap.el (ffap-gnus-wrapper):
16745 * help-macro.el (make-help-screen):
16746 * hilit-chg.el (highlight-compare-buffers):
16747 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
16748 * hl-line.el (global-hl-line-highlight):
16749 * icomplete.el (icomplete-simple-completing-p):
16750 * isearch.el (isearch-done):
16751 * jit-lock.el (jit-lock-stealth-fontify):
16752 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
16753 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
16754 * mpc.el (mpc-tagbrowser, mpc):
16755 * net/rcirc.el (rcirc-any-buffer):
16756 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
16757 * play/landmark.el (landmark-max-width, landmark-max-height):
16758 * play/zone.el (zone):
16759 * progmodes/compile.el (compilation-goto-locus):
16760 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
16761 * progmodes/etags.el (find-tag-other-window):
16762 * progmodes/fortran.el (fortran-column-ruler):
16763 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16764 * progmodes/verilog-mode.el (verilog-point-text):
16765 * reposition.el (reposition-window):
16766 * rot13.el (toggle-rot13-mode):
16767 * server.el (server-switch-buffer):
16768 * shell.el (shell-dynamic-complete-command)
16769 (shell-dynamic-complete-environment-variable):
16770 * simple.el (insert-buffer, set-selective-display)
16771 (delete-completion-window):
16772 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
16773 (speedbar-recenter):
16774 * startup.el (fancy-splash-head):
16775 * textmodes/ispell.el (ispell-command-loop):
16776 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
16777 * tutorial.el (help-with-tutorial):
16778 * vc/add-log.el (add-change-log-entry):
16779 * vc/compare-w.el (compare-windows):
16780 * vc/ediff-help.el (ediff-indent-help-message):
16781 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
16782 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
16783 (ediff-setup-control-frame):
16784 * vc/emerge.el (emerge-position-region):
16785 * vc/pcvs-util.el (cvs-bury-buffer):
16786 * window.el (walk-windows, mouse-autoselect-window-select):
16787 * winner.el (winner-set-conf, winner-undo): Related users changed.
16788
16789 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
16790
16791 * frameset.el (frameset--set-id): Doc fix.
16792 (frameset-frame-id, frameset-frame-id-equal-p)
16793 (frameset-locate-frame-id): New functions.
16794 (frameset--process-minibuffer-frames, frameset--reuse-frame)
16795 (frameset-restore): Use them.
16796
16797 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
16798
16799 Do not call to `selected-frame' where it is assumed by default.
16800 Affected functions are `raise-frame', `redraw-frame',
16801 `frame-first-window', `frame-terminal' and `delete-frame'.
16802 * calendar/appt.el (appt-disp-window):
16803 * epg.el (epg-wait-for-completion):
16804 * follow.el (follow-delete-other-windows-and-split)
16805 (follow-avoid-tail-recenter):
16806 * international/mule.el (set-terminal-coding-system):
16807 * mail/rmail.el (rmail-mail-return):
16808 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16809 * progmodes/f90.el (f90-add-imenu-menu):
16810 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
16811 * server.el (server-switch-buffer):
16812 * simple.el (delete-completion-window):
16813 * talk.el (talk):
16814 * term/xterm.el (terminal-init-xterm-modify-other-keys)
16815 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
16816 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
16817 * vc/ediff.el (ediff-documentation): Related users changed.
16818 * frame.el (selected-terminal): Remove the leftover.
16819
16820 2013-08-05 Glenn Morris <rgm@gnu.org>
16821
16822 * calendar/calendar.el (calendar-generate-month):
16823 Fix for calendar-column-width != 1 + calendar-day-digit-width.
16824 (calendar-generate-month, calendar-font-lock-keywords):
16825 Fix for calendar-day-header-width > length of any day name.
16826
16827 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
16828
16829 * desktop.el (desktop-clear): Use new name of sort predicate.
16830
16831 * frameset.el (frameset): Add docstring. Move :version property to its
16832 own `version' slot.
16833 (frameset-copy): Rename from copy-frameset.
16834 (frameset-p): Check more thoroughly.
16835 (frameset-prop): Do not check for :version, which is no longer a prop.
16836 (frameset-live-filter-alist, frameset-persistent-filter-alist):
16837 Use new :never value instead of t.
16838 (frameset-filter-alist): Expand and clarify docstring.
16839 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
16840 (frameset-filter-minibuffer, frameset-filter-save-param)
16841 (frameset-filter-restore-param, frameset-filter-iconified):
16842 Add pointer to docstring of frameset-filter-alist.
16843 (frameset-filter-params): Rename filter values to be more meaningful:
16844 :never instead of t, and reverse the meanings of :save and :restore.
16845 (frameset--process-minibuffer-frames): Clarify error message.
16846 (frameset-save): Avoid unnecessary and confusing call to framep.
16847 Use new BOA constructor for framesets.
16848 (frameset--reuse-list): Doc fix.
16849 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
16850 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
16851 (frameset-minibufferless-first-p): Doc fix.
16852 Rename from frameset-sort-frames-for-deletion.
16853 (frameset-restore): Doc fixes. Use new function names.
16854 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
16855
16856 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
16857
16858 * desktop.el (desktop-restore-forces-onscreen)
16859 (desktop-restore-reuses-frames): Document :keyword constant values.
16860 (desktop-filter-parameters-alist): Remove, now identical to
16861 frameset-filter-alist.
16862 (desktop--filter-tty*): Remove, moved to frameset.el.
16863 (desktop-save-frameset, desktop-restore-frameset):
16864 Do not pass :filters argument.
16865
16866 * frameset.el (frameset-live-filter-alist)
16867 (frameset-persistent-filter-alist): New variables.
16868 (frameset-filter-alist): Use them. Add autoload cookie.
16869 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
16870 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
16871 `frameset--id' (it's supposed to be internal to frameset.el).
16872 (frameset--process-minibuffer-frames): Ditto. Doc fix.
16873 (frameset--initial-params): New function.
16874 (frameset--get-frame): Use it. Doc fix.
16875 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
16876 Accept :all, not 'all.
16877 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
16878 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
16879 with fbound symbols. Fix frame id matching, and remove matching ids if
16880 the frame being restored is deleted. Obey :delete.
16881
16882 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
16883
16884 * subr.el (macrop): New function.
16885 (text-clone--maintaining): New var.
16886 (text-clone--maintain): Rename from text-clone-maintain. Use it
16887 instead of inhibit-modification-hooks.
16888
16889 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
16890 a proxy, so as handle autoloads and redefinitions of the target.
16891 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
16892
16893 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
16894 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
16895 (pcase--mutually-exclusive-p): New function.
16896 (pcase--split-consp): Use it.
16897 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
16898 mutually exclusive with the current predicate.
16899
16900 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
16901 (edebug-macrop): Remove. Use `macrop' instead.
16902 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
16903 (ad-macro-p):
16904 * eshell/esh-cmd.el (eshell-macrop):
16905 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
16906
16907 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
16908
16909 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
16910 (advice-mapc): New function, using it.
16911 (advice-function-member-p): New function.
16912 (advice--normalize): Store the cdr in advice--saved-rewrite since
16913 that's the part that will be changed.
16914 (advice--symbol-function): New function.
16915 (advice-remove): Handle removal before the function is defined.
16916 Adjust to new advice--saved-rewrite.
16917 (advice-member-p): Use advice-function-member-p and
16918 advice--symbol-function.
16919
16920 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
16921
16922 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
16923 (frameset-filter-minibuffer): Doc fix.
16924 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
16925 (frameset--set-id, frameset--process-minibuffer-frames)
16926 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
16927 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
16928
16929 * desktop.el (desktop-clear): Only delete frames when called
16930 interactively and desktop-restore-frames is non-nil. Doc fix.
16931 (desktop-read): Set desktop-saved-frameset to nil.
16932
16933 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
16934
16935 * vc/vc.el (vc-ignore): Rewrite.
16936 (vc-default-ignore-completion-table, vc--read-lines)
16937 (vc--add-line, vc--remove-regexp): New functions.
16938
16939 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
16940 (vc-svn-ignore-completion-table): New function.
16941
16942 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
16943 (vc-hg-ignore-completion-table)
16944 (vc-hg-find-ignore-file): New functions.
16945
16946 * vc/vc-git.el (vc-git-ignore): Rewrite.
16947 (vc-git-ignore-completion-table)
16948 (vc-git-find-ignore-file): New functions.
16949
16950 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
16951
16952 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
16953 (vc-bzr-ignore-completion-table)
16954 (vc-bzr-find-ignore-file): New functions.
16955
16956 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
16957
16958 * frameset.el (frameset-prop): New function and setter.
16959 (frameset-save): Do not modify frame list passed by the caller.
16960
16961 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16962
16963 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
16964
16965 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
16966
16967 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
16968 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
16969
16970 * custom.el (custom-initialize-default, custom-initialize-set)
16971 (custom-initialize-reset, custom-initialize-changed): Affect the
16972 toplevel-default-value (bug#6275, bug#14586).
16973 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
16974 for bug#6275.
16975
16976 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
16977
16978 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
16979 Add cl-def* expressions.
16980
16981 * frameset.el (frameset-filter-params): Fix order of arguments.
16982
16983 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
16984
16985 Move code related to saving frames to frameset.el.
16986 * desktop.el: Require frameset.
16987 (desktop-restore-frames): Doc fix.
16988 (desktop-restore-reuses-frames): Rename from
16989 desktop-restoring-reuses-frames.
16990 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
16991 (desktop-clear): Clear frames too.
16992 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
16993 (desktop--filter-tty*, desktop-save, desktop-read):
16994 Use frameset functions.
16995 (desktop-before-saving-frames-functions, desktop--filter-*-color)
16996 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16997 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
16998 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
16999 (desktop--process-minibuffer-frames, desktop-save-frames)
17000 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
17001 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
17002 (desktop--sort-states, desktop-restoring-frames-p)
17003 (desktop-restore-frames): Remove. Most code moved to frameset.el.
17004 (desktop-restoring-frameset-p, desktop-restore-frameset)
17005 (desktop--check-dont-save, desktop-save-frameset): New functions.
17006 (desktop--app-id): New constant.
17007 (desktop-first-buffer, desktop-buffer-ok-count)
17008 (desktop-buffer-fail-count): Move before first use.
17009 * frameset.el: New file.
17010
17011 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17012
17013 * files.el: Use lexical-binding.
17014 (dir-locals-read-from-file): Remove unused `err' variable.
17015 (hack-dir-local-variables--warned-coding): New var.
17016 (hack-dir-local-variables): Use it to avoid repeated warnings.
17017 (make-backup-file-name--default-function): New function.
17018 (make-backup-file-name-function): Use it as default.
17019 (buffer-stale--default-function): New function.
17020 (buffer-stale-function): Use it as default.
17021 (revert-buffer-insert-file-contents--default-function): New function.
17022 (revert-buffer-insert-file-contents-function): Use it as default.
17023 (insert-directory): Avoid add-to-list.
17024
17025 * autorevert.el (auto-revert-handler): Simplify.
17026 Use buffer-stale--default-function.
17027
17028 2013-08-01 Tassilo Horn <tsdh@gnu.org>
17029
17030 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
17031
17032 * whitespace.el (whitespace-ensure-local-variables): New function.
17033 (whitespace-cleanup-region): Call it.
17034 (whitespace-turn-on): Call it.
17035
17036 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
17037
17038 Complete file name handlers.
17039
17040 * net/tramp.el (tramp-handle-set-visited-file-modtime)
17041 (tramp-handle-verify-visited-file-modtime)
17042 (tramp-handle-file-notify-rm-watch): New functions.
17043 (tramp-call-process): Do not bind `default-directory'.
17044
17045 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17046 Order alphabetically.
17047 <access-file, add-name-to-file, dired-call-process>:
17048 <dired-compress-file, file-acl, file-notify-rm-watch>:
17049 <file-ownership-preserved-p, file-selinux-context>:
17050 <make-directory-internal, make-symbolic-link, set-file-acl>:
17051 <set-file-selinux-context, set-visited-file-modtime>:
17052 <verify-visited-file-modtime>: Add handler.
17053 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
17054
17055 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
17056 <file-notify-add-watch, file-notify-rm-watch>:
17057 <set-file-times, set-visited-file-modtime>:
17058 <verify-visited-file-modtime>: Add handler.
17059 (with-tramp-gvfs-error-message)
17060 (tramp-gvfs-handle-set-visited-file-modtime)
17061 (tramp-gvfs-fuse-file-name): Remove.
17062 (tramp-gvfs-handle-file-notify-add-watch)
17063 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
17064 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
17065
17066 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17067 Order alphabetically.
17068 <file-notify-rm-watch>: Use default Tramp handler.
17069 <executable-find>: Remove private handler.
17070 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
17071 `default-directory'.
17072 (tramp-sh-handle-executable-find)
17073 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
17074 (tramp-sh-file-gvfs-monitor-dir-process-filter)
17075 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
17076 Do not use `format' in `tramp-message'.
17077
17078 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
17079 <file-notify-rm-watch, set-visited-file-modtime>:
17080 <verify-visited-file-modtime>: Add handler.
17081 (tramp-smb-call-winexe): Do not bind `default-directory'.
17082
17083 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
17084
17085 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
17086
17087 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
17088
17089 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
17090 use it.
17091 (log-view-diff-changeset): Same.
17092 (log-view-diff-common): Call backend command `previous-revision'
17093 to find out the previous revision, in both cases. Swap the
17094 variables `to' and `fr', so that `fr' usually refers to the
17095 earlier revision (Bug#14989).
17096
17097 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
17098
17099 * ibuf-ext.el (ibuffer-filter-by-filename):
17100 Make it work with dired buffers too.
17101
17102 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
17103
17104 * emacs-lisp/re-builder.el (reb-color-display-p):
17105 * files.el (save-buffers-kill-terminal):
17106 * net/browse-url.el (browse-url):
17107 * server.el (server-save-buffers-kill-terminal):
17108 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
17109 Prefer nil to selected-frame for the first arg of frame-parameter.
17110
17111 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
17112
17113 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
17114
17115 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
17116
17117 * minibuffer.el (completion--twq-all): Try and preserve each
17118 completion's case choice (bug#14907).
17119
17120 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17121
17122 * net/network-stream.el (open-network-stream): Mention the new
17123 :nogreeting parameter.
17124 (network-stream-open-starttls): Use the :nogreeting parameter
17125 (bug#14938).
17126
17127 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
17128
17129 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
17130 more natural than popping.
17131
17132 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
17133 (shr-urlify): Highlight under mouse.
17134
17135 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
17136
17137 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
17138
17139 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
17140
17141 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
17142 buffer for output.
17143
17144 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
17145 point-min==1. Fix search string. Fix parentheses missing.
17146
17147 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
17148 assume point-min==1. Fix search string. Fix parentheses missing.
17149
17150 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
17151
17152 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
17153 buffer for output.
17154
17155 2013-07-29 Eli Zaretskii <eliz@gnu.org>
17156
17157 * frame.el (frame-notice-user-settings): Avoid inflooping when the
17158 initial frame is minibuffer-less. (Bug#14841)
17159
17160 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
17161
17162 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
17163 option.
17164
17165 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17166 (tramp-maybe-open-connection): Use it.
17167
17168 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
17169
17170 * desktop.el (desktop--make-frame): Include `minibuffer' in the
17171 minimal set of parameters passed when creating a frame, because
17172 the minibuffer status of a frame cannot be changed later.
17173
17174 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
17175
17176 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
17177 replace-regexp-in-string and inadvertent omissions in previous change.
17178 (todo-filter-items): Ensure only file names are comma-separated in
17179 name of filtered items buffer.
17180
17181 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
17182
17183 * desktop.el: Optionally force offscreen frames back onscreen.
17184 (desktop-restoring-reuses-frames): New option.
17185 (desktop--compute-pos, desktop--move-onscreen): New functions.
17186 (desktop--make-frame): Use desktop--move-onscreen.
17187
17188 2013-07-27 Alan Mackenzie <acm@muc.de>
17189
17190 Fontify a Java generic method as a function.
17191 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
17192 value to t.
17193
17194 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
17195
17196 * calendar/todo-mode.el: Add command to rename todo files.
17197 (todo-rename-file): New command.
17198 (todo-key-bindings-t): Add key binding for it. Change the
17199 bindings of todo-filter-regexp-items(-multifile) to use `x'
17200 instead of `r', since the latter is better suited to the new
17201 renaming command.
17202
17203 2013-07-27 Alan Mackenzie <acm@muc.de>
17204
17205 Make Java try-with-resources statement parse properly.
17206 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
17207 (c-block-stmt-1-2-key): New language constants/variables.
17208 * progmodes/cc-engine.el (c-beginning-of-statement-1)
17209 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
17210 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
17211 with c-block-stmt-1-2-key.
17212
17213 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
17214
17215 * desktop.el (desktop--make-frame): Apply most frame parameters after
17216 creating the frame to force (partially or totally) offscreen frames to
17217 be restored as such.
17218
17219 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
17220
17221 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
17222 (Bug#14948)
17223
17224 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
17225
17226 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
17227 `base' arg of backtrace-frame.
17228
17229 2013-07-26 Eli Zaretskii <eliz@gnu.org>
17230
17231 * simple.el (list-processes): Doc fix.
17232
17233 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
17234
17235 * desktop.el (desktop--select-frame):
17236 Try harder to reuse existing frames.
17237
17238 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
17239
17240 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
17241 (edebug-eval): Use backtrace-eval.
17242 (edebug--display, edebug--recursive-edit): Don't let-bind the
17243 edebug-outer-* vars that keep track of variables we locally let-bind.
17244 (edebug-outside-excursion): Don't restore outside values of locally
17245 let-bound vars.
17246 (edebug--display): Use user-error.
17247 (cl-lexical-debug, cl-debug-env): Remove.
17248
17249 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
17250
17251 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
17252 are restored to be sure that they are visible before deleting any
17253 remaining ones.
17254
17255 2013-07-26 Matthias Meulien <orontee@gmail.com>
17256
17257 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
17258 vc-print-root-log. (Bug#14948)
17259
17260 2013-07-26 Richard Stallman <rms@gnu.org>
17261
17262 Add aliases for encrypting mail.
17263 * epa.el (epa-mail-aliases): New option.
17264 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
17265 Bind inhibit-read-only so read-only text doesn't ruin everything.
17266 (epa-mail-default-recipients): New subroutine broken out.
17267 Handle epa-mail-aliases.
17268
17269 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
17270
17271 Add support for lexical variables to the debugger's `e' command.
17272 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
17273 vars, except for debugger-outer-match-data.
17274 (debugger-frame-number): Move check for "on a function call" from
17275 callers into it. Add `skip-base' argument.
17276 (debugger-frame, debugger-frame-clear): Simplify accordingly.
17277 (debugger-env-macro): Only reset the state stored in non-variables,
17278 i.e. current-buffer and match-data.
17279 (debugger-eval-expression): Rewrite using backtrace-eval.
17280 * subr.el (internal--called-interactively-p--get-frame): Remove.
17281 (called-interactively-p):
17282 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
17283 `base' arg of backtrace-frame instead.
17284
17285 2013-07-26 Glenn Morris <rgm@gnu.org>
17286
17287 * align.el (align-regexp): Doc fix. (Bug#14857)
17288 (align-region): Explicit error if subexpression missing/does not match.
17289
17290 * simple.el (global-visual-line-mode):
17291 Do not duplicate the mode lighter. (Bug#14858)
17292
17293 2013-07-25 Martin Rudalics <rudalics@gmx.at>
17294
17295 * window.el (display-buffer): In display-buffer bind
17296 split-window-keep-point to t, bug#14829.
17297
17298 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
17299
17300 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
17301 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
17302 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
17303 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
17304 Change accordingly.
17305 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
17306 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
17307
17308 2013-07-25 Glenn Morris <rgm@gnu.org>
17309
17310 * dired-x.el (dired-mark-extension): Convert comment to doc string.
17311
17312 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
17313
17314 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
17315 parameter to modify-frame-parameters if the value has not changed;
17316 this is a workaround for bug#14949.
17317 (desktop--make-frame): On cl-delete-if call, check parameter name,
17318 not full parameter.
17319
17320 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
17321
17322 * vc/vc.el (vc-ignore): New function.
17323
17324 * vc/vc-svn.el (vc-svn-ignore): New function.
17325
17326 * vc/vc-hg.el (vc-hg-ignore): New function.
17327
17328 * vc/vc-git.el (vc-git-ignore): New function.
17329
17330 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
17331 (vc-dir-ignore): New function.
17332
17333 * vc/vc-cvs.el (vc-cvs-ignore): New function.
17334 (cvs-append-to-ignore): Move here from pcvs.el.
17335
17336 * vc/vc-bzr.el (vc-bzr-ignore): New function.
17337
17338 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
17339
17340 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
17341
17342 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
17343 (desktop-restore-frames): Warn when deleting an existing frame failed.
17344
17345 2013-07-24 Glenn Morris <rgm@gnu.org>
17346
17347 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
17348
17349 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
17350
17351 * filenotify.el (file-notify-supported-p):
17352 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
17353 Remove functions.
17354
17355 * autorevert.el (auto-revert-use-notify)
17356 (auto-revert-notify-add-watch):
17357 * net/tramp.el (tramp-file-name-for-operation):
17358 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17359 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17360 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17361 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17362 Remove `file-notify-supported-p' entry.
17363
17364 2013-07-24 Glenn Morris <rgm@gnu.org>
17365
17366 * printing.el: Replace all uses of deleted ps-windows-system,
17367 ps-lp-system, ps-flatten-list with lpr- versions.
17368
17369 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
17370
17371 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
17372 checked with memq (bug#14935).
17373
17374 * files.el (revert-buffer-function): Use a non-nil default.
17375 (revert-buffer-preserve-modes): Declare var to
17376 provide access to the `preserve-modes' argument.
17377 (revert-buffer): Let-bind it.
17378 (revert-buffer--default): New function, extracted from revert-buffer.
17379
17380 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
17381
17382 * lpr.el: Signal print errors more prominently.
17383 (print-region-function): Don't default to nil.
17384 (lpr-print-region): New function, extracted from print-region-1.
17385 Check lpr's return value and signal an error in case of problem.
17386 (print-region-1): Use it.
17387 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
17388 versions instead.
17389 (ps-printer-name): Default to nil.
17390 (ps-printer-name-option): Default to lpr-printer-switch.
17391 (ps-print-region-function): Don't default to nil.
17392 (ps-postscript-code-directory): Simplify default.
17393 (ps-do-despool): Use lpr-print-region to properly check the outcome.
17394 (ps-string-list, ps-eval-switch, ps-flatten-list)
17395 (ps-flatten-list-1): Remove.
17396 (ps-multibyte-buffer): Avoid setq.
17397 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
17398 (print-region-function, ps-print-region-function): Don't set them here.
17399
17400 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
17401
17402 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
17403 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
17404 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
17405 (ido-decorations): Doc fix.
17406
17407 * ansi-color.el: Fix old URL.
17408
17409 2013-07-23 Michael R. Mauger <michael@mauger.com>
17410
17411 * progmodes/sql.el: Version 3.3
17412 (sql-product-alist): Improve oracle :prompt-cont-regexp.
17413 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
17414 (sql-interactive-remove-continuation-prompt): Rewrite, use
17415 functions above. Fix continuation prompt and complete output line
17416 handling.
17417 (sql-redirect-one, sql-execute): Use `read-only-mode' on
17418 redirected output buffer.
17419 (sql-mode): Restore deleted code (Bug#13591).
17420
17421 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
17422
17423 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
17424
17425 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
17426
17427 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
17428
17429 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17430 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17431 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
17432
17433 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
17434
17435 * desktop.el (desktop-clear): Simplify; remove useless checks
17436 against invalid buffer names.
17437 (desktop-list*): Use cl-list*.
17438 (desktop-buffer-info, desktop-create-buffer): Simplify.
17439
17440 2013-07-23 Leo Liu <sdl.web@gmail.com>
17441
17442 * bookmark.el (bookmark-make-record): Restore NAME as a default
17443 value. (Bug#14933)
17444
17445 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
17446
17447 * emacs-lisp/autoload.el (autoload--setup-output): New function,
17448 extracted from autoload--insert-text.
17449 (autoload--insert-text): Remove.
17450 (autoload--print-cookie-text): New function, extracted from
17451 autoload--insert-cookie-text.
17452 (autoload--insert-cookie-text): Remove.
17453 (autoload-generate-file-autoloads): Adjust calls accordingly.
17454
17455 * winner.el (winner-hook-installed-p): Remove.
17456 (winner-mode): Simplify accordingly.
17457
17458 * subr.el (add-to-list): Fix compiler-macro when `append' is
17459 not constant. Don't use `cl-member' for the base case.
17460
17461 * progmodes/subword.el: Fix boundary case (bug#13758).
17462 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
17463 own group.
17464 (subword-backward-regexp): Make it a constant.
17465 (subword-forward-internal): Don't treat a trailing capital as the
17466 beginning of a word.
17467
17468 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
17469
17470 * emacs-lisp/package.el (package-menu-mode): Don't modify the
17471 global value of tabulated-list-revert-hook (bug#14930).
17472
17473 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
17474
17475 * desktop.el: Require 'cl-lib.
17476 (desktop-before-saving-frames-functions): New hook.
17477 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
17478 for frames being saved. Rename from desktop--save-minibuffer-frames.
17479 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
17480 Do not save frames with non-nil `desktop-dont-save' parameter.
17481 Filter out deleted frames.
17482 (desktop--find-frame): Use cl-find-if.
17483 (desktop--select-frame): Use cl-(first|second|third) to access values
17484 of desktop-mini.
17485 (desktop--make-frame): Use cl-delete-if.
17486 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
17487 (desktop-restore-frames): Use cl-(first|second|third) to access values
17488 of desktop-mini. Look for visible frame at the end, not while
17489 restoring frames.
17490
17491 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
17492 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
17493 Use string-match-p, looking-at-p (bug#14927).
17494
17495 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
17496
17497 * desktop.el (desktop-saved-frame-states):
17498 Rename from desktop--saved-states; all users changed.
17499 (desktop-save-frames): Rename from desktop--save-frames.
17500 Do not save state to desktop file.
17501 (desktop-save): Save desktop-saved-frame-states to desktop file
17502 and reset to nil.
17503 (desktop-restoring-frames-p): New function.
17504 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
17505 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
17506 buffer-lists when restoring frames. Suggested by Martin Rudalics.
17507
17508 * desktop.el: Correctly restore iconified frames.
17509 (desktop--filter-iconified-position): New function.
17510 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
17511
17512 2013-07-20 Glenn Morris <rgm@gnu.org>
17513
17514 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
17515 Let `message' do the formatting.
17516 (def-gdb-preempt-display-buffer): Add explicit format.
17517
17518 * image-dired.el (image-dired-track-original-file):
17519 Use with-current-buffer.
17520 (image-dired-track-thumbnail): Use with-current-buffer.
17521 Avoid changing point of wrong window.
17522
17523 * image-dired.el (image-dired-track-original-file):
17524 Avoid changing point of wrong window. (Bug#14909)
17525
17526 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
17527
17528 * progmodes/gdb-mi.el (gdb-done-or-error):
17529 Guard against "%" in gdb output. (Bug#14127)
17530
17531 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
17532
17533 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
17534 (Bug#14826)
17535
17536 * international/mule.el (coding-system-iso-2022-flags): Fix last
17537 change.
17538
17539 2013-07-20 Kenichi Handa <handa@gnu.org>
17540
17541 * international/mule.el (coding-system-iso-2022-flags):
17542 Add `8-bit-level-4'. (Bug#8522)
17543
17544 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17545
17546 * net/shr.el (shr-mouse-browse-url): New command and keystroke
17547 (bug#14815).
17548
17549 * net/eww.el (eww-process-text-input): Allow inputting when the
17550 point is at the start of the line, as the properties aren't
17551 front-sticky.
17552
17553 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
17554 degenerate widths.
17555
17556 2013-07-19 Richard Stallman <rms@gnu.org>
17557
17558 * epa.el (epa-popup-info-window): Doc fix.
17559
17560 * subr.el (split-string): New arg TRIM.
17561
17562 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
17563
17564 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
17565 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
17566
17567 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
17568
17569 * filenotify.el (file-notify--library): Rename from
17570 `file-notify-support'. Do not autoload. Adapt all uses.
17571 (file-notify-supported-p): New defun.
17572
17573 * autorevert.el (auto-revert-use-notify):
17574 Use `file-notify-supported-p' instead of `file-notify-support'.
17575 Adapt docstring.
17576 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
17577
17578 * net/tramp.el (tramp-file-name-for-operation):
17579 Add `file-notify-supported-p'.
17580
17581 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
17582 New defun.
17583 (tramp-sh-file-name-handler-alist): Add it as handler for
17584 `file-notify-supported-p '.
17585
17586 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
17587 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17588 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17589 Add `ignore' as handler for `file-notify-*' functions.
17590
17591 2013-07-17 Eli Zaretskii <eliz@gnu.org>
17592
17593 * simple.el (line-move-partial, line-move): Don't start vscroll or
17594 scroll-up if the current line is not taller than the window.
17595 (Bug#14881)
17596
17597 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
17598
17599 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
17600 highlight question marks in the method names as strings.
17601 (ruby-block-beg-keywords): Inline.
17602 (ruby-font-lock-keyword-beg-re): Extract from
17603 `ruby-font-lock-keywords'.
17604
17605 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
17606
17607 * frame.el (blink-cursor-blinks): New defcustom.
17608 (blink-cursor-blinks-done): New defvar.
17609 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
17610 (blink-cursor-timer-function): Check if number of blinks has been
17611 done on X and NS.
17612 (blink-cursor-suspend, blink-cursor-check): New defuns.
17613
17614 2013-07-15 Glenn Morris <rgm@gnu.org>
17615
17616 * edmacro.el (edmacro-format-keys): Fix previous change.
17617
17618 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
17619
17620 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
17621 The hack didn't work outside English locales anyway.
17622
17623 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
17624
17625 * simple.el (define-alternatives): Rename from alternatives-define,
17626 per RMS' suggestion.
17627
17628 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
17629
17630 * desktop.el (desktop-restore-frames): Change default to t.
17631 (desktop-restore-in-current-display): Now offer more options.
17632 (desktop-restoring-reuses-frames): New customization option.
17633 (desktop--saved-states): Doc fix.
17634 (desktop-filter-parameters-alist): New variable, renamed and expanded
17635 from desktop--excluded-frame-parameters.
17636 (desktop--target-display): New variable.
17637 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
17638 (desktop--filter-tty*, desktop--filter-*-color)
17639 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
17640 (desktop--filter-save-desktop-parm)
17641 (desktop-restore-in-original-display-p): New functions.
17642 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
17643 (desktop--save-minibuffer-frames): New function, inspired by a similar
17644 function from Martin Rudalics.
17645 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
17646 (desktop--restore-in-this-display-p): Remove.
17647 (desktop--find-frame): Rename from desktop--find-frame-in-display
17648 and add predicate argument.
17649 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
17650 (desktop--reuse-list): New variable.
17651 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
17652 New functions.
17653 (desktop--restore-frames): Add support for "minibuffer-special" frames.
17654
17655 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
17656
17657 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
17658
17659 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
17660
17661 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17662 Highlight conversion methods on Kernel.
17663
17664 2013-07-13 Alan Mackenzie <acm@muc.de>
17665
17666 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
17667 and comment it out. This out-commenting enables certain C++
17668 declarations to be parsed correctly.
17669
17670 2013-07-13 Eli Zaretskii <eliz@gnu.org>
17671
17672 * international/mule.el (define-coding-system): Doc fix.
17673
17674 * simple.el (default-font-height): Don't call font-info if the
17675 frame's default font didn't change since the frame was created.
17676 (Bug#14838)
17677
17678 2013-07-13 Leo Liu <sdl.web@gmail.com>
17679
17680 * ido.el (ido-read-file-name): Guard against non-symbol value.
17681
17682 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
17683
17684 * progmodes/python.el (python-imenu--build-tree): Fix corner case
17685 in nested defuns.
17686
17687 2013-07-13 Leo Liu <sdl.web@gmail.com>
17688
17689 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
17690 ido-set-matches call. (Bug#6852)
17691
17692 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
17693
17694 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
17695 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
17696 Ruby 2.0.
17697 (ruby-font-lock-keywords): Distinguish calls to functions with
17698 module-like names from module references. Highlight character
17699 literals.
17700
17701 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
17702
17703 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
17704 (gdb-send): Handle continued commands. (Bug#14847)
17705
17706 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
17707
17708 * desktop.el (desktop--v2s): Remove unused local variable.
17709 (desktop-save-buffer): Make defvar-local; adjust docstring.
17710 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
17711 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
17712
17713 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
17714
17715 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
17716
17717 2013-07-12 Eli Zaretskii <eliz@gnu.org>
17718
17719 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
17720 (Bug#14842)
17721
17722 2013-07-12 Glenn Morris <rgm@gnu.org>
17723
17724 * doc-view.el: Require cl-lib at runtime too.
17725 (doc-view-remove-if): Remove.
17726 (doc-view-search-next-match, doc-view-search-previous-match):
17727 Use cl-remove-if.
17728
17729 * edmacro.el: Require cl-lib at runtime too.
17730 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
17731 (edmacro-mismatch, edmacro-subseq): Remove.
17732
17733 * shadowfile.el: Require cl-lib.
17734 (shadow-remove-if): Remove.
17735 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
17736 Use cl-remove-if.
17737
17738 * wid-edit.el: Require cl-lib.
17739 (widget-choose): Use cl-remove-if.
17740 (widget-remove-if): Remove.
17741
17742 * progmodes/ebrowse.el: Require cl-lib at runtime too.
17743 (ebrowse-delete-if-not): Remove.
17744 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
17745 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
17746 Use cl-delete-if-not.
17747
17748 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
17749
17750 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
17751 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
17752
17753 2013-07-12 Leo Liu <sdl.web@gmail.com>
17754
17755 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
17756
17757 2013-07-11 Glenn Morris <rgm@gnu.org>
17758
17759 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
17760 (edebug-gensym-index, edebug-gensym):
17761 Remove reimplementation of cl-gensym.
17762 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
17763
17764 * thumbs.el: Require cl-lib at run-time too.
17765 (thumbs-gensym-counter, thumbs-gensym):
17766 Remove reimplementation of cl-gensym.
17767 (thumbs-temp-file): Use cl-gensym.
17768
17769 * emacs-lisp/ert.el: Require cl-lib at runtime too.
17770 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
17771 (ert--intersection, ert--set-difference, ert--set-difference-eq)
17772 (ert--union, ert--gensym-counter, ert--gensym-counter)
17773 (ert--coerce-to-vector, ert--remove*, ert--string-position)
17774 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
17775 (ert-make-test-unbound, ert--expand-should-1)
17776 (ert--expand-should, ert--should-error-handle-error)
17777 (should-error, ert--explain-equal-rec)
17778 (ert--plist-difference-explanation, ert-select-tests)
17779 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
17780 Use cl-lib functions rather than reimplementations.
17781
17782 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
17783
17784 * net/tramp.el (tramp-methods): Extend docstring.
17785 (tramp-connection-timeout): New defcustom.
17786 (tramp-error-with-buffer): Reset timestamp only when appropriate.
17787 (with-tramp-progress-reporter): Simplify.
17788 (tramp-process-actions): Improve messages.
17789
17790 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17791 * net/tramp-sh.el (tramp-maybe-open-connection):
17792 Use `tramp-connection-timeout'.
17793 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
17794 (Bug#14808)
17795
17796 2013-07-11 Leo Liu <sdl.web@gmail.com>
17797
17798 * ido.el (ido-read-file-name): Conform to the requirements of
17799 read-file-name. (Bug#11861)
17800 (ido-read-directory-name): Conform to the requirements of
17801 read-directory-name.
17802
17803 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
17804
17805 * subr.el (delay-warning): New function.
17806
17807 2013-07-10 Eli Zaretskii <eliz@gnu.org>
17808
17809 * simple.el (default-line-height): New function.
17810 (line-move-partial, line-move): Use it instead of computing the
17811 line height inline.
17812 (line-move-partial): Always compute ROWH. If the last line is
17813 partially-visible, but its text is completely visible, allow
17814 cursor to enter such a partially-visible line.
17815
17816 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
17817
17818 Improve error messages. (Bug#14808)
17819
17820 * net/tramp.el (tramp-current-connection): New defvar, moved from
17821 tramp-sh.el.
17822 (tramp-message-show-progress-reporter-message): Remove, not
17823 needed anymore.
17824 (tramp-error-with-buffer): Show message in minibuffer.
17825 Discard input before waiting. Reset connection timestamp.
17826 (with-tramp-progress-reporter): Improve messages.
17827 (tramp-process-actions): Use progress reporter. Delete process in
17828 case of error. Improve messages.
17829
17830 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
17831 Call `tramp-error-with-buffer' with vector and buffer.
17832 (tramp-current-connection): Remove.
17833 (tramp-maybe-open-connection): The car of
17834 `tramp-current-connection' are the first 3 slots of the vector.
17835
17836 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
17837
17838 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
17839 inside continued strings.
17840
17841 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
17842
17843 Timestamp fixes for undo (Bug#14824).
17844 * files.el (clear-visited-file-modtime): Move here from fileio.c.
17845
17846 2013-07-10 Leo Liu <sdl.web@gmail.com>
17847
17848 * files.el (require-final-newline): Allow safe local value.
17849 (Bug#14834)
17850
17851 2013-07-09 Leo Liu <sdl.web@gmail.com>
17852
17853 * ido.el (ido-read-directory-name): Handle fallback.
17854 (ido-read-file-name): Update DIR to ido-current-directory.
17855 (Bug#1516)
17856 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
17857
17858 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
17859
17860 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
17861 "autoload". Remove "warn lower camel case" section, previously
17862 commented out. Highlight negation char. Do not highlight the
17863 target in singleton method definitions.
17864
17865 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17866
17867 * faces.el (tty-setup-hook): Declare the hook.
17868
17869 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
17870 and detect when a guard/pred depends on local vars (bug#14773).
17871 (pcase--u1): Adjust caller.
17872
17873 2013-07-08 Eli Zaretskii <eliz@gnu.org>
17874
17875 * simple.el (line-move-partial, line-move): Account for
17876 line-spacing.
17877 (line-move-partial): Avoid setting vscroll when the last
17878 partially-visible line in window is of default height.
17879
17880 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17881
17882 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
17883 been used a while.
17884
17885 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
17886
17887 * subr.el (read-quoted-char): Remove unused local variable `char'.
17888
17889 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
17890
17891 * vc/ediff.el (ediff-version): Version update.
17892 (ediff-files-command, ediff3-files-command, ediff-merge-command)
17893 (ediff-merge-with-ancestor-command, ediff-directories-command)
17894 (ediff-directories3-command, ediff-merge-directories-command)
17895 (ediff-merge-directories-with-ancestor-command): New functions.
17896 All are command-line interfaces to ediff: to facilitate calling
17897 Emacs with the appropriate ediff functions invoked.
17898
17899 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
17900 New function.
17901 (viper-save-kill-buffer): Check if buffer is modified.
17902
17903 * emulation/viper.el (viper-version): Version update.
17904 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
17905
17906 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
17907
17908 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
17909 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
17910 (viper-intercept-ESC-key): Simplify.
17911 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
17912 don't use kbd.
17913 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
17914 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
17915 (viper-setup-ESC-to-escape): New functions.
17916 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
17917 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
17918
17919 2013-07-07 Eli Zaretskii <eliz@gnu.org>
17920
17921 * simple.el (default-font-height, window-screen-lines):
17922 New functions.
17923 (line-move, line-move-partial): Use them instead of
17924 frame-char-height and window-text-height. This makes scrolling
17925 text smoother when the buffer's default face uses a font that is
17926 different from the frame's default font.
17927
17928 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
17929
17930 * files.el (write-file): Do not display confirm dialog for NS,
17931 it does its own dialog, which can't be canceled (Bug#14578).
17932
17933 2013-07-06 Eli Zaretskii <eliz@gnu.org>
17934
17935 * simple.el (line-move-partial): Adjust the row returned by
17936 posn-at-point for the current window-vscroll. (Bug#14567)
17937
17938 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
17939
17940 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
17941 (tramp-sh-file-inotifywait-process-filter): Handle file names with
17942 spaces.
17943
17944 2013-07-06 Martin Rudalics <rudalics@gmx.at>
17945
17946 * window.el (window-state-put-stale-windows): New variable.
17947 (window--state-put-2): Save list of windows without matching buffer.
17948 (window-state-put): Remove "bufferless" windows if possible.
17949
17950 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
17951
17952 * simple.el (alternatives-define): Remove leftover :group keyword.
17953 Tweak docstring.
17954
17955 2013-07-06 Leo Liu <sdl.web@gmail.com>
17956
17957 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
17958 (ido-enable-virtual-buffers): New variable.
17959 (ido-buffer-internal, ido-toggle-virtual-buffers)
17960 (ido-make-buffer-list): Use it.
17961 (ido-exhibit): Support turning on and off virtual buffers
17962 automatically.
17963
17964 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
17965
17966 * simple.el (alternatives-define): New macro.
17967
17968 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
17969
17970 * subr.el (read-quoted-char): Use read-key.
17971 (sit-for): Let read-event decode tty input (bug#14782).
17972
17973 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
17974
17975 * calendar/todo-mode.el: Add handling of file deletion, both by
17976 mode command and externally. Fix various related bugs.
17977 Clarify Commentary and improve some documentation strings and code.
17978 (todo-delete-file): New command.
17979 (todo-check-file): New function.
17980 (todo-show): Handle external deletion of the file we're trying to
17981 show (bug#14688). Replace called-interactively-p by an optional
17982 prefix argument to avoid problematic interaction with catch form
17983 when byte compiled (bug#14702).
17984 (todo-quit): Handle external deletion of the archive's todo file.
17985 Make sure the buffer that was visiting the archive file is still
17986 live before trying to bury it.
17987 (todo-category-completions): Handle external deletion of any
17988 category completion files.
17989 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
17990 of todo files, in case of external deletion.
17991 (todo-add-file): Replace unnecessary setq by let-binding.
17992 (todo-find-archive): Check whether there are any archives.
17993 Replace unnecessary setq by let-binding.
17994 (todo-archive-done-item): Use find-file-noselect to get the
17995 archive buffer whether or not the archive already exists.
17996 Remove superfluous code. Use file size instead of buffer-file-name to
17997 check if the archive is new; if it is, update list of archives.
17998 (todo-default-todo-file): Allow nil to be a valid value for when
17999 there are no todo files.
18000 (todo-reevaluate-default-file-defcustom): Use corrected definition
18001 of todo-default-todo-file.
18002 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
18003 (todo-delete-category, todo-show-categories-table)
18004 (todo-category-number): Clarify comment.
18005 (todo-filter-items): Clarify documentation string.
18006 (todo-show-current-file, todo-display-as-todo-file)
18007 (todo-reset-and-enable-done-separator): Tweak documentation string.
18008 (todo-done-separator): Make separator length window-width, since
18009 bug#2749 is now fixed.
18010
18011 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
18012
18013 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
18014 Support both "gvfs-monitor-dir" and "inotifywait".
18015 (tramp-sh-file-inotifywait-process-filter): Rename from
18016 `tramp-sh-file-notify-process-filter'.
18017 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18018 (tramp-get-remote-gvfs-monitor-dir): New defuns.
18019
18020 2013-07-05 Leo Liu <sdl.web@gmail.com>
18021
18022 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
18023
18024 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18025
18026 * frame.el (display-pixel-height, display-pixel-width)
18027 (display-mm-height, display-mm-width): Mention behavior on
18028 multi-monitor setups in docstrings.
18029 (w32-display-monitor-attributes-list): Declare function.
18030 (display-monitor-attributes-list): Use it.
18031
18032 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
18033
18034 * filenotify.el: New package.
18035
18036 * autorevert.el (top): Require filenotify.el.
18037 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
18038 instead.
18039 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18040 (auto-revert-notify-handler): Use `file-notify-*' functions.
18041
18042 * subr.el (file-notify-handle-event): Move function to filenotify.el.
18043
18044 * net/tramp.el (tramp-file-name-for-operation):
18045 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
18046
18047 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
18048 for `file-notify-add-watch' and `file-notify-rm-watch'.
18049 (tramp-process-sentinel): Improve trace.
18050 (tramp-sh-handle-file-notify-add-watch)
18051 (tramp-sh-file-notify-process-filter)
18052 (tramp-sh-handle-file-notify-rm-watch)
18053 (tramp-get-remote-inotifywait): New defuns.
18054
18055 2013-07-03 Juri Linkov <juri@jurta.org>
18056
18057 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
18058 call of `occur-read-primary-args' to interactive spec.
18059
18060 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
18061 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
18062
18063 2013-07-03 Matthias Meulien <orontee@gmail.com>
18064
18065 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
18066 `Buffer-menu-multi-occur'. Add it to the menu.
18067 (Buffer-menu-mode): Document it in docstring.
18068 (Buffer-menu-multi-occur): New command. (Bug#14673)
18069
18070 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
18071
18072 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
18073 keywords and built-ins.
18074
18075 2013-07-03 Glenn Morris <rgm@gnu.org>
18076
18077 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
18078
18079 Make info-xref checks case-sensitive by default
18080 * info.el (Info-find-node, Info-find-in-tag-table)
18081 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
18082 Add option for exact case matching of nodes.
18083 * info-xref.el (info-xref): New custom group.
18084 (info-xref-case-fold): New option.
18085 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
18086
18087 2013-07-03 Leo Liu <sdl.web@gmail.com>
18088
18089 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
18090
18091 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
18092
18093 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
18094 middle of block statement initially, lower the depth. Remove
18095 FIXME comment, not longer valid. Remove middle of block statement
18096 detection, no need to do that anymore since we've been using
18097 `ruby-parse-region' here.
18098
18099 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
18100
18101 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
18102
18103 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
18104
18105 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
18106
18107 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
18108
18109 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
18110 (desktop-restore-in-current-display): New customization option.
18111 (desktop--excluded-frame-parameters): Add `font'.
18112 (desktop--save-frames): Rename from desktop--save-windows.
18113 (desktop--restore-in-this-display-p): New function.
18114 (desktop--make-full-frame): Remove unwanted width/height from
18115 full(width|height) frames.
18116 (desktop--restore-frames): Rename from desktop--restore-windows.
18117 Obey desktop-restore-current-display. Do not delete old frames or
18118 select a new frame unless we were able to restore at least one frame.
18119
18120 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
18121
18122 * files.el (find-file-noselect): Simplify conditional expression.
18123
18124 * textmodes/remember.el (remember-append-to-file):
18125 Don't mix `find-buffer-visiting' and `get-file-buffer'.
18126
18127 Add `remember-notes' function to store random notes across Emacs
18128 restarts.
18129 * textmodes/remember.el (remember-data-file): Add :set callback to
18130 affect notes buffer (if any).
18131 (remember-notes): New command.
18132 (remember-notes-buffer-name, bury-remember-notes-on-kill):
18133 New defcustoms for the `remember-notes' function.
18134 (remember-notes-save-and-bury-buffer): New command.
18135 (remember-notes-mode-map): New variable.
18136 (remember-mode): New minor mode.
18137 (remember-notes--kill-buffer-query): New function.
18138 * startup.el (initial-buffer-choice): Add notes to custom type.
18139
18140 2013-06-30 Eli Zaretskii <eliz@gnu.org>
18141
18142 * bindings.el (right-char, left-char): Don't call sit-for, this is
18143 no longer needed. Use arithmetic comparison only for numerical
18144 arguments.
18145
18146 * international/mule-cmds.el (select-safe-coding-system):
18147 Handle the case of FROM being a string correctly. (Bug#14755)
18148
18149 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18150
18151 * net/shr.el (shr-make-table-1): Add a sanity check that allows
18152 progression on degenerate tables.
18153 (shr-rescale-image): ImageMagick animated images currently don't work.
18154
18155 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
18156
18157 Some fixes and improvements for desktop frame restoration.
18158 It is still experimental and disabled by default.
18159 * desktop.el (desktop--save-windows): Put the selected frame at
18160 the head of the list.
18161 (desktop--make-full-frame): New function.
18162 (desktop--restore-windows): Try to re-select the frame that was
18163 selected upon saving. Do not abort if some frames fail to restore,
18164 just show an error message and continue. Set up maximized frames
18165 so they have default non-maximized dimensions.
18166
18167 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
18168
18169 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
18170 Don't start heredoc inside a string or comment.
18171
18172 2013-06-29 Eli Zaretskii <eliz@gnu.org>
18173
18174 * bindings.el (visual-order-cursor-movement): New defcustom.
18175 (right-char, left-char): Provide visual-order cursor motion by
18176 calling move-point-visually. Update the doc strings.
18177
18178 2013-06-28 Kenichi Handa <handa@gnu.org>
18179
18180 * international/mule.el (define-coding-system): New coding system
18181 properties :inhibit-null-byte-detection,
18182 :inhibit-iso-escape-detection, and :prefer-utf-8.
18183 (set-buffer-file-coding-system): If :charset-list property of
18184 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
18185 appropriate for setting.
18186
18187 * international/mule-cmds.el (select-safe-coding-system):
18188 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
18189 multibyte characters, return utf-8 (or one of its siblings).
18190
18191 * international/mule-conf.el (prefer-utf-8): New coding system.
18192 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
18193 files.
18194
18195 2013-06-28 Ivan Kanis <ivan@kanis.fr>
18196
18197 * net/shr.el (shr-render-region): New function.
18198
18199 * net/eww.el: Autoload `eww-browse-url'.
18200
18201 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
18202
18203 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18204 Adapt to `package-desc-version' being a list.
18205 Use `package--ac-desc-version' to retrieve version from a package
18206 archive element.
18207
18208 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
18209
18210 New experimental feature to save&restore window and frame setup.
18211 * desktop.el (desktop-save-windows): New defcustom.
18212 (desktop--saved-states): New var.
18213 (desktop--excluded-frame-parameters): New defconst.
18214 (desktop--filter-frame-parms, desktop--find-frame-in-display)
18215 (desktop--restore-windows, desktop--save-windows): New functions.
18216 (desktop-save): Call `desktop--save-windows'.
18217 (desktop-read): Call `desktop--restore-windows'.
18218
18219 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18220
18221 * net/shr.el (add-face-text-property): Remove compat definition.
18222
18223 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
18224
18225 * info.el (Info-try-follow-nearest-node): Move search for footnote
18226 above search for node name to prevent missing a footnote (bug#14717).
18227
18228 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
18229
18230 * obsolete/otodo-mode.el: Add obsolescence info to file header.
18231
18232 2013-06-27 Leo Liu <sdl.web@gmail.com>
18233
18234 * net/eww.el (eww-read-bookmarks): Check file size.
18235
18236 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
18237
18238 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
18239 advice--pending if newdef is nil or an autoload (bug#13820).
18240 (advice-mapc): New function.
18241
18242 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18243
18244 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
18245 probably.
18246 (eww-mode-map): Add a menu bar.
18247 (eww-add-bookmark): New command.
18248 (eww-bookmark-mode): New mode and commands.
18249 (eww-add-bookmark): Remove newlines from the title.
18250 (eww-bookmark-browse): Don't bug out if it's the only window.
18251
18252 2013-06-26 Glenn Morris <rgm@gnu.org>
18253
18254 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
18255 (hfy-size): Handle ttys. (Bug#14668)
18256
18257 * info-xref.el: Update for Texinfo 5 change in *note format.
18258 (info-xref-node-re, info-xref-note-re): New constants.
18259 (info-xref-check-buffer): Use info-xref-note-re.
18260
18261 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
18262
18263 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
18264
18265 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
18266 nil terminate the loop (bug#14718).
18267
18268 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18269
18270 * net/eww.el: Rework history traversal. When going forward/back,
18271 put these actions into the history, too, so that they can be
18272 replayed.
18273 (eww-render): Move the history reset to the correct buffer.
18274
18275 2013-06-25 Juri Linkov <juri@jurta.org>
18276
18277 * files-x.el (modify-dir-local-variable): Change the header comment
18278 in the file with directory local variables. (Bug#14692)
18279
18280 * files-x.el (read-file-local-variable-value): Add `default'.
18281 (Bug#14710)
18282
18283 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18284
18285 * net/eww.el (eww-make-unique-file-name): Create a unique file
18286 name before saving to entering `y' accidentally asynchronously.
18287
18288 2013-06-25 Ivan Kanis <ivan@kanis.fr>
18289
18290 * net/eww.el (eww-download): New command and keystroke.
18291
18292 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18293
18294 * net/eww.el (eww-copy-page-url): Change name of command.
18295
18296 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
18297 be more consistent with Info and dired.
18298
18299 * net/eww.el (eww-mode-map): Ditto.
18300
18301 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18302
18303 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
18304 packages from archives.
18305 (package-archive-contents): Change format; include obsolete packages.
18306 (package-desc): Use `dir' to mark builtin packages.
18307 (package--from-builtin): Set the `dir' field to `builtin'.
18308 (generated-autoload-file, version-control): Declare.
18309 (package-compute-transaction): Change first arg and return value to be
18310 lists of package-descs. Adjust to new package-archive-contents format.
18311 (package--add-to-archive-contents): Adjust to new
18312 package-archive-contents format.
18313 (package-download-transaction): Arg is now a list of package-descs.
18314 (package-install): If `pkg' is a package name, pass it as
18315 a requirement, so it is subject to the usual (e.g. disabled) checks.
18316 (describe-package): Accept package-desc as well.
18317 (describe-package-1): Describe a specific package-desc. Add links to
18318 other package-descs for the same package name.
18319 (package-menu-describe-package): Pass the actual package-desc.
18320 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
18321 works correctly.
18322 (package-desc-status): New function.
18323 (package-menu--refresh): New function, extracted
18324 from package-menu--generate.
18325 (package-menu--generate): Use it.
18326 (package-delete): Update package-alist.
18327 (package-menu-execute): Don't call package-initialize.
18328
18329 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
18330 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
18331 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
18332 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
18333 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
18334 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
18335
18336 2013-06-25 Martin Rudalics <rudalics@gmx.at>
18337
18338 * window.el (window--state-get-1): Workaround for bug#14527.
18339 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
18340
18341 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
18342
18343 * net/eww.el (eww-back-url): Implement the history by stashing all
18344 the data into a list.
18345 (eww-forward-url): Allow going forward in the history, too.
18346
18347 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18348
18349 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
18350 for values and use read--expression for expressions (bug#14710).
18351 (read-file-local-variable): Avoid setq.
18352 (read-file-local-variable-mode): Use minor-mode-list.
18353
18354 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18355
18356 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
18357 for DOI URLs.
18358
18359 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18360
18361 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
18362 Update imenu-support when dialect changes.
18363
18364 2013-06-25 Leo Liu <sdl.web@gmail.com>
18365
18366 * ido.el (ido-read-internal): Allow forward slash on windows.
18367
18368 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
18369
18370 * net/eww.el (eww): Start of strings is \\`, not ^.
18371
18372 2013-06-24 Ivan Kanis <ivan@kanis.fr>
18373
18374 * net/shr.el (shr-browse-url): Fix interactive spec.
18375
18376 * net/eww.el (eww): Add a trailing slash to domain names.
18377
18378 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
18379
18380 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
18381
18382 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
18383
18384 * net/shr.el (shr-browse-url): Use an external browser if given a
18385 prefix.
18386
18387 * net/eww.el (eww-external-browser): Move to shr.
18388
18389 2013-06-24 Ivan Kanis <ivan@kanis.fr>
18390
18391 * net/eww.el (eww): Work more correctly for file: URLs.
18392 (eww-detect-charset): Allow quoted charsets.
18393 (eww-yank-page-url): New command and keystroke.
18394
18395 2013-06-24 Daiki Ueno <ueno@gnu.org>
18396
18397 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
18398 file name of gpg executable.
18399 (epg-context-program): New function.
18400 (epg-context-home-directory): New function.
18401 (epg-context-set-program): New function.
18402 (epg-context-set-home-directory): New function.
18403 (epg--start): Use `epg-context-program' instead of
18404 'epg-gpg-program'.
18405 (epg--list-keys-1): Likewise.
18406
18407 2013-06-24 Leo Liu <sdl.web@gmail.com>
18408
18409 * ido.el (ido-read-internal): Fix bug#14620.
18410
18411 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
18412
18413 * faces.el (face-documentation): Simplify.
18414 (read-face-attribute, tty-find-type, x-resolve-font-name):
18415 Use `string-match-p'.
18416 (list-faces-display): Use `string-match-p'. Simplify.
18417 (face-spec-recalc): Check face to avoid face alias loops.
18418 (read-color): Use `string-match-p' and non-capturing parenthesis.
18419
18420 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18421
18422 * net/shr.el (shr-rescale-image): Use the new
18423 :max-width/:max-height functionality.
18424
18425 2013-06-23 Ivan Kanis <ivan@kanis.fr>
18426
18427 * net/eww.el (eww-search-prefix): New variable.
18428 (eww): Use it.
18429 (eww-external-browser): New variable.
18430 (eww-mode-map): New keystroke.
18431 (eww-browse-with-external-browser): New command.
18432
18433 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
18434
18435 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
18436
18437 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
18438 Don't skip aligning the next header field when padding is 0;
18439 otherwise, field width is not respected unless the title is as
18440 wide as the field.
18441
18442 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
18443
18444 * emacs-lisp/package.el (package-el-version): Remove.
18445 (package-process-define-package): Fix inf-loop.
18446 (package-install): Allow symbols as arguments again.
18447
18448 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
18449
18450 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
18451 add some more keyword-like methods.
18452 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
18453
18454 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
18455
18456 * bs.el (bs-buffer-show-mark): Make defvar-local.
18457 (bs-mode): Use setq-local.
18458
18459 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
18460 (emacs-lock--try-unlocking): Make defvar-local.
18461
18462 2013-06-22 Glenn Morris <rgm@gnu.org>
18463
18464 * play/cookie1.el (cookie-apropos): Minor simplification.
18465
18466 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
18467
18468 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
18469
18470 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
18471 `regexp-opt', it breaks the build during dumping.
18472
18473 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
18474
18475 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
18476 Highlight keyword-like methods on Kernel and Module with
18477 font-lock-builtin-face.
18478 (auto-mode-alist): Consolidate different entries into one regexp
18479 and add more *file-s.
18480
18481 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
18482
18483 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
18484
18485 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
18486 (diary-entry): Use it in the action of this button type instead of
18487 diary-goto-entry.
18488
18489 * calendar/todo-mode.el: New version.
18490 (todo-add-category): Append new category to end of file and give
18491 it the highest number, instead of putting it at the beginning and
18492 giving it 0. Incorporate noninteractive functionality.
18493 (todo-forward-category): Adapt to 1-based category numbering.
18494 Allow skipping over archived categories.
18495 (todo-backward-category): Derive from todo-forward-category.
18496 (todo-backward-item, todo-forward-item): Make noninteractive and
18497 delegate interactive part to new commands. Make sensitive to done items.
18498 (todo-categories): Make value an alist of category names and
18499 vectors of item counts.
18500 (todo-category-beg): Make a defconst.
18501 (todo-category-number): Use 1 instead of 0 as initial value.
18502 (todo-category-select): Make sensitive to overlays, optional item
18503 highlighting and done items.
18504 (todo-delete-item): Make sensitive to overlays and marked and done items.
18505 (todo-edit-item): Make sensitive to overlays and editing of
18506 date/time header optional. Add format checks.
18507 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
18508 no-op if point is not on an item. Advertise using todo-edit-quit.
18509 (todo-edit-mode): Make sensitive to new format, font-locking, and
18510 multiple todo files.
18511 (todo-insert-item, todo-insert-item-here): Derive from
18512 todo-basic-insert-item and extend functionality.
18513 (todo-item-end, todo-item-start): Make sensitive to done items.
18514 (todo-item-string): Don't return text properties. Restore point.
18515 (todo-jump-to-category): Make sensitive to multiple todo files and
18516 todo archives. Use extended category completion.
18517 (todo-lower-item, todo-raise-item): Rename to *-priority and
18518 derive from todo-set-item-priority.
18519 (todo-mode): Derive from special-mode. Make sensitive to new
18520 format, font-locking and multiple todo files. Make read-only.
18521 (todo-mode-map): Don't suppress digit keys, so they can supply
18522 prefix arguments. Add many new key bindings.
18523 (todo-prefix): Insert as an overlay instead of file text.
18524 Change semantics from diary date expression to purely visual mark.
18525 (todo-print): Rename to todo-print-buffer. Make buffer display
18526 features printable. Remove option to restrict number of items
18527 printed. Add option to print to file.
18528 (todo-print-function): Rename to todo-print-buffer-function.
18529 (todo-quit): Extend to handle exiting new todo modes.
18530 (todo-remove-item): Make sensitive to overlays.
18531 (todo-save): Extend to buffers of filtered items.
18532 (todo-show): Make sensitive to done items, multiple todo files and
18533 new todo modes. Offer to convert legacy todo file before creating
18534 first new todo file.
18535 (todo-show-priorities): Rename to todo-top-priorities.
18536 Change semantics of value 0.
18537 (todo-top-priorities): Rename to todo-filter-top-priorities,
18538 derive from todo-filter-items and extend functionality.
18539 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
18540 and extend functionality to other types of filtered items.
18541 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
18542 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
18543 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
18544 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
18545 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
18546 (todo-edit-mode-hook, todo-entry-prefix-function)
18547 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
18548 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
18549 (todo-initials, todo-insert-threshold, todo-item-string-start)
18550 (todo-line-string, todo-menu, todo-mode-hook)
18551 (todo-more-important-p, todo-previous-answer, todo-previous-line)
18552 (todo-print-priorities, todo-remove-separator)
18553 (todo-save-top-priorities-too, todo-string-count-lines)
18554 (todo-string-multiline-p, todo-time-string-format)
18555 (todo-tmp-buffer-name): Remove.
18556 (todo-add-file, todo-archive-done-item, todo-choose-archive)
18557 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
18558 (todo-edit-category-diary-inclusion)
18559 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
18560 (todo-edit-file, todo-edit-item-date-day)
18561 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
18562 (todo-edit-item-date-month, todo-edit-item-date-to-today)
18563 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
18564 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
18565 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
18566 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
18567 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
18568 (todo-filter-top-priorities-multifile, todo-find-archive)
18569 (todo-find-filtered-items-file, todo-go-to-source-item)
18570 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
18571 (todo-jump-to-archive-category, todo-lower-category)
18572 (todo-mark-category, todo-marked-item-p, todo-merge-category)
18573 (todo-move-category, todo-move-item, todo-next-button)
18574 (todo-next-item, todo-padded-string, todo-powerset)
18575 (todo-previous-button, todo-previous-item)
18576 (todo-print-buffer-to-file, todo-raise-category)
18577 (todo-rename-category, todo-repair-categories-sexp, todo-search)
18578 (todo-set-category-number, todo-set-item-priority)
18579 (todo-set-top-priorities-in-category)
18580 (todo-set-top-priorities-in-file, todo-show-categories-table)
18581 (todo-sort-categories-alphabetically-or-numerically)
18582 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
18583 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
18584 (todo-toggle-item-header, todo-toggle-item-highlighting)
18585 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
18586 (todo-toggle-view-done-items, todo-toggle-view-done-only)
18587 (todo-unarchive-items, todo-unmark-category): New commands.
18588 (todo-absolute-file-name, todo-add-to-buffer-list)
18589 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
18590 (todo-basic-insert-item, todo-category-completions)
18591 (todo-category-number, todo-category-string-matcher-1)
18592 (todo-category-string-matcher-2, todo-check-filtered-items-file)
18593 (todo-check-format, todo-clear-matches)
18594 (todo-comment-string-matcher, todo-convert-legacy-date-time)
18595 (todo-current-category, todo-date-string-matcher)
18596 (todo-define-insertion-command, todo-diary-expired-matcher)
18597 (todo-diary-goto-entry, todo-diary-item-p)
18598 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
18599 (todo-display-categories, todo-display-sorted, todo-done-item-p)
18600 (todo-done-item-section-p, todo-done-separator)
18601 (todo-done-string-matcher, todo-files, todo-filter-items)
18602 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
18603 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
18604 (todo-insert-category-line, todo-insert-item-from-calendar)
18605 (todo-insert-sort-button, todo-insert-with-overlays)
18606 (todo-insertion-command-name, todo-insertion-key-bindings)
18607 (todo-label-to-key, todo-longest-category-name-length)
18608 (todo-make-categories-list, todo-mode-external-set)
18609 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
18610 (todo-modes-set-3, todo-multiple-filter-files)
18611 (todo-nondiary-marker-matcher, todo-prefix-overlays)
18612 (todo-read-category, todo-read-date, todo-read-dayname)
18613 (todo-read-file-name, todo-read-time)
18614 (todo-reevaluate-category-completions-files-defcustom)
18615 (todo-reevaluate-default-file-defcustom)
18616 (todo-reevaluate-filelist-defcustoms)
18617 (todo-reevaluate-filter-files-defcustom)
18618 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
18619 (todo-reset-done-separator, todo-reset-done-separator-string)
18620 (todo-reset-done-string, todo-reset-global-current-todo-file)
18621 (todo-reset-highlight-item, todo-reset-nondiary-marker)
18622 (todo-reset-prefix, todo-set-categories)
18623 (todo-set-date-from-calendar, todo-set-show-current-file)
18624 (todo-set-top-priorities, todo-short-file-name)
18625 (todo-show-current-file, todo-sort, todo-time-string-matcher)
18626 (todo-total-item-counts, todo-update-buffer-list)
18627 (todo-update-categories-display, todo-update-categories-sexp)
18628 (todo-update-count, todo-validate-name, todo-y-or-n-p):
18629 New functions.
18630 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
18631 New major modes.
18632 (todo-categories, todo-display, todo-edit, todo-faces)
18633 (todo-filtered): New defgroups.
18634 (todo-archived-only, todo-button, todo-category-string, todo-date)
18635 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
18636 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
18637 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
18638 (todo-add-item-if-new-category, todo-always-add-time-string)
18639 (todo-categories-align, todo-categories-archived-label)
18640 (todo-categories-category-label, todo-categories-diary-label)
18641 (todo-categories-done-label, todo-categories-number-separator)
18642 (todo-categories-todo-label, todo-categories-totals-label)
18643 (todo-category-completions-files, todo-completion-ignore-case)
18644 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
18645 (todo-done-separator-string, todo-done-string)
18646 (todo-files-function, todo-filter-done-items, todo-filter-files)
18647 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
18648 (todo-initial-category, todo-initial-file, todo-item-mark)
18649 (todo-legacy-date-time-regexp, todo-mode-line-function)
18650 (todo-nondiary-marker, todo-number-prefix)
18651 (todo-print-buffer-function, todo-show-current-file)
18652 (todo-show-done-only, todo-show-first, todo-show-with-done)
18653 (todo-skip-archived-categories, todo-top-priorities-overrides)
18654 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
18655 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
18656 New defcustoms.
18657 (todo-category-done, todo-date-pattern, todo-date-string-start)
18658 (todo-diary-items-buffer, todo-done-string-start)
18659 (todo-filtered-items-buffer, todo-item-start)
18660 (todo-month-abbrev-array, todo-month-name-array)
18661 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
18662 (todo-top-priorities-buffer): New defconsts.
18663 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
18664 (todo-categories-with-marks, todo-category-string-face)
18665 (todo-comment-face, todo-comment-string, todo-current-todo-file)
18666 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
18667 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
18668 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
18669 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
18670 (todo-font-lock-keywords, todo-global-current-todo-file)
18671 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
18672 (todo-insertion-commands-args)
18673 (todo-insertion-commands-args-genlist)
18674 (todo-insertion-commands-names, todo-insertion-map)
18675 (todo-key-bindings-t, todo-key-bindings-t+a)
18676 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
18677 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
18678 (todo-nondiary-face, todo-print-buffer, todo-time-face)
18679 (todo-visited): New variables.
18680
18681 2013-06-21 Glenn Morris <rgm@gnu.org>
18682
18683 * play/cookie1.el (cookie-apropos): Add optional display argument.
18684 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
18685 (psychoanalyze-pinhead): Use cookie-doctor.
18686
18687 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
18688
18689 * emacs-lisp/package.el (tar-get-file-descriptor)
18690 (tar--extract): Declare.
18691
18692 2013-06-21 Eduard Wiebe <usenet@pusto.de>
18693
18694 Extend flymake's warning predicate to be a function (bug#14217).
18695 * progmodes/flymake.el (flymake-warning-predicate): New.
18696 (flymake-parse-line): Use it.
18697 (flymake-warning-re): Make obsolete alias to
18698 `flymake-warning-predicate'.
18699
18700 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18701
18702 * emacs-lisp/package.el (package-alist): Include obsolete packages.
18703 (package-obsolete-list): Remove.
18704 (package-activate): Remove min-version argument. Add `force' argument.
18705 Adjust to new package-alist format.
18706 (package-mark-obsolete): Remove.
18707 (package-unpack): Force reload of the package's autoloads.
18708 (package-installed-p): Check builtins if the installed package is not
18709 recent enough.
18710 (package-initialize): Don't reset package-obsolete-list.
18711 Don't specify which package version to activate.
18712 (package-process-define-package, describe-package-1)
18713 (package-menu--generate): Adjust to new package-alist format.
18714
18715 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
18716
18717 * allout-widgets.el (allout-widgets-mode-off)
18718 (allout-widgets-mode-on, allout-widgets-pre-command-business)
18719 (allout-widgets-post-command-business)
18720 (allout-widgets-after-copy-or-kill-function)
18721 (allout-widgets-after-undo-function, allout-test-range-overlaps)
18722 (allout-decorate-item-and-context)
18723 (allout-graphics-modification-handler): Fix typos in docstrings.
18724 (allout-get-or-create-parent-widget): Use `looking-at-p'.
18725
18726 * cmuscheme.el (scheme-start-file): Doc fix.
18727 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
18728 (scheme-input-filter): Use `string-match-p'.
18729
18730 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
18731
18732 * dired-x.el: Use Dired consistently in docstrings.
18733
18734 * dired.el: Use Dired consistently in docstrings.
18735 (dired-readin, dired-mode): Use `setq-local'.
18736 (dired-switches-alist): Make defvar-local.
18737 (dired-buffers-for-dir): Use `zerop'.
18738 (dired-safe-switches-p, dired-switches-escape-p)
18739 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
18740 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
18741 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
18742 (dired-goto-next-nontrivial-file): Use `string-match-p'.
18743 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
18744 (dired-toggle-marks, dired-mark-files-containing-regexp)
18745 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
18746 (dired-flag-auto-save-files, dired-flag-backup-files):
18747 Use `looking-at-p'.
18748 (dired-mark-files-regexp, dired-build-subdir-alist):
18749 Use `string-match-p', `looking-at-p'.
18750
18751 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
18752 (direct-print-region-helper): Use `string-match-p'.
18753
18754 2013-06-21 Leo Liu <sdl.web@gmail.com>
18755
18756 * comint.el (comint-redirect-results-list-from-process):
18757 Fix infinite loop.
18758
18759 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18760
18761 * net/eww.el (eww-update-header-line-format): Quote % characters.
18762
18763 2013-06-21 Glenn Morris <rgm@gnu.org>
18764
18765 * play/cookie1.el (cookie): New custom group.
18766 (cookie-file): New option.
18767 (cookie-check-file): New function.
18768 (cookie): Make it interactive. Make start and end messages optional.
18769 Interactively, display the result. Default to cookie-file.
18770 (cookie-insert): Default to cookie-file.
18771 (cookie-snarf): Make start and end messages optional.
18772 Default to cookie-file. Use with-temp-buffer.
18773 (cookie-read): Rename from read-cookie.
18774 Make start and end messages optional. Default to cookie-file.
18775 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
18776 Do not autoload it.
18777 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
18778 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
18779
18780 2013-06-21 Leo Liu <sdl.web@gmail.com>
18781
18782 * progmodes/octave.el (octave-mode): Backward compatibility fix.
18783
18784 2013-06-21 Glenn Morris <rgm@gnu.org>
18785
18786 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
18787
18788 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18789 Daniel Hackney <dan@haxney.org>
18790
18791 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
18792 Consolidate the single-file vs tarball code.
18793 (package-desc-suffix): New function.
18794 (package-desc-full-name): Don't bother inlining it.
18795 (package-load-descriptor): Return the new package-desc.
18796 (package-mark-obsolete): Remove unused arg `package'.
18797 (package-unpack): Make it work for single files as well.
18798 Make it update package-alist.
18799 (package--make-autoloads-and-stuff): Rename from
18800 package--make-autoloads-and-compile. Don't compile any more.
18801 (package--compile): New function.
18802 (package-generate-description-file): New function, extracted from
18803 package-unpack-single.
18804 (package-unpack-single): Remove.
18805 (package--with-work-buffer): Add indentation and debugging info.
18806 (package-download-single): Remove.
18807 (package-install-from-archive): Rename from package-download-tar, make
18808 it take a pkg-desc, and make it work for single files as well.
18809 (package-download-transaction): Simplify.
18810 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
18811 external tar program.
18812 (package-install-from-buffer): Remove `pkg-desc' argument.
18813 Use package-tar-file-info for tar-mode buffers.
18814 (package-install-file): Simplify accordingly.
18815 (package-archive-base): Change to take a pkg-desc.
18816 * tar-mode.el (tar--check-descriptor): New function, extracted from
18817 tar-get-descriptor.
18818 (tar-get-descriptor): Use it.
18819 (tar-get-file-descriptor): New function.
18820 (tar--extract): New function, extracted from tar-extract.
18821 (tar--extract): Use it.
18822 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
18823 case the summary uses non-ascii. Adjust to new calling convention of
18824 package-tar-file-info.
18825
18826 2013-06-21 Leo Liu <sdl.web@gmail.com>
18827
18828 * comint.el (comint-redirect-results-list-from-process):
18829 Fix random delay. (Bug#14681)
18830
18831 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
18832
18833 * profiler.el (profiler-format-number): Use log, not log10.
18834
18835 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
18836
18837 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
18838
18839 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18840
18841 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
18842 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
18843 yet available.
18844 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
18845 (AUTOGENEL): ... here.
18846 * emacs-lisp/cl-macs.el (cl--sublis): New function.
18847 (cl--defsubst-expand): Use it.
18848
18849 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
18850
18851 * subr.el (log10): Move here from C code, and declare as obsolete.
18852 All uses of (log10 X) replaced with (log X 10).
18853
18854 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
18855
18856 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
18857 Declare with `defvar-local'.
18858 (tabulated-list-use-header-line, tabulated-list-entries)
18859 (tabulated-list-padding, tabulated-list-printer)
18860 (tabulated-list-sort-key): Declare with `defvar-local'.
18861 (tabulated-list-init-header, tabulated-list-print-fake-header):
18862 Use `setq-local'.
18863
18864 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
18865
18866 * arc-mode.el (archive-mode): Add `archive-write-file' to
18867 `write-contents-functions' also for remote files. (Bug#14652)
18868
18869 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
18870
18871 * cus-edit.el (custom-commands): Fix typos.
18872 (custom-display): Fix tooltip text.
18873 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
18874 Fix typos in docstrings.
18875 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
18876 (custom-unlispify-menu-entry, custom-magic-value-create)
18877 (custom-add-see-also, custom-group-value-create): Use ?\s.
18878 (custom-guess-type, customize-apropos, editable-field)
18879 (custom-face-value-create): Use `string-match-p'.
18880 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
18881
18882 * custom.el (custom-load-symbol): Use `string-match-p'.
18883
18884 * ansi-color.el: Convert to lexical binding.
18885 (ansi-colors): Fix URL.
18886 (ansi-color-context, ansi-color-context-region): Use defvar-local.
18887 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
18888 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
18889
18890 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18891
18892 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
18893
18894 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
18895
18896 2013-06-19 Tom Tromey <tromey@redhat.com>
18897
18898 * net/eww.el (eww-top-url): Remove.
18899 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
18900 (eww-render): Set new variables. Don't set eww-top-url.
18901 (eww-handle-link): Handle "prev", "home", and "contents".
18902 Downcase the rel text.
18903 (eww-top-url): Choose best top URL.
18904
18905 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18906
18907 * net/eww.el: Rewrite to implement form elements "by hand" instead of
18908 relying in widget.el. Using widget.el leads to too many
18909 user interface inconsistencies.
18910 (eww-self-insert): Implement entering commands in text fields.
18911 (eww-process-text-input): New function to make text input field editing
18912 work.
18913 (eww-submit): Rewrite to use the new-style form methods.
18914 (eww-select-display): Display the correct selected item.
18915 (eww-change-select): Implement changing the select value.
18916 (eww-toggle-checkbox): Implement radio/checkboxes.
18917 (eww-update-field): Fix compilation error.
18918 (eww-tag-textarea): Implement <textarea>.
18919
18920 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
18921 we don't shadow mode-specific bindings.
18922
18923 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
18924 nothing to push.
18925
18926 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
18927
18928 2013-06-19 Glenn Morris <rgm@gnu.org>
18929
18930 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
18931
18932 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
18933
18934 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
18935 not needed.
18936
18937 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
18938
18939 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18940
18941 * net/browse-url.el (browse-url-browser-function):
18942 `eww-browse-url' has the right calling signature, `eww' does not.
18943
18944 2013-06-19 Glenn Morris <rgm@gnu.org>
18945
18946 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
18947 Only eval autoloaded macros.
18948 (byte-compile-autoload): Only give the macro warning for macros.
18949
18950 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
18951 (ps-underlined-faces): Declare.
18952
18953 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
18954 (speedbar-add-supported-extension): Declare.
18955
18956 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
18957 Don't include a date stamp in the header of the generated file;
18958 it leads to needless differences between output files.
18959
18960 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
18961
18962 * net/secrets.el (secrets-struct-secret-content-type):
18963 Replace check of introspection data by a test call of "CreateItem".
18964 Some servers do not offer introspection.
18965
18966 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
18967
18968 * electric.el (electric-pair-mode): Improve interaction with
18969 electric-layout-mode.
18970 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
18971 (electric-pair-syntax): Use text-mode-syntax-table in comments
18972 and strings.
18973 (electric-pair--insert): New function.
18974 (electric-pair-post-self-insert-function): Use it and
18975 electric--after-char-pos.
18976
18977 2013-06-19 Leo Liu <sdl.web@gmail.com>
18978
18979 * progmodes/octave.el (octave-help): Fix regexp.
18980
18981 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18982
18983 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
18984 (shr-table-horizontal-line): Allow nil as a value, and change the
18985 default.
18986 (shr-insert-table-ruler): Respect the nil value.
18987
18988 2013-06-18 Tom Tromey <tromey@barimba>
18989
18990 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
18991 New defvars.
18992 (eww-open-file): New defun.
18993 (eww-render): Initialize new variables.
18994 (eww-display-html): Handle "link" and "a".
18995 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
18996 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
18997 (eww-back-url): Rename from eww-previous-url.
18998 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
18999 New defuns.
19000
19001 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
19002
19003 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
19004 Distinguish ternary operator tokens from slash symbol and slash
19005 char literal.
19006
19007 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
19008
19009 Convert symbol prettification into minor mode and global minor mode.
19010
19011 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
19012 `prog-prettify-symbols', and make a local defvar instead of defcustom.
19013 (prettify-symbols--keywords): Rename from
19014 `prog-prettify-symbols-alist' and make a local defvar.
19015 (prettify-symbols--compose-symbol): Rename from
19016 `prog--prettify-font-lock-compose-symbol'.
19017 (prettify-symbols--make-keywords): Rename from
19018 `prog-prettify-font-lock-symbols-keywords' and simplify.
19019 (prog-prettify-install): Remove.
19020 (prettify-symbols-mode): New minor mode, based on
19021 `prog-prettify-install'.
19022 (turn-on-prettify-symbols-mode): New function.
19023 (global-prettify-symbols-mode): New globalized minor mode.
19024
19025 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
19026 * progmodes/cfengine.el (cfengine3-mode):
19027 * progmodes/perl-mode.el (perl-mode): Don't call
19028 `prog-prettify-install'; set `prettify-symbols-alist' instead.
19029
19030 2013-06-18 Juri Linkov <juri@jurta.org>
19031
19032 * files-x.el (modify-file-local-variable-message): New function.
19033 (modify-file-local-variable)
19034 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
19035 and call `modify-file-local-variable-message' when it's non-nil.
19036 (add-file-local-variable, delete-file-local-variable)
19037 (add-file-local-variable-prop-line)
19038 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
19039 and use it. (Bug#9820)
19040
19041 2013-06-18 Juri Linkov <juri@jurta.org>
19042
19043 * emulation/vi.el (vi-shell-op):
19044 * emulation/vip.el (vip-execute-com, ex-command):
19045 * emulation/viper-cmd.el (viper-exec-bang):
19046 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
19047 the call of `shell-command-on-region'. (Bug#14637)
19048
19049 * simple.el (shell-command-on-region): Doc fix.
19050
19051 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
19052
19053 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
19054 (bug#14633).
19055
19056 2013-06-18 Glenn Morris <rgm@gnu.org>
19057
19058 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
19059
19060 * newcomment.el (comment-search-forward, comment-search-backward):
19061 Doc fix. (Bug#14376)
19062
19063 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
19064
19065 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
19066 (buffer-face-mode-invoke): Doc fix.
19067
19068 2013-06-18 Matthias Meulien <orontee@gmail.com>
19069
19070 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
19071 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
19072
19073 2013-06-18 Glenn Morris <rgm@gnu.org>
19074
19075 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
19076 Replace obsolete function generic-make-keywords with its expansion.
19077
19078 * progmodes/python.el (ffap-alist): Declare.
19079
19080 * textmodes/reftex.el (bibtex-mode-map): Declare.
19081
19082 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
19083
19084 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
19085 (package-unpack, package-unpack-single): Return the pkg-dir.
19086 (package-download-transaction): Use it to update package-alist.
19087
19088 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19089
19090 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
19091 possible choice.
19092
19093 2013-06-17 Juri Linkov <juri@jurta.org>
19094
19095 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
19096
19097 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
19098
19099 * emacs-lisp/package.el (package-load-descriptor):
19100 Remove `with-syntax-table' call, `read' doesn't need it.
19101 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
19102
19103 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
19104
19105 * startup.el (command-line): Expand package name returned by
19106 `package--description-file' (bug#14639).
19107
19108 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
19109
19110 * emacs-lisp/package.el (package-load-descriptor): Do not call
19111 `emacs-lisp-mode', just use its syntax table.
19112
19113 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
19114
19115 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
19116 `font-lock-extra-managed-props' if any prettifying keyword is added.
19117 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
19118 (prog-mode): Use `setq-local'.
19119
19120 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19121
19122 * international/characters.el (standard-case-table): Set syntax of ?»
19123 and ?« to punctuation.
19124
19125 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
19126
19127 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
19128 Save relevant match data before calling `syntax-ppss' (bug#14595).
19129
19130 2013-06-15 Juri Linkov <juri@jurta.org>
19131
19132 * files-x.el (modify-file-local-variable-prop-line): Add local
19133 variables to the end of the existing comment on the first line.
19134 Use `file-auto-mode-skip' to skip interpreter magic line,
19135 and also skip XML declaration.
19136
19137 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19138
19139 * startup.el (package--builtin-versions): New var.
19140 (package-subdirectory-regexp): Remove.
19141 (package--description-file): Hard code its value instead.
19142
19143 * emacs-lisp/package.el: Don't activate packages older than builtin.
19144 (package-obsolete-list): Rename from package-obsolete-alist, and make
19145 it into a simple list of package-desc.
19146 (package-strip-version): Remove.
19147 (package-built-in-p): Use package--builtin-versions.
19148 (package-mark-obsolete): Simplify.
19149 (package-process-define-package): Mark it obsolete if older than the
19150 builtin version.
19151 (package-handle-response): Use line-end-position.
19152 (package-read-archive-contents, package--download-one-archive):
19153 Simplify.
19154 (package--add-to-archive-contents): Skip if older than the builtin or
19155 installed version.
19156 (package-menu-describe-package): Fix last change.
19157 (package-list-unversioned): New var.
19158 (package-menu--generate): Use it.
19159
19160 * emacs-lisp/autoload.el: Manage package--builtin-versions.
19161 (autoload--insert-text, autoload--insert-cookie-text): New functions.
19162 (autoload-builtin-package-versions): New variable.
19163 (autoload-generate-file-autoloads): Use them.
19164 Remove the list of autoloaded functions/macros from the
19165 (autoload...) comments.
19166
19167 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
19168
19169 2013-06-15 Eli Zaretskii <eliz@gnu.org>
19170
19171 * simple.el (line-move-partial): Don't jump to the next screen
19172 line as soon as it becomes visible. Instead, continue enlarging
19173 the vscroll until the portion of a tall screen line that's left on
19174 display is about the height of the frame's default font.
19175 (Bug#14567)
19176
19177 2013-06-15 Glenn Morris <rgm@gnu.org>
19178
19179 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
19180 compilation-error-regexp-alist void, or local while let-bound.
19181
19182 * progmodes/make-mode.el (makefile-mode-syntax-table):
19183 Treat "=" as punctuation. (Bug#14614)
19184
19185 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
19186
19187 * help-fns.el (describe-variable):
19188 Add extra line for permanent-local variables.
19189
19190 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
19191
19192 * progmodes/scheme.el (scheme-font-lock-keywords-2):
19193 Add export, import, library. (Bug#9164)
19194 (library): Set indent function.
19195
19196 2013-06-14 Glenn Morris <rgm@gnu.org>
19197
19198 * term/xterm.el (xterm--query):
19199 Stop after first matching handler. (Bug#14615)
19200
19201 2013-06-14 Ivan Kanis <ivan@kanis.fr>
19202
19203 Add support for dired in saveplace.
19204 * dired.el (dired-initial-position-hook): New variable.
19205 (dired-initial-position): Call hook to place cursor position.
19206 * saveplace.el (save-place-to-alist): Add dired position.
19207 (save-place-dired-hook): New function.
19208
19209 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
19210
19211 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
19212 through a symbol rather than letrec.
19213
19214 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
19215 (package-desc): Add `dir' field.
19216 (package-desc-full-name): New function.
19217 (package-load-descriptor): Combine the two arguments. Don't use `load'.
19218 (package-maybe-load-descriptor): Remove.
19219 (package-load-all-descriptors): Just call package-load-descriptor.
19220 (package--disabled-p): New function.
19221 (package-desc-vers, package-desc-doc): Remove aliases.
19222 (package--dir): Remove function.
19223 (package-activate): Check if a package is disabled.
19224 (package-process-define-package): New function, extracted from
19225 define-package.
19226 (define-package): Turn into a place holder.
19227 (package-unpack-single, package-tar-file-info):
19228 Use package--description-file.
19229 (package-compute-transaction): Use package--disabled-p.
19230 (package-download-transaction): Don't call
19231 package-maybe-load-descriptor since they're all loaded anyway.
19232 (package-install): Change argument to be a pkg-desc.
19233 (package-delete): Use a single pkg-desc argument.
19234 (describe-package-1): Use package-desc-dir instead of package--dir.
19235 Use package-desc property instead of package-symbol.
19236 (package-install-button-action): Adjust accordingly.
19237 (package--push): Rewrite.
19238 (package-menu--print-info): Adjust accordingly. Change the ID format
19239 to be a pkg-desc.
19240 (package-menu-describe-package, package-menu-get-status)
19241 (package-menu--find-upgrades, package-menu-mark-upgrades)
19242 (package-menu-execute, package-menu--name-predicate):
19243 Adjust accordingly.
19244 * startup.el (package--description-file): New function.
19245 (command-line): Use it.
19246 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19247 Use package-desc-version.
19248
19249 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
19250 (byte-compile-preprocess): Use it.
19251 (byte-compile-file-form-defalias): Try a bit harder to use macros we
19252 can't quite recognize.
19253 (byte-compile-add-to-list): Remove.
19254 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
19255 (cconv-closure-convert): Add assertion.
19256
19257 * emacs-lisp/map-ynp.el: Use lexical-binding.
19258 (map-y-or-n-p): Remove unused vars `tail' and `object'.
19259 Factor out some repeated code.
19260
19261 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
19262
19263 * subr.el (with-eval-after-load): New macro.
19264 (eval-after-load): Allow form to be a function.
19265 take advantage of lexical-binding.
19266 (do-after-load-evaluation): Use dolist and adjust to new format.
19267 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
19268
19269 2013-06-13 Juri Linkov <juri@jurta.org>
19270
19271 * replace.el (perform-replace): Display "symbol " and other search
19272 modes from `isearch-message-prefix' in the *Help* buffer.
19273
19274 * isearch.el (isearch-query-replace): Add " symbol" and other
19275 possible search modes from `isearch-message-prefix' to the prompt.
19276 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
19277 when reading a regexp to collect.
19278
19279 2013-06-13 Juri Linkov <juri@jurta.org>
19280
19281 * isearch.el (word-search-regexp): Match whitespace if the search
19282 string begins or ends in whitespace. The LAX arg is applied to
19283 both ends of the search string. Use `regexp-quote' and explicit
19284 \< and \> instead of \b. Use \` and \' instead of ^ and $.
19285 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
19286 boundaries are replaced with symbol boundaries, and characters
19287 between symbols match non-word non-symbol syntax. (Bug#14602)
19288
19289 2013-06-13 Juri Linkov <juri@jurta.org>
19290
19291 * isearch.el (isearch-del-char): Don't exceed the length of
19292 `isearch-string' by the prefix arg. (Bug#14563)
19293
19294 2013-06-13 Juri Linkov <juri@jurta.org>
19295
19296 * isearch.el (isearch-yank-word, isearch-yank-line)
19297 (isearch-char-by-name, isearch-quote-char)
19298 (isearch-printing-char, isearch-process-search-char):
19299 Add optional count prefix arg. (Bug#14563)
19300
19301 * international/isearch-x.el
19302 (isearch-process-search-multibyte-characters):
19303 Add optional count prefix arg.
19304
19305 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
19306
19307 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
19308 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
19309 lexical-binding.
19310
19311 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
19312
19313 * subr.el (set-temporary-overlay-map): Add on-exit argument.
19314
19315 2013-06-13 Glenn Morris <rgm@gnu.org>
19316
19317 * startup.el (tty-handle-args):
19318 Don't just discard "--" and anything after. (Bug#14608)
19319
19320 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
19321
19322 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
19323
19324 Implement changes in Secret Service API. Make it backward compatible.
19325 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
19326 (secrets-create-item): Use it. Prefix properties with interface.
19327
19328 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
19329
19330 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
19331 (term-emulate-terminal): Respect term-suppress-hard-newline.
19332
19333 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
19334
19335 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
19336 Only remove a `thumb-file' overlay. (Bug#14548)
19337
19338 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
19339
19340 * mail/reporter.el (reporter-submit-bug-report):
19341 Handle missing package-name. (Bug#14600)
19342
19343 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19344
19345 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
19346 (reftex-citation-prompt, reftex-default-bibliography)
19347 (reftex-bib-or-thebib, reftex-get-bibfile-list)
19348 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
19349 (reftex-bib-sort-author, reftex-bib-sort-year)
19350 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
19351 (reftex-extract-bib-entries-from-thebibliography)
19352 (reftex-get-bibkey-default, reftex-get-bib-names)
19353 (reftex-parse-bibtex-entry, reftex-get-bib-field)
19354 (reftex-format-bib-entry, reftex-parse-bibitem)
19355 (reftex-format-bibitem, reftex-do-citation)
19356 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
19357 (reftex-restrict-bib-matches, reftex-extract-bib-file)
19358 (reftex-insert-bib-matches, reftex-format-citation)
19359 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
19360 (reftex-create-bibtex-file): Add docstrings, mostly by converting
19361 existing comments into docstrings.
19362
19363 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
19364
19365 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
19366
19367 2013-06-12 Andreas Schwab <schwab@suse.de>
19368
19369 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
19370 for auto-save files.
19371
19372 2013-06-12 Glenn Morris <rgm@gnu.org>
19373
19374 * ido.el (ido-delete-ignored-files): Remove.
19375 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
19376 Go back to calling ido-ignore-item-p directly.
19377
19378 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
19379
19380 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
19381
19382 * ido.el (ido-delete-ignored-files): New function,
19383 split from ido-make-file-list-1.
19384 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
19385 (ido-make-file-list-1): Use ido-delete-ignored-files.
19386
19387 2013-06-12 Leo Liu <sdl.web@gmail.com>
19388
19389 * progmodes/octave.el (inferior-octave-startup)
19390 (inferior-octave-completion-table)
19391 (inferior-octave-track-window-width-change)
19392 (octave-eldoc-function-signatures, octave-help)
19393 (octave-find-definition): Use single quoted strings.
19394 (inferior-octave-startup-args): Change default value.
19395 (inferior-octave-startup): Do not hard code "-i" and
19396 "--no-line-editing".
19397 (inferior-octave-resync-dirs): Add optional arg NOERROR.
19398 (inferior-octave-directory-tracker): Use it.
19399 (octave-goto-function-definition): Robustify.
19400 (octave-help): Support highlighting operators in 'See also'.
19401 (octave-find-definition): Find subfunctions only in Octave mode.
19402
19403 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
19404
19405 * help-fns.el (help-fns--compiler-macro): If the handler function is
19406 named, then put a link to it.
19407 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
19408 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
19409 (cl-typep): Use it.
19410 (cl-eval-when): Simplify debug spec.
19411 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
19412 compiler-macro function instead of setting `compiler-macro-file'.
19413
19414 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
19415
19416 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
19417 * vc/vc-hooks.el (vc-stay-local): Doc fix.
19418
19419 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
19420 Daniel Hackney <dan@haxney.org>
19421
19422 First part of Daniel Hackney's patch to package.el.
19423 * emacs-lisp/package.el: Use defstruct.
19424 (package-desc): New, main struct.
19425 (package--bi-desc, package--ac-desc): New structs, used to describe the
19426 format in external files.
19427 (package-desc-vers): Replace with package-desc-version accessor.
19428 (package-desc-doc): Replace with package-desc-summary accessor.
19429 (package-activate-1): Remove `package' arg since the pkg-vec now
19430 includes the name.
19431 (define-package): Use package-desc-from-define.
19432 (package-unpack-single): Change file-name arg to be a symbol.
19433 (package--add-to-archive-contents): Use package-desc-create and new
19434 accessor functions to package--ac-desc.
19435 (package-buffer-info, package-tar-file-info): Return a package-desc.
19436 (package-install-from-buffer): Remove `type' argument. Change pkg-info
19437 arg to be a package-desc.
19438 (package-install-file): Adjust accordingly. Use \' to match EOS.
19439 (package--from-builtin): New function.
19440 (describe-package-1, package-menu--generate): Use it.
19441 (package--make-autoloads-and-compile): Change name arg to be a symbol.
19442 (package-generate-autoloads): Idem and return the name of the file.
19443 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19444 Change pkg-info arg to be a package-desc.
19445 Use package-make-ac-desc.
19446 (package-upload-file): Use \' to match EOS.
19447 * finder.el (finder-compile-keywords): Use package-make-builtin.
19448
19449 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
19450
19451 * vc/vc.el (vc-deduce-fileset): Change error message.
19452 (vc-read-backend): New function.
19453 (vc-next-action): Use it.
19454
19455 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
19456
19457 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
19458 (prolog-font-lock-keywords): Use regexp-opt instead.
19459 Don't manually highlight strings.
19460 (prolog-mode-variables): Simplify comment-start-skip.
19461 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
19462
19463 * emacs-lisp/generic.el (generic--normalise-comments)
19464 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
19465 (generic-mode-set-comments): Use them.
19466 (generic-bracket-support): Use setq-local.
19467 (generic-make-keywords-list): Declare obsolete.
19468
19469 2013-06-11 Glenn Morris <rgm@gnu.org>
19470
19471 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
19472 Prettify after setting font-lock-defaults. (Bug#14574)
19473
19474 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
19475
19476 * replace.el (query-replace, occur-read-regexp-defaults-function)
19477 (replace-search):
19478 * subr.el (declare-function, number-sequence, local-set-key)
19479 (substitute-key-definition, locate-user-emacs-file)
19480 (with-silent-modifications, split-string, eval-after-load):
19481 Fix typos, remove unneeded backslashes and reflow some docstrings.
19482
19483 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
19484
19485 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
19486 default for Elisp files.
19487
19488 2013-06-11 Glenn Morris <rgm@gnu.org>
19489
19490 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
19491 although define-derived-mode was doing this anyway. (Bug#14583)
19492
19493 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
19494
19495 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19496 Fix make-variable-buffer-local call to refer to the correct variable.
19497
19498 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
19499
19500 * eshell/em-term.el (eshell-visual-commands)
19501 (eshell-visual-subcommands, eshell-visual-options):
19502 Add summary line to docstrings. Add cross-references.
19503
19504 2013-06-10 Glenn Morris <rgm@gnu.org>
19505
19506 * epa.el (epa-read-file-name): New function. (Bug#14510)
19507 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
19508
19509 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
19510
19511 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
19512 output redirection to be ignored with visual commands.
19513
19514 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
19515
19516 * eshell/em-term.el (eshell-visual-command-p): New function.
19517 (eshell-term-initialize): Move long lambda to separate function
19518 eshell-visual-command-p.
19519 * eshell/em-dirs.el (eshell-dirs-initialize):
19520 * eshell/em-script.el (eshell-script-initialize):
19521 Add missing #' to lambda.
19522
19523 2013-06-08 Leo Liu <sdl.web@gmail.com>
19524
19525 * progmodes/octave.el (octave-add-log-current-defun): New function.
19526 (octave-mode): Set add-log-current-defun-function.
19527 (octave-goto-function-definition): Do not move point if not found.
19528 (octave-find-definition): Enhance to try subfunctions first.
19529
19530 2013-06-08 Glenn Morris <rgm@gnu.org>
19531
19532 * emacs-lisp/bytecomp.el (byte-compile-char-before)
19533 (byte-compile-backward-char, byte-compile-backward-word):
19534 Improve previous change, to handle non-explicit nil.
19535
19536 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
19537
19538 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
19539 (smie--opener/closer-at-point): New function.
19540 (smie--matching-block-data): Use it. Don't match from right after an
19541 opener or right before a closer. Obey smie-blink-matching-inners.
19542 Don't signal a mismatch for repeated inners like "switch..case..case".
19543
19544 2013-06-07 Leo Liu <sdl.web@gmail.com>
19545
19546 * progmodes/octave.el (octave-mode): Set comment-use-global-state
19547 to t. (Bug#14303)
19548 (octave-function-header-regexp): Fix. (Bug#14570)
19549 (octave-help-mode-finish-hook, octave-help-mode-finish):
19550 Remove. Just use temp-buffer-show-hook.
19551
19552 * newcomment.el (comment-search-backward): Revert last change.
19553 (Bug#14434)
19554
19555 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
19556
19557 2013-06-07 Eli Zaretskii <eliz@gnu.org>
19558
19559 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
19560 through xargs, to avoid failure due to MS-Windows limitations on
19561 command-line length.
19562
19563 2013-06-06 Glenn Morris <rgm@gnu.org>
19564
19565 * font-lock.el (lisp-font-lock-keywords-2):
19566 Treat user-error like error.
19567
19568 * emacs-lisp/bytecomp.el (byte-compile-char-before)
19569 (byte-compile-backward-char, byte-compile-backward-word):
19570 Handle explicit nil arguments. (Bug#14565)
19571
19572 2013-06-05 Alan Mackenzie <acm@muc.de>
19573
19574 * isearch.el (isearch-allow-prefix): New user option.
19575 (isearch-other-meta-char): Don't exit isearch when a prefix
19576 argument is typed whilst `isearch-allow-prefix' is non-nil.
19577 (Bug#9706)
19578
19579 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19580
19581 * autorevert.el (auto-revert-notify-handler): Use memq.
19582 Hide assertion failure.
19583
19584 * skeleton.el: Use cl-lib.
19585 (skeleton-further-elements): Use defvar-local.
19586 (skeleton-insert): Use cl-progv.
19587
19588 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
19589
19590 * progmodes/prog-mode.el (prog-prettify-symbols)
19591 (prog-prettify-install): Update docstrings.
19592
19593 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19594
19595 * simple.el: Move all the prog-mode code to prog-mode.el.
19596 * progmodes/prog-mode.el: New file.
19597 * loadup.el: Add prog-mode.el.
19598
19599 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
19600
19601 * simple.el (prog-prettify-symbols): Add version.
19602 (prog-prettify-install): Add convenience function to prettify symbols.
19603
19604 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
19605 (perl--augmented-font-lock-keywords-1)
19606 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
19607 variables and use it.
19608
19609 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
19610 (cfengine3-mode): Remove unneeded variable and use it.
19611
19612 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
19613 (lisp--augmented-font-lock-keywords-1)
19614 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
19615 Remove unneeded variables and use it.
19616
19617 2013-06-05 João Távora <joaotavora@gmail.com>
19618
19619 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
19620 to point when opening the connection. (Bug#14380)
19621
19622 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19623
19624 * subr.el (load-history-regexp, load-history-filename-element)
19625 (eval-after-load, after-load-functions, do-after-load-evaluation)
19626 (eval-next-after-load, display-delayed-warnings)
19627 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
19628 definition of save-match-data.
19629 (overriding-local-map): Remove accidental obsolescence declaration.
19630
19631 * emacs-lisp/edebug.el (edebug-result): Move before first use.
19632
19633 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
19634
19635 Generalize symbol prettify support to prog-mode and implement it
19636 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
19637 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
19638 (prog--prettify-font-lock-compose-symbol)
19639 (prog-prettify-font-lock-symbols-keywords): New variables and
19640 functions to support symbol prettification.
19641 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
19642 (lisp--augmented-font-lock-keywords-1)
19643 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
19644 (lisp--prettify-symbols-alist): Implement prettify of lambda.
19645 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
19646 (cfengine3--prettify-symbols-alist, cfengine3-mode):
19647 Implement prettify of -> => :: strings.
19648 * progmodes/perl-mode.el (perl-prettify-symbols)
19649 (perl--font-lock-compose-symbol)
19650 (perl--font-lock-symbols-keywords): Move to prog-mode.
19651 (perl--prettify-symbols-alist): Prettify -> => :: strings.
19652 (perl-font-lock-keywords-1)
19653 (perl-font-lock-keywords-2): Remove explicit prettify support.
19654 (perl--augmented-font-lock-keywords)
19655 (perl--augmented-font-lock-keywords-1)
19656 (perl--augmented-font-lock-keywords-2, perl-mode):
19657 Implement prettify support.
19658
19659 2013-06-05 Leo Liu <sdl.web@gmail.com>
19660
19661 Re-implement SMIE matching block highlight using
19662 show-paren-data-function. (Bug#14395)
19663 * emacs-lisp/smie.el (smie-matching-block-highlight)
19664 (smie--highlight-matching-block-overlay)
19665 (smie--highlight-matching-block-lastpos)
19666 (smie-highlight-matching-block)
19667 (smie-highlight-matching-block-mode): Remove.
19668 (smie--matching-block-data-cache): New variable.
19669 (smie--matching-block-data): New function.
19670 (smie-setup): Use smie--matching-block-data for
19671 show-paren-data-function.
19672
19673 * progmodes/octave.el (octave-mode-menu): Fix.
19674 (octave-find-definition): Skip garbage lines.
19675
19676 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19677
19678 Fix compilation error with simultaneous dynamic+lexical scoping.
19679 Add warning when a defvar appears after the first let-binding.
19680 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
19681 (byte-compile-close-variables): Initialize it.
19682 (byte-compile--declare-var): New function.
19683 (byte-compile-file-form-defvar)
19684 (byte-compile-file-form-define-abbrev-table)
19685 (byte-compile-file-form-custom-declare-variable): Use it.
19686 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
19687 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
19688 (byte-compile-bind): Handle dynamic bindings that shadow
19689 lexical bindings.
19690 (byte-compile-unbind): Make arg non-optional.
19691 (byte-compile-let): Simplify.
19692 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
19693 (cconv--analyse-function, cconv-analyse-form): Populate it.
19694 Protect byte-compile-bound-variables to limit the scope of defvars.
19695 (cconv-analyse-form): Add missing rule for (defvar <foo>).
19696 Remove unneeded rule for `declare'.
19697
19698 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
19699 so as to avoid depending on cl-adjoin at run-time.
19700 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
19701
19702 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
19703 (macroexp--warn-and-return): Use it.
19704
19705 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
19706
19707 * subr.el: Convert to lexical binding.
19708 (overriding-local-map): Make obsolete.
19709 (add-to-list): Doc fix. Add compiler macro.
19710 (read-key): Swap values of local maps.
19711
19712 2013-06-05 Leo Liu <sdl.web@gmail.com>
19713
19714 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
19715
19716 2013-06-04 Leo Liu <sdl.web@gmail.com>
19717
19718 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
19719 (compilation-auto-jump): Suppress the "Mark set" message to give
19720 way to exit message.
19721
19722 2013-06-04 Alan Mackenzie <acm@muc.de>
19723
19724 Remove faulty optimization from indentation calculation.
19725 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
19726 search limit based on 2000 characters back from indent-point.
19727
19728 2013-06-03 Tassilo Horn <tsdh@gnu.org>
19729
19730 * eshell/em-term.el (cl-lib): Require `cl-lib'.
19731
19732 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
19733
19734 * emacs-lisp/lisp.el: Use lexical-binding.
19735 (lisp--local-variables-1, lisp--local-variables): New functions.
19736 (lisp--local-variables-completion-table): New var.
19737 (lisp-completion-at-point): Use it complete let-bound vars.
19738
19739 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
19740 eagerly (bug#14422).
19741
19742 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
19743
19744 * autorevert.el (auto-revert-notify-enabled)
19745 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19746 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
19747 (auto-revert-notify-handler): Handle also gfilenotify.
19748
19749 * subr.el (file-notify-handle-event): New defun. Replacing ...
19750 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
19751 Remove.
19752
19753 2013-06-03 Juri Linkov <juri@jurta.org>
19754
19755 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
19756 `M-s h .'. (Bug#14427)
19757
19758 * hi-lock.el (highlight-symbol-at-point): New alias for the new
19759 command `hi-lock-face-symbol-at-point'.
19760 (hi-lock-face-symbol-at-point): New command.
19761 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
19762 (hi-lock-menu): Add `highlight-symbol-at-point'.
19763 (hi-lock-mode): Doc fix.
19764
19765 * isearch.el (isearch-forward-symbol-at-point): New command.
19766 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
19767 (isearch-highlight-regexp): Add a regexp which matches
19768 words/symbols for word/symbol mode.
19769
19770 * subr.el (find-tag-default-bounds): New function with the body
19771 mostly moved from `find-tag-default'.
19772 (find-tag-default): Move most code to `find-tag-default-bounds',
19773 call it and apply `buffer-substring-no-properties' afterwards.
19774
19775 2013-06-03 Tassilo Horn <tsdh@gnu.org>
19776
19777 * eshell/em-term.el (eshell-term-initialize):
19778 Use `cl-intersection' rather than `intersection'.
19779
19780 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
19781
19782 * vc/log-view.el: Doc fix.
19783 (log-view-mode-map): Copy keymap from `special-mode-map'.
19784
19785 2013-06-02 Eric Ludlam <zappo@gnu.org>
19786
19787 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
19788 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
19789 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
19790 (eieio-unbound, eieio-default-superclass)
19791 (eieio--define-field-accessors, method-static, method-before)
19792 (method-primary, method-after, method-num-lists)
19793 (method-generic-before, method-generic-primary)
19794 (method-generic-after, method-num-slots)
19795 (eieio-specialized-key-to-generic-key)
19796 (eieio--check-type, class-v, class-p)
19797 (eieio-class-name, define-obsolete-function-alias)
19798 (eieio-class-parents-fast, eieio-class-children-fast)
19799 (same-class-fast-p, class-constructor, generic-p)
19800 (generic-primary-only-p, generic-primary-only-one-p)
19801 (class-option-assoc, class-option, eieio-object-p)
19802 (class-abstract-p, class-method-invocation-order)
19803 (eieio-defclass-autoload-map, eieio-defclass-autoload)
19804 (eieio-class-un-autoload, eieio-defclass)
19805 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
19806 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
19807 (eieio--defgeneric-init-form, eieio-defgeneric-form)
19808 (eieio-defgeneric-reset-generic-form)
19809 (eieio-defgeneric-form-primary-only)
19810 (eieio-defgeneric-reset-generic-form-primary-only)
19811 (eieio-defgeneric-form-primary-only-one)
19812 (eieio-defgeneric-reset-generic-form-primary-only-one)
19813 (eieio-unbind-method-implementations)
19814 (eieio--defmethod, eieio--typep)
19815 (eieio-perform-slot-validation, eieio-validate-slot-value)
19816 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
19817 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
19818 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
19819 (eieio-slot-name-index, eieio-class-slot-name-index)
19820 (eieio-set-defaults, eieio-initarg-to-attribute)
19821 (eieio-attribute-to-initarg, eieio-c3-candidate)
19822 (eieio-c3-merge-lists, eieio-class-precedence-c3)
19823 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
19824 (eieio-class-precedence-list, eieio-generic-call-methodname)
19825 (eieio-generic-call-arglst, eieio-generic-call-key)
19826 (eieio-generic-call-next-method-list)
19827 (eieio-pre-method-execution-functions, eieio-generic-call)
19828 (eieio-generic-call-primary-only, eieiomt-method-list)
19829 (eieiomt-optimizing-obarray, eieiomt-install)
19830 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
19831 (eieio-generic-form, eieio-defmethod, make-obsolete)
19832 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
19833 (defclass): Remove `eval-and-compile' from macro.
19834 (call-next-method, shared-initialize): Instead of using
19835 `scoped-class' variable, use new eieio--scoped-class, and
19836 eieio--with-scoped-class.
19837 (initialize-instance): Rename local variable 'scoped-class' to
19838 'this-class' to remove ambiguitity from old global.
19839
19840 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
19841 eieio.el.
19842 (eieio--scoped-class-stack): New variable.
19843 (eieio--scoped-class): New fcn.
19844 (eieio--with-scoped-class): New scoping macro.
19845 (eieio-defclass): Use pushnew instead of add-to-list.
19846 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
19847 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
19848 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
19849 `scoped-class' variable, use new eieio--scoped-class, and
19850 eieio--with-scoped-class.
19851
19852 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
19853
19854 2013-06-02 Tassilo Horn <tsdh@gnu.org>
19855
19856 * eshell/esh-ext.el (eshell-external-command): Pass args to
19857 `eshell-find-interpreter'.
19858 (eshell-find-interpreter): Add new second parameter ARGS.
19859
19860 * eshell/em-script.el (eshell-script-initialize): Add second arg
19861 to the function added as MATCH to `eshell-interpreter-alist'.
19862
19863 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
19864 the function added as MATCH to `eshell-interpreter-alist'.
19865
19866 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
19867 (eshell-visual-options): New defcustom.
19868 (eshell-escape-control-x): Adapt docstring.
19869 (eshell-term-initialize): Test `eshell-visual-subcommands' and
19870 `eshell-visual-options' in addition to `eshell-visual-commands'.
19871 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
19872
19873 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
19874
19875 * progmodes/python.el (python-indent-block-enders): Add break,
19876 continue and raise keywords.
19877
19878 2013-06-01 Glenn Morris <rgm@gnu.org>
19879
19880 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
19881
19882 Plain (f)boundp silences compilation warnings since Emacs 22.1.
19883 * progmodes/cc-cmds.el (delete-forward-p):
19884 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
19885 * progmodes/cc-engine.el (buffer-syntactic-context):
19886 * progmodes/cc-fonts.el (face-property-instance):
19887 * progmodes/cc-mode.el (set-keymap-parents):
19888 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
19889 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
19890 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
19891 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
19892 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
19893
19894 * progmodes/cc-vars.el (other): Emacs has this widget since
19895 at least 21.1, so don't (re)define it.
19896
19897 * eshell/em-cmpl.el (eshell-cmpl-initialize):
19898 Replace the obsolete alias pcomplete-arg-quote-list.
19899
19900 2013-06-01 Leo Liu <sdl.web@gmail.com>
19901
19902 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
19903 punctuation syntax.
19904 (inferior-octave-minimal-columns)
19905 (inferior-octave-last-column-width): New variables.
19906 (inferior-octave-track-window-width-change): New function.
19907 (inferior-octave-mode): Adjust column width so that Octave output,
19908 for example from 'ls', can fit into the window nicely.
19909
19910 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
19911
19912 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
19913 Highlight expansions inside regexp literals.
19914
19915 2013-05-31 Glenn Morris <rgm@gnu.org>
19916
19917 * obsolete/sym-comp.el (symbol-complete):
19918 Replace obsolete completion-annotate-function.
19919
19920 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
19921
19922 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
19923
19924 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
19925 New function, checks if point is inside a literal that allows
19926 expression expansion.
19927 (ruby-syntax-propertize-expansion): Use it.
19928 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
19929 around the body.
19930
19931 2013-05-30 Juri Linkov <juri@jurta.org>
19932
19933 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
19934 to "\M-si".
19935 (isearch-invisible): New variable.
19936 (isearch-forward): Doc fix.
19937 (isearch-mode): Set `isearch-invisible'
19938 to the value of `search-invisible'.
19939 (isearch-toggle-case-fold): Doc fix.
19940 (isearch-toggle-invisible): New command.
19941 (isearch-query-replace): Let-bind `search-invisible'
19942 to the value of `isearch-invisible'.
19943 (isearch-search): Use `isearch-invisible' instead of
19944 `search-invisible'. Let-bind `search-invisible'
19945 to the value of `isearch-invisible'. (Bug#11378)
19946
19947 2013-05-30 Juri Linkov <juri@jurta.org>
19948
19949 * replace.el (perform-replace): Avoid `isearch-range-invisible'
19950 call when `query-flag' is nil and `search-invisible' is non-nil.
19951 (Bug#11746)
19952
19953 2013-05-30 Glenn Morris <rgm@gnu.org>
19954
19955 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
19956
19957 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
19958 (cc-require): Suppress spurious "noruntime" warnings.
19959 (cc-require-when-compile): Use fboundp, for sake of compiler.
19960
19961 * progmodes/cc-mode.el: Move load of cc-vars before that of
19962 cc-langs (which in turn loads cc-vars), to quieten compiler.
19963
19964 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19965
19966 * paren.el: Simplify the code.
19967 (show-paren-mode): Always start the timer.
19968 (show-paren--idle-timer): Rename from show-paren-idle-timer.
19969 (show-paren--overlay, show-paren--overlay-1): Rename from
19970 show-paren-overlay and show-paren-overlay-1, and initialize to an
19971 overlay rather than to nil.
19972 (show-paren-function): Misc cleanup and simplifications.
19973
19974 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19975
19976 * paren.el (show-paren-data-function): New hook.
19977 (show-paren--default): New function, extracted from show-paren-function.
19978 (show-paren-function): Use show-paren-data-function.
19979
19980 2013-05-30 Glenn Morris <rgm@gnu.org>
19981
19982 * ielm.el (ielm-map, ielm-complete-symbol):
19983 Use completion-at-point rather than obsolete functions.
19984 (inferior-emacs-lisp-mode): Doc fix.
19985 Set completion-at-point-functions, rather than
19986 comint-dynamic-complete-functions.
19987
19988 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
19989 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
19990 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
19991
19992 * image.el (image-animated-p): Tweak definition.
19993
19994 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
19995 (rlogin-process-connection-type): Tweak default. Add set-after.
19996 (rlogin-host): Doc fix.
19997 (rlogin): Tweak prompt.
19998 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
19999
20000 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
20001 * progmodes/tcl.el (inferior-tcl-mode-map):
20002 Use completion-at-point rather than obsolete alias.
20003
20004 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
20005
20006 * minibuffer.el (read-file-name-completion-ignore-case):
20007 Move before completion--in-region, for eager macro expansion.
20008
20009 2013-05-29 Juri Linkov <juri@jurta.org>
20010
20011 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
20012 for total count of matching lines. Add `global-matches' for total
20013 count of matches. Rename `matches' to `lines' for count of
20014 matching lines. Add `matches' for count of matches.
20015 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
20016 to `prev-line' for line number of prev match endpt.
20017 Increment `matches' for every match. Print the number of
20018 matching lines in the header.
20019 (occur-context-lines): Rename `lines' to `curr-line'.
20020 Rename `prev-lines' to `prev-line'. (Bug#14017)
20021
20022 2013-05-29 Juri Linkov <juri@jurta.org>
20023
20024 * replace.el (perform-replace): Add `skip-read-only-count',
20025 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
20026 Increment them for corresponding conditions and report the number
20027 of skipped occurrences in the final message. (Bug#11746)
20028 (query-replace, query-replace-regexp, query-replace-regexp-eval)
20029 (replace-string, replace-regexp): Doc fix.
20030
20031 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
20032
20033 * emacs-lisp/trace.el (trace--read-args): Provide a default.
20034
20035 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
20036 prog-mode-map (bug#14504).
20037
20038 2013-05-29 Leo Liu <sdl.web@gmail.com>
20039
20040 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
20041 (octave-help): Small simplification.
20042
20043 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
20044 off the highlight first.
20045
20046 2013-05-29 Glenn Morris <rgm@gnu.org>
20047
20048 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
20049 Handle idlwave-last-system-routine-info-cons-cell being nil.
20050
20051 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
20052 (idlwave-write-paths): Simplify via with-temp-buffer.
20053
20054 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
20055 * emulation/cua-rect.el: Also load cua-base at run time.
20056
20057 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
20058 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
20059 (cperl-imenu-on-info): Require imenu.
20060
20061 2013-05-28 Alan Mackenzie <acm@muc.de>
20062
20063 Handle "capitalised keywords" correctly.
20064 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
20065
20066 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
20067
20068 * eshell/em-unix.el: Add -r option to cp.
20069
20070 2013-05-28 Glenn Morris <rgm@gnu.org>
20071
20072 * vc/vc-arch.el (vc-exec-after): Declare.
20073 (vc-switches): Autoload.
20074 * vc/vc-bzr.el: No need to require vc when compiling.
20075 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
20076 (vc-resynch-buffer, vc-dir-refresh): Declare.
20077 (vc-setup-buffer, vc-switches): Autoload.
20078 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
20079 (vc-resynch-buffer): Declare.
20080 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
20081 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
20082 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
20083 (grep-read-regexp, grep-read-files, grep-expand-template)
20084 (vc-dir-refresh): Declare.
20085 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
20086 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
20087 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
20088 * vc/vc-mtn.el (vc-exec-after): Declare.
20089 (vc-switches): Autoload.
20090 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
20091 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
20092 (vc-file-tree-walk): Declare.
20093 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
20094 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
20095 (vc-tag-precondition, vc-rename-master): Autoload.
20096 * vc/vc-svn.el (vc-exec-after): Declare.
20097 (vc-switches, vc-setup-buffer): Autoload.
20098 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
20099 Autoload.
20100 (vc-resynch-buffer): Declare.
20101
20102 * obsolete/fast-lock.el (byte-compile-warnings):
20103 Don't warn about obsolete features in this obsolete file.
20104
20105 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
20106 Move definition before use.
20107
20108 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
20109 (dun-unix-verbs): Remove dun-zippy.
20110 (dun-zippy): Remove function.
20111
20112 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
20113
20114 2013-05-27 Juri Linkov <juri@jurta.org>
20115
20116 * replace.el (replace-search): New function with code moved out
20117 from `perform-replace'.
20118 (replace-highlight, replace-dehighlight): Move function definitions
20119 up closer to `replace-search'. (Bug#11746)
20120
20121 2013-05-27 Juri Linkov <juri@jurta.org>
20122
20123 * replace.el (perform-replace): Ignore invisible matches.
20124 In addition to checking `query-replace-skip-read-only', also
20125 filter out matches by calling `run-hook-with-args-until-failure'
20126 on `isearch-filter-predicates', and also check `search-invisible'
20127 for t or call `isearch-range-invisible'.
20128 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
20129
20130 2013-05-27 Juri Linkov <juri@jurta.org>
20131
20132 * isearch.el (isearch-filter-predicates): Rename from
20133 `isearch-filter-predicate'. Doc fix. (Bug#11378)
20134 (isearch-message-prefix): Display text from the property
20135 `isearch-message-prefix' of the currently active filters.
20136 (isearch-search): Don't compare `isearch-filter-predicate' with
20137 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
20138 on `isearch-filter-predicates'. Also check `search-invisible' for t
20139 or call `isearch-range-invisible'.
20140 (isearch-filter-visible): Make obsolete.
20141 (isearch-lazy-highlight-search):
20142 Call `run-hook-with-args-until-failure' on
20143 `isearch-filter-predicates' and use `isearch-range-invisible'.
20144
20145 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
20146 `isearch-filter-predicates' instead of `funcall'ing
20147 `isearch-filter-predicate'.
20148 (Info-mode): Set `Info-isearch-filter' to
20149 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
20150
20151 * dired-aux.el (dired-isearch-filter-predicate-orig):
20152 Remove variable.
20153 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
20154 (dired-isearch-filenames-end): Add and remove
20155 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
20156 instead of changing the value of `isearch-filter-predicate'.
20157 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
20158 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
20159 Put property `isearch-message-prefix' to "filename " on
20160 `dired-isearch-filter-filenames'.
20161
20162 * wdired.el (wdired-change-to-wdired-mode):
20163 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
20164 locally instead of changing `isearch-filter-predicate'.
20165 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
20166
20167 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
20168
20169 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
20170 return the commit hash (Bug#14459). Also set the
20171 `vc-git-detached' property.
20172 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
20173 (vc-git-mode-line-string): Use the same help-echo format whether
20174 in detached mode or not, because we know the actual revision now.
20175 When in detached mode, shorten the revision to 7 chars.
20176
20177 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
20178
20179 * emacs-lisp/easy-mmode.el (define-minor-mode):
20180 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
20181 mode hook and provide a docstring.
20182
20183 2013-05-27 Alan Mackenzie <acm@muc.de>
20184
20185 Remove spurious syntax-table text properties inserted by C-y.
20186 * progmodes/cc-mode.el (c-after-change): Also clear hard
20187 syntax-table property with value nil.
20188
20189 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
20190
20191 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
20192 when reading the events; the buffer layout shall not be changed.
20193
20194 2013-05-27 Leo Liu <sdl.web@gmail.com>
20195
20196 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
20197 New variable.
20198 (inferior-octave-directory-tracker): Automatically re-sync
20199 default-directory.
20200 (octave-help): Improve handling of 'See also'.
20201
20202 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
20203
20204 * doc-view.el: Minor naming convention tweaks.
20205 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
20206
20207 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
20208 even if there's no `display' property yet (bug#14435).
20209
20210 2013-05-25 Eli Zaretskii <eliz@gnu.org>
20211
20212 * subr.el (unmsys--file-name): Rename from reveal-filename.
20213
20214 * Makefile.in (custom-deps, finder-data, autoloads)
20215 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
20216 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
20217 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
20218
20219 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
20220
20221 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
20222 error-completion on the first 2 args of condition-case (bug#14446).
20223 Don't burp at EOB.
20224
20225 2013-05-25 Leo Liu <sdl.web@gmail.com>
20226
20227 * comint.el (comint-previous-matching-input): Do not flood the
20228 *Messages* buffer with trivial messages.
20229
20230 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
20231
20232 * progmodes/flymake.el (flymake-nop): Don't return a string.
20233 (flymake-set-at): Fix typo.
20234
20235 * simple.el (read--expression): New function, extracted from
20236 eval-expression. Set completion-at-point-functions (bug#14465).
20237 (eval-expression, eval-minibuffer): Use it.
20238
20239 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
20240
20241 * progmodes/flymake.el (flymake-save-buffer-in-file)
20242 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
20243 (flymake-selected-frame, flymake-log, flymake-ins-after)
20244 (flymake-set-at, flymake-get-buildfile-from-cache)
20245 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
20246 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
20247 Refine the doc string.
20248 (flymake-get-file-name-mode-and-masks): Reformat.
20249 (flymake-get-real-file-name-function): Fix a minor bug.
20250
20251 2013-05-24 Juri Linkov <juri@jurta.org>
20252
20253 * progmodes/grep.el (grep-mode-font-lock-keywords):
20254 Support =linenumber= format used by git-grep for lines with
20255 function names. (Bug#13549)
20256
20257 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20258
20259 * progmodes/octave.el (octave-smie-rules): Return nil rather than
20260 0 after a semi-colon; it works better for smie-auto-fill.
20261 (octave--indent-new-comment-line): New function.
20262 (octave-indent-new-comment-line): Use it (indirectly).
20263 (octave-mode): Don't disable smie-auto-fill. Use add-function to
20264 modify comment-line-break-function.
20265
20266 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
20267 (smie-setup): Use add-function to set it.
20268
20269 2013-05-24 Sam Steingold <sds@gnu.org>
20270
20271 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
20272 argument (before the `interactive' argument).
20273
20274 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20275
20276 * image-mode.el (image-mode-winprops): Add winprops to
20277 image-mode-winprops-alist before running
20278 image-mode-new-window-functions.
20279 * doc-view.el (doc-view-new-window-function): Don't delay
20280 doc-view-goto-page via timers (bug#14435).
20281
20282 2013-05-24 Tassilo Horn <tsdh@gnu.org>
20283
20284 * doc-view.el: Integrate with desktop.el. (Bug#14435)
20285 (doc-view-desktop-save-buffer): New function.
20286 (doc-view-restore-desktop-buffer): New function.
20287 (desktop-buffer-mode-handlers):
20288 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
20289 handler.
20290 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
20291 `desktop-save-buffer' function.
20292
20293 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
20294
20295 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
20296 (tramp-gvfs-file-name-handler): Raise a user error when
20297 `tramp-gvfs-enabled' is nil.
20298 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
20299 Do not raise a user error when loading package. (Bug#14447)
20300
20301 * net/xesam.el: Move to obsolete/.
20302
20303 2013-05-24 Glenn Morris <rgm@gnu.org>
20304
20305 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
20306
20307 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
20308
20309 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
20310 (Info-find-node, Man-getpage-in-background): Declare.
20311
20312 * mail/unrmail.el (unrmail):
20313 Replace obsolete detect-coding-with-priority.
20314
20315 * net/socks.el (socks-split-string): Use this rather than split-string.
20316 (socks-nslookup-host): Update for above change.
20317 (dynamic-choice, s5-dynamic-choice-match)
20318 (s5-dynamic-choice-match-inline, s5-widget-value-create):
20319 Comment out unused code.
20320
20321 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
20322 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
20323 (gud-tooltip-echo-area): Make obsolete.
20324 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
20325
20326 * progmodes/js.el (js--optimize-arglist): Declare.
20327
20328 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
20329
20330 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
20331 (ediff-window-C): Declare.
20332
20333 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
20334 Tweak requires to silence compiler.
20335
20336 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
20337 (he-search-string, he-tried-table, he-expand-list)
20338 (he-init-string, he-string-member, he-substitute-string)
20339 (he-reset-string): Declare.
20340
20341 * obsolete/options.el (list-options): Use custom-variable-p,
20342 rather than obsolete alias.
20343
20344 2013-05-23 Sam Steingold <sds@gnu.org>
20345
20346 * simple.el (shell-command-on-region): Pass the `replace' argument
20347 down to `call-process-region' to comply with the doc as reported on
20348 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
20349
20350 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20351
20352 * emacs-lisp/smie.el (smie-indent-forward-token)
20353 (smie-indent-backward-token): Handle string tokens (bug#14381).
20354
20355 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20356
20357 * ielm.el (ielm-menu): New menu.
20358 (inferior-emacs-lisp-mode): Set comment-start.
20359
20360 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20361
20362 * textmodes/reftex.el (reftex-ref-style-toggle):
20363 Fix deactivate action.
20364
20365 * textmodes/reftex-vars.el (reftex-ref-style-alist):
20366 Add cleveref macros.
20367
20368 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
20369 Accept options for bibliography commands.
20370 * textmodes/reftex-vars.el (reftex-bibliography-commands):
20371 Add addbibresource. Basic Biblatex support.
20372
20373 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
20374
20375 * net/tramp-gvfs.el (top):
20376 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
20377 when loading package. (Bug#14447)
20378
20379 2013-05-23 Glenn Morris <rgm@gnu.org>
20380
20381 * progmodes/js.el: No need to load comint when compiling.
20382 (ring-insert, comint-send-string, comint-send-input)
20383 (comint-last-input-end, ido-chop): Declare.
20384
20385 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
20386 * vc/ediff-mult.el: Adjust requires.
20387 (ediff-directories-internal, ediff-directory-revisions-internal)
20388 (ediff-patch-file-internal): Declare.
20389 * vc/ediff-ptch.el: Adjust requires.
20390 (ediff-use-last-dir, ediff-buffers-internal): Declare.
20391 (ediff-find-file): Autoload.
20392 * vc/ediff-util.el: No need to load ediff when compiling.
20393 (ediff-regions-internal): Declare.
20394 * vc/ediff-wind.el: Adjust requires.
20395 (ediff-compute-toolbar-width): Define when compiling.
20396 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
20397 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
20398 (dired-get-filename, dired-get-marked-files)
20399 (ediff-last-dir-patch, ediff-patch-default-directory)
20400 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
20401 (ediff-patch-buffer-internal): Declare.
20402
20403 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
20404 (ispell-process, ispell-buffer-local-words, lm-summary)
20405 (lm-section-start, lm-section-end): Declare.
20406 (checkdoc-ispell-init): Simplify.
20407
20408 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
20409 (he-string-member, he-reset-string, he-substitute-string): Declare.
20410
20411 * eshell/em-ls.el: Adjust requires.
20412 (eshell-glob-regexp): Declare.
20413 * eshell/em-tramp.el: Adjust requires.
20414 (eshell-parse-command): Autoload.
20415 * eshell/em-xtra.el: Adjust requires.
20416 (eshell-parse-command): Autoload.
20417 * eshell/esh-ext.el: Adjust requires.
20418 (eshell-parse-command, eshell-close-handles): Autoload.
20419 * eshell/esh-io.el: Adjust requires.
20420 (eshell-output-filter): Autoload.
20421 * eshell/esh-util.el: No need to load tramp when compiling.
20422 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
20423 Declare.
20424 (eshell-parse-ange-ls): Require ange-ftp and tramp.
20425 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
20426 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
20427 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
20428 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
20429 * eshell/esh-opt.el, eshell/esh-proc.el:
20430 * eshell/esh-var.el: Adjust requires.
20431 * eshell/eshell.el: Do not require esh-util twice.
20432 (eshell-add-input-to-history): Declare.
20433 (eshell-command): Check history module is active before using it.
20434
20435 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
20436
20437 2013-05-22 Leo Liu <sdl.web@gmail.com>
20438
20439 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
20440
20441 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
20442
20443 * autorevert.el (auto-revert-notify-add-watch)
20444 (auto-revert-notify-handler): Add `attrib' for the inotify case,
20445 it indicates changes in file modification time.
20446
20447 2013-05-22 Glenn Morris <rgm@gnu.org>
20448
20449 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20450 Always delete the autoloaded function from the noruntime and
20451 unresolved functions lists.
20452
20453 * allout.el: No need to load epa, epg, overlay when compiling.
20454 (epg-context-set-passphrase-callback, epg-list-keys)
20455 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
20456 (epg-key-user-id-list): Declare.
20457
20458 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
20459 (viper-set-parsing-style-toggling-macro)
20460 (viper-set-emacs-state-searchstyle-macros):
20461 Use called-interactively-p on Emacs.
20462 (viper-looking-back): Make it an obsolete alias. Update callers.
20463 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
20464 Use looking-back rather than viper-looking-back.
20465 (viper-tmp-insert-at-eob, viper-enlarge-region)
20466 (viper-read-string-with-history, viper-register-to-point)
20467 (viper-append-to-register, viper-change-state-to-vi)
20468 (viper-backward-char-carefully, viper-forward-char-carefully)
20469 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
20470 (viper-change-state-to-emacs): Declare.
20471 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
20472 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
20473 * emulation/viper-mous.el: Do not load viper-cmd.
20474 (viper-backward-char-carefully, viper-forward-char-carefully)
20475 (viper-forward-word, viper-adjust-window): Declare.
20476
20477 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
20478
20479 * progmodes/idlw-help.el (idlwave-help-fontify):
20480 Use called-interactively-p.
20481
20482 * term/w32console.el (w32-get-console-codepage)
20483 (w32-get-console-output-codepage): Declare.
20484
20485 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
20486 Remove unnecessary declarations.
20487 (dframe-message): Doc fix.
20488
20489 * info.el (dframe-select-attached-frame, dframe-current-frame):
20490 Declare.
20491
20492 * speedbar.el (speedbar-message): Make it an obsolete alias.
20493 Update all callers.
20494 (speedbar-with-attached-buffer)
20495 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
20496 (speedbar-with-writable): Use backquote.
20497 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
20498 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
20499 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
20500 rather than speedbar- aliases.
20501 * mail/rmail.el: Load dframe rather than speedbar when compiling.
20502 (speedbar-make-specialized-keymap, speedbar-insert-button)
20503 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
20504 (speedbar-do-function-pointer): Declare.
20505 (rmail-speedbar-button, rmail-speedbar-find-file)
20506 (rmail-speedbar-move-message):
20507 Use dframe-with-attached-buffer rather than speedbar- alias.
20508 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
20509 (dframe-message, speedbar-make-specialized-keymap)
20510 (speedbar-add-expansion-list, speedbar-mode-functions-list)
20511 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
20512 (speedbar-insert-button, dframe-select-attached-frame)
20513 (dframe-maybee-jump-to-attached-frame)
20514 (speedbar-change-initial-expansion-list)
20515 (speedbar-previously-used-expansion-list-name): Declare.
20516 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
20517 Use dframe-message, dframe-with-attached-buffer rather than
20518 speedbar- aliases.
20519 (gud-sentinel): Silence compiler.
20520 * progmodes/vhdl-mode.el (speedbar-refresh)
20521 (speedbar-do-function-pointer, speedbar-add-supported-extension)
20522 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
20523 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
20524 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
20525 (speedbar-file-lists, speedbar-make-tag-line)
20526 (speedbar-line-directory, speedbar-goto-this-file)
20527 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
20528 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
20529 (speedbar-make-button, speedbar-reset-scanners)
20530 (speedbar-files-item-info, speedbar-line-text)
20531 (speedbar-find-file-in-frame, speedbar-set-timer)
20532 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
20533 (speedbar-with-writable): Do not (re)define it.
20534 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
20535 rather than speedbar- alias.
20536
20537 2013-05-21 Leo Liu <sdl.web@gmail.com>
20538
20539 * progmodes/octave.el (octave-mode-menu): Update and re-organize
20540 menu items.
20541 (octave-mode): Tweak fill-nobreak-predicate.
20542 (inferior-octave-startup): Check process to avoid infinite loop.
20543 (inferior-octave): Pop to buffer first to show abornmal process
20544 exit information.
20545
20546 2013-05-21 Glenn Morris <rgm@gnu.org>
20547
20548 * printing.el (pr-menu-bar): Define when compiling.
20549
20550 2013-05-21 Leo Liu <sdl.web@gmail.com>
20551
20552 * progmodes/octave.el (octave-auto-fill): Remove.
20553 (octave-indent-new-comment-line): Improve.
20554 (octave-mode): Use auto fill mode through
20555 comment-line-break-function and fill-nobreak-predicate.
20556 (octave-goto-function-definition): Support DEFUN_DLD.
20557 (octave-beginning-of-defun): Small tweak.
20558 (octave-help): Show parent directory.
20559
20560 2013-05-21 Glenn Morris <rgm@gnu.org>
20561
20562 * files.el (dired-unmark):
20563 * progmodes/gud.el (gdb-input): Update declarations.
20564
20565 * calculator.el (electric, ehelp): No need to load when compiling.
20566 (Electric-command-loop, electric-describe-mode): Declare.
20567
20568 * doc-view.el (doc-view-current-converter-processes): Move before use.
20569
20570 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20571 Move MODE-set-explicitly definition before use.
20572
20573 * international/mule-diag.el (mule-diag):
20574 Don't use obsolete window-system-version.
20575
20576 * mail/feedmail.el (smtpmail): No need to load when compiling.
20577 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
20578
20579 * mail/mail-utils.el (rfc822): No need to load when compiling.
20580 (rfc822-addresses): Autoload it.
20581 (mail-strip-quoted-names): Trivial simplification.
20582
20583 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
20584 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
20585
20586 * net/snmp-mode.el (tempo): Don't duplicate requires.
20587
20588 * progmodes/prolog.el (info): No need to load when compiling.
20589 (comint): Require before shell requires it.
20590 (Info-goto-node): Autoload it.
20591 (Info-follow-nearest-node): Declare.
20592 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
20593
20594 * textmodes/artist.el (picture-mode-exit): Declare.
20595
20596 * textmodes/reftex-parse.el (reftex-parse-from-file):
20597 Trivial rewrite so the compiler can parse it better.
20598
20599 2013-05-20 Leo Liu <sdl.web@gmail.com>
20600
20601 * progmodes/octave.el (octave-help-mode-map)
20602 (octave-help-mode-finish-hook): New variables.
20603 (octave-help-mode, octave-help-mode-finish): New functions.
20604 (octave-help): Use octave-help-mode.
20605
20606 2013-05-20 Glenn Morris <rgm@gnu.org>
20607
20608 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
20609
20610 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
20611
20612 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
20613 start at point, so that expansion starting right after opening
20614 slash in a regexp is recognized.
20615 (ruby-syntax-before-regexp-re): New defvar, extracted from
20616 ruby-syntax-propertize-function. Since the value of this regexp
20617 is looked up at runtime now, we should be able to turn
20618 `ruby-syntax-methods-before-regexp' into a defcustom later.
20619 (ruby-syntax-propertize-function): Split regexp matching into two
20620 parts, for opening and closing slashes. That allows us to skip
20621 over string interpolations and support multiline regexps.
20622 Don't call `ruby-syntax-propertize-expansions', instead use another rule
20623 for them, which calls `ruby-syntax-propertize-expansion'.
20624 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
20625 call to `ruby-syntax-propertize-function'.
20626 (ruby-syntax-propertize-expansion): Extracted from
20627 `ruby-syntax-propertize-expansions'. Handles one expansion.
20628 (ruby-syntax-propertize-percent-literal): Leave point right after
20629 the percent symbol, so that the expression expansion rule can
20630 propertize the contents.
20631 (ruby-syntax-propertize-heredoc): Leave point at bol following the
20632 heredoc openers.
20633 (ruby-syntax-propertize-expansions): Remove.
20634
20635 2013-05-18 Juri Linkov <juri@jurta.org>
20636
20637 * man.el (Man-default-man-entry): Remove `-' from the end
20638 of the default value. (Bug#14400)
20639
20640 2013-05-18 Glenn Morris <rgm@gnu.org>
20641
20642 * comint.el (comint-password-prompt-regexp):
20643 Allow "password for XXX" where XXX contains colons (eg https://...).
20644
20645 2013-05-18 Leo Liu <sdl.web@gmail.com>
20646
20647 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
20648 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
20649 (octave-source-directories): Don't check process.
20650 (octave-source-directories, octave-find-definition): Doc fix.
20651
20652 2013-05-18 Glenn Morris <rgm@gnu.org>
20653
20654 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
20655 Remove backspace/delete bindings. (Bug#14392)
20656
20657 * cus-dep.el (custom-make-dependencies): Sort the output.
20658 (custom-versions-load-alist): Convert comment to doc.
20659
20660 2013-05-17 Leo Liu <sdl.web@gmail.com>
20661
20662 * newcomment.el (comment-search-backward): Stricter in finding
20663 comment start. (Bug#14303)
20664
20665 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
20666 (octave-comment-start-skip): Properly anchored.
20667
20668 2013-05-17 Leo Liu <sdl.web@gmail.com>
20669
20670 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
20671 Clean up when turned off. (Bug#14395)
20672 (smie--highlight-matching-block-overlay): No longer buffer-local.
20673 (smie-highlight-matching-block): Adjust.
20674
20675 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
20676
20677 Doc string fix for "nanoseconds" (Bug#14406).
20678 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
20679 Fix doc string typo that had "nanoseconds" instead of "microseconds".
20680
20681 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
20682
20683 * calc/calc-units.el (math-extract-units): Preserve powers
20684 of units.
20685
20686 2013-05-17 Leo Liu <sdl.web@gmail.com>
20687
20688 * subr.el (delete-consecutive-dups): New function.
20689 * ido.el (ido-set-matches-1): Use it.
20690 * progmodes/octave.el (inferior-octave-completion-table): Use it.
20691 * ido.el (ido-remove-consecutive-dups): Remove.
20692
20693 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20694
20695 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20696 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
20697 regexp-opt's `words'.
20698
20699 2013-05-16 Leo Liu <sdl.web@gmail.com>
20700
20701 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
20702 (smie--highlight-matching-block-overlay)
20703 (smie--highlight-matching-block-lastpos)
20704 (smie--highlight-matching-block-timer): New variables.
20705 (smie-highlight-matching-block): New function.
20706 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
20707 (smie-setup): Conditionally enable smie-blink-matching-open.
20708
20709 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
20710
20711 Sync with upstream verilog-mode r840.
20712 * progmodes/verilog-mode.el (verilog-mode-version)
20713 (verilog-mode-release-date): Update.
20714 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
20715 (verilog-sig-tieoff): Fix string error on
20716 AUTORESET with colon define, bug594. Reported by Andrew Hou.
20717 (verilog-read-decls): Fix parameters confusing
20718 AUTOINST interfaces, bug565. Reported by Leith Johnson.
20719
20720 2013-05-16 Eli Zaretskii <eliz@gnu.org>
20721
20722 * subr.el (reveal-filename): New function.
20723
20724 * loadup.el: Compute Emacs executable versions on MS-Windows,
20725 where executables have the .exe extension. Add a hard link
20726 emacs-XX.YY.ZZ.exe on MS-Windows.
20727
20728 * Makefile.in (XARGS_LIMIT): New variable.
20729 (custom-deps, finder-data, autoloads)
20730 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
20731 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
20732 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
20733 (compile-main): Limit xargs according to $(XARGS_LIMIT).
20734
20735 2013-05-16 Leo Liu <sdl.web@gmail.com>
20736
20737 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
20738 (octave-mode-menu, octave-mode-map): Remove its uses.
20739
20740 2013-05-16 Reto Zimmermann <reto@gnu.org>
20741
20742 Sync with upstream vhdl mode v3.34.2.
20743 * progmodes/vhdl-mode.el: Use `push' throughout.
20744 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
20745 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
20746 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
20747 (vhdl-actual-generic-name): New option to derive actual generic name.
20748 (vhdl-port-paste-signals): Replace formal by actual generics.
20749 (vhdl-beautify): New name for old group vhdl-align. Update users.
20750 (vhdl-beautify-options): New option.
20751 (vhdl-last-input-event): New compat alias. Use throughout.
20752 (vhdl-goto-line): Replace user level function `goto-line'.
20753 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
20754 vhdl-fix-statement-buffer.
20755 (vhdl-create-mode-menu): Add some entries.
20756 (vhdl-align-region-groups): Respect vhdl-beautify-options.
20757 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
20758 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
20759 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
20760 to force statements on one line.
20761 (vhdl-remove-trailing-spaces-region):
20762 New, split from vhdl-remove-trailing-spaces.
20763 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
20764 Respect vhdl-beautify-options.
20765 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
20766 (vhdl-update-sensitivity-list): Not add with index if exists without.
20767 Not include array index with signal. Ignore keywords in comments.
20768 (vhdl-get-visible-signals): Regexp tweaks.
20769 (vhdl-template-component-inst): Handle empty library.
20770 (vhdl-template-type): Add template for 'enum' type.
20771 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
20772 Use vhdl-replace-string.
20773 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
20774 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
20775 (vhdl-speedbar-initialize): Update for above name change.
20776 (vhdl-compose-wire-components): Fix in handling of constants.
20777 (vhdl-error-regexp-emacs-alist): New variable.
20778 (vhdl-error-regexp-add-emacs): New function;
20779 adds support for new compile.el (Emacs 22+)
20780 (vhdl-generate-makefile-1): Change target order for single lib. units.
20781 Allow use of absolute file names.
20782
20783 2013-05-16 Leo Liu <sdl.web@gmail.com>
20784
20785 * simple.el (prog-indent-sexp): Indent enclosing defun.
20786
20787 2013-05-15 Glenn Morris <rgm@gnu.org>
20788
20789 * cus-start.el (show-trailing-whitespace): Move to editing basics.
20790 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
20791 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
20792 (whitespace-highlight): Move to whitespace group.
20793
20794 * comint.el (comint-source):
20795 * pcmpl-linux.el (pcmpl-linux):
20796 * shell.el (shell-faces):
20797 * eshell/esh-opt.el (eshell-opt):
20798 * international/ccl.el (ccl): Remove empty custom groups.
20799
20800 * completion.el (dynamic-completion-mode):
20801 * jit-lock.el (jit-lock-debug-mode):
20802 * minibuffer.el (completion-in-region-mode):
20803 * type-break.el (type-break-mode-line-message-mode)
20804 (type-break-query-mode):
20805 * emulation/tpu-edt.el (tpu-edt-mode):
20806 * progmodes/subword.el (global-subword-mode, global-superword-mode):
20807 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
20808 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
20809
20810 * term/xterm.el (xterm): Change parent group to terminals.
20811
20812 * master.el (master): Remove empty custom group.
20813 (master-mode): Remove unused :group argument.
20814 * textmodes/refill.el (refill): Remove empty custom group.
20815 (refill-mode): Remove unused :group argument.
20816
20817 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
20818
20819 * cus-dep.el: Provide a feature.
20820 (custom-make-dependencies): Ignore dotfiles (dir-locals).
20821 Don't mistakenly ignore files whose basenames match a basename
20822 from preloaded-file-list (eg cedet/ede/simple.el).
20823 Add a fallback method for getting :group.
20824
20825 2013-05-15 Juri Linkov <juri@jurta.org>
20826
20827 * isearch.el (isearch-char-by-name): Rename from
20828 `isearch-insert-char-by-name'. Doc fix.
20829 (isearch-forward): Mention `isearch-char-by-name' in
20830 the docstring. (Bug#13348)
20831
20832 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
20833 `exit-minibuffer' instead of
20834 `isearch-nonincremental-exit-minibuffer'.
20835 (isearch-edit-string): Remove mention of
20836 `isearch-nonincremental-exit-minibuffer' from docstring.
20837 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
20838 (isearch-forward-exit-minibuffer)
20839 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
20840
20841 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
20842
20843 * loadup.el: Just use unversioned DOC.
20844
20845 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
20846 literals as extending to EOB.
20847 (nxml-last-fontify-end): Remove unused variable.
20848 (nxml-after-change1): Use with-silent-modifications.
20849 (nxml-extend-after-change-region): Simplify.
20850 (nxml-extend-after-change-region1): Remove function.
20851 (nxml-after-change1): Don't adjust for dependent regions.
20852 (nxml-fontify-matcher): Simplify.
20853 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
20854 (xmltok-add-dependent): Remove function.
20855 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
20856 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
20857 (xmltok-scan-prolog-after-processing-instruction-open): Treat
20858 unclosed <[[, <?, comment, and other literals as extending to EOB.
20859 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
20860 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
20861 Remove functions.
20862 (rng-do-some-validation-1): Don't mark dependent regions.
20863 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
20864 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
20865 (nxml-clear-dependent-regions): Remove functions.
20866 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
20867 (nxml-ensure-scan-up-to-date):
20868 Don't clear&mark dependent regions.
20869
20870 2013-05-15 Leo Liu <sdl.web@gmail.com>
20871
20872 * progmodes/octave.el (octave-goto-function-definition):
20873 Improve and fix callers.
20874
20875 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
20876
20877 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
20878 the setter (bug#14387).
20879
20880 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
20881 surrounding group (bug#14402).
20882
20883 2013-05-14 Juri Linkov <juri@jurta.org>
20884
20885 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
20886 (Bug#14390)
20887
20888 2013-05-14 Glenn Morris <rgm@gnu.org>
20889
20890 * progmodes/f90.el (f90-imenu-generic-expression):
20891 Fix typo in 2013-05-08 change. (Bug#14402)
20892
20893 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
20894
20895 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
20896 Remove signals for which replies are never received.
20897
20898 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
20899
20900 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
20901 (gdb-handler-alist, gdb-handler-number): Remove variables.
20902 (gdb-handler-list): New variable.
20903 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
20904 (gdb-pending-handler-p, gdb-handle-reply)
20905 (gdb-remove-all-pending-triggers): New functions.
20906 (gdb-discard-unordered-replies): New defcustom.
20907 (gdb-handler): New defstruct.
20908 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
20909 instead of gdb-pending-triggers. Update docstring.
20910 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
20911 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
20912 (gdb-var-update-handler, def-gdb-auto-update-trigger)
20913 (def-gdb-auto-update-handler, gdb-get-changed-registers)
20914 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
20915 (gdb-frame-handler): Pending triggers are now automatically managed.
20916 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
20917 Remove argument.
20918 (gdb-input): Automatically handles pending triggers. Update docstring.
20919 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
20920 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
20921 Update comments.
20922 (gdb-done-or-error): Now use gdb-handle-reply.
20923
20924 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
20925
20926 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
20927 gdb-debug-log.
20928
20929 2013-05-14 Glenn Morris <rgm@gnu.org>
20930
20931 * subr.el (user-emacs-directory-warning): New option.
20932 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
20933
20934 2013-05-14 Leo Liu <sdl.web@gmail.com>
20935
20936 * progmodes/octave.el (octave-font-lock-keywords): Fix error
20937 during redisplay.
20938 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
20939 (octave-font-lock-texinfo-comment): Fix invalid search bound
20940 error: wrong side of point.
20941
20942 2013-05-14 Glenn Morris <rgm@gnu.org>
20943
20944 * progmodes/flymake.el (flymake-xml-program): New option.
20945 (flymake-xml-init): Use it.
20946
20947 * term/xterm.el: Provide a feature.
20948
20949 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
20950
20951 2013-05-13 Glenn Morris <rgm@gnu.org>
20952
20953 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
20954 Add compat aliases as a hack workaround. (Bug#14384)
20955
20956 2013-05-13 Leo Liu <sdl.web@gmail.com>
20957
20958 * progmodes/octave.el (octave-indent-comment): Fix indentation for
20959 ###, and %!.
20960 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
20961 C-M-q.
20962 (octave-comment-start-skip): Include %!.
20963 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
20964
20965 2013-05-12 Leo Liu <sdl.web@gmail.com>
20966
20967 * progmodes/octave.el (inferior-octave-startup): Store the value
20968 of __octave_srcdir__ for octave-source-directories.
20969 (inferior-octave-check-process): New function refactored out of
20970 inferior-octave-send-list-and-digest.
20971 (octave-source-directories)
20972 (octave-find-definition-filename-function): New variables.
20973 (octave-source-directories)
20974 (octave-find-definition-default-filename): New functions.
20975 (octave-find-definition): Improve to find functions implemented in C++.
20976
20977 2013-05-12 Glenn Morris <rgm@gnu.org>
20978
20979 * calendar/diary-lib.el (diary-outlook-format-1):
20980 Don't include dayname in the output. (Bug#14349)
20981
20982 2013-05-11 Glenn Morris <rgm@gnu.org>
20983
20984 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
20985
20986 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
20987 Treat cc-provide like provide.
20988
20989 2013-05-11 Kevin Ryde <user42@zip.com.au>
20990
20991 * cus-dep.el (custom-make-dependencies):
20992 Use generated-autoload-load-name for the sake of files such
20993 such cedet/semantic/bovine/c.el, where the base file name
20994 is not in load-path. (Bug#5277)
20995
20996 2013-05-11 Glenn Morris <rgm@gnu.org>
20997
20998 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
20999 Provide features.
21000
21001 2013-05-11 Leo Liu <sdl.web@gmail.com>
21002
21003 * progmodes/octave.el (octave-indent-comment): Improve.
21004 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
21005 (octave-eldoc-function-signatures, octave-eldoc-function):
21006 New functions.
21007 (octave-mode, inferior-octave-mode): Add eldoc support.
21008
21009 2013-05-11 Richard Stallman <rms@gnu.org>
21010
21011 * epa.el (epa-decrypt-file): Take output file name as argument
21012 and read it using `interactive'.
21013
21014 2013-05-11 Leo Liu <sdl.web@gmail.com>
21015
21016 * progmodes/octave.el (octave-beginning-of-line)
21017 (octave-end-of-line): Check before using up-list because it jumps
21018 out of more syntactic contructs since moving to smie.
21019 (octave-indent-comment): New function.
21020 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
21021 (octave-begin-keywords, octave-end-keywords)
21022 (octave-reserved-words, octave-smie-bnf-table)
21023 (octave-smie-rules): Add new keywords from Octave 3.6.4.
21024
21025 2013-05-11 Glenn Morris <rgm@gnu.org>
21026
21027 * faces.el (internal-face-x-get-resource):
21028 * frame.el (ns-display-monitor-attributes-list):
21029 * calc/calc-aent.el (math-to-radians-2):
21030 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
21031 Fix declarations.
21032
21033 * calc/calc-menu.el: Make it loadable in isolation.
21034
21035 * net/eudcb-bbdb.el: Make it loadable without bbdb.
21036 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
21037 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
21038 (eudc-bbdb-query-internal): Require 'bbdb.
21039
21040 * lpr.el (lpr-headers-switches):
21041 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
21042
21043 * progmodes/sql.el (sql-login-params): Fix and improve :type.
21044
21045 * emulation/edt-mapper.el: In batch mode, error rather than hang.
21046
21047 * term.el (term-set-escape-char): Make it idempotent.
21048
21049 2013-05-10 Leo Liu <sdl.web@gmail.com>
21050
21051 * progmodes/octave.el (inferior-octave-completion-table):
21052 No longer a function and all uses changed. Use cache to speed up
21053 completion due to bug#11906.
21054 (octave-beginning-of-defun): Re-write to be more general.
21055
21056 2013-05-10 Glenn Morris <rgm@gnu.org>
21057
21058 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
21059
21060 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
21061
21062 * comint.el (comint-redirect-send-command-to-process): Use :around
21063 rather than :override for comint-redirect-filter.
21064 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
21065 Call it instead of comint-redirect-original-filter-function (which
21066 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
21067
21068 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
21069
21070 * frame.el (display-monitor-attributes-list): Add NS case.
21071 (ns-display-monitor-attributes-list): Declare.
21072
21073 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
21074
21075 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
21076
21077 2013-05-09 Glenn Morris <rgm@gnu.org>
21078
21079 * international/fontset.el (vertical-centering-font-regexp):
21080 Set standard-value.
21081
21082 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
21083
21084 * bookmark.el (bookmark-search-delay):
21085 * cus-start.el (vertical-centering-font-regexp):
21086 * ps-mule.el (ps-mule-font-info-database-default):
21087 * ps-print.el (ps-default-fg, ps-default-bg):
21088 * type-break.el (type-break-good-break-interval):
21089 * whitespace.el (whitespace-indentation-regexp)
21090 (whitespace-space-after-tab-regexp):
21091 * emacs-lisp/testcover.el (testcover-1value-functions)
21092 (testcover-noreturn-functions, testcover-progn-functions)
21093 (testcover-prog1-functions):
21094 * emulation/viper-init.el (viper-emacs-state-cursor-color):
21095 * eshell/em-glob.el (eshell-glob-translate-alist):
21096 * play/tetris.el (tetris-tty-colors):
21097 * progmodes/cpp.el (cpp-face-default-list):
21098 * progmodes/flymake.el (flymake-allowed-file-name-masks):
21099 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
21100 (idlwave-help-browser-generic-args):
21101 * progmodes/make-mode.el (makefile-special-targets-list):
21102 * progmodes/python.el (python-shell-virtualenv-path):
21103 * progmodes/verilog-mode.el (verilog-active-low-regexp)
21104 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
21105 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
21106 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
21107 * textmodes/reftex-vars.el (reftex-format-label-function):
21108 * textmodes/remember.el (remember-diary-file): Fix custom types.
21109
21110 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
21111 Add :version.
21112
21113 2013-05-09 Leo Liu <sdl.web@gmail.com>
21114
21115 * progmodes/octave.el (inferior-octave-completion-at-point):
21116 Restore file completion. (Bug#14300)
21117 (inferior-octave-startup): Fix incorrect highlighting for the
21118 first prompt.
21119
21120 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21121
21122 * progmodes/ruby-mode.el: First cut at SMIE support.
21123 (ruby-use-smie): New var.
21124 (ruby-smie-grammar): New constant.
21125 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
21126 (ruby-smie--forward-token, ruby-smie--backward-token)
21127 (ruby-smie-rules): New functions.
21128 (ruby-mode-variables): Setup SMIE if applicable.
21129
21130 2013-05-08 Eli Zaretskii <eliz@gnu.org>
21131
21132 * simple.el (line-move-visual): Signal beginning/end of buffer
21133 only if vertical-motion moved less than it was requested. Avoids
21134 silly incorrect error messages when there are display strings with
21135 multiple newlines at EOL.
21136
21137 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21138
21139 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
21140 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
21141 (prolog-char-quote-workaround):
21142 * progmodes/cperl-mode.el (cperl-under-as-char):
21143 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
21144 Mark as obsolete.
21145 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
21146 their declaration.
21147 (vhdl-mode-syntax-table-init): Remove.
21148
21149 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
21150 last change.
21151
21152 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
21153 syntax for "_".
21154 (ld-script-font-lock-keywords):
21155 Change regexps to use things like \_< and \_>.
21156
21157 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
21158 Change all regexps to use things like \_< and \_>.
21159
21160 * progmodes/autoconf.el (autoconf-definition-regexp)
21161 (autoconf-font-lock-keywords, autoconf-current-defun-function):
21162 Handle a _ with symbol syntax.
21163 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
21164
21165 * progmodes/ada-mode.el (ada-mode-abbrev-table):
21166 Consolidate declaration.
21167 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
21168 the declaration.
21169 (ada-create-syntax-table): Remove.
21170 (ada-capitalize-word): Don't mess with the syntax of "_" since it
21171 already has the right syntax nowadays.
21172 (ada-goto-next-word): Don't change the syntax of "_".
21173
21174 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
21175 with-wrapper-hook.
21176
21177 2013-05-08 Sam Steingold <sds@gnu.org>
21178
21179 * thingatpt.el (thing-at-point): Accept optional second argument
21180 NO-PROPERTIES to strip the text properties from the return value.
21181 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
21182 to `thing-at-point' instead of stripping the properties ourselves.
21183 Also, when `thing-at-point' fails to find a url, prepend "http://"
21184 to the filename at point on the assumption that the user is
21185 pointing at something like gnu.org/gnu.
21186
21187 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
21188
21189 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
21190 * faces.el (crm-separator):
21191 Silence byte-compiler.
21192
21193 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
21194 (tool-bar-map): Remove unneeded defvars.
21195
21196 2013-05-08 Leo Liu <sdl.web@gmail.com>
21197
21198 Re-work a fix for bug#10994 based on Le Wang's patch.
21199 * ido.el (ido-remove-consecutive-dups): New helper.
21200 (ido-completing-read): Use it.
21201 (ido-chop): Revert fix for bug#10994.
21202
21203 2013-05-08 Adam Spiers <emacs@adamspiers.org>
21204
21205 * cus-edit.el (custom-save-variables):
21206 Pretty-print long values. (Bug#14187)
21207
21208 2013-05-08 Glenn Morris <rgm@gnu.org>
21209
21210 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
21211 (m4-mode-syntax-table): Init in the defvar.
21212 (m4-mode-abbrev-table): Let define-derived-mode define it.
21213
21214 2013-05-08 Tom Tromey <tromey@redhat.com>
21215
21216 * progmodes/m4-mode.el (m4-mode-syntax-table):
21217 Do not treat "_" as word constituent. (Bug#14167)
21218
21219 2013-05-07 Glenn Morris <rgm@gnu.org>
21220
21221 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
21222 Remove explicit eshell-isearch-cancel-map.
21223
21224 * progmodes/f90.el (f90-smart-end-names): New option.
21225 (f90-smart-end): Doc fix.
21226 (f90-end-block-optional-name): New constant.
21227 (f90-block-match): Respect f90-smart-end-names.
21228
21229 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21230
21231 * progmodes/octave.el (octave-smie-forward-token): Be more careful
21232 about implicit semi-colons (bug#14218).
21233
21234 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21235
21236 * frame.el (display-monitor-attributes-list)
21237 (frame-monitor-attributes): New functions.
21238
21239 2013-05-06 Leo Liu <sdl.web@gmail.com>
21240
21241 * progmodes/octave.el (octave-syntax-propertize-function): Change
21242 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
21243 (octave-font-lock-keywords): Use octave-operator-regexp.
21244 (octave-completion-at-point): Rename from
21245 octave-completion-at-point-function.
21246 (inferior-octave-directory-tracker): Robustify.
21247 (octave-text-functions): Remove and fix its uses. No such things
21248 any more.
21249
21250 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21251
21252 * emacs-lisp/trace.el (trace--display-buffer): New function.
21253 (trace-make-advice): Use it.
21254
21255 2013-05-06 Juri Linkov <juri@jurta.org>
21256
21257 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
21258 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
21259 Doc fix.
21260 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
21261 in the help string. (Bug#12985)
21262
21263 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
21264
21265 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
21266
21267 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21268
21269 * progmodes/perl-mode.el: Add support for here documents.
21270 (perl-syntax-propertize-function): Match here-doc markers.
21271 (perl-syntax-propertize-special-constructs): Find their end.
21272 (perl-imenu-generic-expression): Use [:alnum:].
21273
21274 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
21275 (advice--add-function): Refresh the advice if already present
21276 (bug#14317).
21277
21278 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
21279
21280 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
21281
21282 2013-05-06 Glenn Morris <rgm@gnu.org>
21283
21284 * w32-fns.el (w32-charset-info-alist): Declare.
21285
21286 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
21287 of its defcustom properties.
21288 (eshell-cmpl-initialize): No need to load pcomplete.
21289
21290 * generic-x.el: No need to require comint when compiling.
21291
21292 * net/eudc-export.el: Make it loadable without bbdb.
21293 (top-level): Use require rather than load-library.
21294 (eudc-create-bbdb-record, eudc-bbdbify-phone)
21295 (eudc-batch-export-records-to-bbdb)
21296 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
21297 Require bbdb.
21298
21299 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21300
21301 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
21302 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
21303 some tweaks, instead.
21304
21305 2013-05-05 Leo Liu <sdl.web@gmail.com>
21306
21307 * progmodes/octave.el (octave-font-lock-keywords)
21308 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
21309 (inferior-octave-send-list-and-digest): Improve error message.
21310 (octave-mode, inferior-octave-mode): Use setq-local.
21311 (octave-help): Set info-lookup-mode.
21312
21313 2013-05-05 Richard Stallman <rms@gnu.org>
21314
21315 * vc/compare-w.el (compare-windows-whitespace):
21316 Treat no-break space as whitespace.
21317
21318 * mail/rmailsum.el (rmail-summary-rmail-update):
21319 Detect empty summary and don't change selected message.
21320 (rmail-summary-goto-msg): Likewise.
21321
21322 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
21323 Doc fixes, rename args.
21324
21325 2013-05-05 Alan Mackenzie <acm@muc.de>
21326
21327 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
21328
21329 2013-05-05 Juri Linkov <juri@jurta.org>
21330
21331 * info.el (Info-read-subfile): Use (point-min) instead of (point)
21332 to not add the length of the summary segment to the return value.
21333 (Bug#14125)
21334
21335 2013-05-05 Leo Liu <sdl.web@gmail.com>
21336
21337 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
21338 (inferior-octave-output-filter): Remove.
21339 (octave-send-region, inferior-octave-startup): Fix callers.
21340 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
21341 (octave-binary-file-extensions): New user variable.
21342 (octave-find-definition): Confirm if opening binary files.
21343 (octave-help-file): Use octave-find-definition to get the binary
21344 confirmation.
21345 (octave-help): Adjust for octave-help-file change.
21346
21347 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21348
21349 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
21350 Merge the two entries that handle function definitions.
21351 (pascal--syntax-propertize): New const.
21352 (pascal-mode): Use it. Use setq-local.
21353
21354 2013-05-04 Glenn Morris <rgm@gnu.org>
21355
21356 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
21357 (diary-from-outlook): Respect diary-from-outlook-function.
21358
21359 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21360
21361 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
21362 Move the declaration from C.
21363 (read-minibuffer, eval-minibuffer): Move from C.
21364 (completion-setup-function): Avoid minibuffer-completion-contents.
21365
21366 2013-05-03 Leo Liu <sdl.web@gmail.com>
21367
21368 * progmodes/octave.el (octave-font-lock-keywords): Do not
21369 dehighlight 'end' in comments or strings.
21370 (octave-completing-read, octave-goto-function-definition):
21371 New helpers.
21372 (octave-help-buffer): New user variable.
21373 (octave-help-file, octave-help-function): New button types.
21374 (octave-help): New command and bind it to C-h ;.
21375 (octave-find-definition): New command and bind it to M-.
21376 (user-error): Alias to error if not defined.
21377
21378 2013-05-02 Leo Liu <sdl.web@gmail.com>
21379
21380 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
21381 for \. (bug#14332)
21382 (octave-font-lock-keywords): Include [ and {.
21383
21384 2013-05-02 Leo Liu <sdl.web@gmail.com>
21385
21386 * progmodes/octave.el (inferior-octave-startup-file): Change default.
21387 (inferior-octave): Remove calling comint-mode and return the buffer.
21388 (inferior-octave-startup): Cosmetic changes.
21389
21390 2013-05-02 Leo Liu <sdl.web@gmail.com>
21391
21392 * progmodes/octave.el (octave-syntax-propertize-function):
21393 Include the case when ' is at line beginning. (Bug#14336)
21394
21395 2013-05-02 Glenn Morris <rgm@gnu.org>
21396
21397 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
21398 * desktop.el (vc-dir-mode): Just autoload it here.
21399
21400 2013-05-02 Alan Mackenzie <acm@muc.de>
21401
21402 Eliminate variable c-standard-font-lock-fontify-region-function.
21403 * progmodes/cc-mode.el
21404 (c-standard-font-lock-fontify-region-function): Remove.
21405 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
21406
21407 2013-05-01 Leo Liu <sdl.web@gmail.com>
21408
21409 * progmodes/octave.el: Compatible with older emacs-24 releases.
21410 (inferior-octave-has-built-in-variables): Remove. Built-in
21411 variables were removed from Octave in 2007.
21412 (inferior-octave-startup): Fix uses.
21413 (comint-line-beginning-position): Remove compatibility code for
21414 emacs 21.
21415
21416 2013-05-01 Juri Linkov <juri@jurta.org>
21417
21418 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
21419
21420 2013-05-01 Juri Linkov <juri@jurta.org>
21421
21422 * comint.el (comint-previous-matching-input): Don't print message
21423 "History item: %d" when `isearch-mode' is active.
21424 (comint-history-isearch-message): Print message "History item: %d"
21425 when `comint-input-ring-index' is not empty and this function is
21426 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
21427
21428 2013-05-01 Leo Liu <sdl.web@gmail.com>
21429
21430 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
21431 definitions. Use completion-at-point to insert keywords.
21432 (octave-abbrev-start): Remove.
21433 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
21434
21435 2013-04-30 Leo Liu <sdl.web@gmail.com>
21436
21437 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
21438 change.
21439
21440 2013-04-30 Alan Mackenzie <acm@muc.de>
21441
21442 Handle arbitrarily long C++ member initialisation lists.
21443 * progmodes/cc-engine.el (c-back-over-member-initializers):
21444 new function.
21445 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
21446 (most) member init lists.
21447
21448 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21449
21450 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
21451 variable.
21452
21453 2013-04-30 Leo Liu <sdl.web@gmail.com>
21454
21455 * progmodes/octave.el (octave-variables): Remove. No builtin
21456 variables any more. All converted to functions.
21457 (octave-font-lock-keywords, octave-completion-at-point-function):
21458 Fix uses.
21459 (octave-font-lock-texinfo-comment): New user variable.
21460 (octave-texinfo-font-lock-keywords): New variable for texinfo
21461 comment block.
21462 (octave-function-comment-block): New face.
21463 (octave-font-lock-texinfo-comment): New function.
21464 (octave-mode): Font lock texinfo comment block.
21465
21466 2013-04-29 Leo Liu <sdl.web@gmail.com>
21467
21468 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
21469 indexing expression.
21470 (octave-continuation-string): Do not use \.
21471 (inferior-octave-complete-impossible): Remove.
21472 (inferior-octave-completion-table)
21473 (inferior-octave-completion-at-point): Remove its uses.
21474 (inferior-octave-startup): completion_matches was introduced to
21475 Octave in 1996 so safe to assume it.
21476 (octave-function-file-comment): Improve to follow how Octave does it.
21477 (octave-update-function-file-comment): Tweak.
21478
21479 2013-04-29 Leo Liu <sdl.web@gmail.com>
21480
21481 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
21482 (inferior-octave-startup): Remove inferior-octave-startup-hook.
21483 (octave-function-file-comment): Fix typo.
21484 (octave-sync-function-file-names): Use read-char-choice.
21485
21486 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
21487
21488 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
21489 to t for the less important warnings.
21490
21491 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
21492
21493 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
21494
21495 2013-04-27 Glenn Morris <rgm@gnu.org>
21496
21497 * vc/log-view.el (log-view-current-entry):
21498 Treat "---" separator lines as part of the following rev. (Bug#14169)
21499
21500 2013-04-27 Juri Linkov <juri@jurta.org>
21501
21502 * subr.el (read-number): Doc fix about using it by interactive
21503 code letter `n'. (Bug#14254)
21504
21505 2013-04-27 Juri Linkov <juri@jurta.org>
21506
21507 * desktop.el (desktop-auto-save-timeout): New option.
21508 (desktop-file-checksum): New variable.
21509 (desktop-save): Add optional arg `auto-save' and don't auto-save
21510 if nothing changed.
21511 (desktop-auto-save-timer): New variable.
21512 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
21513 (after-init-hook): Call `desktop-auto-save-set-timer'.
21514 Suggested by Reuben Thomas <rrt@sc3d.org> in
21515 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
21516
21517 2013-04-27 Leo Liu <sdl.web@gmail.com>
21518
21519 * progmodes/octave.el (octave-function-file-p)
21520 (octave-skip-comment-forward, octave-function-file-comment)
21521 (octave-update-function-file-comment): New functions.
21522 (octave-mode-map): Bind C-c ; to
21523 octave-update-function-file-comment.
21524 (octave-mode-menu): Add octave-update-function-file-comment.
21525 (octave-mode, inferior-octave-mode): Fix doc-string.
21526 (octave-insert-defun): Conform to Octave's coding convention.
21527 (Bug#14285)
21528
21529 * files.el (basic-save-buffer): Don't let errors in
21530 before-save-hook prevent saving buffer.
21531
21532 2013-04-20 Roland Winkler <winkler@gnu.org>
21533
21534 * faces.el (read-face-name): Use completing-read if arg multiple
21535 is nil.
21536
21537 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
21538
21539 * ls-lisp.el (ls-lisp-insert-directory): If no files are
21540 displayed, move point to after the totals line.
21541 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
21542 for the details.
21543
21544 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
21545
21546 * emacs-lisp/package.el (package-autoload-ensure-default-file):
21547 Add current dir to the load-path.
21548 (package-generate-autoloads): Don't rely on
21549 autoload-ensure-default-file.
21550
21551 2013-04-26 Reuben Thomas <rrt@sc3d.org>
21552
21553 * textmodes/remember.el (remember-store-in-files): Document that
21554 the file name format is passed to `format-time-string'.
21555
21556 2013-04-26 Leo Liu <sdl.web@gmail.com>
21557
21558 * progmodes/octave.el (octave-sync-function-file-names): New function.
21559 (octave-mode): Use it in before-save-hook.
21560
21561 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
21562
21563 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
21564 (bug#14274).
21565
21566 * progmodes/octave.el (octave-smie-forward-token): Properly skip
21567 \n and comment, even if it's not an implicit ; (bug#14218).
21568
21569 2013-04-26 Glenn Morris <rgm@gnu.org>
21570
21571 * subr.el (read-number): Once more use `read' rather than
21572 `string-to-number', to trap non-numeric input. (Bug#14254)
21573
21574 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
21575
21576 * emacs-lisp/syntax.el (syntax-propertize-multiline):
21577 Use `syntax-multiline' text property consistently instead of
21578 `font-lock-multiline'. (Bug#14237)
21579
21580 2013-04-26 Glenn Morris <rgm@gnu.org>
21581
21582 * emacs-lisp/shadow.el (list-load-path-shadows):
21583 No longer necessary to check for duplicate simple.el, since
21584 2012-07-07 change to init_lread to not include installation lisp
21585 directories in load-path when running uninstalled. (Bug#14270)
21586
21587 2013-04-26 Leo Liu <sdl.web@gmail.com>
21588
21589 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
21590 (octave-mode, inferior-octave-mode): Use setq-local.
21591 (octave-not-in-string-or-comment-p): Rename to
21592 octave-in-string-or-comment-p.
21593 (octave-in-comment-p, octave-in-string-p)
21594 (octave-in-string-or-comment-p): Replace defsubst with defun.
21595
21596 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
21597
21598 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
21599
21600 2013-04-25 Bastien Guerry <bzg@gnu.org>
21601
21602 * textmodes/remember.el (remember-data-directory)
21603 (remember-directory-file-name-format): Fix custom types.
21604
21605 2013-04-25 Leo Liu <sdl.web@gmail.com>
21606
21607 * progmodes/octave.el (octave-completion-at-point-function):
21608 Make use of inferior octave process.
21609 (octave-initialize-completions): Remove.
21610 (inferior-octave-completion-table): New function.
21611 (inferior-octave-completion-at-point): Use it.
21612 (octave-completion-alist): Remove.
21613
21614 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21615
21616 * progmodes/opascal.el: Use font-lock and syntax-propertize.
21617 (opascal-mode-syntax-table): New var.
21618 (opascal-literal-kind, opascal-is-literal-end)
21619 (opascal-literal-token-at): Rewrite.
21620 (opascal--literal-start-re, opascal-font-lock-keywords)
21621 (opascal--syntax-propertize): New constants.
21622 (opascal-font-lock-defaults): Adjust.
21623 (opascal-mode): Use them. Set comment-<foo> variables as well.
21624 (delphi-comment-face, opascal-comment-face, delphi-string-face)
21625 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
21626 (delphi-other-face, opascal-other-face): Remove face variables.
21627 (opascal-save-state): Remove macro.
21628 (opascal-fontifying-progress-step): Remove constant.
21629 (opascal--ignore-changes): Remove var.
21630 (opascal-set-token-property, opascal-parse-next-literal)
21631 (opascal-is-stable-literal, opascal-complete-literal)
21632 (opascal-is-literal-start, opascal-face-of)
21633 (opascal-parse-region, opascal-parse-region-until-stable)
21634 (opascal-fontify-region, opascal-after-change)
21635 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
21636 (opascal-debug-parse-region, opascal-debug-parse-window)
21637 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
21638 (opascal-debug-fontify-buffer): Remove.
21639 (opascal-debug-mode-map): Adjust accordingly.
21640
21641 2013-04-25 Leo Liu <sdl.web@gmail.com>
21642
21643 Merge octave-mod.el and octave-inf.el into octave.el with some
21644 cleanups.
21645 * progmodes/octave.el: New file renamed from octave-mod.el.
21646 * progmodes/octave-inf.el: Merged into octave.el.
21647 * progmodes/octave-mod.el: Renamed to octave.el.
21648
21649 2013-04-25 Tassilo Horn <tsdh@gnu.org>
21650
21651 * textmodes/reftex-vars.el
21652 (reftex-label-ignored-macros-and-environments): New defcustom.
21653
21654 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
21655
21656 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21657
21658 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
21659 (smie-indent-keyword): Improve the check to ensure that the next
21660 comment is really on the same line.
21661 (smie-indent-comment): Don't align with a subsequent closer (or eob).
21662
21663 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
21664 semi-colons if the line is not otherwise empty (bug#14218).
21665
21666 2013-04-25 Glenn Morris <rgm@gnu.org>
21667
21668 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
21669
21670 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
21671
21672 * progmodes/opascal.el (opascal-set-token-property): Rename from
21673 opascal-set-text-properties and only set `token' (bug#14134).
21674 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
21675 (opascal-literal-text-properties): Remove.
21676 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
21677 Adjust callers.
21678
21679 2013-04-24 Reuben Thomas <rrt@sc3d.org>
21680
21681 * textmodes/remember.el (remember-handler-functions): Add an
21682 option for a new handler `remember-store-in-files'.
21683 (remember-data-directory, remember-directory-file-name-format):
21684 New options.
21685 (remember-store-in-files): New function to store remember notes
21686 as separate files within a directory.
21687
21688 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
21689
21690 * progmodes/compile.el (compilation-next-error-function):
21691 Pass "formats" to compilation-find-file (bug#11777).
21692
21693 2013-04-24 Glenn Morris <rgm@gnu.org>
21694
21695 * vc/vc-bzr.el (vc-bzr-print-log):
21696 * vc/vc-hg.el (vc-hg-print-log):
21697 * vc/vc-svn.el (vc-svn-print-log):
21698 Fix START-REVISION with LIMIT != 1. (Bug#14168)
21699
21700 * vc/vc-bzr.el (vc-bzr-print-log):
21701 * vc/vc-cvs.el (vc-cvs-print-log):
21702 * vc/vc-git.el (vc-git-print-log):
21703 * vc/vc-hg.el (vc-hg-print-log):
21704 * vc/vc-mtn.el (vc-mtn-print-log):
21705 * vc/vc-rcs.el (vc-rcs-print-log):
21706 * vc/vc-sccs.el (vc-sccs-print-log):
21707 * vc/vc-svn.el (vc-svn-print-log):
21708 * vc/vc.el (vc-print-log-internal): Doc fixes.
21709
21710 2013-04-23 Glenn Morris <rgm@gnu.org>
21711
21712 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
21713 Remove venerable code attempting to avoid substitute-command-keys.
21714
21715 2013-04-23 Tassilo Horn <tsdh@gnu.org>
21716
21717 * textmodes/reftex-vars.el (reftex-label-regexps):
21718 Call `reftex-compile-variables' after changes to this variable.
21719
21720 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
21721
21722 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
21723 Use lexical-binding.
21724 (jit-lock-force-redisplay): Use markers, check buffer's continued
21725 existence and beware narrowed buffers.
21726 (jit-lock-fontify-now): Adjust call accordingly.
21727
21728 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
21729
21730 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
21731 to avoid misleading the user.
21732
21733 2013-04-22 Leo Liu <sdl.web@gmail.com>
21734
21735 * info-look.el: Prefer latex2e.info. (Bug#14240)
21736
21737 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
21738
21739 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
21740
21741 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
21742 * net/tramp.el (tramp-call-process): ... here.
21743 (tramp-set-completion-function, tramp-parse-putty):
21744 * net/tramp-adb.el (tramp-adb-execute-adb-command):
21745 * net/tramp-gvfs.el (tramp-gvfs-send-command):
21746 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
21747 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
21748 (tramp-call-local-coding-command): Use `tramp-call-process'
21749 instead of `tramp-compat-call-process'.
21750
21751 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
21752 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
21753 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
21754 (tramp-find-inline-compress): Improve traces.
21755 (tramp-maybe-send-script): Check for Perl binary.
21756 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
21757
21758 2013-04-22 Daiki Ueno <ueno@gnu.org>
21759
21760 * epg.el (epg-context-pinentry-mode): New function.
21761 (epg-context-set-pinentry-mode): New function.
21762 (epg--start): Pass --pinentry-mode option to gpg command.
21763
21764 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
21765
21766 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
21767 `comint-dynamic-complete' is obsolete since 24.1, replaced by
21768 `completion-at-point'. (Bug#13774)
21769
21770 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
21771 default key binding for `describe-distribution' has been moved to
21772 `C-h C-o'. (Bug#13970)
21773
21774 2013-04-21 Glenn Morris <rgm@gnu.org>
21775
21776 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
21777 Add doc strings.
21778 (vc-print-log): Clarify interactive prompt.
21779
21780 2013-04-20 Glenn Morris <rgm@gnu.org>
21781
21782 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
21783 No longer include timestamp etc information.
21784
21785 2013-04-20 Roland Winkler <winkler@gnu.org>
21786
21787 * faces.el (read-face-name): Bug fix, return just one face if arg
21788 multiple is nil. (Bug#14209)
21789
21790 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21791
21792 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
21793 (remove-function): Autoload.
21794
21795 * comint.el (comint-redirect-original-filter-function): Remove.
21796 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
21797 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
21798 (vc-cvs-annotate-command):
21799 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
21800 * progmodes/prolog.el (prolog-consult-compile):
21801 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
21802 Use add/remove-function instead.
21803 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
21804 (gud-tooltip-process-output, gud-tooltip-tips):
21805 Use add/remove-function instead.
21806 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
21807 (scheme-interaction-mode, exit-scheme-interaction-mode):
21808 Use add/remove-function instead.
21809
21810 * vc/vc-dispatcher.el: Use lexical-binding.
21811 (vc--process-sentinel): Rename from vc-process-sentinel.
21812 Change last arg to be the code to run. Don't use vc-previous-sentinel
21813 and vc-sentinel-commands any more.
21814 (vc-exec-after): Allow code to be a function. Use add/remove-function.
21815 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
21816
21817 2013-04-19 Masatake YAMATO <yamato@redhat.com>
21818
21819 * progmodes/sh-script.el (sh-imenu-generic-expression):
21820 Handle function names with a single character. (Bug#14111)
21821
21822 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
21823
21824 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
21825 for subroutines defined in an eval (bug#14182).
21826
21827 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21828
21829 * bookmark.el (bookmark-completing-read): Improve handling of empty
21830 string (bug#14176).
21831
21832 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21833
21834 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
21835
21836 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
21837
21838 New faster Imenu implementation (bug#14058).
21839 * progmodes/python.el (python-imenu-prev-index-position)
21840 (python-imenu-format-item-label-function)
21841 (python-imenu-format-parent-item-label-function)
21842 (python-imenu-format-parent-item-jump-label-function):
21843 New vars.
21844 (python-imenu-format-item-label)
21845 (python-imenu-format-parent-item-label)
21846 (python-imenu-format-parent-item-jump-label)
21847 (python-imenu--put-parent, python-imenu--build-tree)
21848 (python-imenu-create-index, python-imenu-create-flat-index)
21849 (python-util-popn): New functions.
21850 (python-mode): Set imenu-create-index-function to
21851 python-imenu-create-index.
21852
21853 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
21854
21855 * winner.el (winner-active-region): Use region-active-p, activate-mark
21856 and deactivate-mark (bug#14225).
21857
21858 * simple.el (deactivate-mark): Don't inline it.
21859
21860 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
21861
21862 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
21863
21864 2013-04-18 Tassilo Horn <tsdh@gnu.org>
21865
21866 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
21867 file extensions from the archive-mode entry in order to prefer
21868 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
21869
21870 2013-04-18 Leo Liu <sdl.web@gmail.com>
21871
21872 * bindings.el (help-event-list): Add ?\?.
21873
21874 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
21875
21876 * subr.el (with-wrapper-hook): Declare obsolete.
21877 * simple.el (filter-buffer-substring-function): New hook.
21878 (filter-buffer-substring): Use it.
21879 (filter-buffer-substring-functions): Mark obsolete.
21880 * minibuffer.el (completion-in-region-function): New hook.
21881 (completion-in-region): Use it.
21882 (completion-in-region-functions): Mark obsolete.
21883 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
21884 * abbrev.el (abbrev-expand-function): New hook.
21885 (expand-abbrev): Use it.
21886 (abbrev-expand-functions): Mark obsolete.
21887 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
21888 and :filter-return.
21889
21890 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
21891
21892 * progmodes/python.el (python-nav--syntactically): Fix cornercases
21893 and do not care about match data.
21894
21895 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
21896
21897 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
21898 completion tables when completing error conditions and
21899 `declare' arguments.
21900 (lisp-complete-symbol, field-complete): Mark as obsolete.
21901 (check-parens): Unmatched parens are user errors.
21902 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
21903
21904 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
21905
21906 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
21907 command changed buffer (ie. `flyspell-pre-buffer' is not current
21908 buffer), which prevents making decisions based on invalid value of
21909 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
21910 cause an error when `flyspell-pre-point' was nil after switching
21911 buffers.
21912 (flyspell-post-command-hook): No longer needs to change buffers when
21913 checking pre-word. While at it remove unnecessary progn.
21914
21915 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
21916
21917 * textmodes/ispell.el (ispell-add-per-file-word-list):
21918 Fix `flyspell-correct-word-before-point' error when accepting
21919 words and `coment-padding' is an integer by using
21920 `comment-normalize-vars' (Bug #14214).
21921
21922 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
21923
21924 New defun movement commands.
21925 * progmodes/python.el (python-nav--syntactically)
21926 (python-nav--forward-defun, python-nav-backward-defun)
21927 (python-nav-forward-defun): New functions.
21928
21929 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
21930
21931 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
21932 (python-syntax-context): Use named compiler-macro for backwards
21933 compatibility with Emacs 24.x.
21934
21935 2013-04-17 Leo Liu <sdl.web@gmail.com>
21936
21937 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
21938 octave-hide-process-buffer.
21939
21940 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
21941
21942 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
21943 (bug#14216).
21944
21945 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
21946
21947 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
21948 Fix adjustment of offset when receiving incomplete responses from GDB
21949 (bug#14129).
21950
21951 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
21952
21953 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
21954 python-mode-abbrev-table.
21955 (python-skeleton-define): Adjust accordingly.
21956 (python-mode-abbrev-table): New table that inherits from it so that
21957 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
21958
21959 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
21960 (abbrev-symbol): Use it.
21961 (abbrev--before-point): Use it since we already handle inheritance.
21962
21963 2013-04-16 Leo Liu <sdl.web@gmail.com>
21964
21965 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
21966 binding to info-lookup-symbol.
21967
21968 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
21969
21970 * minibuffer.el (completion--twq-all):
21971 * term/ns-win.el (ns-initialize-window-system):
21972 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
21973
21974 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
21975
21976 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
21977 global bindings.
21978
21979 * doc-view.el (doc-view-start-process): Handle url-handler directories.
21980
21981 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
21982
21983 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
21984 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
21985 to nil.
21986 (ruby-end-of-defun): Remove the unused arg, change the docstring
21987 to reflect that this function is only used as the value of
21988 `end-of-defun-function'.
21989 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
21990 to reflect an earlier change that beginning/end-of-defun functions
21991 jump between methods in a class definition, as well as top-level
21992 functions.
21993
21994 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21995
21996 * minibuffer.el (minibuffer-complete): Don't just scroll
21997 a *Completions* that's been iconified.
21998 (minibuffer-force-complete): Make sure repetitions do cycle when going
21999 through completion-in-region -> minibuffer-complete.
22000
22001 2013-04-15 Alan Mackenzie <acm@muc.de>
22002
22003 Correct the placement of c-cpp-delimiters when there're #s not at
22004 col 0.
22005
22006 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
22007 place a submatch around the #.
22008 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
22009 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
22010 on the #, not BOL.
22011
22012 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22013
22014 * emacs-lisp/nadvice.el: Properly test names when adding advice.
22015 (advice--member-p): New arg `name'.
22016 (advice--add-function, advice-member-p): Use it (bug#14202).
22017
22018 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
22019
22020 Reformulate java imenu-generic-expression.
22021 The old expression contained ill formed regexps.
22022
22023 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
22024 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
22025 (cc-imenu-java-method-arg-regexp): New defconsts.
22026 (cc-imenu-java-build-type-args-regex): New defun.
22027 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
22028 handling of spaces in the regexp.
22029
22030 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22031
22032 * textmodes/ispell.el (ispell-command-loop): Remove
22033 flyspell highlight of a word when ispell accepts it (bug #14178).
22034
22035 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
22036
22037 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
22038 uses code from the previous `ange-ftp-run-real-handler'.
22039 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
22040 only in case that function exist. This is needed for proper
22041 unloading of Tramp.
22042
22043 2013-04-15 Tassilo Horn <tsdh@gnu.org>
22044
22045 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
22046
22047 * textmodes/reftex.el (reftex-compile-variables): Use it.
22048
22049 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22050
22051 * files.el (normal-mode): Only use default major-mode if no other mode
22052 was specified.
22053
22054 * emacs-lisp/trace.el (trace-values): New function.
22055
22056 * files.el: Allow : in local variables (bug#14089).
22057 (hack-local-variable-regexp): New var.
22058 (hack-local-variables-prop-line, hack-local-variables): Use it.
22059
22060 2013-04-13 Roland Winkler <winkler@gnu.org>
22061
22062 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
22063 data before it gets modified by bibtex-beginning-of-entry.
22064
22065 2013-04-13 Roland Winkler <winkler@gnu.org>
22066
22067 * textmodes/bibtex.el (bibtex-url): Doc fix.
22068
22069 2013-04-13 Roland Winkler <winkler@gnu.org>
22070
22071 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
22072 does not visit a BibTeX file, exclude it from the list of buffers
22073 returned by bibtex-initialize.
22074
22075 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
22076
22077 * window.el (split-window): Remove interactive form, since as a
22078 command this function is a special case of split-window-below.
22079 Correct doc string.
22080
22081 2013-04-12 Roland Winkler <winkler@gnu.org>
22082
22083 * faces.el (read-face-name): Do not override value of arg default.
22084 Allow single faces and strings as default values. Remove those
22085 elements from return value that are not faces.
22086 (describe-face): Simplify.
22087 (face-at-point): New optional args thing and multiple so that this
22088 function can provide the same functionality previously provided by
22089 read-face-name.
22090 (make-face-bold, make-face-unbold, make-face-italic)
22091 (make-face-unitalic, make-face-bold-italic, invert-face)
22092 (modify-face, read-face-and-attribute): Use face-at-point.
22093
22094 * cus-edit.el (customize-face, customize-face-other-window)
22095 * cus-theme.el (custom-theme-add-face)
22096 * face-remap.el (buffer-face-set)
22097 * facemenu.el (facemenu-set-face): Use face-at-point.
22098
22099 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
22100
22101 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
22102
22103 2013-04-10 Tassilo Horn <tsdh@gnu.org>
22104
22105 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
22106 off leading { and trailing } from field values.
22107
22108 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
22109
22110 * emacs-lisp/timer.el (timer--check): New function.
22111 (timer--time, timer-set-function, timer-event-handler): Use it.
22112 (timer-set-idle-time): Simplify.
22113 (timer--activate): CSE.
22114 (timer-event-handler): Give more info in error message.
22115 (internal-timer-start-idle): New function, moved from C.
22116
22117 * mpc.el (mpc-proc): Add `restart' argument.
22118 (mpc-proc-cmd): Use it.
22119 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
22120 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
22121 less often.
22122
22123 2013-04-10 Masatake YAMATO <yamato@redhat.com>
22124
22125 * progmodes/sh-script.el: Implement `sh-mode' own
22126 `add-log-current-defun-function' (bug#14112).
22127 (sh-current-defun-name): New function.
22128 (sh-mode): Use the function.
22129
22130 2013-04-09 Bastien Guerry <bzg@gnu.org>
22131
22132 * simple.el (choose-completion-string): Fix docstring (bug#14163).
22133
22134 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
22135
22136 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
22137
22138 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
22139 timer (bug#14156).
22140
22141 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
22142
22143 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
22144 declaration.
22145
22146 2013-04-07 Leo Liu <sdl.web@gmail.com>
22147
22148 * pcmpl-x.el: New file.
22149
22150 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
22151
22152 Do not set x-display-name until X connection is established.
22153 This is needed to prevent from weird situation described at
22154 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
22155 * frame.el (make-frame): Set x-display-name after call to
22156 window system initialization function, not before.
22157 * term/x-win.el (x-initialize-window-system): Add optional
22158 display argument and use it.
22159 * term/w32-win.el (w32-initialize-window-system):
22160 * term/ns-win.el (ns-initialize-window-system):
22161 * term/pc-win.el (msdos-initialize-window-system):
22162 Add compatible optional display argument.
22163
22164 2013-04-06 Eli Zaretskii <eliz@gnu.org>
22165
22166 * files.el (normal-backup-enable-predicate): On MS-Windows and
22167 MS-DOS compare truenames of temporary-file-directory and of the
22168 file, so that 8+3 aliases (usually found in $TEMP on Windows)
22169 don't fail comparison by compare-strings. Also, compare file
22170 names case-insensitively on MS-Windows and MS-DOS.
22171
22172 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
22173
22174 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
22175 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
22176
22177 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
22178
22179 * whitespace.el (whitespace-color-on, whitespace-color-off):
22180 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
22181
22182 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
22183
22184 * ispell.el (ispell-set-spellchecker-params):
22185 Really set `ispell-args' for all equivs.
22186
22187 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
22188
22189 * ido.el (ido-completions): Use extra elements of ido-decorations
22190 (bug#14143).
22191 (ido-decorations): Update docstring.
22192
22193 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
22194
22195 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
22196 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
22197 nil during initialization, in order not to miss changes since the
22198 file was opened. (Bug#14140)
22199
22200 2013-04-05 Leo Liu <sdl.web@gmail.com>
22201
22202 * kmacro.el (kmacro-call-macro): Fix bug#14135.
22203
22204 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
22205
22206 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
22207
22208 2013-04-04 Glenn Morris <rgm@gnu.org>
22209
22210 * electric.el (electric-pair-inhibit-predicate): Add :version.
22211
22212 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
22213
22214 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
22215 when a package is required several times (bug#14082).
22216
22217 2013-04-04 Roland Winkler <winkler@gnu.org>
22218
22219 * faces.el (read-face-name): Behave as promised by the docstring.
22220 Assume that arg default is a list of faces.
22221 (describe-face): Call read-face-name with list of default faces.
22222
22223 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
22224
22225 * bookmark.el: Fix deletion of bookmarks (bug#13972).
22226 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
22227 (bookmark-bmenu-execute-deletions): Only skip first line if it's
22228 the header.
22229 (bookmark-exit-hook-internal): Save even if list is empty.
22230
22231 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
22232
22233 * emacs-lisp/package.el (package-pinned-packages): New var.
22234 (package--add-to-archive-contents): Obey it (bug#14118).
22235
22236 2013-04-03 Alan Mackenzie <acm@muc.de>
22237
22238 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
22239 Also adapt to the new values of element 7 of a parse state.
22240
22241 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
22242 parameter `not-in-delimiter'. Handle being inside comment opener.
22243 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
22244 character in case we're typing a '*' after a '/'.
22245 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
22246 instead by passing the parameter to c-state-pp-to-literal.
22247
22248 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
22249 for elt. 7 of a parse state.
22250
22251 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
22252
22253 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
22254 * international/latin1-disp.el, international/mule-util.el:
22255 * language/cyril-util.el, language/european.el, language/ind-util.el:
22256 * language/lao-util.el, language/thai.el, language/tibet-util.el:
22257 * language/tibetan.el, language/viet-util.el:
22258 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
22259
22260 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22261
22262 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
22263 (electric-pair-post-self-insert-function): Use it.
22264 (electric-pair-default-inhibit): New function, extracted from
22265 electric-pair-post-self-insert-function.
22266
22267 2013-03-31 Roland Winkler <winkler@gnu.org>
22268
22269 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
22270
22271 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22272
22273 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
22274
22275 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
22276
22277 Un-indent after "pass" and "return" statements (Bug#13888)
22278 * progmodes/python.el (python-indent-block-enders): New var.
22279 (python-indent-calculate-indentation): Use it.
22280
22281 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
22282
22283 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
22284 defun. Defining it as defalias could introduce too eager
22285 byte-compiler optimization. (Bug#14030)
22286
22287 2013-03-30 Chong Yidong <cyd@gnu.org>
22288
22289 * iswitchb.el (iswitchb-read-buffer): Fix typo.
22290
22291 2013-03-30 Leo Liu <sdl.web@gmail.com>
22292
22293 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
22294 (kmacro-execute-from-register): Pass the keyboard macro to
22295 kmacro-call-macro or repeating won't work correctly.
22296
22297 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
22298
22299 * progmodes/subword.el: Back to using `forward-symbol'.
22300
22301 * subr.el (forward-whitespace, forward-symbol)
22302 (forward-same-syntax): Move from thingatpt.el.
22303
22304 2013-03-29 Leo Liu <sdl.web@gmail.com>
22305
22306 * kmacro.el (kmacro-to-register): New command.
22307 (kmacro-execute-from-register): New function.
22308 (kmacro-keymap): Bind to 'x'. (Bug#14071)
22309
22310 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
22311
22312 * mpc.el: Use defvar-local and setq-local.
22313 (mpc--proc-connect): Connection failures are not bugs.
22314 (mpc-mode-map): `follow-link' only applies to the buffer's content.
22315 (mpc-volume-map): Bind to the up-events.
22316
22317 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
22318
22319 * progmodes/subword.el (superword-mode): Use `forward-sexp'
22320 instead of `forward-symbol'.
22321
22322 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
22323
22324 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
22325 (edebug--recursive-edit): Use it.
22326 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
22327 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
22328
22329 2013-03-28 Leo Liu <sdl.web@gmail.com>
22330
22331 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
22332
22333 2013-03-27 Eli Zaretskii <eliz@gnu.org>
22334
22335 * facemenu.el (list-colors-callback): New defvar.
22336 (list-colors-redisplay): New function.
22337 (list-colors-display): Install list-colors-redisplay as the
22338 revert-buffer-function. (Bug#14063)
22339
22340 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
22341
22342 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
22343 and suffixes don't overlap (bug#14061).
22344
22345 * case-table.el: Use lexical-binding.
22346 (case-table-get-table): New function.
22347 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
22348
22349 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
22350
22351 * progmodes/subword.el: Add `superword-mode' to do word motion
22352 over symbol_words (parallels and leverages `subword-mode' which
22353 does word motion inside MixedCaseWords).
22354
22355 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
22356
22357 * eshell/em-unix.el: Move su and sudo to...
22358 * eshell/em-tramp.el: ...Eshell tramp module.
22359
22360 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
22361
22362 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
22363 Change return value to be a sexp. Delay `get-buffer' to after
22364 restoring the desktop (bug#13951).
22365
22366 2013-03-26 Leo Liu <sdl.web@gmail.com>
22367
22368 * register.el: Move semantic tag handling back to
22369 cedet/semantic/senator.el. (Bug#14052)
22370
22371 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
22372
22373 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
22374 into the prompt either (bug#13963).
22375
22376 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
22377
22378 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
22379 part of "(error-foo)".
22380
22381 2013-03-24 Juri Linkov <juri@jurta.org>
22382
22383 * replace.el (list-matching-lines-prefix-face): New defcustom.
22384 (occur-1): Pass `list-matching-lines-prefix-face' to the function
22385 `occur-engine' if `face-differs-from-default-p' returns t.
22386 (occur-engine): Add `,' inside backquote construct to evaluate
22387 `prefix-face'. Propertize the prefix with the `prefix-face' face.
22388 Pass `prefix-face' to the functions `occur-context-lines' and
22389 `occur-engine-add-prefix'.
22390 (occur-engine-add-prefix, occur-context-lines): Add optional arg
22391 `prefix-face' and propertize the prefix with `prefix-face'.
22392 (Bug#14017)
22393
22394 2013-03-24 Leo Liu <sdl.web@gmail.com>
22395
22396 * nxml/rng-valid.el (rng-validate-while-idle)
22397 (rng-validate-quick-while-idle): Guard against deleted buffer.
22398 (Bug#13999)
22399
22400 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
22401 is the last entry in kill-buffer-hook.
22402
22403 * files.el (kill-buffer-hook): Doc fix.
22404
22405 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
22406
22407 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
22408 Make it safe-local.
22409
22410 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
22411
22412 2013-03-23 Leo Liu <sdl.web@gmail.com>
22413
22414 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
22415 Remove.
22416
22417 * nxml/rng-valid.el (rng-validate-mode)
22418 (rng-after-change-function, rng-do-some-validation):
22419 * nxml/rng-maint.el (rng-validate-buffer):
22420 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
22421 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
22422 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
22423 (nxml-extend-after-change-region): Use with-silent-modifications.
22424
22425 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
22426 timer-idle-list.
22427
22428 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
22429 (rng-next-error-1, rng-previous-error-1): Do not let-bind
22430 timer-idle-list. (Bug#13999)
22431
22432 2013-03-23 Juri Linkov <juri@jurta.org>
22433
22434 * info.el (info-index-match): New face.
22435 (Info-index, Info-apropos-matches): Add a nested subgroup to the
22436 main pattern and add text properties with the new face to matches
22437 in index entries relative to the beginning of the index entry.
22438 (Bug#14015)
22439
22440 2013-03-21 Eric Ludlam <zappo@gnu.org>
22441
22442 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
22443 Inhibit read only while inserting objects.
22444
22445 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
22446
22447 * progmodes/cfengine.el: Update docs to mention
22448 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
22449 symbol motion. Remove "_" from the word syntax.
22450
22451 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
22452
22453 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
22454 syntax for both `cfengine2-mode' and `cfengine3-mode'.
22455
22456 2013-03-20 Juri Linkov <juri@jurta.org>
22457
22458 * info.el (Info-next-reference-or-link)
22459 (Info-prev-reference-or-link): New functions.
22460 (Info-next-reference, Info-prev-reference): Use them.
22461 (Info-try-follow-nearest-node): Handle footnote navigation.
22462 (Info-fontify-node): Fontify footnotes. (Bug#13989)
22463
22464 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
22465
22466 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
22467 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
22468
22469 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
22470
22471 Suppress unnecessary non-ASCII chatter during build process.
22472 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
22473 (batch-skkdic-convert): Suppress most of the chatter.
22474 It's not needed so much now that machines are faster,
22475 and its non-ASCII component was confusing; see Dmitry Gutov in
22476 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
22477
22478 2013-03-20 Leo Liu <sdl.web@gmail.com>
22479
22480 * ido.el (ido-chop): Fix bug#10994.
22481
22482 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
22483
22484 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
22485 Remove vars.
22486 (whitespace-color-on, whitespace-color-off):
22487 Use `font-lock-fontify-buffer' (Bug#13817).
22488
22489 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
22490
22491 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
22492 remapping in mode-line.
22493 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
22494
22495 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
22496
22497 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
22498 value for `whitespace-line' face (Bug#13875).
22499 (whitespace-font-lock-keywords): Change description.
22500 (whitespace-color-on): Don't save `font-lock-keywords' value, save
22501 the constructed keywords instead.
22502 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
22503
22504 2013-03-19 Leo Liu <sdl.web@gmail.com>
22505
22506 * progmodes/compile.el (compilation-display-error): New command.
22507 (compilation-mode-map, compilation-minor-mode-map): Bind it to
22508 C-o. (Bug#13992)
22509
22510 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
22511
22512 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
22513
22514 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
22515
22516 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
22517
22518 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
22519
22520 * net/tramp-compat.el (tramp-compat-user-error): New defun.
22521
22522 * net/tramp-adb.el (tramp-adb-handle-shell-command):
22523 * net/tramp-gvfs.el (top):
22524 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
22525 (tramp-handle-shell-command): Use it.
22526 (tramp-dissect-file-name): Raise an error when hostname is a
22527 method name, and neither method nor user is specified.
22528
22529 * net/trampver.el: Update release number.
22530
22531 2013-03-18 Leo Liu <sdl.web@gmail.com>
22532
22533 Make sure eldoc can be turned off properly.
22534 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
22535 eldoc-mode.
22536 (eldoc-display-message-p): Revert last change.
22537 (eldoc-display-message-no-interference-p)
22538 (eldoc-print-current-symbol-info): Tweak.
22539
22540 2013-03-18 Tassilo Horn <tsdh@gnu.org>
22541
22542 * doc-view.el (doc-view-new-window-function): Check the new window
22543 overlay's display property instead the char property of the
22544 buffer's first char. Use `with-selected-window' instead of
22545 `save-window-excursion' with `select-window'.
22546 (doc-view-document->bitmap): Check the current doc-view overlay's
22547 display property instead the char property of the buffer's first char.
22548
22549 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
22550
22551 Automate the build of ja-dic.el (Bug#13984).
22552 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
22553 from the input, rather than assume that it's been done for us by the
22554 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
22555 the current date into a ja-dic.el comment, as that complicates
22556 regression testing.
22557
22558 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22559
22560 * whitespace.el: Fix double evaluation.
22561 (whitespace-space, whitespace-hspace, whitespace-tab)
22562 (whitespace-newline, whitespace-trailing, whitespace-line)
22563 (whitespace-space-before-tab, whitespace-indentation)
22564 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
22565 obsolete defvars.
22566 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
22567 (whitespace-color-on): Use a single font-lock-add-keywords call.
22568 Fix double-evaluation of face variables.
22569
22570 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
22571
22572 * net/tramp-adb.el (tramp-adb-parse-device-names):
22573 Use `start-process' instead of `call-process'. Otherwise, the
22574 function might be blocked under MS Windows. (Bug#13299)
22575
22576 2013-03-17 Leo Liu <sdl.web@gmail.com>
22577
22578 Extend eldoc to display info in the mode-line. (Bug#13978)
22579 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
22580 (eldoc-mode-line-string): New variable.
22581 (eldoc-minibuffer-message): New function.
22582 (eldoc-message-function): New variable.
22583 (eldoc-message): Use it.
22584 (eldoc-display-message-p)
22585 (eldoc-display-message-no-interference-p):
22586 Support eldoc-post-insert-mode.
22587
22588 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
22589 (eval-expression): Run it.
22590
22591 2013-03-17 Roland Winkler <winkler@gnu.org>
22592
22593 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
22594 strings in the list of return values.
22595
22596 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22597
22598 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
22599 radix before checking for HMS forms.
22600
22601 2013-03-16 Leo Liu <sdl.web@gmail.com>
22602
22603 * progmodes/scheme.el: Add indentation and font-locking for λ.
22604 (Bug#13975)
22605
22606 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
22607
22608 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
22609 token before point (bug#13942).
22610
22611 2013-03-16 Leo Liu <sdl.web@gmail.com>
22612
22613 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
22614
22615 2013-03-16 Eli Zaretskii <eliz@gnu.org>
22616
22617 * startup.el (command-line-normalize-file-name): Fix handling of
22618 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
22619 <xfq.free@gmail.com> in
22620 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
22621
22622 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
22623
22624 Sync with Tramp 2.2.7.
22625
22626 * net/trampver.el: Update release number.
22627
22628 2013-03-14 Tassilo Horn <tsdh@gnu.org>
22629
22630 * doc-view.el: Fix bug#13887.
22631 (doc-view-insert-image): Don't modify overlay associated to
22632 non-live windows, and implement horizontal centering of image in
22633 case it's smaller than the window.
22634 (doc-view-new-window-function): Force redisplay of new windows on
22635 doc-view buffers.
22636
22637 2013-03-13 Karl Fogel <kfogel@red-bean.com>
22638
22639 * saveplace.el (save-place-alist-to-file): Don't sort
22640 `save-place-alist', just pretty-print it (bug#13882).
22641
22642 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
22643
22644 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
22645 Check whether `default-file-name-coding-system' is bound.
22646 It isn't in XEmacs.
22647
22648 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
22649
22650 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
22651 backquotes for `obsolete' (bug#13929).
22652
22653 * international/mule.el (find-auto-coding): Include file name in
22654 obsolescence warning (bug#13922).
22655
22656 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
22657
22658 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
22659 for CFEngine 3-specific indentation.
22660 (cfengine3-indent-line): Use it. Fix up category regex.
22661 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
22662
22663 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22664
22665 * type-break.el (type-break-file-name):
22666 * textmodes/remember.el (remember-data-file):
22667 * strokes.el (strokes-file):
22668 * shadowfile.el (shadow-initialize):
22669 * saveplace.el (save-place-file):
22670 * ps-bdf.el (bdf-cache-file):
22671 * progmodes/idlwave.el (idlwave-config-directory):
22672 * net/quickurl.el (quickurl-url-file):
22673 * international/kkc.el (kkc-init-file-name):
22674 * ido.el (ido-save-directory-list-file):
22675 * emulation/viper.el (viper-custom-file-name):
22676 * emulation/vip.el (vip-startup-file):
22677 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
22678 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
22679
22680 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
22681
22682 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
22683 * language/thai-word.el: Switch to UTF-8.
22684
22685 See ChangeLog.16 for earlier changes.
22686
22687 ;; Local Variables:
22688 ;; coding: utf-8
22689 ;; End:
22690
22691 Copyright (C) 2011-2014 Free Software Foundation, Inc.
22692
22693 This file is part of GNU Emacs.
22694
22695 GNU Emacs is free software: you can redistribute it and/or modify
22696 it under the terms of the GNU General Public License as published by
22697 the Free Software Foundation, either version 3 of the License, or
22698 (at your option) any later version.
22699
22700 GNU Emacs is distributed in the hope that it will be useful,
22701 but WITHOUT ANY WARRANTY; without even the implied warranty of
22702 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22703 GNU General Public License for more details.
22704
22705 You should have received a copy of the GNU General Public License
22706 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.