]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
f775afec65e2fe163ee236bc7fcd42cc4074b13a
[gnu-emacs] / lisp / ChangeLog
1 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2
3 * vc/vc.el and all backends: API simplification; init-revision is
4 gone, and vc-registered functions no longer take an
5 initial-revision argument.
6
7 2014-11-29 Glenn Morris <rgm@gnu.org>
8
9 * vc/vc-src.el (vc-src, vc-src-diff-switches)
10 (vc-src-master-templates): Fix :version tags.
11
12 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
13
14 * outline.el (outline-move-subtree-down): Refactor and improve code.
15
16 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
17 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 * outline.el (outline-move-subtree-down): Make sure we can move
20 forward to find the end of the subtree and the insertion point
21 (bug#19102).
22
23 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
24
25 * progmodes/python.el (python-shell-completion-setup-code): Use
26 __builtin__ module (or builtins in Python 3) and catch all errors
27 when importing readline and rlcompleter.
28
29 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
30
31 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
32 (todo-revert-buffer): New function.
33 (todo-modes-set-1): Use it as the buffer-local value of
34 revert-buffer-function.
35
36 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
37
38 * calendar/todo-mode.el (todo-mode): If called interactively, just
39 display a message saying to call todo-show to enter Todo mode
40 (Bug#19112).
41
42 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
43
44 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
45 (Bug#18579)
46
47 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
48 files. (Bug#18579)
49
50 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
51
52 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
53 remote `buffer-file-name'.
54
55 2014-11-29 Leo Liu <sdl.web@gmail.com>
56
57 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
58
59 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
60
61 Set PYTHONUNBUFFERED on shell startup.
62
63 * progmodes/python.el (python-shell-unbuffered): New var.
64 (python-shell-calculate-process-environment): Use it.
65
66 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
67
68 * net/tramp.el (tramp-action-password): Clean password on subsequent
69 attempts even if there was no wrong password indication. (Bug#19047)
70
71 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
72 fallback.
73 (tramp-open-connection-setup-interactive-shell): No need to check
74 for nil as `tramp-get-remote-locale' return value.
75
76 2014-11-29 Eli Zaretskii <eliz@gnu.org>
77
78 * vc/vc-git.el (vc-git-command, vc-git--call): Bind
79 coding-system-for-read and coding-system-for-write to
80 vc-git-commits-coding-system.
81 (vc-git-previous-revision): Use "~1" instead of "^", since the
82 latter is a special character for MS-Windows system shells.
83
84 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
85
86 Improve XEmacs compatibility.
87
88 * net/tramp.el (tramp-autoload-file-name-handler):
89 Wrap `temporary-file-directory' by `symbol-value', it doesn't
90 exist in XEmacs.
91 (tramp-read-passwd): Don't use `with-timeout-suspend' and
92 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
93 (tramp-time-less-p, tramp-time-subtract): Remove functions.
94 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
95 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
96 * net/tramp-cache.el (tramp-get-file-property):
97 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
98 Use `time-less-p' and `time-subtract, respectively.
99
100 * net/tramp-adb.el (top): Do not require time-date.el.
101
102 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
103
104 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
105 Check, whether `utf-8' is a valid coding system.
106
107 2014-11-29 Eli Zaretskii <eliz@gnu.org>
108
109 * vc/vc.el (vc-retrieve-tag): Doc fix.
110
111 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
114 (bug#19152).
115
116 2014-11-28 Martin Rudalics <rudalics@gmx.at>
117
118 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
119 * help.el (help-window-old-frame): New variable.
120 (help-window-select): Default to nil (Bug#11039).
121 Rewrite doc-string.
122 (help-window-setup): When the help window appears on another
123 frame and `help-window-select' is non-nil, give that frame input
124 focus too (Bug#19012).
125 (with-help-window): Store selected frame in
126 help-window-old-frame.
127
128 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
129
130 * net/newst-treeview.el (newsticker--treeview-load): Take care of
131 nil value for `newsticker-groups-filename'.
132
133 2014-11-28 Daiki Ueno <ueno@gnu.org>
134
135 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
136 (epa-sign-region, epa-encrypt-region):
137 Use `epg-context-set-{passphrase,progress}-callback', instead of
138 `setf'. This partially reverts commit 9e48a95c (bug#19150).
139 Reported by José A. Romero L.
140
141 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
142
143 * net/eww.el (eww-restore-history):
144 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
145
146 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
147
148 * net/newst-backend.el (newsticker--parse-atom-1.0):
149 Handle embedded (x)html in summary node.
150
151 2014-11-27 Sam Steingold <sds@gnu.org>
152
153 * menu-bar.el (menu-bar-open): When everything else fails,
154 use (mouse-menu-bar-map).
155
156 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
157
158 * net/newst-treeview.el (newsticker-groups-filename):
159 Change default value to nil. Point out that variable is obsolete in doc
160 string.
161 (newsticker--treeview-load): Change wording of the questions the
162 user is asked when `newsticker-groups-filename' is found to be
163 used and we offer to read and remove the groups file. (bug#19165)
164
165 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
166
167 * net/eww.el (eww): Record the new URL immediately, so that if the
168 HTTP fetch fails, we have the right URL in the buffer.
169 (eww-process-text-input): Don't shorten the input field if
170 deleting at the last character (bug#19085).
171 (eww-restore-history): Inhibit change functions while restoring
172 the history.
173 (eww-process-text-input): Fix deletion at the start of the field, too.
174 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
175 (eww-process-text-input): Try to keep track of the size more reliably.
176
177 * dom.el (dom-pp): New function.
178
179 2014-11-27 Eli Zaretskii <eliz@gnu.org>
180
181 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
182 Don't assume --long is the default for "bzr log", always specify
183 it explicitly, in case the user defined an alias for 'log' that
184 uses some other format.
185
186 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
187
188 * progmodes/python.el (python-eldoc--get-doc-at-point):
189 Strip shell output before returning. (bug#18794)
190
191 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
192
193 Fix indentation before `!=' and after `+='. Originally reported
194 in https://github.com/mooz/js2-mode/issues/174.
195 * progmodes/js.el (js--indent-operator-re): Make assignments and
196 (in)equality operator a separate case.
197 (js--continued-expression-p): Escape the second `+' in the regexp.
198
199 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
202
203 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
204
205 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
206 when querying about new certificates.
207
208 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
209
210 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
211 can be strings.
212 (dom-elements): Protect against non-text nodes.
213 (dom-non-text-children): New function.
214
215 * net/eww.el (eww-tag-title): Use `dom-text'.
216
217 2014-11-26 Sam Steingold <sds@gnu.org>
218
219 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
220
221 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
222
223 * net/eww.el (eww-highest-readability): More dom.el fixes.
224
225 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
226
227 * net/newst-backend.el (newsticker--parse-generic-items):
228 Take care of UIDs when adding elements to cache.
229
230 2014-11-26 Alan Mackenzie <acm@muc.de>
231
232 Remove spurious reference to symbol category_properties.
233 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
234
235 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
236
237 * net/eww.el: Use the new dom.el accessors throughout.
238
239 * net/shr.el: Ditto.
240
241 * dom.el: New file.
242
243 2014-11-26 Glenn Morris <rgm@gnu.org>
244
245 * arc-mode.el (archive-visit-single-files): Add :version.
246
247 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
248
249 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
250 elements.
251 (nsm-warnings-ok-p): The new version of this function always
252 returned nil when everything was OK.
253
254 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
255
256 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
257
258 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
259 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
260
261 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
262
263 * emacs-lisp/byte-run.el (function-put): Match argument names to
264 docstring.
265
266 2014-11-24 Sam Steingold <sds@gnu.org>
267
268 * vc/vc-hooks.el (vc-directory-exclusion-list):
269 Fix a trivial typo (bug#19171).
270
271 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * vc/vc-hooks.el (vc-state-base-face): Don't override
274 mode-line-inactive.
275
276 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
277
278 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
279 (eww-process-text-input): Inhibit read only so that input fields
280 don't get shortened (bug#19085).
281
282 2014-11-24 Leo Liu <sdl.web@gmail.com>
283
284 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
285
286 * window.el (with-temp-buffer-window)
287 (with-current-buffer-window, with-displayed-buffer-window):
288 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
289 * emacs-lisp/cl-lib.el (substring):
290 * emacs-lisp/cl-extra.el (cl-getf): Use it.
291
292 2014-11-24 Eli Zaretskii <eliz@gnu.org>
293
294 * isearch.el (isearch-update): Don't assume
295 pos-visible-in-window-p will return nil when point is hscrolled
296 out of view. (Bug#19157)
297
298 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
299
300 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
301 (eww-follow-link): Follow in new buffer in case of prefix
302 argument, open externally with double prefix (bug#19130).
303
304 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
305
306 * net/eww.el (eww-display-html): Decode the document-defined charset.
307 (eww): Pop to the *eww* buffer immediately after executing the
308 `M-x eww' command to avoid having buffers pop up later.
309 (eww-display-html): Don't pop the *eww* buffer.
310 (eww-display-raw): Ditto.
311 (eww-display-image): Ditto.
312 (eww-follow-link): Make going to #targets in the page work again.
313
314 2014-11-23 Ivan Shmakov <ivan@siamics.net>
315
316 * net/eww.el (eww-suggest-uris): New variable.
317 (eww-suggested-uris): New function.
318 (eww): Default to URL under point.
319 (eww-links-at-point): New function.
320
321 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
322
323 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
324
325 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
326
327 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
328
329 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
330
331 * net/eww.el (eww-set-character-encoding): New command and keystroke.
332 (eww-display-raw): Use it (bug#16225).
333
334 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
335
336 * net/nsm.el (network-security-level): Rename from
337 `nsm-security-level' and documented.
338
339 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
340 we're sending a password.
341
342 * net/nsm.el: New file that implements a Network Security Manager.
343
344 * net/network-stream.el (open-network-stream): Add a new
345 :warn-unless-encrypted parameter.
346 (network-stream-open-plain): Allow warning unless encrypted.
347 (network-stream-open-starttls): Call the Network Security Manager.
348 (network-stream-open-tls): Ditto.
349
350 2014-11-23 Leo Liu <sdl.web@gmail.com>
351
352 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
353 (calendar-chinese-to-absolute-for-diary)
354 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
355 Handle leap months in Chinese calendar. (Bug#18953)
356
357 2014-11-22 Alan Mackenzie <acm@muc.de>
358
359 Fix error with `mark-defun' and "protected:" in C++ Mode.
360 Fixes: debbugs:19134.
361
362 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
363 return code of (label) from c-beginning-of-decl-1.
364
365 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
366
367 * net/newst-backend.el (newsticker--sentinel-work):
368 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
369
370 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
371
372 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
373 (tramp-sh-handle-process-file): Propagate `process-environment'.
374
375 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
376 Tramp propagates environment variables now.
377
378 2014-11-22 Eric S. Raymond <esr@snark>
379
380 * vc/vc-filewise.el: New file to isolate code used only by the
381 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
382 live in vc.el and certainly not in vc-hooks.el.
383
384 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
385 This is preaparatory to isolating all the 'master' functions
386 used only by the file-oriented back ends. With this done first,
387 the substantive diffs will be easier to read.
388
389 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
390
391 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
392 that is recognized by `help-mode'.
393
394 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * desktop.el (desktop-create-buffer): Use activate-mark to set
397 `mark-active' (bug#19058).
398
399 2014-11-21 Eric S. Raymond <esr@snark>
400
401 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
402 nil state.
403
404 2014-11-21 Eli Zaretskii <eliz@gnu.org>
405
406 * vc/vc.el (vc-deduce-fileset): Support invocation from
407 *vc-change-log* buffer. (Bug#19084)
408
409 2014-11-13 Matthew Leach <matthew@mattleach.net>
410
411 * arc-mode.el (archive-visit-single-files): New.
412 (archive-mode): Visit file if archive contains a single file.
413 (Bug#1702)
414
415 2014-11-21 Ulrich Müller <ulm@gentoo.org>
416
417 * vc/vc.el: Fix a typo in the commentary.
418
419 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
420
421 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
422 testing and a real log-view mode.
423
424 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
425 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
426 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
427 checkout methods; where it matters (which is only in SCCS and RCS)
428 files are always checked out editable. This may actually have
429 been dynamically true already - it looks like the vc-next-action
430 code evolved past visiting the other case. Tested with RCS.
431
432 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
433 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
434 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
435 argument from the backend checkin methods. Only the RCS, SCCS,
436 and CVS back ends tried to do anything with it, and that code was
437 never exercised. Chiseling away the cruft of decades...
438
439 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
440
441 * net/eww.el (eww-render): Remove a no-op :title setting.
442
443 2014-11-19 Ivan Shmakov <ivan@siamics.net>
444
445 * net/eww.el (eww-history-limit): New variable.
446 (eww-save-history): Use it (bug#19105).
447 (eww-reload): Reload the page in the right buffer.
448
449 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
450
451 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
452
453 2014-11-19 Ivan Shmakov <ivan@siamics.net>
454
455 * net/eww.el (eww-desktop-remove-duplicates)
456 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
457 (eww-mode): Set up desktop mode (bug#18010).
458 (eww-desktop-data-save, eww-desktop-data-1)
459 (eww-desktop-history-duplicate, eww-desktop-misc-data)
460 (eww-restore-desktop): New functions.
461
462 2014-11-19 Eli Zaretskii <eliz@gnu.org>
463
464 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
465 correct buffer. (Bug#19101)
466
467 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
468
469 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
470 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
471
472 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
473
474 * lisp/ido.el (ido-bury-buffer-at-head): New command.
475 (ido-buffer-completion-map): Bind it to C-S-b.
476
477 2014-11-18 Juri Linkov <juri@linkov.net>
478
479 * simple.el (next-line-or-history-element): Wrap next-line
480 in with-no-warnings.
481 (previous-line-or-history-element): Wrap previous-line
482 in with-no-warnings.
483
484 2014-11-18 Juri Linkov <juri@linkov.net>
485
486 * progmodes/grep.el (grep-compute-defaults):
487 Compute grep-highlight-matches before its use.
488
489 2014-11-18 Juri Linkov <juri@linkov.net>
490
491 * replace.el (query-replace-from-to-separator): Turn defvar into
492 defcustom. Wrap char-displayable-p in ignore-errors because an
493 attempt to autoload char-displayable-p fails during pre-loading.
494 Move (propertize "\0" ... 'separator t) out of customizable part
495 to query-replace-read-from.
496 (query-replace-read-from): Call custom-reevaluate-setting on
497 query-replace-from-to-separator to reevaluate the separator
498 depending on the return value of char-displayable-p.
499 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
500
501 2014-11-18 Juri Linkov <juri@linkov.net>
502
503 * bindings.el (minibuffer-local-map): Rebind [down] from
504 next-history-element to next-line-or-history-element, and [up]
505 from previous-history-element to previous-line-or-history-element.
506
507 * simple.el (next-line-or-history-element)
508 (previous-line-or-history-element): New commands.
509 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
510
511 2014-11-18 Leo Liu <sdl.web@gmail.com>
512
513 * emacs-lisp/nadvice.el (define-advice): New macro.
514 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
515 Add define-advice.
516 (lisp-font-lock-keywords-1): Add define-advice.
517
518 2014-11-18 Daiki Ueno <ueno@gnu.org>
519
520 * epg.el (epg-context): New slot EDIT-CALLBACK.
521 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
522 (epg-reset): Reset EDIT-CALLBACK of the context.
523 (epg-start-edit-key): New function.
524 (epg-edit-key): New function.
525
526 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
527
528 Port new time stamp handling to Emacs 23.2.
529 This fix is for Gnus. Problem reported by Katsumi Yamaoka.
530 * calendar/time-date.el (time-add, time-subtract, time-less-p):
531 Use eval-and-compile, not eval-when-compile.
532
533 2014-11-18 Daiki Ueno <ueno@gnu.org>
534
535 * epg.el (epg-context-set-passphrase-callback)
536 (epg-context-set-progress-callback): Check if the CALLBACK
537 argument is a function, instead of a cons.
538
539 2014-11-18 Daiki Ueno <ueno@gnu.org>
540
541 * epa-file.el (epa-file-insert-file-contents)
542 (epa-file-write-region): Remove redundant check of
543 epa-pinentry-mode.
544 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
545 (epa-sign-region, epa-encrypt-region): Remove redundant check of
546 epa-pinentry-mode.
547
548 2014-11-18 Daiki Ueno <ueno@gnu.org>
549
550 * epa-file.el (epa-file-insert-file-contents): Don't show
551 "*Error*" buffer if input file does not exist.
552 Reported by Herbert J. Skuhra.
553
554 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
555 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
556
557 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
558 An alternative version of the patch from bug#13871.
559 (c-operators): Add "alignof".
560 (c-primitive-type-kwds): Add "char16_t", "char32_t".
561 (c-type-modifier-kwds): Add "constexpr", "noexcept".
562 (c-modifier-kwds): Add "thread_local".
563 (c-constant-kwds): Add "nullptr".
564
565 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
566
567 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
568 New variables for specifying tildify pattern and representation of
569 a hard space -- a no-break space by default -- respectively.
570 Being buffer-local they are much easier to handle than
571 `tildify-string-alist' and `tildify-pattern-alist' respectively
572 that have been used so far. They also works better with derived
573 modes.
574 (tildify-foreach-region-function): New variable specifying
575 a function determining portions of buffer that should be
576 tildified. It allows major modes to create a filtering function
577 more elaborate than a set of regular expressions. Initialised to
578 `tildify--deprecated-ignore-evironments' by default to handle now
579 deprecated `tildify-ignored-environments-alist' variable.
580 (tildify--foreach-region): A new function that takes
581 `tildify-foreach-region-function' into account and calls callback
582 for regions of the buffer that should be tildified.
583 (tildify-foreach-ignore-environments): A new function which can be
584 partially applied and used as `tildify-foreach-region-function'.
585 (tildify-ignored-environments-alist, tildify-pattern)
586 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
587 (tildify--find-env): Rename from `tildify-find-env' and mark as
588 obsolete.
589 (tildify--deprecated-ignore-evironments): New function,
590 immediately marked as obsolete, used to handle deprecated
591 `tildify-ignored-environments-alist'.
592
593 * textmodes/tex-mode.el (tex-common-initialization):
594 Set `tildify-space-string' and `tildify-foreach-region-function'
595 variables in all variants of TeX mode since `tildify-string-alist'
596 and `tildify-ignored-environments-alist' are now empty by default.
597
598 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
599 If encoding supports it use no-break space instead of character
600 entity; this changes previous default which used a numeric
601 reference.
602
603 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
604 If encoding does not support no-break space, use numeric reference;
605 this changes previous default which used named entity (“&nbsp;”)
606 in HTML mode.
607
608 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
609
610 * calendar/icalendar.el (icalendar-export-alarms):
611 New customizable variable. (Bug#5433)
612 (icalendar-export-region): Export alarms as specified in
613 `icalendar-export-alarms'.
614 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
615 New functions for exporting alarms.
616
617 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
618
619 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
620
621 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
622
623 Port new time stamp handling to old Emacs and to XEmacs.
624 This is needed for Gnus, which copies time-date.el and which
625 runs on older Emacs implementations.
626 * calendar/time-date.el (with-decoded-time-value):
627 Handle 'nil' and floating-point arg more compatibly with new Emacs.
628 (encode-time-value, with-decoded-time-value):
629 Obsolete only if new Emacs.
630 (time-add, time-subtract, time-less-p): Define if not new Emacs.
631
632 Improve time stamp handling, and be more consistent about it.
633 This implements a suggestion made in:
634 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
635 Among other things, this means timer.el no longer needs to
636 autoload the time-date module.
637 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
638 * arc-mode.el (archive-ar-summarize):
639 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
640 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
641 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
642 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
643 * proced.el (proced-time-lessp):
644 * timezone.el (timezone-time-from-absolute):
645 * type-break.el (type-break-schedule, type-break-time-sum):
646 Simplify by using new functionality.
647 * calendar/cal-dst.el (calendar-next-time-zone-transition):
648 Do not return time values in obsolete and undocumented (HI . LO)
649 format; use (HI LO) instead.
650 * calendar/time-date.el (with-decoded-time-value):
651 Treat 'nil' as current time. This is mostly for XEmacs.
652 (encode-time-value, with-decoded-time-value): Obsolete.
653 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
654 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
655 * ldefs-boot.el: Update to match new time-date.el
656 * proced.el: Do not require time-date.
657
658 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
659
660 * net/eww.el (eww-mode): Make the buffer read-only.
661 (eww-form-text): Inhibit read-only-ness in text input fields
662 (bug#16476).
663
664 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * simple.el (execute-extended-command--shorter): Cut search here.
667 (execute-extended-command): Instead of here.
668
669 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
670
671 * progmodes/python.el (python-mode): Avoid use of set-local to
672 keep Emacs 24.x compatibility.
673
674 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
675
676 * net/shr.el (shr): Move to the new defgroup `web'.
677
678 * net/eww.el (eww): Ditto.
679
680 * simple.el (execute-extended-command): Don't show the help
681 message if the binding isn't significantly shorter than the
682 M-x command the user typed (bug#19013).
683
684 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
685
686 * calendar/icalendar.el (icalendar--convert-tz-offset):
687 Return complete cons when offsets of standard time and daylight saving
688 time are equal.
689 (icalendar-export-region): Fix unbound variable warning.
690
691 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
692
693 * progmodes/python.el (run-python): Allow CMD to be optional and
694 default it to a safe command, even for Windows. (bug#18596)
695
696 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
697
698 * progmodes/python.el (python-shell-calculate-command):
699 Rename from python-shell-parse-command. Cleanup.
700 (run-python, run-python-internal): Use it.
701 (python-shell-calculate-pythonpath): Rename from
702 python-new-pythonpath.
703 (python-shell-calculate-process-environment): Use it.
704 (python-shell-calculate-exec-path): Add comment.
705
706 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
707
708 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
709 for date handling.
710
711 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
712
713 * version.el (emacs-repository-get-version): Use git rev-parse
714 instead of git log.
715
716 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
717
718 * progmodes/python.el (python-indent-calculate-levels):
719 Fix indentation behavior multiline dedenter statement. (Bug#18432)
720
721 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
722
723 * progmodes/python.el (python-indent-region):
724 Use python-indent-line and skip special cases. (Bug#18843)
725
726 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
727
728 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
729 envelope-from when reporting through sendmail (bug#19054).
730
731 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
732
733 Add faces for the VC modeline state indicator.
734 * lisp/vc/vc-hooks.el:
735 (vc-state-faces, vc-state-base-face)
736 (vc-up-to-date-state, vc-needs-update-state)
737 (vc-locked-state, vc-locally-added-state)
738 (vc-conflict-state, vc-removed-state)
739 (vc-missing-state, vc-edited-state):
740 New faces.
741 (vc-default-mode-line-string): Use them
742
743 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
746
747 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
748
749 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
750
751 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
752
753 * progmodes/python.el (python-eldoc-setup-code): Enhance string
754 type checks, simplify printing. (Bug#18962)
755
756 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
757
758 * progmodes/python.el (python-shell-font-lock-kill-buffer):
759 (python-shell-font-lock-with-font-lock-buffer)
760 (python-shell-get-buffer, python-ffap-module-path):
761 Use `derived-mode-p' instead of equality test on `major-mode'.
762
763 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
764
765 * progmodes/python.el (python-shell-virtualenv-root): Rename from
766 python-shell-virtualenv-path.
767 (python-shell-internal-get-process-name)
768 (python-shell-calculate-process-environment)
769 (python-shell-calculate-exec-path): Use it.
770
771 2014-11-14 Eli Zaretskii <eliz@gnu.org>
772
773 * bindings.el (search-map): Fix last change: don't use 'kbd' in
774 bindings.el, since it is not yet loaded when bindings.el is
775 preloaded.
776
777 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
778
779 * progmodes/python.el (python-shell-completion-get-completions):
780 Fix previous merge.
781
782 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
783
784 * net/eww.el (eww-render): Don't set the title to the URL.
785
786 2014-11-13 Ulrich Müller <ulm@gentoo.org>
787
788 * version.el (emacs-repository-get-version): Call `git log'
789 command with proper format argument (bug#19049).
790
791 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
792
793 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
794
795 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
796
797 * net/eww.el (eww-search-words): New command (bug#16258).
798
799 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
800
801 * net/shr.el (shr-inhibit-images): Add a doc string.
802
803 * net/eww.el (eww-after-render-hook): New variable.
804 (eww-render): Use it.
805
806 * net/shr.el (shr-descend): Don't descend further than
807 `max-specpdl-size' allows (bug#16587).
808 (shr-depth): New variable.
809 (shr-warning): New variable.
810
811 2014-11-13 Ivan Shmakov <ivan@siamics.net>
812
813 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
814 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
815
816 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
817
818 * net/eww.el (eww): Add comment to clarify.
819
820 * net/shr.el (shr-parse-image-data): Remove blocked bits from
821 external SVG images.
822 (shr-tag-object): Display images in <object> forms (bug#16244).
823 (shr-tag-table): Also insert <objects> after the tables.
824
825 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
826
827 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
828
829 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
830
831 * net/eww.el (eww-form-file): Fix version number.
832
833 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
834
835 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
836
837 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
838
839 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
840 (eww-submit-file): New key map of file upload.
841 (eww-form-file): New file upload button and file name context.
842 (eww-select-file): Select file and display selected file name.
843 (eww-tag-input): Handle input tag of file type.
844 (eww-update-field): Add point offset.
845 (eww-submit): Add submit with multipart/form-data.
846
847 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
848
849 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
850 Allow taking a buffer to render data in. This allows using several
851 eww buffers (bug#16211).
852
853 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
854
855 * net/eww.el (eww-download-callback): Save only the file contents,
856 not the headers.
857
858 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
859
860 * net/eww.el (eww-data): New plist to store all the data relevant
861 to a single page, used throughout the file instead of the
862 variables `eww-current-url', `eww-current-dom',
863 `eww-current-source', and `eww-current-title'.
864 (eww-readable): Copy over pertinent data from the parent page.
865 (eww-save-history): Don't let the history grow infinitely.
866
867 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
868 `eww-up-url', `eww-home-url', `eww-start-url' and
869 `eww-contents-url' and put the data into the `eww-data' plist.
870 This allow restoring these values after going back in the history.
871
872 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
873
874 Allow VTIMEZONE where daylight and standard time zones are equal.
875 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
876 * calendar/icalendar.el (icalendar--convert-tz-offset):
877 Support timezone without daylight saving time.
878
879 2014-11-10 Glenn Morris <rgm@gnu.org>
880
881 * startup.el (command-line): Handle nil elements in load-path.
882
883 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * help.el (view-lossage): Include the actual commands run.
886
887 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
888
889 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
890 no state is specified. (Bug#18964)
891
892 2014-11-09 Eric Ludlam <zappo@gnu.org>
893
894 * emacs-lisp/eieio-custom.el (eieio-customize-object):
895 Set eieio-cog (current group) to g, which is an improved form of input
896 group.
897
898 2014-11-09 Juri Linkov <juri@jurta.org>
899
900 * isearch.el (isearch-message-prefix): Show "Multi-file" and
901 "Multi-buffer" instead of "Multi". (Bug#13592)
902
903 * misearch.el (multi-isearch-file-list):
904 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
905 (multi-isearch-end): Reset multi-isearch-buffer-list and
906 multi-isearch-file-list to nil.
907
908 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
911 Don't call byte-compile-preprocess since the result will go through
912 cconv.
913 (byte-compile-output-docform): Handle uninterned `name' correctly.
914 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
915 to circumvent byte-compiler bug.
916
917 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
918 (macroexp--compiler-macro): Remove left-over debug code.
919
920 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
921
922 2014-11-08 Juri Linkov <juri@jurta.org>
923
924 * simple.el (shell-command): Use buffer-name when output-buffer is
925 a buffer. (Bug#18096)
926
927 2014-11-08 Juri Linkov <juri@jurta.org>
928
929 * minibuffer.el (minibuffer-completion-help): Compare this-command
930 with completion-at-point. (Bug#17809)
931
932 2014-11-08 Glenn Morris <rgm@gnu.org>
933
934 * emacs-lisp/bytecomp.el (byte-compile-report-error):
935 Allow the argument to be a string. Due to the vague doc,
936 it was already being used this way.
937
938 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
939
940 * net/tramp.el (tramp-check-cached-permissions): Include hop in
941 the constructed Tramp file name. (Bug#18943)
942
943 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
946 (bug#18952).
947 (cua-set-mark, cua--post-command-handler-1):
948 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
949
950 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
951
952 * files.el (file-name-non-special): Wrap the call of
953 `insert-file-contents' by `unwind-protect', in order to set the
954 buffer's file name anyway. (Bug#18891)
955
956 2014-11-08 Alan Mackenzie <acm@muc.de>
957
958 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
959 * progmodes/cc-fonts.el (c-font-lock-declarations):
960 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
961 the buffer is sometimes narrowed to less than "limit" (e.g., in
962 the presence of macros).
963
964 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
965
966 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
967 only when message appeared in minibuffer. (Bug#18891)
968
969 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
970 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
971 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
972 case of errors.
973
974 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
977 Don't compile before eval in `eval-and-compile'.
978 (byte-compile-arglist-warn): Add check for defining macros after their
979 first use. Check call use even if the function is fboundp.
980
981 2014-11-08 Richard Stallman <rms@gnu.org>
982
983 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
984 Check more carefully for mime-part specified character set.
985 Check for mime-part Content Transfer Encoding.
986 Notify if no armor found.
987
988 2014-11-08 Martin Rudalics <rudalics@gmx.at>
989
990 * faces.el (face-set-after-frame-default): Enable running
991 `window-configuration-change-hook'.
992
993 2014-11-07 Juri Linkov <juri@jurta.org>
994
995 * replace.el: History for query replace pairs.
996 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
997 (query-replace-from-to-separator): New variable.
998 (query-replace-read-from): Let-bind query-replace-from-to-history
999 to a list of FROM-TO strings created from query-replace-defaults
1000 and separated by query-replace-from-to-separator. Use it as
1001 the history while reading from the minibuffer. Split the returned
1002 string by the separator to get FROM and TO parts, and add them
1003 to the history variables.
1004 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
1005 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
1006 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
1007
1008 * isearch.el (isearch-text-char-description): Keep characters
1009 intact and put formatted strings with the `display' property.
1010
1011 2014-11-07 Martin Rudalics <rudalics@gmx.at>
1012
1013 * cus-start.el (frame-resize-pixelwise): Fix group.
1014 (frame-inhibit-implied-resize): Add entry.
1015
1016 2014-11-07 Daiki Ueno <ueno@gnu.org>
1017
1018 * epa.el (epa-pinentry-mode): New user option.
1019 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
1020 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
1021 * epa-file.el (epa-file-insert-file-contents)
1022 (epa-file-write-region): Respect epa-pinentry-mode.
1023
1024 2014-11-07 Daiki Ueno <ueno@gnu.org>
1025
1026 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
1027 (bug#18979). Reported by Hideki Saito.
1028
1029 2014-11-06 Daiki Ueno <ueno@gnu.org>
1030
1031 * emacs-lisp/package.el (package--display-verify-error): New function.
1032 (package--check-signature): Use it to display output sent to stderr.
1033
1034 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * subr.el (pop): Don't call the getter twice (bug#18968).
1037
1038 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
1039 uses of `funcall'.
1040
1041 2014-11-06 Daiki Ueno <ueno@gnu.org>
1042
1043 * epa.el (epa-error-buffer): New variable.
1044 (epa-display-error): New function.
1045 (epa-decrypt-file, epa-verify-file, epa-verify-region)
1046 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
1047 (epa-sign-file, epa-sign-region, epa-encrypt-region)
1048 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
1049 Use setf instead of epg-context-set-*.
1050 * epa-file.el (epa-file-insert-file-contents):
1051 Use epa-display-error instead of epa-display-info. Mimic the behavior
1052 of jka-compr when decryption program is not found.
1053 (epa-file-write-region): Use epa-display-error instead of
1054 epa-display-info.
1055
1056 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * vc/vc.el (vc-region-history): New command.
1059 (vc-print-log-internal): Use cl-some.
1060
1061 * vc/vc-git.el (vc-git-region-history): New function.
1062 (vc-git-region-history-mode-map)
1063 (vc-git--log-view-long-font-lock-keywords)
1064 (vc-git-region-history-font-lock-keywords): New vars.
1065 (vc-git-region-history-font-lock): New function.
1066 (vc-git-region-history-mode): New major mode.
1067
1068 2014-11-05 Tassilo Horn <tsdh@gnu.org>
1069
1070 * net/eww.el (subr-x): Require subr-x at compile-time because eww
1071 uses string-trim.
1072
1073 2014-11-05 Daiki Ueno <ueno@gnu.org>
1074
1075 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
1076 (epg-error-output): New buffer-local variable.
1077 (epg--start): Initialize epg-error-output.
1078 (epg--process-filter): Record output lines sent to stderr, in
1079 epg-error-output.
1080 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
1081 slot of context.
1082 * epa-file.el (epa-file-insert-file-contents): On error, display
1083 output sent to stderr.
1084 (epa-file-write-region): Likewise.
1085
1086 2014-11-05 Eli Zaretskii <eliz@gnu.org>
1087
1088 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
1089 returned by load-average.
1090
1091 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
1092
1093 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
1094 a local copy; setting `inhibit-file-name-handlers' proper might be
1095 more performant. (Bug#18751)
1096
1097 2014-11-05 Glenn Morris <rgm@gnu.org>
1098
1099 * mail/emacsbug.el (report-emacs-bug): No longer include
1100 recent-keys in the report. (Bug#18900)
1101
1102 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
1103
1104 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
1105
1106 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1107
1108 * net/eww.el (eww): Trim URL with `string-trim'.
1109 Suggested by Vibhav Pant <vibhavp@gmail.com>.
1110
1111 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1112
1113 * net/eww.el (eww-score-readability): Don't count comments positively.
1114
1115 * net/shr.el (shr-retransform-dom): Typo fix.
1116
1117 * net/eww.el (eww-score-readability): Parse SVC images correctly.
1118 (eww-display-html): Don't leave point inside forms.
1119
1120 * net/shr.el: Ditto.
1121
1122 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1123
1124 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
1125 edebug-prin1-to-string already handles circularity.
1126
1127 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
1128 autoloading when specified as a lambda.
1129
1130 * simple.el (execute-extended-command--last-typed): New var.
1131 (read-extended-command): Set it.
1132 Don't complete obsolete commands.
1133 (execute-extended-command--shorter-1)
1134 (execute-extended-command--shorter): New functions.
1135 (execute-extended-command): Use them to suggest shorter names.
1136 (indicate-copied-region, deactivate-mark): Use region-active-p.
1137
1138 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
1139
1140 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
1141 local copy of FILENAME, when it is remote. (Bug#18751)
1142
1143 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
1144 an error when the command fails; the return code must indicate.
1145 (tramp-adb-send-command-and-check): Fix docstring.
1146
1147 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1148
1149 * net/shr.el (shr-retransform-dom): Don't ignore elements that
1150 have no children like <br />.
1151
1152 * net/eww.el (eww-display-html): Clear `url-queue'.
1153 (eww-display-pdf): New function.
1154 (eww-render): Display PDFs with `doc-view'.
1155 (url-queue): Require `url-queue' to avoid compilation warning.
1156 (eww-colorize-region): Remove duplicate function.
1157 (eww-tag-body): Use `shr-colorize-region'.
1158
1159 2014-11-03 Yoni Rabkin <yrk@gnu.org>
1160
1161 * net/eww.el (eww-list-bookmarks): Autoload.
1162
1163 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1164
1165 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
1166
1167 * net/eww.el (eww-display-html): The charset is called `utf-8',
1168 not `utf8'.
1169 (eww-readable): Decode the saved text correctly.
1170 (eww-readable): Save the history before displaying so that we can
1171 go back to the non-readable version.
1172 (eww-display-html): Don't try to decode the text if we've been
1173 passed in a pre-parsed DOM.
1174 (eww-tag-title): Remove newlines and extra whitespace from the
1175 displayed title.
1176
1177 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1178
1179 * net/eww.el (eww-readable): New command and keystroke.
1180
1181 * net/shr.el (shr-retransform-dom): New function.
1182
1183 * net/eww.el (eww-display-html): Set `eww-current-source' in the
1184 correct buffer.
1185 (eww-view-source): Use it.
1186
1187 2014-11-02 Ivan Shmakov <ivan@siamics.net>
1188
1189 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
1190 (Bug#18603).
1191
1192 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
1193
1194 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
1195
1196 2014-11-02 Ivan Shmakov <ivan@siamics.net>
1197
1198 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
1199
1200 2014-11-02 Ivan Shmakov <ivan@siamics.net>
1201
1202 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
1203 (Bug#18834).
1204
1205 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
1206
1207 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
1208 use as advice.
1209 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
1210
1211 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
1214 (bug#18821).
1215 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
1216
1217 2014-11-01 Michael R. Mauger <michael@mauger.com>
1218
1219 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
1220 syntax, add new keywords, and parse longer keywords first.
1221 (sql-redirect-one): Protect against empty command.
1222 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
1223 to SQL. (Bug#14759)
1224
1225 2014-11-01 Michael R. Mauger <michael@mauger.com>
1226
1227 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
1228 Bug#16814 with let-bind of comint-input-ring variables around read
1229 and save functions.
1230
1231 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
1232
1233 * net/tramp-cache.el (tramp-get-file-property)
1234 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
1235 and `tramp-cache-set-count-*' are bound. Otherwise, there might
1236 be compiler warnings.
1237
1238 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
1239 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
1240
1241 2014-11-01 Eli Zaretskii <eliz@gnu.org>
1242
1243 * progmodes/compile.el (compilation-mode): Turn off deferred
1244 fontifications locally. (Bug#18856)
1245
1246 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
1247
1248 * net/tramp-sh.el (tramp-send-command): Fix the case where the
1249 remote-echo connection property is non-nil (bug#18858).
1250
1251 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * simple.el (newline): Add assertions to try and help catch bug#18913.
1254
1255 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
1256 (bug#18886).
1257 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
1258
1259 2014-11-01 Kim F. Storm <storm@cua.dk>
1260
1261 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
1262 * delsel.el (delete-selection-save-to-register)
1263 (delsel--replace-text-or-position): New vars.
1264 (delete-active-region): Use them.
1265 (delete-selection-repeat-replace-region): New command, moved from
1266 cua-base.el.
1267 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
1268 (cua-repeat-replace-region): Move command to delsel.el.
1269 (cua--init-keymaps): Update binding accordingly.
1270 (cua-mode): Set delete-selection-save-to-register.
1271
1272 2014-11-01 Alan Mackenzie <acm@muc.de>
1273
1274 Make blink-parens work with a closing template delimiter.
1275 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
1276 before calling blink-paren-function, so as to apply syntax-table
1277 properties to the ">".
1278
1279 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
1280
1281 * select.el (gui-get-selection): Comment: data-type ignored on NS.
1282
1283 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
1286 (macroexp--expand-all): Unrelated tweaks.
1287
1288 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
1289
1290 2014-10-30 Glenn Morris <rgm@gnu.org>
1291
1292 * startup.el (command-line): Remove pointless attempt to avoid
1293 statting the file-system (which expand-file-name doesn't do).
1294
1295 2014-10-30 Daniel Colascione <dancol@dancol.org>
1296
1297 Add "enum class" support to C++ mode.
1298 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
1299 (c-after-brace-list-key): New language consts/variables.
1300 * progmodes/cc-engine.el (c-looking-at-decl-block):
1301 Exclude spurious match of "enum struct" from decl-block recognition.
1302 (c-backward-colon-prefixed-type): New function.
1303 (c-backward-over-enum-header): Call above function to extend
1304 recognition of enum structure.
1305
1306 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
1309 (c-lang-defconst):
1310 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
1311
1312 2014-10-30 Eli Zaretskii <eliz@gnu.org>
1313
1314 * progmodes/compile.el (compilation-start):
1315 If compilation-scroll-output is non-nil, don't force window-start of
1316 the compilation buffer to be at beginning of buffer. (Bug#18874)
1317
1318 * startup.el (fancy-about-text): Read the entire tutorial, not
1319 just its first 256 bytes. (Bug#18760)
1320
1321 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
1324 * emacs-lisp/cl-extra.el: Add missing provide.
1325
1326 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
1327 all args are copyable (bug#18767).
1328 (=, <, >, <=, >=): Re-enable the optimization.
1329
1330 2014-10-29 Glenn Morris <rgm@gnu.org>
1331
1332 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
1333
1334 * version.el (emacs-bzr-version, emacs-bzr-get-version):
1335 Revert 2014-10-26 change.
1336
1337 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
1338
1339 Simplify use of current-time and friends.
1340 * allout-widgets.el (allout-widgets-hook-error-handler):
1341 * calendar/appt.el (appt-display-message):
1342 * calendar/icalendar.el (icalendar--convert-float-to-ical):
1343 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
1344 (timeclock-last-period, timeclock-day-base):
1345 * eshell/em-ls.el (eshell-ls-file):
1346 * eshell/esh-util.el (eshell-parse-ange-ls):
1347 * generic-x.el (named-database-print-serial):
1348 * net/newst-backend.el (newsticker--get-news-by-url-callback)
1349 (newsticker-get-news, newsticker--sentinel-work)
1350 (newsticker--image-get, newsticker--image-sentinel):
1351 * net/tramp-sh.el (tramp-get-remote-touch):
1352 * progmodes/opascal.el (opascal-debug-log):
1353 * textmodes/remember.el (remember-mail-date)
1354 (remember-store-in-files):
1355 * vc/vc-annotate.el (vc-annotate-display-autoscale)
1356 (vc-default-annotate-current-time):
1357 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
1358 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
1359 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
1360 Omit unnecessary call to current-time.
1361 * calendar/time-date.el (time-to-seconds) [!float-time]:
1362 * vc/vc-annotate.el (vc-annotate-convert-time):
1363 Use current time if arg is nil, to be compatible with float-time.
1364 (time-date--day-in-year): New function, with most of the guts of
1365 the old time-to-day-in-year.
1366 (time-to-day-in-year): Use it.
1367 (time-to-days): Use it, to avoid decoding the same time stamp twice.
1368 * calendar/timeclock.el (timeclock-time-to-date):
1369 Arg is now optional, like current-time-string.
1370 (timeclock-update-mode-line):
1371 Don't call current-time twice to get the current time stamp,
1372 as this can lead to inconsistent results.
1373 * completion.el (cmpl-hours-since-origin):
1374 * ido.el (ido-time-stamp):
1375 * vc/vc-annotate.el (vc-annotate-convert-time):
1376 Simplify by using float-time.
1377 * completion.el (save-completions-to-file):
1378 Rename local var to avoid confusion.
1379 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
1380 time-to-seconds now behaves like float-time with respect to nil arg.
1381 * subr.el (progress-reporter-do-update):
1382 Don't call float-time unless needed.
1383
1384 2014-10-29 Leo Liu <sdl.web@gmail.com>
1385
1386 * net/rcirc.el (rcirc-fill-column): Use function.
1387 (rcirc-markup-fill): Remove adjustment.
1388
1389 2014-10-28 Christopher Schmidt <ch@ristopher.com>
1390
1391 * calc/calc.el (quick-calc):
1392 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
1393
1394 2014-10-28 Sam Steingold <sds@gnu.org>
1395
1396 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
1397 the sake of `window-body-width' (in addition to `frame-width').
1398
1399 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
1400
1401 * version.el: Fix some fallback values to conform to the actual
1402 release number.
1403
1404 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
1405
1406 * Makefile.in: Change some production names so they're neutral
1407 about the repository type.
1408
1409 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
1410
1411 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
1412 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
1413 during initialization. (Bug#18774)
1414
1415 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
1416
1417 * ses.el (macroexp): Add require for this package, so that
1418 function `ses--cell' gets macroexp-quote --- this change was
1419 supposed to be in my previous commit, but left out by mistake.
1420 (ses--cell): Do not make formula a macroexp-quote of value when
1421 value, not formula, is *skip*.
1422
1423 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1424
1425 * ses.el (macroexp): Add require for this package, so that function
1426 `ses--cell gets macroexp-quote.
1427 (ses--cell): Makes formula a macroexp-quote of value when formula
1428 is nil. The rationale of this changr is to allow in the future
1429 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
1430 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
1431 reference list REFLIST would be re-computed after load --- thus
1432 trading off load time against file size.
1433
1434 * emacs-lisp/package.el (package--alist-to-plist-args):
1435 Use macroexp-quote instead of a lambda expression which has the same
1436 content as macroexp-quote.
1437 (macroexp): Add require for this package, so that function
1438 `package--alist-to-plist-args' gets macroexp-quote.
1439
1440 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
1441
1442 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * term/ns-win.el (ns-store-cut-buffer-internal)
1445 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
1446
1447 2014-10-24 Martin Rudalics <rudalics@gmx.at>
1448
1449 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
1450 Calculate increment from last position instead of window edge.
1451 Add right- and bottom-divider bindings to transient map.
1452
1453 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1454
1455 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
1456 even if :predicate was nil, for the benefit of typep.
1457 Record the name of the predicate for typep's use.
1458 (cl--make-type-test): Use pcase. Obey new
1459 cl-deftype-satisfies property.
1460
1461 * epg.el: Use cl-defstruct.
1462 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
1463 (epg-data-string): Define via cl-defstruct.
1464 (epg--gv-nreverse): New macro.
1465 (epg-context--make): New constructor (provided vi cl-defstruct).
1466 (epg-make-context): Rewrite using it.
1467 (epg-context-protocol, epg-context-program)
1468 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
1469 (epg-context-include-certs, epg-context-cipher-algorithm)
1470 (epg-context-digest-algorithm, epg-context-compress-algorithm)
1471 (epg-context-passphrase-callback, epg-context-progress-callback)
1472 (epg-context-signers, epg-context-sig-notations, epg-context-process)
1473 (epg-context-output-file, epg-context-result, epg-context-operation)
1474 (epg-context-pinentry-mode): Define using cl-defstruct.
1475 (epg-context-set-protocol, epg-context-set-program)
1476 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
1477 (epg-context-set-digest-algorithm)
1478 (epg-context-set-sig-notations, epg-context-set-process)
1479 (epg-context-set-output-file, epg-context-set-result)
1480 (epg-context-set-operation, epg-context-set-pinentry-mode)
1481 (epg-context-set-compress-algorithm): Remove. Use setf instead.
1482 (epg-context-set-armor, epg-context-set-textmode)
1483 (epg-context-set-signers): Redefine using setf
1484 and declare as obsolete.
1485 (epg-context-set-passphrase-callback)
1486 (epg-context-set-progress-callback): Use setf.
1487 (epg-signature-notations): Rename from epg-sig-notations.
1488 (epg-make-signature, epg-signature-status, epg-signature-key-id)
1489 (epg-signature-validity, epg-signature-fingerprint)
1490 (epg-signature-creation-time, epg-signature-expiration-time)
1491 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
1492 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
1493 (epg-signature-set-status, epg-signature-set-key-id)
1494 (epg-signature-set-validity, epg-signature-set-fingerprint)
1495 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
1496 (epg-signature-set-pubkey-algorithm)
1497 (epg-signature-set-digest-algorithm, epg-signature-set-class)
1498 (epg-signature-set-version, epg-signature-set-notations): Remove.
1499 Use setf instead.
1500 (epg-make-new-signature, epg-new-signature-type)
1501 (epg-new-signature-pubkey-algorithm)
1502 (epg-new-signature-digest-algorithm, epg-new-signature-class)
1503 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
1504 Define using cl-defstruct.
1505 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
1506 (epg-key-user-id-list): Define using cl-defstruct.
1507 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
1508 Use setf instead.
1509 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
1510 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
1511 (epg-sub-key-id, epg-sub-key-creation-time)
1512 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
1513 cl-defstruct.
1514 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
1515 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
1516 (epg-user-id-signature-list): Define using cl-defstruct.
1517 (epg-user-id-set-signature-list): Remove. Use setf instead.
1518 (epg-make-key-signature, epg-key-signature-validity)
1519 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
1520 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
1521 (epg-key-signature-user-id, epg-key-signature-class)
1522 (epg-key-signature-exportable-p): Define using cl-defstruct.
1523 (epg-make-sig-notation, epg-sig-notation-name)
1524 (epg-sig-notation-value, epg-sig-notation-human-readable)
1525 (epg-sig-notation-critical): Define using cl-defstruct.
1526 (epg-sig-notation-set-value): Remove. Use setf instead.
1527 (epg-make-import-status, epg-import-status-fingerprint)
1528 (epg-import-status-reason, epg-import-status-new)
1529 (epg-import-status-user-id, epg-import-status-signature)
1530 (epg-import-status-sub-key, epg-import-status-secret): Define using
1531 cl-defstruct.
1532 (epg-make-import-result, epg-import-result-considered)
1533 (epg-import-result-no-user-id, epg-import-result-imported)
1534 (epg-import-result-imported-rsa, epg-import-result-unchanged)
1535 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
1536 (epg-import-result-new-signatures, epg-import-result-new-revocations)
1537 (epg-import-result-secret-read, epg-import-result-secret-imported)
1538 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
1539 (epg-import-result-imports): Define using cl-defstruct.
1540
1541 * emacs-lisp/package.el: Require EPG during macroexpansion.
1542 (package--check-signature, package-import-keyring): Use setf instead of
1543 epg-context-set-home-directory.
1544
1545 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
1548
1549 2014-10-23 Leo Liu <sdl.web@gmail.com>
1550
1551 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
1552 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
1553 (cfengine3-current-defun): New function.
1554 (cfengine3-mode): Set add-log-current-defun-function.
1555
1556 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * select.el: Use lexical-binding.
1559 (gui-set-selection): Provide an implementation for non-GUI frames
1560 (bug#18791).
1561 * term/x-win.el: Use lexical-binding.
1562 (x-clipboard-yank): Fix up missed renamings.
1563 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
1564 (w32--set-selection): Fix up var names.
1565 * term/pc-win.el: Use lexical-binding.
1566 (w16-selection-exists-p): Silence compiler warning.
1567 (w16-selection-owner-p): Fix up missed renamings.
1568
1569 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
1570
1571 * frame.el (frame-notice-user-settings): Fix excessive quoting.
1572
1573 2014-10-22 Tassilo Horn <tsdh@gnu.org>
1574
1575 * doc-view.el (doc-view-open-text): View the document's plain text
1576 in the current buffer instead of a new one.
1577 (doc-view-toggle-display): Handle the case where the current
1578 buffer contains the plain text contents of the document.
1579 (doc-view-initiate-display): Don't switch to fallback mode if the
1580 user wants to view the doc's plain text.
1581 (doc-view-set-doc-type): Use assoc-string instead of
1582 assoc-ignore-case.
1583
1584 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 * subr.el (read-key): Fix clicks on the mode-line.
1587 (set-transient-map): Return exit function.
1588
1589 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
1590 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
1591 (mouse-yank-secondary): Use gui-get-selection.
1592 (mouse--down-1-maybe-follows-link): Use read-key.
1593
1594 * xt-mouse.el: Add `event-kind' property on the fly from
1595 xterm-mouse-translate-1 rather than statically at the outset.
1596
1597 2014-10-21 Daniel Colascione <dancol@dancol.org>
1598
1599 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
1600 change window configuration when we turn it off.
1601
1602 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 Get rid of backend-dependent selection-handling functions for kill/yank
1605 and make it generic instead by relying on the lower-level selection
1606 management functions.
1607
1608 * select.el (select-enable-clipboard): Rename from
1609 gui-select-enable-clipboard.
1610 (select-enable-primary): Move from x-win.el and rename from
1611 x-select-enable-primary.
1612 (gui-last-selected-text): Remove.
1613 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
1614 New vars.
1615 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
1616 (gui-select-text-alist, gui-selection-value-alist): Remove.
1617 (x-select-request-type): Move from x-win.el.
1618 (gui--selection-value-internal): New function, taken from x-win's
1619 x-selection-value-internal.
1620 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
1621 (gui-set-selection-alist): Rename from gui-own-selection-alist and
1622 extend it to handle a nil value as a "disown" request.
1623 (gui-disown-selection-alist): Remove.
1624 (xselect-convert-to-delete): Adjust accordingly.
1625 (gui-set-selection): Simplify accordingly as well. Use dotimes.
1626
1627 * term/x-win.el (x-last-selected-text-primary)
1628 (x-select-enable-primary): Remove (moved to select.el).
1629 (x-select-request-type): Move to select.el.
1630 (x-selection-value-internal, x--selection-value): Remove functions.
1631 (gui-selection-value, gui-select-text): Remove moethods.
1632 (gui-set-selection): Merge own and disown methods.
1633
1634 * term/w32-win.el (w32--select-text, w32--get-selection-value):
1635 Delete function (move functionality into w32--set-selection and
1636 w32--get-selection).
1637 (gui-select-text, gui-selection-value): Don't define methods.
1638 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
1639 New functions.
1640 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
1641 Use them.
1642 (gui-selection-exists-p): Adjust to new name of C primitive.
1643
1644 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
1645 test of gui-select-enable-clipboard, to make it usable as
1646 a gui-get-selection method.
1647 (gui-selection-exists-p): Adjust to new name of C primitive.
1648 (gui-set-selection): Merge own and disown methods.
1649 (gui-select-text, gui-selection-value): Delete methods.
1650 (w16--select-text): Delete function.
1651
1652 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
1653 (ns-selection-value): Remove functions.
1654 (gui-select-text, gui-selection-value): Don't define method any more.
1655 (gui-set-selection): Merge the old own and disown methods.
1656 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
1657 underlying C primitive.
1658
1659 * startup.el (command-line): Adjust now that `gui-method' expects nil
1660 for ttys.
1661
1662 * frame.el (gui-method): Use window-system rather than framep.
1663 (gui-method-declare): The tty case is now nil rather than t.
1664 (make-frame): Adjust accordingly.
1665
1666 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * net/newst-reader.el (newsticker--image-read): Simplify.
1669 (newsticker--icon-read): Use dolist and fix free var error.
1670
1671 * imenu.el (imenu--menubar-keymap): New var.
1672 (imenu-add-to-menubar): Set it to remember the keymap we used.
1673 (imenu-update-menubar): Use it instead of asking lookup-key.
1674
1675 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1676
1677 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1678
1679 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1680 case (bug#18767).
1681
1682 2014-10-21 Glenn Morris <rgm@gnu.org>
1683
1684 * Merge in all changes up to version 24.4 release.
1685
1686 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1689 case (bug#18767).
1690
1691 2014-10-20 Glenn Morris <rgm@gnu.org>
1692
1693 * Merge in all changes up to 24.4 release.
1694
1695 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
1696
1697 * net/newst-backend.el
1698 (newsticker--image-download-by-url-callback): Make this function
1699 actually work: Check status properly, then save image.
1700
1701 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1702
1703 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
1704 `this-event'.
1705 (mouse-drag-line): Unless there's no actual mouse, use the event's
1706 position info.
1707
1708 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1709
1710 * textmodes/css-mode.el (scss-mode): New major-mode.
1711 (css-mode-syntax-table): Use d style comment, to ease the scss case.
1712 (css-ident-re): Allow things like @-moz-keyframes.
1713 (scss--hash-re): New const.
1714 (css--font-lock-keywords): New function, extracted from
1715 css-font-lock-keywords.
1716
1717 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
1718
1719 * net/newst-backend.el: Require url-parse.
1720 (newsticker--get-news-by-wget): Store feed name as process property.
1721 (newsticker--sentinel): Read feed name from process property.
1722 (newsticker--sentinel-work): Rename argument name to feed-name.
1723 Rename variable imageurl to image-url. Pick icon url from Atom
1724 1.0 data. Launch download of feed icon.
1725 (newsticker--get-icon-url-atom-1.0): New.
1726 (newsticker--unxml)
1727 (newsticker--unxml-node)
1728 (newsticker--unxml-attribute): Documentation.
1729 (newsticker--icons-dir): New.
1730 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
1731 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
1732 (newsticker--image-download-by-wget): New. Use process properties
1733 for storing informations.
1734 (newsticker--image-sentinel): Read informations from process properties.
1735 (newsticker--image-save)
1736 (newsticker--image-remove)
1737 (newsticker--image-download-by-url)
1738 (newsticker--image-download-by-url-callback): New.
1739 (newsticker-opml-export): Handle url list entries containing a
1740 function instead of an url string.
1741
1742 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
1743 (newsticker--print-extra-elements)
1744 (newsticker--do-print-extra-element):
1745 Documentation (newsticker--image-read): Optionally limit image height.
1746 Use imagemagick if possible.
1747 (newsticker--icon-read): New.
1748
1749 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
1750 (newsticker--treeview-tree-expand): Use feed icons in treeview.
1751 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
1752 (newsticker--tree-widget-leaf-icon): Use feed icon.
1753
1754 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1755
1756 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
1757 Use help-function-arglist instead.
1758
1759 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
1760 (eieio--with-scoped-class): Use `declare'.
1761 (eieio-defclass): Remove compatibility code.
1762 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
1763 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
1764
1765 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
1766
1767 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
1768
1769 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
1770 replacements to stock names before stock names in a list.
1771 Cdr may be a list, each name is tried in turn until one is found.
1772
1773 2014-10-18 Alan Mackenzie <acm@muc.de>
1774
1775 Check that a "macro" found near point-min isn't a ## operator.
1776 Fixes bug #18749.
1777 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
1778 (c-beginning-of-macro): Use the above new function.
1779
1780 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
1781
1782 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
1783 correct data to `gnutls-boot' (Bug#18664).
1784 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
1785
1786 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
1787
1788 * whitespace.el (whitespace-style, whitespace-big-indent)
1789 (whitespace-big-indent-regexp, whitespace-style-value-list)
1790 (whitespace-toggle-option-alist, whitespace-interactive-char)
1791 (whitespace-toggle-options)
1792 (global-whitespace-toggle-options, whitespace-help-text)
1793 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
1794 style to `whitespace-mode' to indicate that the line indentation
1795 is too deep. By default, 32 SPACEs or four TABs are considered
1796 too many but `whitespace-big-indent-regexp' can be configured.
1797
1798 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
1799
1800 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
1801 tildify-mode-alist.
1802
1803 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
1806 (defclass, defgeneric, defmethod): Add doc-string position.
1807 (with-slots): Require cl-lib.
1808
1809 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
1810 (list-of): New type.
1811 (eieio--typep): Remove.
1812 (eieio-perform-slot-validation): Use cl-typep instead.
1813
1814 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
1815
1816 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
1817
1818 2014-10-16 Alan Mackenzie <acm@muc.de>
1819
1820 Trigger showing when point is in the "periphery" of a line or just
1821 inside a paren.
1822 * paren.el (show-paren-style, show-paren-delay)
1823 (show-paren-priority, show-paren-ring-bell-on-mismatch):
1824 Remove superfluous :group specifications.
1825 (show-paren-when-point-inside-paren)
1826 (show-paren-when-point-in-periphery): New customizable variables.
1827 (show-paren-highlight-openparen): Make into a defcustom.
1828 (show-paren--unescaped-p, show-paren--categorize-paren)
1829 (show-paren--locate-near-paren): New defuns.
1830 (show-paren--default): Refaactor and trigger on more paren
1831 positions.
1832 (show-paren-function): Small consequential changes.
1833
1834 2014-10-16 Tom Tromey <tom@tromey.com>
1835
1836 * files.el (auto-mode-alist): Use javascript-mode for .jsm
1837 (bug #18719).
1838
1839 2014-10-16 Eli Zaretskii <eliz@gnu.org>
1840
1841 * international/characters.el (bracket-type): Force pre-loading of
1842 uni-brackets.el.
1843
1844 2014-10-16 Alan Mackenzie <acm@muc.de>
1845
1846 * cus-edit.el (custom-command-apply): Specify the return value in
1847 the doc string.
1848 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1849 custom-command-apply has returned non-nil.
1850
1851 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
1854 Remove incorrect handling of eldoc-print-after-edit.
1855 (eldoc-message-commands, eldoc-last-data): Use defvar.
1856 * loadup.el (emacs-lisp/eldoc): Load it.
1857
1858 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
1859 (m4-mode): Use it.
1860 (m4--quoted-p): New function.
1861 (m4-font-lock-keywords): Don't handle #..\n comments any more.
1862 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
1863 for most special characters.
1864
1865 * progmodes/compile.el (compilation--previous-directory): Simplify.
1866 (compilation-next-error): Ensure the parse before we look at
1867 compilation-message property.
1868
1869 2014-10-15 Eli Zaretskii <eliz@gnu.org>
1870
1871 * simple.el (what-cursor-position):
1872 * descr-text.el (describe-char): Update to support the new bidi
1873 characters.
1874
1875 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1876 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1877 buffer-menu display when the first buffer happens to start with
1878 R2L letter.
1879
1880 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * progmodes/elisp-mode.el (elisp--local-variables-1):
1883 Handle quoted expressions (bug#18688).
1884
1885 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
1886 Michael Albinus <michael.albinus@gmx.de>
1887
1888 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1889 Reduce the amount of set environment variable commands.
1890
1891 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1892
1893 Fix import completion. (Bug#18582)
1894 * progmodes/python.el (python-shell-completion-get-completions):
1895 Fix import case regexp.
1896
1897 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1900 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1901 * progmodes/prolog.el (prolog-electric--underscore): Same.
1902
1903 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
1904
1905 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
1906
1907 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1908
1909 * cus-start.el (all): Add missing ns and boolean to
1910 ns-use-fullscreen-animation.
1911
1912 2014-10-11 Leo Liu <sdl.web@gmail.com>
1913
1914 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
1915 Use strings.
1916 (cfengine3-create-imenu-index): New function.
1917 (cfengine3-mode): Use it for `imenu-create-index-function'.
1918 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
1919 buffer is empty.
1920
1921 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1922
1923 * cus-start.el (all): Add ns-use-fullscreen-animation.
1924
1925 2014-10-11 Glenn Morris <rgm@gnu.org>
1926
1927 * calendar/diary-lib.el (diary-display-function):
1928 Drop support for deprecated nil and list forms.
1929 (diary-list-entries): Update for the above.
1930 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
1931
1932 2014-10-10 Leo Liu <sdl.web@gmail.com>
1933
1934 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
1935 (Bug#18656)
1936
1937 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * select.el (gui-selection-exists-p-alist): New method.
1940 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
1941 * simple.el (deactivate-mark): Use it.
1942 * term/x-win.el (gui-selection-exists-p):
1943 * term/w32-win.el (gui-selection-exists-p):
1944 * term/pc-win.el (gui-selection-exists-p):
1945 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
1946
1947 2014-10-10 Glenn Morris <rgm@gnu.org>
1948
1949 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
1950 Fix :type. Allow t to mean no limit.
1951 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
1952
1953 2014-10-09 Glenn Morris <rgm@gnu.org>
1954
1955 * frame.el (display-monitor-attributes-list): Doc tweaks.
1956
1957 2014-10-09 Eli Zaretskii <eliz@gnu.org>
1958
1959 * faces.el (display-grayscale-p): Mention in the doc string that
1960 the argument can be either a display name or a frame.
1961
1962 * frame.el (display-pixel-height, display-pixel-width)
1963 (display-mm-height, display-mm-width, display-backing-store)
1964 (display-save-under, display-planes, display-color-cells)
1965 (display-visual-class, display-monitor-attributes-list)
1966 (display-screens): Mention in the doc string that the argument can
1967 be either a display name or a frame. Improve the docs of the
1968 monitor attributes. (Bug#18636)
1969
1970 2014-10-09 Martin Rudalics <rudalics@gmx.at>
1971
1972 * term.el (term-window-width): Subtract 1 from the width when
1973 any fringe has zero width, not just the right fringe. (Bug#18601)
1974
1975 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
1978
1979 2014-10-08 Leo Liu <sdl.web@gmail.com>
1980
1981 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
1982
1983 2014-10-08 Glenn Morris <rgm@gnu.org>
1984
1985 * calendar/cal-x.el (calendar-dedicate-diary):
1986 Drop support for recently deleted aliases.
1987
1988 2014-10-08 Leo Liu <sdl.web@gmail.com>
1989
1990 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
1991 Always return a syntax. Replace call-process-shell-command with
1992 process-file. Ensure cfengine-mode-syntax-functions-regex is
1993 always set. Ensure cache when cfengine-cf-promises fails.
1994 (Bug#18620)
1995
1996 2014-10-07 Glenn Morris <rgm@gnu.org>
1997
1998 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
1999
2000 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
2001
2002 Sync with upstream verilog-mode revision c075a492.
2003 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2004 (verilog-menu): Add AUTOINSERTLAST.
2005 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
2006 is nil, fix indenting initial/final to match always statements, bug825.
2007 Reported by Tim Clapp.
2008 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
2009 bug557. Reported by ZeDong Mao and Jason Forkey.
2010 (verilog-read-decls): Fix parsing typed interfaces.
2011 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
2012 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
2013 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
2014 Reported by Pierre-David Pfister.
2015 (verilog-auto-insert-lisp): Doc fix.
2016 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
2017 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
2018 (verilog-sk-ovm-class, verilog-sk-uvm-object)
2019 (verilog-sk-uvm-component): Fix missing string keyword in class
2020 skeletons, bug824. Reported by eldad faruhi.
2021
2022 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * term/w32-win.el: Move all code from 32-common-fns.el here.
2025 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
2026 console as well (bug#18629).
2027 * w32-common-fns.el: Remove.
2028 * loadup.el: Don't load w32-common-fns.el.
2029 * w32-fns.elc: Don't require w32-common-fns.
2030
2031 * icomplete.el: Move Iswitchb autoload here. Much simpler.
2032 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
2033 Remove redundant obsolescence thingy.
2034 * loadup.el: Don't load obsolete/loaddefs.el.
2035 * Makefile.in (obsolete-autoloads): Remove.
2036 (AUTOGENEL): Remove obsolete/loaddefs.el.
2037
2038 2014-10-06 Glenn Morris <rgm@gnu.org>
2039
2040 * Makefile.in (obsolete-autoloads): Write to a separate file,
2041 to workaround autoloads bug. (Bug#17407)
2042 (AUTOGENEL): Add obsolete/loaddefs.el.
2043 * loadup.el: Load obsolete/loaddefs.el if present.
2044 * subr.el (do-after-load-evaluation):
2045 Don't warn about obsolete/loaddefs.el.
2046
2047 * menu-bar.el (menu-bar-games-menu): Remove landmark.
2048 It has zero relationship to a game.
2049
2050 2014-10-06 Leo Liu <sdl.web@gmail.com>
2051
2052 * imenu.el (imenu): Re-write for clarity.
2053
2054 2014-10-06 Glenn Morris <rgm@gnu.org>
2055
2056 Remove calendar code obsolete since at least version 23.1.
2057 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
2058 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
2059 (calendar-goto-bahai-date, list-bahai-diary-entries)
2060 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
2061 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
2062 (insert-yearly-bahai-diary-entry):
2063 * calendar/cal-china.el (chinese-calendar-time-zone)
2064 (chinese-calendar-location-name)
2065 (chinese-calendar-daylight-time-offset)
2066 (chinese-calendar-standard-time-zone-name)
2067 (chinese-calendar-daylight-time-zone-name)
2068 (chinese-calendar-daylight-savings-starts)
2069 (chinese-calendar-daylight-savings-ends)
2070 (chinese-calendar-daylight-savings-starts-time)
2071 (chinese-calendar-daylight-savings-ends-time)
2072 (chinese-calendar-celestial-stem)
2073 (chinese-calendar-terrestrial-branch)
2074 (calendar-absolute-from-chinese, calendar-print-chinese-date)
2075 (calendar-goto-chinese-date):
2076 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
2077 (calendar-print-coptic-date, coptic-prompt-for-date)
2078 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
2079 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
2080 * calendar/cal-french.el (calendar-absolute-from-french)
2081 (calendar-print-french-date, calendar-goto-french-date):
2082 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
2083 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
2084 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
2085 (holiday-rosh-hashanah-etc, holiday-hanukkah)
2086 (holiday-passover-etc, holiday-tisha-b-av-etc)
2087 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
2088 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
2089 (insert-monthly-hebrew-diary-entry)
2090 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
2091 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
2092 (diary-sabbath-candles):
2093 * calendar/cal-islam.el (calendar-absolute-from-islamic)
2094 (calendar-print-islamic-date, calendar-goto-islamic-date)
2095 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
2096 (mark-islamic-diary-entries, insert-islamic-diary-entry)
2097 (insert-monthly-islamic-diary-entry)
2098 (insert-yearly-islamic-diary-entry):
2099 * calendar/cal-iso.el (calendar-absolute-from-iso)
2100 (calendar-print-iso-date, calendar-iso-read-args)
2101 (calendar-goto-iso-date, calendar-goto-iso-week):
2102 * calendar/cal-julian.el (calendar-absolute-from-julian)
2103 (calendar-print-julian-date, calendar-goto-julian-date)
2104 (calendar-absolute-from-astro, calendar-print-astro-day-number)
2105 (calendar-goto-astro-day-number):
2106 * calendar/cal-mayan.el (calendar-print-mayan-date)
2107 (calendar-next-haab-date, calendar-previous-haab-date)
2108 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
2109 (calendar-next-calendar-round-date)
2110 (calendar-previous-calendar-round-date)
2111 (calendar-absolute-from-mayan-long-count)
2112 (calendar-goto-mayan-long-count-date):
2113 * calendar/cal-move.el (scroll-calendar-left)
2114 (scroll-calendar-right, scroll-calendar-left-three-months)
2115 (scroll-calendar-right-three-months):
2116 * calendar/cal-persia.el (calendar-absolute-from-persian)
2117 (calendar-print-persian-date, persian-prompt-for-date)
2118 (calendar-goto-persian-date):
2119 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
2120 * calendar/calendar.el (view-diary-entries-initially)
2121 (mark-diary-entries-in-calendar, calendar-today-face)
2122 (diary-face, holiday-face, view-calendar-holidays-initially)
2123 (mark-holidays-in-calendar, initial-calendar-window-hook)
2124 (today-visible-calendar-hook, today-invisible-calendar-hook)
2125 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
2126 (bahai-diary-entry-symbol, american-date-diary-pattern)
2127 (european-date-diary-pattern, european-calendar-display-form)
2128 (american-calendar-display-form, holidays-in-diary-buffer)
2129 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
2130 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
2131 (fancy-diary-buffer, increment-calendar-month)
2132 (extract-calendar-month, extract-calendar-day)
2133 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
2134 (mark-visible-calendar-date, calendar-version):
2135 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
2136 (diary-display-hook, list-diary-entries-hook)
2137 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
2138 (nongregorian-diary-marking-hook, print-diary-entries-hook)
2139 (abbreviated-calendar-year, number-of-diary-entries)
2140 (view-other-diary-entries, add-to-diary-list)
2141 (include-other-diary-files, simple-diary-display)
2142 (fancy-diary-display, print-diary-entries, mark-diary-entries)
2143 (mark-sexp-diary-entries, mark-included-diary-files)
2144 (mark-calendar-days-named, mark-calendar-month)
2145 (mark-calendar-date-pattern, sort-diary-entries)
2146 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
2147 (insert-weekly-diary-entry, insert-monthly-diary-entry)
2148 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
2149 (insert-block-diary-entry, insert-cyclic-diary-entry)
2150 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
2151 * calendar/holidays.el (general-holidays, oriental-holidays)
2152 (local-holidays, other-holidays, hebrew-holidays)
2153 (christian-holidays, islamic-holidays, bahai-holidays)
2154 (solar-holidays, list-calendar-holidays)
2155 (check-calendar-holidays, mark-calendar-holidays)
2156 (filter-visible-calendar-holidays):
2157 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
2158 (diary-phases-of-moon): Remove obsolete aliases.
2159 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
2160 * calendar/cal-x.el (calendar-one-frame-setup)
2161 (calendar-only-one-frame-setup, calendar-two-frame-setup):
2162 Remove obsolete functions.
2163 (cal-x-load-hook): Remove obsolete hook.
2164 * calendar/calendar.el (european-calendar-style):
2165 Remove obsolete variable.
2166 (calendar-date-style): No longer consult european-calendar-style.
2167 * calendar/calendar.el (european-calendar, american-calendar):
2168 Remove obsolete commands.
2169 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
2170 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
2171 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
2172 Use the face `diary' instead of the variable `diary-face'.
2173 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
2174 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
2175 * calendar/icalendar.el (icalendar--date-style): Remove function.
2176 Replace all uses with calendar-date-style.
2177 * textmodes/remember.el (calendar-date-style): Declare.
2178 (remember-diary-convert-entry):
2179 No longer consult european-calendar-style.
2180
2181 2014-10-05 Leo Liu <sdl.web@gmail.com>
2182
2183 * imenu.el (imenu-default-goto-function): Fix typo.
2184
2185 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2186
2187 * net/ntlm.el (ntlm-build-auth-request):
2188 Add NTLM2 Session support. (Bug#15603)
2189
2190 2014-10-04 Glenn Morris <rgm@gnu.org>
2191
2192 * apropos.el (apropos-symbols-internal):
2193 Avoid error with non-symbol properties. (Bug#18337#16)
2194
2195 * startup.el (command-line):
2196 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
2197
2198 2014-10-04 Martin Rudalics <rudalics@gmx.at>
2199
2200 * window.el (window-full-height-p): Make it behave correctly for
2201 minibuffer window.
2202 (window-current-scroll-bars): Fix code.
2203 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
2204 window-scroll-bars.
2205 * frame.el (frame-current-scroll-bars): Fix doc-string.
2206 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
2207
2208 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2209
2210 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
2211
2212 2014-10-04 Glenn Morris <rgm@gnu.org>
2213
2214 * frame.el (frame-monitor-attributes)
2215 (display-monitor-attributes-list): Doc fixes.
2216
2217 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 Merge trivially safe differences from standalone CC-mode.
2220 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
2221 just to then pass it to `symbol-value'.
2222 (prog-mode): Provide fallback definition, if needed.
2223 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
2224 Remove "cl-" prefix accordingly.
2225 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
2226 characterp depending on the type of characters.
2227 (c-font-lock-enum-tail): Remove unused var `start'.
2228 * progmodes/cc-engine.el: Load CL at compile-time.
2229 (c-declare-lang-variables): Use mapcan.
2230 (c-append-to-state-cache): Remove unused var `ce+1'.
2231 (c-parse-state-state): Make buffer-local.
2232 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
2233 (c-just-after-func-arglist-p): Remove unused var `end'.
2234 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
2235 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
2236 (c-make-keywords-re): Use delete-dups.
2237 (c-get-current-file): Avoid file-name-base.
2238 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
2239 `close-paren-inserted'.
2240 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
2241
2242 * progmodes/python.el: Avoid building unneeded markers.
2243 (python-font-lock-keywords, python-indent-dedent-line)
2244 (python-fill-paren, python-shell-completion-complete-or-indent):
2245 Prefer point over point-marker.
2246 (inferior-python-mode): Remove redundant completion settings.
2247
2248 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
2249
2250 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
2251 (vc-svn-ignore): Use it. (Bug#18619)
2252
2253 2014-10-03 Martin Rudalics <rudalics@gmx.at>
2254
2255 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2256 In doc-string mention need to set `frame-resize-pixelwise'.
2257
2258 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
2261 similarly to Rogers's 2010-06-16 change for the remote case
2262 (bug#18605).
2263
2264 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 New gui-selection-value consolidating x-selection-value.
2267 * select.el (gui-selection-value-alist): New method.
2268 (gui-selection-value): New function.
2269 (x-selection-value): Make it an obsolete alias.
2270 * simple.el (interprogram-paste-function): Default to
2271 gui-selection-value.
2272 * w32-common-fns.el (w32-get-selection-value): Simplify.
2273 (x-selection-value): Remove alias.
2274 (interprogram-paste-function): Don't set.
2275 (gui-selection-value): Define for w32.
2276 * term/x-win.el (gui-selection-value): Define for x.
2277 (x--selection-value): Rename from x--selection-value.
2278 (interprogram-paste-function): Don't set.
2279 * term/pc-win.el (w16-get-selection-value): Simplify.
2280 (msdos-initialize-window-system): Don't set
2281 interprogram-paste-function.
2282 (gui-selection-value): Define for pc.
2283 * term/ns-win.el (x-selection-value): Remove.
2284 (gui-selection-value): Define for ns, instead.
2285 * term/common-win.el (x-setup-function-keys): Don't set
2286 interprogram-paste-function.
2287 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2288 Use gui-selection-value.
2289
2290 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
2291
2292 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
2293
2294 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * obsolete/lucid.el (read-number): Remove, redundant.
2297 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
2298 Remove, broken.
2299
2300 2014-10-02 Glenn Morris <rgm@gnu.org>
2301
2302 * emacs-lisp/package.el (package-import-keyring):
2303 Create gnupg directory private. (Bug#17625#155)
2304
2305 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2306
2307 * progmodes/python.el (python-shell-completion-get-completions):
2308 Use python-shell--prompt-calculated-input-regexp from the
2309 process buffer (bug#18582).
2310 Don't assume that `line' comes from the process buffer.
2311
2312 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2313
2314 * frame.el: Use lexical-binding (bug#18598).
2315 (make-frame): Use t rather than nil for tty's window-system.
2316 * startup.el (command-line): Use gui-method.
2317
2318 Consolidate management/ownership of selections.
2319 * select.el (gui-get-selection-alist): New method.
2320 (gui-get-selection): Use it. Rename from x-get-selection.
2321 (x-get-selection): Define as obsolete alias.
2322 (x-get-clipboard): Mark obsolete.
2323 (gui-get-primary-selection): New function.
2324 (x-get-selection-value): Mark obsolete.
2325 (gui-own-selection-alist, gui-disown-selection-alist)
2326 (gui-selection-owner-p-alist): New methods.
2327 (gui-set-selection): Use them. Rename from x-set-selection.
2328 (x-set-selection): Define as obsolete alias.
2329 (gui--valid-simple-selection-p): Rename from
2330 x-valid-simple-selection-p.
2331 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
2332 (gui-selection-owner-p, gui-get-selection): Define for w32.
2333 (w32-get-selection-value): Rename from x-get-selection-value.
2334 Use the new gui-last-selected-text.
2335 * term/x-win.el (x-get-selection-value): Remove.
2336 (x-clipboard-yank): Declare obsolete.
2337 (gui-own-selection, gui-disown-selection, gui-get-selection)
2338 (gui-selection-owner-p): Define for x.
2339 * term/w32-win.el (w32-win-suspend-error): Rename from
2340 x-win-suspend-error.
2341 * term/pc-win.el (w16-get-selection-value): Rename from
2342 x-get-selection-value.
2343 (w16-selection-owner-p): Rename from x-selection-owner-p.
2344 (gui-own-selection, gui-disown-selection, gui-get-selection)
2345 (gui-selection-owner-p): Define for pc.
2346 (w16--select-text): New function.
2347 * term/ns-win.el (gui-own-selection, gui-disown-selection)
2348 (gui-get-selection, gui-selection-owner-p): Define for ns.
2349 * term.el (term-mouse-paste):
2350 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
2351
2352 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
2353
2354 * calc/calc-help.el (calc-describe-thing): Quote strings
2355 which could look like regexps.
2356
2357 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 Consolidate x-select-text.
2360 * frame.el (gui-method, gui-method-define, gui-method-declare)
2361 (gui-call): New macros.
2362 (gui-method--name): New function.
2363 (frame-creation-function-alist): Use gui-method-declare.
2364 (make-frame): Use gui-method.
2365 * select.el (gui-select-enable-clipboard): Rename from
2366 x-select-enable-clipboard and move here.
2367 (x-select-enable-clipboard): Define as obsolete alias.
2368 (gui-last-selected-text): New var, to replace x-last-selected-text.
2369 (gui-select-text): New GUI method.
2370 (gui-select-text): New function.
2371 (x-select-text): Define as obsolete alias.
2372 * term/common-win.el (x-select-enable-clipboard, x-select-text):
2373 Move to select.el.
2374 * simple.el (interprogram-cut-function): Change default to
2375 x-select-text.
2376 (interprogram-paste-function): Change default to `ignore'.
2377 * w32-common-fns.el (interprogram-cut-function): Don't modify.
2378 * term/x-win.el (interprogram-cut-function): Don't modify.
2379 (gui-select-text): Add method for x.
2380 * term/w32-win.el (gui-select-text): Add method for w32.
2381 * term/pc-win.el (x-last-selected-text): Remove, use
2382 gui-last-selected-text instead.
2383 (msdos-initialize-window-system): Don't set interprogram-cut-function.
2384 (gui-select-text): Add method for pc.
2385 * term/ns-win.el (ns-last-selected-text): Remove, use
2386 gui-last-selected-text instead.
2387 (gui-select-text): Add method for ns.
2388 (x-setup-function-keys): Don't change interprogram-cut-function.
2389 * loadup.el ("startup"): Load after "frame".
2390 * subr.el (package--builtin-versions, package--description-file):
2391 Move from startup.el.
2392 * startup.el (package--builtin-versions, package--description-file):
2393 Move to subr.el.
2394 (handle-args-function-alist, window-system-initialization-alist):
2395 Use gui-method-declare.
2396 (command-line): Use gui-method.
2397
2398 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * subr.el (alist-get): New accessor.
2401 * emacs-lisp/gv.el (alist-get): Provide expander.
2402 * winner.el (winner-remember):
2403 * tempo.el (tempo-use-tag-list):
2404 * progmodes/gud.el (minor-mode-map-alist):
2405 * international/mule-cmds.el (define-char-code-property):
2406 * frameset.el (frameset-filter-params):
2407 * files.el (dir-locals-set-class-variables):
2408 * register.el (get-register, set-register):
2409 * calc/calc-yank.el (calc-set-register): Use it.
2410 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
2411 * tooltip.el (tooltip-set-param): Mark as obsolete.
2412 (tooltip-show): Use alist-get instead.
2413 * ses.el (ses--alist-get): Remove. Use alist-get instead.
2414
2415 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
2416
2417 * net/newst-backend.el: Remove Time-stamp. Rename variable
2418 `newsticker--download-logos' to `newsticker-download-logos' and
2419 make it customizable.
2420 (newsticker--sentinel-work): Move xml-workarounds to function
2421 `newsticker--do-xml-workarounds', call unless libxml-parser is
2422 used. Allow single quote in regexp for encoding.
2423 Use libxml-parser if available, else fall back to `xml-parse-region'.
2424 Take care of possibly missing namespace prefixes (like "RDF"
2425 instead of "rdf:RDF") when checking xml nodes and attributes (as
2426 libxml correctly removes the prefixes). Always use Atom 1.0 as
2427 fallback feed type. Rename `newsticker--download-logos' to
2428 `newsticker-download-logos'
2429 (newsticker--unxml, newsticker--unxml-node)
2430 (newsticker--unxml-attribute): New.
2431 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
2432 HTML code has become part of the xml parse tree.
2433 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
2434 of possibly missing namespace prefixes.
2435 (newsticker--parse-generic-items): Code formatting. Typo.
2436 (newsticker--images-dir): Add trailing slash.
2437 (newsticker--image-get): Fix error message.
2438
2439 * net/newst-plainview.el: Remove Time-stamp.
2440
2441 * net/newst-reader.el: Remove Time-stamp.
2442 (newsticker-download-logos): Rename variable
2443 `newsticker--download-logos' to `newsticker-download-logos' and
2444 make it customizable.
2445 (newsticker--print-extra-elements): Add optional parameter
2446 'htmlish for using html markup. Amend list of ignored elements.
2447 (newsticker--do-print-extra-element): Add parameter 'htmlish for
2448 using html markup.
2449
2450 * net/newst-ticker.el: Remove Time-stamp.
2451
2452 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
2453 for formatting extra elements.
2454
2455 * net/newsticker.el: Remove Time-stamp, Version.
2456 (newsticker-version): Make obsolete.
2457
2458 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
2459
2460 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
2461 (bug#18462).
2462
2463 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2464
2465 * emacs-lisp/package.el (package-check-signature): Default to nil if
2466 GPG is not available.
2467 (package-refresh-contents): Don't mess with the keyring if we won't
2468 check the signatures anyway.
2469
2470 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2471
2472 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
2473 (ses-center, ses-center-span): Use them.
2474 (ses-print-cell): Bind them while calling the printer.
2475 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
2476 (ses-dorange): Revert last change.
2477 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
2478 the formula.
2479 (ses-set-cell): Avoid `eval'.
2480 (ses--time-check): Rename it from ses-time-check and turn it into
2481 a macro.
2482
2483 * ses.el (ses-setup): Don't assume modifying the iteration var of
2484 dotimes affects the iteration (bug#18191).
2485
2486 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
2487
2488 * ses.el (ses-calculate-cell): Bind row and col dynamically to
2489 their values with 'cl-progv'.
2490 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
2491 their values with 'cl-progv', also use non-interned symbols for
2492 row, minrow, maxrow, mincol and maxcol.
2493 (maxrow maxcol): New defvar, to make the compiler happy.
2494
2495 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
2498 completion functions.
2499
2500 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * ses.el (ses--letref): Quote value before it gets re-evaluated.
2503
2504 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
2505
2506 Font-lock `cl-flet*', too.
2507 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
2508 Add "flet*" to intermediate var `cl-lib-kw'.
2509
2510 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * epg-config.el (epg-gpg-program): Use the plain program names rather
2513 than their absolute file name.
2514
2515 * subr.el (track-mouse): New macro.
2516 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2517 Remove track-mouse case.
2518 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
2519
2520 2014-09-27 Leo Liu <sdl.web@gmail.com>
2521
2522 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
2523
2524 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
2525
2526 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
2529 Handle the case where `match' is :pcase--succeed or :pcase--fail
2530 (bug#18554).
2531
2532 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
2533 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
2534 (eldoc-schedule-timer): Obey it.
2535 (eldoc-documentation-function): Default to nil.
2536 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
2537 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
2538 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
2539 (eldoc-last-data-store, eldoc-docstring-first-line)
2540 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
2541 (eldoc-beginning-of-sexp, eldoc-current-symbol)
2542 (eldoc-function-argstring): Move to elisp-mode.el.
2543 (eldoc-symbol-function): Remove, unused.
2544 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
2545 (elisp-completion-at-point): Rename from lisp-completion-at-point.
2546 (elisp--preceding-sexp): Rename from preceding-sexp.
2547 * loadup.el: Load new file progmodes/elisp-mode.
2548 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
2549 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
2550 (lisp--local-variables-completion-table, lisp--expect-function-p)
2551 (lisp--form-quoted-p, lisp--company-doc-buffer)
2552 (lisp--company-doc-string, lisp--company-location)
2553 (lisp-completion-at-point): Move to elisp-mode.el.
2554 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
2555 extracted from emacs-lisp-mode-syntax-table.
2556 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
2557 elisp-mode.el.
2558 (lisp-imenu-generic-expression): Add comments to document what comes
2559 from which Lisp dialect.
2560 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
2561 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
2562 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
2563 (emacs-lisp-byte-code-comment)
2564 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
2565 (lisp-interaction-mode-map, lisp-interaction-mode)
2566 (eval-print-last-sexp, last-sexp-setup-props)
2567 (last-sexp-toggle-display, prin1-char, preceding-sexp)
2568 (eval-last-sexp-1, eval-last-sexp-print-value)
2569 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
2570 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
2571
2572 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
2573
2574 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
2575 Do not match file names that end in '/', as they cannot be 'grep'
2576 hits nowadays. This prevents confusion when 'grep -r' reports a
2577 match in a file whose basename is ':12345:'. Conversely, do not
2578 require exactly the same sequence of spaces and tabs after both
2579 colons, and allow spaces or tabs before the second colon, as per
2580 the POSIX spec for 'grep' output.
2581
2582 2014-09-26 Leo Liu <sdl.web@gmail.com>
2583
2584 Add cl-parse-integer based on parse-integer (Bug#18557)
2585 * calendar/parse-time.el (parse-time-digits): Remove.
2586 (digit-char-p, parse-integer) Moved to cl-lib.el.
2587 (parse-time-tokenize, parse-time-rules, parse-time-string):
2588 Use cl-parse-integer.
2589
2590 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
2591
2592 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
2593 (cl-digit-char-p): New function.
2594
2595 2014-09-25 Juri Linkov <juri@jurta.org>
2596
2597 * vc/add-log.el (change-log-next-buffer): Don't create an empty
2598 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
2599 Return the current buffer if no files match the default pattern
2600 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
2601
2602 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
2605 the global vc-handled-backends (bug#18535).
2606
2607 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
2610 Suggested by <lompik@voila.fr>.
2611
2612 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
2613
2614 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
2615 Rename from `newsticker--treeview-do-get-node'.
2616 (newsticker--treeview-get-node-by-id):
2617 Rename from `newsticker--treeview-get-node'.
2618 (newsticker--treeview-buffer-init)
2619 (newsticker--treeview-buffer-init): Disable buffer undo.
2620 (newsticker--treeview-unfold-node): Adapt to modified
2621 `newsticker--group-find-parent-group'.
2622 (newsticker--group-do-find-group):
2623 Rename from `newsticker--group-do-find-group-for-feed'.
2624 Now works for both, groups and feeds.
2625 (newsticker--group-find-parent-group):
2626 Rename from `newsticker--group-find-group-for-feed'.
2627 Now works for both, groups and feeds.
2628 (newsticker--group-do-get-parent-group)
2629 (newsticker--group-get-parent-group): Remove.
2630 (newsticker-group-add-group): Change interactive prompts.
2631 (newsticker-group-add-group): Finally jump to added group.
2632 (newsticker-group-delete-group): Finally jump to current feed.
2633 (newsticker--group-do-rename-group, newsticker-group-rename-group)
2634 (newsticker--get-group-names, newsticker--group-names): New.
2635 (newsticker-group-move-feed): Finally jump to moved feed.
2636 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
2637 (newsticker-group-shift-group-down)
2638 (newsticker-group-shift-group-up, newsticker--group-shift): New.
2639 (newsticker-treeview-mode-map): New keybindings for new shift commands.
2640
2641 * net/newst-backend.el (newsticker--item-list)
2642 (newsticker--item-position, newsticker--prev-message)
2643 (newsticker--scrollable-text): Move to newst-ticker.el.
2644
2645 * net/newst-ticker.el (newsticker--item-list)
2646 (newsticker--item-position, newsticker--prev-message)
2647 (newsticker--scrollable-text): Move from newst-backend.el.
2648
2649 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
2650
2651 * window.el (fit-window-to-buffer): When counting buffer width,
2652 count the whole visible buffer. Correctly convert the body-height
2653 to pixel size for window-text-pixel-size (Bug#18498).
2654
2655 2014-09-22 Sam Steingold <sds@gnu.org>
2656
2657 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
2658 (sql-execute): Use `special-mode'.
2659
2660 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 Add pcase-defmacro, as well as `quote' and `app' patterns.
2663 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
2664 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
2665 (pcase--funcall, pcase--eval): New functions.
2666 (pcase--u1): Use them for guard, pred, let, and app.
2667 (\`): Use the new feature to generate better code for vector patterns.
2668 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
2669 (pcase--upat): Remove.
2670 (pcase--macroexpand): Don't hardcode handling of `.
2671 (pcase--split-consp, pcase--split-vector): Remove.
2672 (pcase--split-equal): Disregard ` since it's expanded away.
2673 (pcase--split-member): Optimize for quote rather than for `.
2674 (pcase--split-pred): Optimize for quote rather than for `.
2675 (pcase--u1): Remove handling of ` (and of `or' and `and').
2676 Quote non-selfquoting values when passing them to `eq'.
2677 Drop `app's let-binding if the variable is not used.
2678 (pcase--q1): Remove.
2679 (`): Define as a pattern macro.
2680 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
2681 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
2682 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
2683 quote patterns.
2684 (pcase--split-match): Don't hoist or/and here any more.
2685 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
2686 (pcase--flip): New helper macro.
2687 (pcase--u1): Optimize the memq case directly.
2688 Don't handle neither self-quoting nor and/or patterns any more.
2689 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
2690 (pcase--macroexpand): New function.
2691 (pcase--expand): Use it.
2692 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
2693 New optimization functions.
2694 (pcase--u1): Add support for `quote' and `app'.
2695 (pcase): Document them in the docstring.
2696
2697 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2698
2699 Use lexical-bindin in Ibuffer.
2700 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
2701 (ibuffer-compile-format): Simplify.
2702 (ibuffer-clear-summary-columns): Simplify.
2703 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
2704 elem of dotimes when we don't refer to the iteration var from it.
2705 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
2706 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
2707 Silence byte-compiler.
2708
2709 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2710
2711 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
2712 expression for a list.
2713
2714 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
2715 for functions with no arguments.
2716
2717 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
2718 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
2719
2720 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
2721
2722 * simple.el (clone-indirect-buffer): Mention the return value
2723 (bug#18478).
2724
2725 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
2726 Text mode in docstring (bug#18464).
2727
2728 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2731 Accept underscores in identifiers after "sub" (bug#18502).
2732
2733 2014-09-21 Tassilo Horn <tsdh@gnu.org>
2734
2735 * textmodes/reftex-sel.el (reftex-select-label-mode)
2736 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
2737 from special-mode (instead of fundamental-mode) and propertize
2738 with font-lock-face instead of just face. (Bug#18496)
2739
2740 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
2741
2742 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2743
2744 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
2745 `table-etc' when `end' is non-nil.
2746 (lisp-completion-at-point): Move `end' back if it's after quote.
2747 If in comment or string, only complete when after backquote.
2748 (Bug#18265)
2749 (lisp-completion-at-point): Don't use
2750 `lisp--local-variables-completion-table' in the
2751 `lisp--form-quoted-p' case.
2752
2753 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2754
2755 * emacs-lisp/lisp.el (lisp--expect-function-p)
2756 (lisp--form-quoted-p): New functions.
2757 (lisp-completion-at-point): Use them to see if we're completing a
2758 variable reference, a function name, or just any symbol.
2759 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
2760
2761 2014-09-18 Ivan Kanis <ivan@kanis.fr>
2762
2763 * net/shr.el, net/eww.el: Don't override `shr-width', but
2764 introduce a new variable `shr-internal-width'. This allows users
2765 to specify a width themselves.
2766
2767 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2768
2769 * image-mode.el (image-toggle-display-image): If we have a
2770 `fit-width' or a `fit-height', don't limit the size of the image
2771 to the window size, because that doesn't preserve the aspect ratio.
2772 * image-mode.el: Move defvars earlier to avoid a byte-compilation
2773 warning.
2774
2775 2014-09-17 Reuben Thomas <rrt@sc3d.org>
2776
2777 * progmodes/js.el: Add interpreter-mode-alist support for various
2778 JavaScript interpreters.
2779
2780 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
2781
2782 Don't assume 'grep' supports GREP_OPTIONS.
2783 The GREP_OPTIONS environment variable is planned to be marked
2784 obsolescent in GNU grep, due to problems in its use, so stop
2785 relying on it.
2786 * progmodes/grep.el (grep-highlight-matches): Document this.
2787 (grep-process-setup): Do not set GREP_OPTIONS.
2788 (grep-compute-defaults): Use an explicit --color option if supported.
2789
2790 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
2793 Don't add outdated key-shortcut cache (bug#18482).
2794
2795 2014-09-15 Glenn Morris <rgm@gnu.org>
2796
2797 * image.el (image-multi-frame-p): Fix thinko - do not force
2798 a delay if none was specified. (Bug#18334)
2799
2800 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
2801
2802 * window.el (fit-window-to-buffer): Doc fix.
2803
2804 2014-09-15 Ivan Shmakov <ivan@siamics.net>
2805
2806 * desktop.el (desktop-create-buffer): Check that buffers are still live
2807 before burying them (bug#18373).
2808
2809 2014-09-15 Glenn Morris <rgm@gnu.org>
2810
2811 * calendar/diary-lib.el (diary-list-entries):
2812 Restore 24.3 display behavior. (Bug#18381)
2813
2814 2014-09-15 Eli Zaretskii <eliz@gnu.org>
2815
2816 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
2817 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
2818 discrepancy between window-pixel-edges and mouse events, and
2819 avoids moving mode line up when the mouse click is on the modeline
2820 and no drag is attempted.
2821
2822 2014-09-14 Daniel Colascione <dancol@dancol.org>
2823
2824 * register.el (insert-register): Change default interactive
2825 insertion mode.
2826
2827 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
2828
2829 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
2830 Suppress debug messages.
2831
2832 * net/tramp.el (tramp-file-name-handler):
2833 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
2834 appropriate.
2835
2836 2014-09-13 Christopher Schmidt <ch@ristopher.com>
2837
2838 * calendar/calendar.el (calendar-update-mode-line):
2839 Do not overwrite mode-line-format if calendar-mode-line-format is
2840 nil. (Bug#18467)
2841
2842 2014-09-13 Leo Liu <sdl.web@gmail.com>
2843
2844 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
2845 (pcase--expand): Use it.
2846 (pcase-exhaustive): New macro. (Bug#16567)
2847
2848 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2849 Add pcase-exhaustive.
2850
2851 2014-09-13 Eli Zaretskii <eliz@gnu.org>
2852
2853 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
2854 using the specified transfer-encoding, if any, or 'undecided'.
2855 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
2856 broken at the window margin.
2857
2858 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
2859
2860 Support rendering of HTML parts in Rmail (bug#4258).
2861 * mail/rmailmm.el (rmail-mime-process): Handle text/html
2862 separately from other text/ types. Suppress tagline for
2863 multipart body.
2864 (rmail-mime-parse): Don't change visibility of tagline here.
2865 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
2866 Handle text/html specially.
2867 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
2868 (rmail-mime-insert-html, rmail-mime-render-html-shr)
2869 (rmail-mime-render-html-lynx): New functions.
2870 (rmail-mime-fix-inserted-faces): New function.
2871 (rmail-mime-process-multipart): Find the best part to show
2872 following rmail-mime-prefer-html if set.
2873 (rmail-mime-searching): New variable.
2874 (rmail-search-mime-message): Bind rmail-mime-searching to
2875 suppress rendering while searching.
2876
2877 2014-09-12 Sam Steingold <sds@gnu.org>
2878
2879 * progmodes/sql.el (sql-product-alist): Add vertica.
2880 (sql-vertica-program, sql-vertica-options)
2881 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
2882 New functions and variables to support Vertica.
2883 Inspired by code by Roman Scherer <roman@burningswell.com>.
2884
2885 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
2886
2887 * ses.el (ses-file-format-extend-parameter-list): Rename from
2888 ses-file-format-extend-paramter-list, to correct a misspelling.
2889 All uses changed.
2890
2891 2014-09-10 Alan Mackenzie <acm@muc.de>
2892
2893 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
2894 gets loaded at run-time).
2895 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
2896 c-lang-const to c-make-no-parens-syntax-table and correct the
2897 logic.
2898 (c-no-parens-syntax-table): Correct the logic of the
2899 c-lang-defvar.
2900
2901 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
2904 plus misc cleanup.
2905 * progmodes/cc-mode.el (c-basic-common-init):
2906 Set open-paren-in-column-0-is-defun-start.
2907 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
2908 Remove declarations, unused.
2909 (run-mode-hooks): Remove declaration.
2910 (font-lock-defaults): Use plain `defvar' to declare.
2911 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
2912 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
2913 (c-make-mode-syntax-table): Don't micro-optimize.
2914 (c-keywords, c-keyword-member-alist): Simplify.
2915 (c-kwds-lang-consts): Don't eval at compile-time.
2916 (c-primary-expr-regexp): Comment out unused vars.
2917 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
2918 (c-font-byte-compile): New var.
2919 (c--compile): New function. Use it instead of `byte-compile'.
2920 (c-cpp-matchers): Quote the value returned by
2921 `c-make-syntactic-matcher' in case it's not self-evaluating.
2922 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
2923 parentheses instead (in case MATCHER happens to be a list).
2924 (c-font-lock-enum-tail): Remove unused var `start'.
2925 (c-font-lock-objc-methods): Silence byte-compiler warnings.
2926 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
2927 test into an argument.
2928 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
2929 (c-get-char-property): Don't use `eval' just to unquote a constant.
2930 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
2931 more efficiently.
2932 (c-put-char-property-fun): Don't call `byte-compile' by hand.
2933 (c-clear-char-property, c-clear-char-properties): Check that `property'
2934 is a quoted constant.
2935 (c-emacs-features): Remove `infodock', `syntax-properties', and
2936 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
2937 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
2938 changing buffer, so we don't have to setq them again afterwards.
2939 (c-lang-const): Remove redundant symbolp assertions.
2940 (c-find-assignment-for-mode): Use `or'.
2941 * Makefile.in (compile-one-process): Remove cc-mode dependency.
2942
2943 2014-09-09 Sam Steingold <sds@gnu.org>
2944
2945 * progmodes/sql.el (sql-default-directory): Fix type annotation.
2946
2947 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2948
2949 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
2950 Change doc comments into docstrings.
2951 * Makefile.in: Remove cc-awk dependency.
2952
2953 2014-09-08 Sam Steingold <sds@gnu.org>
2954
2955 * progmodes/sql.el (sql-send-line-and-next): New command,
2956 bound to C-c C-n.
2957 (sql-show-sqli-buffer): Display the buffer instead of its name and
2958 bind the command to C-c C-z.
2959 (sql-default-directory): New user option.
2960 (sql-product-interactive): Bind `default-directory' to it to
2961 enable remote connections using Tramp.
2962 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
2963 suitable buffer is available.
2964
2965 2014-09-08 Glenn Morris <rgm@gnu.org>
2966
2967 * calendar/calendar.el (calendar-basic-setup):
2968 Fix calendar-view-holidays-initially-flag and fancy display.
2969 * calendar/diary-lib.el (diary-live-p): Doc fix.
2970
2971 * calendar/calendar.el (calendar-basic-setup):
2972 Avoid clobbering calendar with diary. (Bug#18381)
2973
2974 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
2977
2978 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
2979
2980 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
2981 as well (bug#18400).
2982
2983 2014-09-08 Eli Zaretskii <eliz@gnu.org>
2984
2985 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
2986
2987 2014-09-06 Leo Liu <sdl.web@gmail.com>
2988
2989 * emacs-lisp/pcase.el (pcase): Doc fix.
2990 (pcase--split-vector): New function.
2991 (pcase--q1): Support vector qpattern. (Bug#18327)
2992
2993 2014-09-05 Sam Steingold <sds@gnu.org>
2994
2995 * textmodes/tex-mode.el (tex-print-file-extension): New user
2996 option.
2997 (tex-print): Use it instead of the hard-coded string.
2998
2999 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
3000
3001 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3002 Expand `default-directory'.
3003
3004 2014-09-05 Martin Rudalics <rudalics@gmx.at>
3005
3006 * scroll-bar.el (horizontal-scroll-bars-available-p):
3007 New function.
3008 (horizontal-scroll-bar-mode): Rewrite using
3009 horizontal-scroll-bars-available-p.
3010 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
3011 horizontal-scroll-bars-available-p.
3012
3013 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * subr.el (call-process-shell-command, process-file-shell-command):
3016 Make the `args' obsolete (bug#18409).
3017 (start-process-shell-command, start-file-process-shell-command):
3018 Use `declare'.
3019
3020 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
3021
3022 * calc/calc-forms.el (math-normalize-hms): Do a better check for
3023 "negative" hms forms.
3024
3025 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
3026
3027 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
3028 returns nil (bug#18391).
3029
3030 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
3033 terminating paren (bug#18352).
3034 (eldoc-last-data-store): Return cached data.
3035 (eldoc-get-var-docstring): Avoid setq.
3036 (eldoc-get-fnsym-args-string): Clarify data flow.
3037
3038 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3039
3040 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
3041 case where we're currently providing part of the &rest arg after some
3042 &key args, as in define-ibuffer-op (bug#18048).
3043
3044 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
3047 buffer-local setting of which-func-mode.
3048 (which-func-mode): Use defvar-local.
3049 (which-function-mode): Don't reset which-func-mode in each buffer since
3050 it might have been set by someone else.
3051 (which-func-update-ediff-windows): Check which-function-mode.
3052
3053 2014-09-03 Martin Rudalics <rudalics@gmx.at>
3054
3055 * frame.el (frame-initialize): Remove horizontal-scroll-bars
3056 from frame-initial-frame-alist.
3057 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
3058 (horizontal-scroll-bar-mode-explicit)
3059 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
3060 (toggle-horizontal-scroll-bar): Remove.
3061 (horizontal-scroll-bar-mode): Remove defcustom.
3062 (horizontal-scroll-bar-mode): Fix doc-string.
3063 (scroll-bar-toolkit-scroll)
3064 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
3065
3066 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * emacs-lisp/package.el (package-generate-description-file):
3069 Properly quote the arguments (bug#18332). Change second arg.
3070 (package--alist-to-plist-args): Rename from package--alist-to-plist and
3071 quote the elements.
3072 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
3073 the *-pkg.el file. Adjust to new calling convention of
3074 package-generate-description-file.
3075
3076 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
3077 (gud-gdb-completions): Remove obsolete workaround.
3078
3079 2014-09-03 Eli Zaretskii <eliz@gnu.org>
3080
3081 * subr.el (posn-col-row): Revert the change from commit
3082 2010-11-13T21:07:58Z!eliz@gnu.org, which
3083 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
3084 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
3085 introduced an off-by-one error in the reported row when there is a
3086 header line. (Bug#18384)
3087
3088 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
3089
3090 * progmodes/python.el (python-indent-post-self-insert-function):
3091 Avoid electric colon at beginning-of-defun. (Bug#18228)
3092
3093 2014-09-03 Glenn Morris <rgm@gnu.org>
3094
3095 * tutorial.el (tutorial--display-changes):
3096 Fix 2014-08-01 change. (Bug#18382)
3097
3098 2014-09-03 Ken Brown <kbrown@cornell.edu>
3099
3100 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
3101 the Cygwin-w32 build. (Bug#18347)
3102
3103 2014-09-03 Glenn Morris <rgm@gnu.org>
3104
3105 * tar-mode.el (tar--extract, tar-extract):
3106 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
3107
3108 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
3111 handle multiline elements (bug#18380).
3112
3113 2014-09-01 Eli Zaretskii <eliz@gnu.org>
3114
3115 * ls-lisp.el (ls-lisp-use-string-collate)
3116 (ls-lisp-UCA-like-collation): New defcustoms.
3117 (ls-lisp-string-lessp): Use them to control sorting by file
3118 names. (Bug#18051)
3119 (ls-lisp-version-lessp): New function.
3120 (ls-lisp-handle-switches): Use it to implement the -v switch of
3121 GNU ls.
3122 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
3123
3124 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
3125
3126 * ibuffer.el: Replace mode-specific quit function with
3127 `quit-window' via `special-mode'.
3128 (ibuffer-mode-map): Use keybindings from special-mode-map instead
3129 of local overrides.
3130 (ibuffer): Don't store previous windows configuration.
3131 Let `quit-window' handle restoring.
3132 (ibuffer-quit): Remove function. Use `quit-window' instead.
3133 (ibuffer-restore-window-config-on-quit): Remove variable.
3134 (ibuffer-prev-window-config): Remove variable.
3135
3136 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
3137
3138 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
3139 name instead of variable name in hook docstring. (Bug#18349)
3140
3141 2014-08-29 Martin Rudalics <rudalics@gmx.at>
3142
3143 * window.el (display-buffer-at-bottom): Prefer bottom-left
3144 window to other bottom windows. Reuse a bottom window if it
3145 shows the buffer already. Suggested by Juri Linkov
3146 <juri@jurta.org> in discussion of (Bug#18181).
3147
3148 2014-08-29 Leo Liu <sdl.web@gmail.com>
3149
3150 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
3151 append to minibuffer-setup-hook. (Bug#18341)
3152
3153 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
3156 byte-compiler.
3157 (lookup-syntax-properties): Silence byte-compiler.
3158 (c-lang-defconst): Quote the code with `lambda' rather than with
3159 `quote'.
3160 (c-lang-const): Avoid unneeded setq.
3161 (c-lang-constants-under-evaluation): Add docstring.
3162 (c-lang--novalue): New constant.
3163 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
3164 (c-get-lang-constant): Same here.
3165 Get the mode's value using `funcall' now that the code is quoted
3166 with `lambda'.
3167
3168 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
3169
3170 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
3171 (Bug#18326)
3172
3173 2014-08-28 Martin Rudalics <rudalics@gmx.at>
3174
3175 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
3176 interpretation of `portion-whole'.
3177
3178 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
3179
3180 * net/tramp-adb.el: Spell author name correctly.
3181
3182 2014-08-28 João Távora <joaotavora@gmail.com>
3183
3184 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
3185 use url-expand-file-name. (Bug#18310)
3186
3187 2014-08-28 Glenn Morris <rgm@gnu.org>
3188
3189 * emulation/cua-rect.el (cua--highlight-rectangle):
3190 Avoid error at point-min. (Bug#18309)
3191
3192 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3193
3194 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
3195 executable-find (bug#18244).
3196
3197 * simple.el (self-insert-uses-region-functions): Defvar.
3198
3199 2014-08-28 Glenn Morris <rgm@gnu.org>
3200
3201 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
3202
3203 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
3204
3205 * startup.el (normal-top-level): Now use internal--top-level-message.
3206
3207 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
3208
3209 * startup.el (normal-top-level): Use top-level-message.
3210
3211 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3212
3213 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
3214 URLs containing spaces and the like.
3215
3216 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
3217
3218 * subr.el (remq): Fix docstring (Bug#18253).
3219
3220 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
3221
3222 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
3223
3224 2014-08-24 Alan Mackenzie <acm@muc.de>
3225
3226 Handle C++11's "auto" and "decltype" constructions.
3227 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
3228 and return 'decltype.
3229 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
3230 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
3231 keyword.
3232 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
3233 "decltype" keyword.
3234 (c-font-lock-c++-new): Handle "decltype" constructions.
3235 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
3236 New c-lang-defconsts/defvars.
3237 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
3238 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
3239 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
3240 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
3241
3242 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
3243 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
3244 off from c->-op-cont-re.
3245 (c->-op-cont-tokens): Change to use the above.
3246 (c->-op-without->-cont-regexp): New lang-const.
3247 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
3248 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
3249
3250
3251 2014-08-23 Alan Mackenzie <acm@muc.de>
3252
3253 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
3254 loop, bug #18306. The bug was introduced on 2014-08-02.
3255
3256 2014-08-21 Eli Zaretskii <eliz@gnu.org>
3257
3258 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
3259 Don't recognize a Top node if there are other sectioning commands
3260 earlier in the Texinfo file. This fixes a bug in
3261 texinfo-make-menu and avoids inflooping in
3262 texinfo-all-menus-update when they are invoked on texinfo.texi.
3263
3264 2014-08-21 Martin Rudalics <rudalics@gmx.at>
3265
3266 * window.el (window--side-window-p): New function.
3267 (split-window, window-splittable-p): Use window--side-window-p to
3268 determine whether WINDOW can be split (Bug#18304).
3269 * calendar/calendar.el (calendar-basic-setup): Fix one call of
3270 `window-splittable-p' and add another (Bug#18304).
3271
3272 2014-08-20 Sam Steingold <sds@gnu.org>
3273
3274 * progmodes/python.el (python-new-pythonpath): Extract from
3275 `python-shell-calculate-process-environment'.
3276
3277 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3278
3279 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
3280 for &key args (bug#18048).
3281
3282 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
3285 (eldoc-function-argstring-format): Remove.
3286 (eldoc-function-argstring): Always return upcase args.
3287 Use help-make-usage. Don't add parens.
3288 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
3289 it's too late to do it right (bug#18048).
3290
3291 2014-08-18 Eli Zaretskii <eliz@gnu.org>
3292
3293 * scroll-bar.el (scroll-bar-horizontal-drag-1)
3294 (scroll-bar-toolkit-horizontal-scroll): When determining the
3295 paragraph direction, use the buffer of the window designated in
3296 the event.
3297
3298 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
3299
3300 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
3301 context of unified diff.
3302
3303 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
3304
3305 Add dependencies to fix loaddefs race during parallel builds.
3306 Without this, for example, 'make -j bootstrap' can fail and report
3307 "Opening input file: no such file or directory,
3308 .../lisp/calendar/diary-loaddefs.el ... recipe for target
3309 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
3310 got confused because diary-loaddefs.el was being built in parallel.
3311 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
3312 Depend on $(CAL_DIR)/cal-loaddefs.el.
3313 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
3314
3315 2014-08-16 Martin Rudalics <rudalics@gmx.at>
3316
3317 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
3318 portion-whole for scrolling right-to-left text.
3319
3320 2014-08-15 Leo Liu <sdl.web@gmail.com>
3321
3322 * speedbar.el (speedbar-generic-list-tag-p): Allow special
3323 elements from imenu.
3324
3325 2014-08-15 Glenn Morris <rgm@gnu.org>
3326
3327 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
3328
3329 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
3330
3331 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3332 Add Guile regexpses.
3333
3334 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
3335
3336 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
3337 add Guile debugger support for GUD.
3338
3339 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3340
3341 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
3342 (mouse-sel--ignore): New function.
3343 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
3344 (mouse-sel-original-interprogram-cut-function)
3345 (mouse-sel-original-interprogram-paste-function): Remove.
3346
3347 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
3348
3349 * vc/vc-git.el (vc-git-resolve-when-done): New function.
3350 Call "git add" when there are no longer conflict markers.
3351
3352 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3353
3354 * vc/vc-git.el (vc-git-find-file-hook): New function.
3355 Adds support for calling smerge (and resolve) on a conflicted file.
3356 (vc-git-conflicted-files): New function.
3357 Useful in itself and a step towards better smerge support.
3358
3359 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
3362 to the first part if they're the same as the selection.
3363
3364 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3365
3366 * image-mode.el (image-transform-reset): New command and menu item.
3367 (image-mode-map): Rearrange the menu items to put presumably more
3368 obscure items at the end.
3369
3370 2014-08-12 Juri Linkov <juri@jurta.org>
3371
3372 * vc/vc-annotate.el (vc-annotate-background-mode):
3373 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
3374
3375 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * files.el (out-of-memory-warning-percentage): Turn it off by default.
3378
3379 2014-08-11 Sam Steingold <sds@gnu.org>
3380
3381 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
3382 the presence of known validators (tidy, (o)nsgmls).
3383
3384 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
3385
3386 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
3387
3388 * net/newst-treeview.el (newsticker-treeview-date-format): New.
3389 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
3390
3391 2014-08-11 Glenn Morris <rgm@gnu.org>
3392
3393 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
3394 chose coding system for writing before backing up, since it causes
3395 a more serious problem than the one it solves. (Closes Bug#18141,
3396 reopens Bug#13522.)
3397
3398 2014-08-11 Martin Rudalics <rudalics@gmx.at>
3399
3400 * window.el (window-total-size): Make doc-string more self-contained.
3401
3402 * window.el (display-buffer-below-selected): Restore original
3403 behavior if buffer is already displayed in the window below the
3404 selected one (Bug#18181).
3405
3406 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
3409 event (bug#18212).
3410
3411 2014-08-11 Eli Zaretskii <eliz@gnu.org>
3412
3413 * info.el (info): Doc fix.
3414
3415 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * info.el (Info-mode-map): Override a global down-mouse-2 binding
3418 (bug#18212).
3419
3420 2014-08-11 Eli Zaretskii <eliz@gnu.org>
3421
3422 * simple.el (default-line-height): A floating-point value of
3423 line-spacing means a fraction of the default frame font's height,
3424 not of the font currently used by the 'default' face.
3425 Truncate the pixel value, like the display engine does.
3426 (window-screen-lines): Use window-inside-pixel-edges for
3427 determining the window height in pixels. (Bug#18195)
3428
3429 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
3430
3431 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
3432
3433 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
3434
3435 Enumerate evaluated sexp diary entries (Bug#7911).
3436 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
3437 (icalendar-export-sexp-enumeration-days): New.
3438 (icalendar-export-region): Now `icalendar--convert-to-ical'
3439 returns a cons cell or a list of cons cells.
3440 (icalendar--convert-to-ical): Take care of
3441 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
3442 (icalendar--convert-ordinary-to-ical)
3443 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3444 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
3445 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
3446 (icalendar--convert-anniversary-to-ical): Return cons cell.
3447 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
3448 entries. Return (list of) cons cells.
3449
3450 2014-08-09 Juri Linkov <juri@jurta.org>
3451
3452 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
3453 to reevaluate `vc-annotate-color-map'. (Bug#18189)
3454
3455 2014-08-09 Alan Mackenzie <acm@muc.de>
3456
3457 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
3458 for top-level that can cause unacceptable slow-down in scrolling.
3459 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
3460 Antipov from 2013-10-14 in emacs-devel.
3461
3462 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3463
3464 * ibuffer.el (ibuffer-mode-map): Use toggle button for
3465 `ibuffer-auto-mode' menu entry.
3466 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
3467
3468 2014-08-08 Matthias Meulien <orontee@gmail.com>
3469
3470 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
3471 (Bug#16394)
3472
3473 2014-08-07 Martin Rudalics <rudalics@gmx.at>
3474
3475 * window.el (window--min-size-1): Explicitly set WINDOW arg in
3476 calls of window-min-pixel-height and window-min-pixel-width.
3477
3478 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3479
3480 * progmodes/ada-mode.el:
3481 * net/tramp.el (tramp-handle-file-symlink-p):
3482 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
3483 about VMS, which we no longer support.
3484 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
3485 and fix a FIXME, using convert-standard-filename in place of
3486 removed ada-convert-file-name.
3487
3488 2014-08-07 Eli Zaretskii <eliz@gnu.org>
3489
3490 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
3491
3492 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3493
3494 Refer to MS-DOS using the same name everywhere.
3495 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
3496 ``msdog'' become ``MS-DOS''.
3497
3498 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
3499
3500 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3501 Use cached "remote-copy-args" value, if available. (Bug#18199)
3502
3503 2014-08-07 Leo Liu <sdl.web@gmail.com>
3504
3505 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
3506 Revert change on 2014-03-22.
3507
3508 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
3509
3510 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
3511 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
3512 (Bug#13750).
3513
3514
3515 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3516
3517 * image-mode.el (image-toggle-display-image): Always rescale images
3518 to not be bigger than the current window.
3519
3520 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
3521
3522 * net/eww.el (eww-bookmarks-directory): New variable.
3523 (eww-write-bookmarks): Use it.
3524 (eww-read-bookmarks): Ditto.
3525
3526 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3527
3528 * net/shr.el (shr-copy-url): Also copy the image URL.
3529
3530 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
3531
3532 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
3533 also for Tramp working buffers.
3534
3535 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3536
3537 * progmodes/python.el: Fix completions inside (i)pdb.
3538 (python-shell-completion-pdb-string-code): Make obsolete.
3539 (python-shell-completion-get-completions):
3540 Use python-shell-completion-string-code resending setup code
3541 continuously for (i)pdb.
3542
3543 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
3544
3545 * rect.el (rectangle--default-line-number-format): Rename
3546 from misspelled rectange--default-line-number-format (Bug#18045).
3547 All uses changed.
3548
3549 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
3550
3551 Don't mishandle year-9999 dates (Bug#18176).
3552 * calendar/parse-time.el (parse-time-rules):
3553 Allow years up to most-positive-fixnum.
3554 * calendar/time-date.el (date-to-time):
3555 Pass "Specified time is not representable" errors through.
3556
3557 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3558
3559 * progmodes/python.el: Completion code cleanups.
3560 (python-shell-completion-get-completions): Detect and send import
3561 statements directly to completion function.
3562 (python-shell-completion-at-point): Simplify prompt calculation
3563 and import vs input completion logic.
3564
3565 2014-08-02 Alan Mackenzie <acm@muc.de>
3566
3567 Fix confusion in C++ file caused by comma in "= {1,2},".
3568 Bug #17756.
3569 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
3570 for a statement boundary marked by "}", check there's no "="
3571 before the "{".
3572 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
3573 non-nil `comma-delim' argument.
3574 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
3575 initializer expression more accurately.
3576
3577 Correct loop termination condition in c-syntactic-skip-backward.
3578 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
3579 the situation where, after moving back out of a literal,
3580 skip-chars-backward doesn't move further, yet checks have still to
3581 be done.
3582
3583 2014-08-01 Eli Zaretskii <eliz@gnu.org>
3584
3585 * tutorial.el (tutorial--display-changes): Accept punctuation
3586 characters before the key binding. (Bug#18146)
3587
3588 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
3589
3590 * progmodes/python.el: Shell output capture enhancements.
3591 (python-shell-accept-process-output): New function.
3592 (inferior-python-mode)
3593 (python-shell-send-setup-code): Use it.
3594
3595 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
3596
3597 * calendar/icalendar.el (icalendar--decode-isodatetime):
3598 Use actual current-time-zone when converting to local time. (Bug#15408)
3599
3600 2014-07-29 Martin Rudalics <rudalics@gmx.at>
3601
3602 * window.el (window--state-put-2): Handle horizontal scroll
3603 bars, if present.
3604
3605 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3606
3607 * menu-bar.el (menu-bar-update-buffers): Update item list format
3608 in `buffers-menu' to confirm with changes to `get_keyelt'
3609 (r117463). (Bug#18016)
3610
3611 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3612
3613 * progmodes/python.el (inferior-python-mode): Make input prompts
3614 read-only.
3615
3616 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
3617
3618 * net/tramp-sh.el (tramp-get-remote-python): Also search for
3619 executables named "python2" or "python3".
3620 (tramp-get-remote-uid-with-python): Use parentheses around
3621 arguments to `print' to make it compatible with Python 3.
3622 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
3623
3624 2014-07-28 Eli Zaretskii <eliz@gnu.org>
3625
3626 * window.el (window--pixel-to-total): Use FRAME's root window, not
3627 that of the selected frame. (Bug#18112, Bug#16674)
3628
3629 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
3630
3631 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
3632 (Bug#18117)
3633
3634 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3635
3636 * progmodes/python.el (inferior-python-mode): Doc fix.
3637
3638 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3639
3640 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
3641 not a character, ignore it instead of raising an error.
3642
3643 * calendar/todo-mode.el: Fix handling of marked items and make
3644 minor code improvements.
3645 (todo-edit-item): If there are marked items, ensure user can only
3646 invoke editing commands that work with marked items.
3647 (todo-edit-item--text): When there are marked items, make it a
3648 noop if invoked with point not on an item; otherwise, ensure it
3649 applies only to item at point.
3650 (todo-item-undone): If there are marked not-done items, return
3651 point to its original position before signaling user error.
3652 (todo--user-error-if-marked-done-item): New function.
3653 (todo-edit-item--header, todo-edit-item--diary-inclusion)
3654 (todo-item-done): Use it.
3655
3656 2014-07-28 Glenn Morris <rgm@gnu.org>
3657
3658 * files.el (toggle-read-only): Re-add basic doc-string.
3659 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
3660
3661 * progmodes/prolog.el (prolog-mode-keybindings-edit):
3662 Replace missing `switch-to-prolog' with `run-prolog'.
3663 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
3664
3665 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3666
3667 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
3668 of file-wide setting when changing category-wide setting.
3669
3670 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3671
3672 * doc-view.el (doc-view-open-text): Don't require that the
3673 document is saved in a file (e.g., email attachment).
3674
3675 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3676
3677 Parse completion input in a iPython friendly way. (Bug#18084)
3678 * progmodes/python.el
3679 (python-shell-completion-at-point): Rename from
3680 python-shell-completion-complete-at-point.
3681 (inferior-python-mode): Use it.
3682 (python-completion-at-point): Rename from
3683 python-completion-complete-at-point. Parse input up to first
3684 backward occurrence of whitespace, open-paren, close-paren or
3685 string delimiter.
3686 (python-mode): Use it.
3687
3688 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3689
3690 Prevent Python process shell buffer to pop twice.
3691 * progmodes/python.el (python-shell-switch-to-shell): Do not call
3692 pop-to-buffer.
3693
3694 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3695
3696 * progmodes/python.el
3697 (python-shell-with-shell-buffer): New macro.
3698 (python-shell-font-lock-get-or-create-buffer)
3699 (python-shell-font-lock-kill-buffer)
3700 (python-shell-font-lock-with-font-lock-buffer)
3701 (python-shell-font-lock-cleanup-buffer)
3702 (python-shell-font-lock-toggle): Use it.
3703 (python-shell-font-lock-turn-on)
3704 (python-shell-font-lock-turn-off): Use it. Make command.
3705
3706 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3707
3708 Grab all Python process output before inferior-python-mode hooks.
3709 * progmodes/python.el (inferior-python-mode):
3710 Call accept-process-output and sit-for to ensure all output for process
3711 has been received before running hooks.
3712 (python-shell-internal-get-or-create-process):
3713 Cleanup accept-process-output and sit-for calls.
3714
3715 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3716
3717 More robust shell startup and code setup.
3718 * progmodes/python.el (python-shell-make-comint):
3719 Remove accept-process-output call.
3720 (python-shell-get-buffer): Return current buffer if major-mode is
3721 inferior-python-mode.
3722 (python-shell-get-or-create-process): Use it.
3723 (python-shell-send-setup-code): Send all setup code in one string,
3724 output success message and accept-process-output.
3725
3726 2014-07-27 Eli Zaretskii <eliz@gnu.org>
3727
3728 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
3729 Add rudimentary support for bidirectional text.
3730
3731 2014-07-27 Martin Rudalics <rudalics@gmx.at>
3732
3733 * frame.el (frame-notice-user-settings): Rewrite using
3734 frame-initial-frame-tool-bar-height.
3735 * menu-bar.el (menu-bar-horizontal-scroll-bar)
3736 (menu-bar-no-horizontal-scroll-bar): New functions.
3737 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
3738 scroll bars.
3739 * scroll-bar.el (scroll-bar-lines)
3740 (set-horizontal-scroll-bar-mode)
3741 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
3742 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
3743 (scroll-bar-toolkit-horizontal-scroll): New functions.
3744 (horizontal-scroll-bar-mode)
3745 (previous-horizontal-scroll-bar-mode)
3746 (horizontal-scroll-bar-mode-explicit): New variables.
3747 (horizontal-scroll-bar-mode): New option.
3748 (toggle-horizontal-scroll-bar): Do something.
3749 (top-level): Bind horizontal-scroll-bar mouse-1.
3750 * startup.el (tool-bar-originally-present): Remove variable.
3751 (command-line): Don't set tool-bar-originally-present.
3752 * window.el (window-min-height): Update doc-string.
3753 (window--dump-frame): Dump horizontal scroll bar values.
3754 (window--min-size-1): Handle minibuffer window separately.
3755 Count in margins and horizontal scroll bar. Return safe value
3756 iff IGNORE equals 'safe.
3757 (frame-windows-min-size): New function (used by frame resizing
3758 routines).
3759 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
3760 scroll bars.
3761 (window--sanitize-window-sizes): New function.
3762 (window-split-min-size): Remove.
3763 (split-window): Count divider-width. Don't use
3764 `window-split-min-size' any more. Reword error messages.
3765 Sanitize windows sizes after splitting.
3766
3767 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
3768
3769 Use `defvar-local' more.
3770 * progmodes/hideshow.el
3771 (hs-c-start-regexp, hs-block-start-regexp)
3772 (hs-block-start-mdata-select, hs-block-end-regexp)
3773 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
3774 remove corresponding `make-variable-buffer-local' top-level calls.
3775
3776 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3777
3778 Cleanup error signals. (Bug#18067)
3779 * progmodes/python.el
3780 (python-indent-shift-left): Use user-error instead.
3781 (python-shell-prompt-detect): Use lwarn with python group.
3782 (python-completion-complete-at-point)
3783 (python-eldoc--get-doc-at-point): Don't signal error.
3784
3785 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3786
3787 Support for packages in Python shell. (Bug#13570)
3788 * progmodes/python.el (python-shell--package-depth): New var.
3789 (python-shell-package-enable): New command.
3790 (python-util-list-directories, python-util-list-files)
3791 (python-util-list-packages): New functions.
3792
3793 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3794
3795 Faster comint output. (Bug#16875)
3796 * progmodes/python.el:
3797 (python-comint-output-filter-function): Make obsolete.
3798 (python-comint-postoutput-scroll-to-bottom): New function.
3799 (inferior-python-mode): Set comint-output-filter-functions to a
3800 minimum.
3801
3802 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3803
3804 * progmodes/python.el (python-shell-font-lock-post-command-hook):
3805 Safeguard current point and undo history.
3806
3807 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3808
3809 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
3810 * progmodes/python.el:
3811 (python-shell-prompt-input-regexps): Add iPython block prompt.
3812 (python-shell-output-syntax-table): Delete var.
3813 (python-shell-font-lock-with-font-lock-buffer): New macro.
3814 (python-shell-font-lock-get-or-create-buffer)
3815 (python-shell-font-lock-kill-buffer)
3816 (python-shell-font-lock-cleanup-buffer)
3817 (python-shell-font-lock-post-command-hook)
3818 (python-shell-font-lock-turn-off): New functions.
3819 (python-shell-font-lock-turn-on): New function.
3820 (inferior-python-mode): Use it.
3821 (python-shell-font-lock-toggle): New command.
3822 (python-shell-font-lock-enable): Rename from
3823 python-shell-enable-font-lock.
3824 (run-python-internal): Use it.
3825 (python-shell-font-lock-comint-output-filter-function): New function.
3826 (python-shell-comint-end-of-output-p): New function.
3827 (python-shell-output-filter): Use it.
3828 (python-util-comint-last-prompt): New function.
3829 (python-util-text-properties-replace-name): New function.
3830
3831 2014-07-25 Glenn Morris <rgm@gnu.org>
3832
3833 * vc/ediff-init.el (ediff-toggle-read-only-function):
3834 * vc/ediff-util.el (ediff-toggle-read-only):
3835 Replace obsolete toggle-read-only with read-only-mode.
3836
3837 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
3838
3839 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
3840 with `save-match-data'. (Bug#18095)
3841
3842 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
3843
3844 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
3845 order to ensure that row and col are lexically bound inside the
3846 evaluated sexp.
3847
3848 2014-07-21 Glenn Morris <rgm@gnu.org>
3849
3850 * progmodes/hideif.el (hide-ifdef-mode-submap):
3851 Also substitute read-only-mode.
3852 * bindings.el (mode-line-toggle-read-only):
3853 * bs.el (bs-toggle-readonly):
3854 * buff-menu.el (Buffer-menu-toggle-read-only):
3855 * dired.el (dired-toggle-read-only):
3856 * files.el (view-read-only, find-file-read-only)
3857 (find-file-read-only-other-window)
3858 (find-file-read-only-other-frame):
3859 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
3860 Doc fixes re toggle-read-only.
3861
3862 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
3863
3864 * progmodes/python.el: Add comment about pipe buffering and
3865 solutions for missing/delayed output in inferior Python shells.
3866 (Bug#17304)
3867
3868 * progmodes/python.el (python-mode): Don't set
3869 mode-require-final-newline. (Bug#17990)
3870
3871 Make python.el work with IPython automatically. (Bug#15510)
3872 * progmodes/python.el:
3873 (python-shell-completion-setup-code): New value supporting iPython.
3874 (python-shell-completion-string-code): New value supporting iPython.
3875 (python-shell-completion-get-completions): Use them.
3876 (python-shell-completion-module-string-code): Make obsolete.
3877 (python-shell-prompt-input-regexps)
3878 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
3879 (python-shell-output-filter): Fix comment typo.
3880
3881 Fix Python shell prompts detection for remote hosts.
3882 * progmodes/python.el (python-shell-prompt-detect):
3883 Replace call-process with process-file and make it more robust.
3884
3885 Autodetect Python shell prompts. (Bug#17370)
3886 * progmodes/python.el:
3887 (python-shell-interpreter-interactive-arg)
3888 (python-shell-prompt-detect-enabled)
3889 (python-shell-prompt-detect-failure-warning)
3890 (python-shell-prompt-input-regexps)
3891 (python-shell-prompt-output-regexps): New vars.
3892 (python-shell-prompt-calculated-input-regexp)
3893 (python-shell-prompt-calculated-output-regexp): New vars.
3894 (python-shell-get-process-name)
3895 (python-shell-internal-get-process-name)
3896 (python-shell-output-filter)
3897 (python-shell-completion-get-completions): Use them.
3898 (python-shell-prompt-detect)
3899 (python-shell-prompt-validate-regexps): New functions.
3900 (python-shell-prompt-set-calculated-regexps): New function.
3901 (inferior-python-mode): Use it. Also honor overriden
3902 python-shell-interpreter and python-shell-interpreter-args.
3903 (python-shell-make-comint): Honor overriden
3904 python-shell-interpreter and python-shell-interpreter-args.
3905 (python-shell-get-or-create-process): Make it testable by allowing
3906 to call run-python non-interactively.
3907 (python-util-valid-regexp-p): New function.
3908 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
3909 (python-shell-prompt-output-regexp)
3910 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
3911
3912 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * emacs-lisp/smie.el (smie-config--guess-1): Split from
3915 smie-config--guess.
3916 (smie-config--guess): Use it.
3917
3918 * emacs-lisp/edebug.el: Use nadvice.
3919 (edebug-original-read): Remove.
3920 (edebug--read): Rename from edebug-read and add `orig' arg.
3921 (edebug-uninstall-read-eval-functions)
3922 (edebug-install-read-eval-functions): Use nadvice.
3923 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
3924 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
3925 (edebug-read-string, edebug-read-function): Use just `read'.
3926 (edebug-original-debug-on-entry): Remove.
3927 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
3928 `orig' arg.
3929 (debug-on-entry): Override with nadvice.
3930
3931 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
3932 it also makes sense to bind it to a non-mouse event.
3933
3934 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
3935
3936 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
3939 (bug#18015).
3940
3941 * rect.el (rectangle--string-preview): Don't assume there
3942 a non-nil default (bug#17984).
3943
3944 2014-07-16 Glenn Morris <rgm@gnu.org>
3945
3946 * desktop.el (after-init-hook): Disable startup frame restoration
3947 in non-graphical situations. (Bug#17693)
3948
3949 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
3950 if it was "empty", or used for a different set of files. (Bug#17884)
3951
3952 2014-07-16 Eli Zaretskii <eliz@gnu.org>
3953
3954 * bindings.el (mode-line-remote): If default-directory is not a
3955 string, don't call file-remote-p on it; instead state in the
3956 help-echo that it is nil. (Bug#17986)
3957
3958 2014-07-14 Daniel Colascione <dancol@dancol.org>
3959
3960 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
3961 to `macroexpand-all'
3962
3963 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
3964 Use `macroexpand-all' instead of `cl-macroexpand-all'.
3965
3966 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
3967
3968 Fix bug: C-x v v discarded existing log message (Bug#17884).
3969 * vc/vc-dispatcher.el (vc-log-edit):
3970 Don't clobber an already-existing log message.
3971
3972 2014-07-12 Glenn Morris <rgm@gnu.org>
3973
3974 * vc/log-edit.el (log-edit-changelog-entries):
3975 Check for a visited-but-never-saved ChangeLog.
3976
3977 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
3978
3979 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
3980 a non-existing file (bug#17970).
3981
3982 * faces.el (face-name): Undo last change.
3983 (x-resolve-font-name): Don't call face-name (bug#17956).
3984
3985 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3986
3987 Fix dedenters and electric colon handling. (Bug#15163)
3988 * progmodes/python.el
3989 (python-rx-constituents): Add dedenter and block-ender.
3990 (python-indent-dedenters, python-indent-block-enders): Delete.
3991 (python-indent-context): Return new case for dedenter-statement.
3992 (python-indent-calculate-indentation): Handle new case.
3993 (python-indent-calculate-levels): Fix levels calculation for
3994 dedenter statements.
3995 (python-indent-post-self-insert-function): Fix colon handling.
3996 (python-info-dedenter-opening-block-message): New function.
3997 (python-indent-line): Use it.
3998 (python-info-closing-block)
3999 (python-info-closing-block-message): Remove.
4000 (python-info-dedenter-opening-block-position)
4001 (python-info-dedenter-opening-block-positions)
4002 (python-info-dedenter-statement-p): New functions.
4003
4004 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
4005
4006 * files.el (out-of-memory-warning-percentage): New defcustom.
4007 (warn-maybe-out-of-memory): Use it.
4008
4009 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
4010
4011 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
4012 when calling `read-string'. (Bug#17839)
4013
4014 2014-07-10 Eli Zaretskii <eliz@gnu.org>
4015
4016 * files.el (warn-maybe-out-of-memory): Fix the wording of the
4017 warning.
4018
4019 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
4020
4021 * files.el (warn-maybe-out-of-memory): New function.
4022 (find-file-noselect): Use it.
4023
4024 2014-07-09 Sam Steingold <sds@gnu.org>
4025
4026 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
4027 `constant' like `bless', `return' &c
4028
4029 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * rect.el (apply-on-rectangle): Check forward-line really moved to the
4032 next line.
4033
4034 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
4037 the middle of a line (bug#17896).
4038
4039 2014-07-09 Juri Linkov <juri@jurta.org>
4040
4041 * startup.el (command-line): Append displaying the warning about
4042 the errors in the init file to the end of `after-init-hook'.
4043 (Bug#17927)
4044
4045 * faces.el (face-name): Return input arg `face' as-is
4046 when it's not a symbol.
4047 (x-resolve-font-name): Don't check if the face is a symbol.
4048 (Bug#17956)
4049
4050 * facemenu.el (list-colors-print): In help-echo format use %.2f
4051 instead of %d because now HSV values are floating-point components
4052 between 0.0 and 1.0.
4053
4054 2014-07-09 Glenn Morris <rgm@gnu.org>
4055
4056 * emulation/cua-rect.el (cua--activate-rectangle):
4057 Avoid setting cua--rectangle to nil. (Bug#17877)
4058
4059 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
4060
4061 * calendar/todo-mode.el: Fix wrong-type-argument error when
4062 marking multiple consecutive items.
4063 (todo-toggle-mark-item): Don't try to mark the empty lines at the
4064 end of the todo and done items sections. Note in doc string that
4065 items marked by passing a numeric prefix argument can include the
4066 last todo and first done items.
4067 (todo-mark-category): Don't try to mark the empty line between the
4068 todo and done items sections.
4069
4070 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
4073 proper Lisp quoting (bug#17934).
4074
4075 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
4076 require-final-newline since prog-mode already took care of it (bug#17947).
4077
4078 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
4079
4080 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
4081 refer to the Todo mode Info manual. Update the comment on
4082 requiring cl-lib.
4083 (todo-find-filtered-items-file): Add todo-prefix overlays.
4084 (todo-filter-items): Reorder a let-bound variable to avoid a
4085 wrong-type-argument error on canceling the file choice dialog.
4086
4087 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * progmodes/octave.el (inferior-octave-mode):
4090 Set comint-input-ring-size to a number (bug#17912).
4091
4092 2014-07-09 Juri Linkov <juri@jurta.org>
4093
4094 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
4095 and `isearch-mode' associated with nil. (Bug#17849)
4096
4097 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * linum.el (linum--face-height): New function (bug#17813).
4100 (linum-update-window): Use it to adjust margin to linum's width.
4101
4102 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
4103 * eshell/em-smart.el (eshell-smart-scroll-window):
4104 Use with-selected-window.
4105
4106 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
4107 Remove also pointless window&mark manipulation.
4108
4109 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
4110 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
4111 (perl-continuation-line-p): Don't skip over anything else than labels.
4112 Return the previous char.
4113 (perl-calculate-indent): Use syntax-ppss instead of parse-start
4114 and update callers accordingly. For continuation lines, check the
4115 the case of array hashes.
4116 (perl-backward-to-noncomment): Make it non-interactive.
4117 (perl-backward-to-start-of-continued-exp): Rewrite.
4118
4119 2014-07-08 Sam Steingold <sds@gnu.org>
4120
4121 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
4122 New user commands.
4123
4124 2014-07-08 Juri Linkov <juri@jurta.org>
4125
4126 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
4127 (vc-annotate-color-map): Use less saturated colors (20%) for
4128 background-mode.
4129 (vc-annotate-very-old-color): Add default value for background-mode.
4130 (vc-annotate-background): Set default value to nil since now text on
4131 the default backgrounds should be legible in light and dark modes.
4132 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
4133 (Bug#17808)
4134
4135 2014-07-08 Juri Linkov <juri@jurta.org>
4136
4137 * simple.el (transpose-chars): Don't move point into read-only area.
4138 (Bug#17829)
4139
4140 2014-07-08 Juri Linkov <juri@jurta.org>
4141
4142 * window.el (with-displayed-buffer-window): New macro.
4143 (with-temp-buffer-window, with-current-buffer-window):
4144 Use `macroexp-let2' to evaluate and bind variables
4145 in the same order as macro arguments.
4146 (display-buffer--action-function-custom-type):
4147 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
4148
4149 * minibuffer.el (minibuffer-completion-help): Replace
4150 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
4151 with actions that display *Completions* at-bottom when called
4152 from the minibuffer, or below-selected in a normal buffer.
4153 Associate `window-height' with `fit-window-to-buffer'.
4154 Let-bind `pop-up-windows' to nil.
4155
4156 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
4157 instead of `with-current-buffer-window'. (Bug#17809)
4158
4159 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
4160
4161 * progmodes/hideif.el (hide-ifdef-env): Change to global.
4162 (hide-ifdef-env-backup): New variable.
4163 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
4164 New customizable variables.
4165 (hif-clear-all-ifdef-defined): New defun.
4166 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
4167 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
4168 (hif-tokenize): Fix for MS-DOS/Win EOL style.
4169 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
4170 Fix bug to hide the correct #elif region(s).
4171 (hif-range-elif): New defun.
4172 (hif-recurse-level): New var.
4173 (hif-evaluate-region, hif-evaluate-macro): New defun.
4174 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
4175 fully hidden.
4176 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
4177 Better interaction.
4178
4179 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
4180
4181 * net/dbus.el (dbus-peer-handler): New defun.
4182 (dbus-register-service): Register it. (Bug#17858)
4183 (dbus-managed-objects-handler): Fix docstring.
4184
4185 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
4186
4187 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
4188 (narrow-to-defun): New arg include-comments, defaulting to it
4189 (bug#16328).
4190
4191 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
4194 different calling convention to rectangle--unhighlight-for-redisplay.
4195
4196 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
4197
4198 * net/tramp.el (tramp-call-process): Handle error strings.
4199
4200 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
4201
4202 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
4203 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
4204
4205 * net/trampver.el: Update release number.
4206
4207 2014-07-03 Juri Linkov <juri@jurta.org>
4208
4209 * desktop.el (desktop-save): Rename arg `auto-save' to
4210 `only-if-changed'. Doc fix. (Bug#17873)
4211
4212 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4215 Use insert-for-yank (bug#17271).
4216
4217 2014-07-03 Leo Liu <sdl.web@gmail.com>
4218
4219 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
4220 Support lexical-binding.
4221
4222 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * vc/log-edit.el (log-edit-goto-eoh): New function.
4225 (log-edit--match-first-line): Use it (bug#17861).
4226
4227 2014-07-03 Glenn Morris <rgm@gnu.org>
4228
4229 * vc/log-edit.el (log-edit-hook): Add missing :version.
4230
4231 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
4232
4233 * progmodes/python.el (python-indent-post-self-insert-function):
4234 Enhancements to electric indentation behavior inside
4235 parens. (Bug#17658)
4236
4237 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
4240 buffer-invisibility-spec (bug#17867).
4241
4242 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
4243
4244 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
4245 pass "-a".
4246
4247 2014-07-03 Glenn Morris <rgm@gnu.org>
4248
4249 * cus-edit.el (help):
4250 * finder.el (finder-known-keywords):
4251 * help.el (help-for-help-internal):
4252 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
4253 (ediff-redraw-registry-buffer):
4254 * vc/ediff-ptch.el (ediff-patch-file-internal):
4255 Doc fixes re "online" help. (Bug#17803)
4256
4257 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
4258 (idlwave-mode): Doc URL update.
4259
4260 2014-07-01 Juri Linkov <juri@jurta.org>
4261
4262 * man.el: Display man pages immediately and use process-filter
4263 to format them asynchronously.
4264 (Man-width): Doc fix.
4265 (man): Doc fix.
4266 (Man-start-calling): Use `with-selected-window' to get
4267 `frame-width' and `window-width'.
4268 (Man-getpage-in-background): Call `Man-notify-when-ready'
4269 immediately after creating a new buffer. Call `Man-mode' and set
4270 `mode-line-process' in the created buffer. Set process-filter to
4271 `Man-bgproc-filter' in start-process branch. In call-process branch
4272 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
4273 Use `Man-start-calling' inside `with-current-buffer'.
4274 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
4275 (Man-cleanup-manpage): Don't print messages.
4276 (Man-bgproc-filter): New function.
4277 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
4278 user moved it during asynchronous formatting. Move calls of
4279 `Man-fontify-manpage' and `Man-cleanup-manpage' to
4280 `Man-bgproc-filter'. Move the call of `Man-mode' to
4281 `Man-getpage-in-background'. Use `quit-restore-window'
4282 instead of `kill-buffer'. Use `message' instead of `error'
4283 because errors are caught by process sentinel.
4284 (Man-mode): Move calls of `Man-build-page-list',
4285 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
4286 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
4287
4288 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
4289 for the message about the man page cleaned up.
4290
4291 2014-07-01 Mario Lang <mlang@delysid.org>
4292
4293 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
4294 cosutomization option `gnutls-verify-error'.
4295
4296 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
4299 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
4300
4301 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
4302 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
4303 is suspended (bug#17857).
4304
4305 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
4306
4307 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4308 Prefer utf-8 coding. (Bug#17859)
4309
4310 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4311
4312 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
4313 for `reverse'.
4314
4315 2014-06-30 Glenn Morris <rgm@gnu.org>
4316
4317 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
4318 (autoload-ensure-default-file): Maybe make existing output writable.
4319 * Makefile.in (AUTOGEN_VCS): Remove.
4320 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
4321
4322 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4323
4324 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
4325
4326 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4327
4328 New if-let, when-let, thread-first and thread-last macros.
4329
4330 * emacs-lisp/subr-x.el
4331 (internal--listify, internal--check-binding)
4332 (internal--build-binding-value-form, internal--build-binding)
4333 (internal--build-bindings): New functions.
4334 (internal--thread-argument, thread-first, thread-last)
4335 (if-let, when-let): New macros.
4336
4337 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
4338
4339 * net/rcirc.el (rcirc-buffer-process): Restore previous
4340 behaviour. (Bug#17772)
4341
4342 2014-06-29 Alan Mackenzie <acm@muc.de>
4343
4344 Don't call c-parse-state when c++-template-syntax-table is active.
4345 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
4346 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
4347 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
4348
4349 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
4350
4351 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
4352 account for file-wide setting of todo-top-priorities-overrides.
4353 Make code a bit cleaner.
4354
4355 2014-06-28 Glenn Morris <rgm@gnu.org>
4356
4357 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
4358
4359 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
4360
4361 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
4362 category-wide setting of todo-top-priorities-overrides, check for
4363 a file-wide setting and fontify accordingly.
4364
4365 2014-06-28 Glenn Morris <rgm@gnu.org>
4366
4367 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
4368
4369 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
4372
4373 2014-06-28 K. Handa <handa@gnu.org>
4374
4375 Fix Bug#17739.
4376
4377 * composite.el: Setup composition-function-table for dotted circle.
4378 (compose-gstring-for-dotted-circle): New function.
4379
4380 * international/characters.el: Add category "^" to all
4381 non-spacing characters.
4382
4383 2014-06-28 Glenn Morris <rgm@gnu.org>
4384
4385 * Makefile.in (doit): Remove force rule.
4386 (custom-deps, finder-data, autoloads, update-subdirs)
4387 (compile-one-process): PHONY targets do not need force rules.
4388
4389 * Makefile.in (compile-main, compile, compile-always):
4390 No need to explicitly pass variables to ourself in recursive calls.
4391
4392 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
4395
4396 2014-06-26 Glenn Morris <rgm@gnu.org>
4397
4398 * Makefile.in (update-authors): Update for moved authors.el.
4399
4400 2014-06-26 Leo Liu <sdl.web@gmail.com>
4401
4402 * skeleton.el (skeleton-end-hook): Default to nil and move the
4403 work to skeleton-insert. (Bug#17850)
4404
4405 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
4406
4407 * calc/calc-alg.el (math-beforep):
4408 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
4409 Simplify because string-lessp can accept symbols as args.
4410
4411 2014-06-26 Daiki Ueno <ueno@gnu.org>
4412
4413 * emacs-lisp/package.el (package--check-signature):
4414 If package-check-signature is allow-unsigned, don't signal error when
4415 we can't verify signature because of missing public key
4416 (bug#17625).
4417
4418 2014-06-26 Glenn Morris <rgm@gnu.org>
4419
4420 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
4421 Remove outdated declaration.
4422
4423 * emacs-lisp/authors.el (authors-valid-file-names)
4424 (authors-renamed-files-alist): Additions.
4425
4426 2014-06-26 Leo Liu <sdl.web@gmail.com>
4427
4428 * textmodes/picture.el (picture-set-tab-stops):
4429 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
4430 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
4431
4432 * progmodes/asm-mode.el (asm-calculate-indentation):
4433 Use indent-next-tab-stop.
4434
4435 * indent.el (indent-accumulate-tab-stops): New function.
4436
4437 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4438
4439 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
4440 (package-desc-status): Obey it.
4441
4442 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
4443
4444 * calendar/todo-mode.el: Fix two bugs.
4445 (todo-insert-item--basic): If user cancels item insertion to
4446 another category before setting priority, show original category
4447 whether it is in the same or a different file.
4448 (todo-set-item-priority): After selecting category, instead of
4449 moving point to top, which extends an active region, restore it.
4450
4451 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * help-fns.el (describe-function-1): Check file-name is a string before
4454 calling help-fns--autoloaded-p (bug#17564).
4455
4456 2014-06-26 Juri Linkov <juri@jurta.org>
4457
4458 * desktop.el (desktop-auto-save-enable)
4459 (desktop-auto-save-disable): New functions.
4460 (desktop-save-mode, desktop-auto-save-timeout): Use them.
4461 (desktop-read): Disable the autosave before loading the desktop,
4462 and enable afterwards. (Bug#17351)
4463
4464 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4465
4466 Fix some indentation problem with \; and pipes (bug#17842).
4467 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
4468 (sh-smie--default-forward-token, sh-smie--default-backward-token):
4469 New functions.
4470 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
4471 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
4472 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
4473
4474 2014-06-26 Glenn Morris <rgm@gnu.org>
4475
4476 * emacs-lisp/find-func.el (find-function-C-source-directory):
4477 Use file-accessible-directory-p.
4478
4479 * ps-samp.el: Make it slightly less awful.
4480 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
4481 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
4482 Only set local values.
4483 (ps-article-subject, ps-article-author): Use standard functions
4484 like mail-fetch-field.
4485 (ps-info-file, ps-info-node): Use match-string.
4486 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
4487 (ps-samp-ps-setup): ... new function.
4488
4489 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
4490 Optimize away code unneeded on any modern Emacs.
4491
4492 * emacs-lisp/authors.el: Move to ../admin.
4493
4494 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
4495
4496 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
4497
4498 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
4499 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
4500 performance enhancements.
4501 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
4502 expansion.
4503 (hif-factor, hif-string-concatenation, intern-safe): Support string
4504 concatenation and argumented macro expansion.
4505 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
4506 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
4507 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
4508 (hif-canonicalize-tokens, hif-place-macro-invocation)
4509 (hif-parse-macro-arglist): Mostly new functions for supporting
4510 argumented macro expansion.
4511 (hif-string-concatenation, hif-stringify, hif-token-concat)
4512 (hif-token-stringification, hif-token-concatenation):
4513 Stringification and concatenation.
4514 (hif-find-next-relevant): Fix comments.
4515 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
4516 some cases involving #elif.
4517 (hif-find-define, hif-add-new-defines): New functions for automatically
4518 scanning of defined symbols.
4519 (hide-ifdef-guts): Fix for defined symbol auto scanning.
4520 (hide-ifdef-undef): Fix behavior to match CPP.
4521
4522 2014-06-25 Glenn Morris <rgm@gnu.org>
4523
4524 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
4525 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
4526 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
4527 files. They are not relevant to the original issue (bug#1004),
4528 and cause unnecessary recompilation (bug#2151).
4529
4530 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4531
4532 * play/landmark.el: Use lexical-binding and avoid `intangible'.
4533 (landmark--last-pos): New var.
4534 (landmark--intangible-chars): New const.
4535 (landmark--intangible): New function.
4536 (landmark-mode, landmark-move): Use it.
4537 (landmark-mode): Remove properties.
4538 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
4539 (landmark-cross-qtuple):
4540 Don't worry about `intangible' any more.
4541 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
4542 (landmark-init-display): Don't set `intangible' and `point-entered'.
4543 (square): Remove. Inline it instead.
4544 (landmark--distance): Rename from `distance'.
4545 (landmark-calc-distance-of-robot-from): Rename from
4546 calc-distance-of-robot-from.
4547 (landmark-calc-smell-internal): Rename from calc-smell-internal.
4548
4549 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
4550
4551 * files.el (dir-locals-find-file, file-relative-name):
4552 * info.el (Info-complete-menu-item):
4553 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
4554 to compare-strings to avoid out-of-range errors.
4555 * subr.el (string-prefix-p): Adjust to match strict range
4556 checking in compare-strings.
4557
4558 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
4559
4560 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
4561 for comment lines non-greedy and stopping at newlines to fix stack
4562 overflows with large files.
4563
4564 2014-06-24 Eli Barzilay <eli@barzilay.org>
4565
4566 * calculator.el (calculator-last-input): Drop 'ascii-character property
4567 lookup.
4568
4569 2014-06-24 Leo Liu <sdl.web@gmail.com>
4570
4571 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
4572 tab-stop-list to nil. (Bug#16381)
4573
4574 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
4575 (indent-rigidly-left-to-tab-stop)
4576 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
4577 (move-to-tab-stop): Change callers.
4578
4579 2014-06-24 Eli Zaretskii <eliz@gnu.org>
4580
4581 * skeleton.el (skeleton-insert): Yet another fix of the doc string
4582 wrt behavior of \n as the first/last element of a skeleton.
4583
4584 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
4585
4586 * net/tramp-adb.el (tramp-adb-handle-process-file):
4587 * net/tramp-sh.el (tramp-sh-handle-process-file):
4588 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
4589 the output buffer when DISPLAY is non-nil. (Bug#17815)
4590
4591 2014-06-24 Glenn Morris <rgm@gnu.org>
4592
4593 * play/landmark.el (landmark-move-down, landmark-move-up):
4594 Fix 2007-10-20 change - preserve horizontal position.
4595
4596 2014-06-23 Sam Steingold <sds@gnu.org>
4597
4598 * simple.el (kill-append): Remove undo boundary depending on ...
4599 (kill-append-merge-undo): New user option.
4600
4601 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * simple.el (handle-shift-selection, exchange-point-and-mark)
4604 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
4605 (transient-mark-mode): Use&set the global value.
4606 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
4607 * emulation/edt.el (edt-emulation-off): Save&restore the global
4608 transient-mark-mode setting.
4609 * obsolete/pc-select.el (pc-selection-mode): Use the
4610 transient-mark-mode function.
4611
4612 2014-06-23 Eli Zaretskii <eliz@gnu.org>
4613
4614 * international/fontset.el (script-representative-chars):
4615 Add representative characters for scripts added in Unicode 7.0.
4616 (otf-script-alist): Synchronize with the latest registry of OTF
4617 script tags.
4618
4619 * international/characters.el (char-script-table): Update for
4620 scripts added and codepoint ranges changed in Unicode 7.0.
4621
4622 2014-06-23 Eli Barzilay <eli@barzilay.org>
4623
4624 * calculator.el (calculator-standard-displayer): Fix bug in use of
4625 `calculator-groupize-number'.
4626 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
4627 `eval' code, so it works in v24.3.1 too.
4628 (calculator-last-input): Comment to clarify purpose.
4629
4630 2014-06-22 Mario Lang <mlang@delysid.org>
4631
4632 * textmodes/rst.el (rst-comment-region): From from -> from.
4633
4634 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
4635
4636 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
4637
4638 * electric.el (electric-layout-post-self-insert-function):
4639 * emacs-lisp/ert.el (ert--insert-infos):
4640 * obsolete/vi.el (vi-set-mark):
4641 * term.el (term-handle-scroll):
4642 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
4643 * wid-edit.el (widget-editable-list-value-create):
4644 Prefer point-marker to copy-marker of point.
4645
4646 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4647
4648 Fix completion retrieval parsing (bug#17209).
4649 * progmodes/python.el (python-mode):
4650 (python-util-strip-string): New function.
4651 (python-shell-completion-get-completions): Use it.
4652
4653 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4654
4655 * skeleton.el (skeleton-insert): Fix last change.
4656
4657 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4658
4659 Enhancements for outline integration (bug#17796).
4660 * progmodes/python.el (python-mode): Properly set
4661 outline-heading-end-regexp so that comments after colons for
4662 defuns are supported.
4663
4664 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4665
4666 * skeleton.el (skeleton-insert): Doc fix.
4667
4668 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
4671 (smie-config-guess): Use smie-config-local so the rules are obeyed
4672 (bug#17818).
4673
4674 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
4675 since it's already done inside the loop (bug#17819).
4676
4677 2014-06-21 Martin Rudalics <rudalics@gmx.at>
4678
4679 * mouse.el (mouse-drag-line): Re-remove code initially removed
4680 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
4681 (Bug#17819).
4682
4683 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
4686 align with the surrounding parent (bug#17721).
4687
4688 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4689
4690 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
4691 locally to nil.
4692 (texinfo-insert-block, texinfo-insert-@end)
4693 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
4694 local setting of skeleton-end-newline by adding an explicit \n to
4695 the skeletons where appropriate. (Bug#17801)
4696
4697 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4698
4699 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
4700 (smie-indent--hanging-p): Use it.
4701 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
4702
4703 2014-06-21 Leo Liu <sdl.web@gmail.com>
4704
4705 * simple.el (read-quoted-char): Don't let help chars pop up help
4706 buffer. (Bug#16617)
4707
4708 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
4711 for | (bug#17621).
4712
4713 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
4714 Drop unknown events instead of burping.
4715
4716 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4717
4718 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
4719 and later. (Bug#17790)
4720
4721 2014-06-21 Juri Linkov <juri@jurta.org>
4722
4723 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
4724 to `soft'. (Bug#17554)
4725
4726 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
4729 (bug#17737).
4730
4731 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
4732
4733 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
4734 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
4735
4736 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
4737
4738 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
4739 `unread-command-events'.
4740
4741 2014-06-19 William Xu <william.xwl@gmail.com>
4742
4743 * progmodes/hideif.el (hif-string-to-number): Don't return float for
4744 hex integer constants (bug#17807).
4745
4746 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * international/mule-util.el (truncate-string-ellipsis): New var.
4749 (truncate-string-to-width): Use it.
4750
4751 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
4752
4753 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
4754 (lisp-string-in-doc-position-p): New function, extracted from
4755 lisp-font-lock-syntactic-face-function.
4756 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
4757
4758 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
4759
4760 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
4761
4762 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
4765 (bubbles--game-over): Don't add `intangible' properties since they
4766 didn't work anyway.
4767
4768 2014-06-18 Juri Linkov <juri@jurta.org>
4769
4770 * vc/ediff-init.el (ediff-current-diff-Ancestor)
4771 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
4772 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
4773 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
4774 Add `min-colors 88' version with removed black/white foregrounds.
4775 (Bug#10181)
4776
4777 2014-06-18 Juri Linkov <juri@jurta.org>
4778
4779 * vc/diff-mode.el (diff-changed): Empty face definition to use
4780 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
4781 (diff-context): Use darker color on light background and
4782 lighter color on dark background.
4783
4784 2014-06-18 Juri Linkov <juri@jurta.org>
4785
4786 * vc/diff-mode.el (diff-refine-changed): Rename from
4787 `diff-refine-change' for consistency with `diff-changed'.
4788 (diff-refine-change): Add obsolete face alias. (Bug#10181)
4789
4790 * vc/smerge-mode.el (smerge-refined-changed): Rename from
4791 `smerge-refined-change'.
4792 (smerge-refined-change): Add obsolete face alias.
4793
4794 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * rect.el (rectangle-preview): New custom.
4797 (rectangle): New group.
4798 (rectangle--pos-cols): Add `window' argument.
4799 (rectangle--string-preview-state, rectangle--string-preview-window):
4800 New vars.
4801 (rectangle--string-flush-preview, rectangle--string-erase-preview)
4802 (rectangle--space-to, rectangle--string-preview): New functions.
4803 (string-rectangle): Use them.
4804 (rectangle--inhibit-region-highlight): New var.
4805 (rectangle--highlight-for-redisplay): Obey it. Make sure
4806 `apply-on-region' uses the point-crutches of the right window.
4807 Use :align-to rather than multiple spaces.
4808
4809 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
4810
4811 * ruler-mode.el (ruler-mode-window-col)
4812 (ruler-mode-mouse-set-left-margin)
4813 (ruler-mode-mouse-set-right-margin): Fix calculation of column
4814 from mouse position (Bug#17768).
4815
4816 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
4817
4818 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
4819 without varname or rhs causes crash.
4820 (dun-ftp): Fix bug where blank ftp password is allowed, making it
4821 impossible to win endgame.
4822 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
4823 rlogin is anymore.
4824 (dun-help): Bump version number; update contact info.
4825
4826 2014-06-15 Eli Barzilay <eli@barzilay.org>
4827
4828 * calculator.el (calculator-prompt, calculator-remove-zeros)
4829 (calculator-mode-hook, calculator-operators, calculator-stack)
4830 (calculator-mode): Tweak docstring.
4831 (calculator-user-operators): Tweak docstring, fix a bug in the last
4832 example.
4833 (calculator-displayer): `std' case has an optional boolean.
4834 (calculator-displayers): Use the new boolean to group in decimal mode.
4835 (calculator-mode-map, calculator, calculator-message)
4836 (calculator-op-arity, calculator-add-operators)
4837 (calculator-string-to-number, calculator-displayer-prev)
4838 (calculator-displayer-next, calculator-remove-zeros)
4839 (calculator-eng-display, calculator-number-to-string)
4840 (calculator-update-display, calculator-last-input)
4841 (calculator-clear-fragile, calculator-digit, calculator-decimal)
4842 (calculator-exp, calculator-saved-move, calculator-clear)
4843 (calculator-copy, calculator-put-value, calculator-help)
4844 (calculator-expt, calculator-truncate): Minor code improvements.
4845 (calculator-need-3-lines): New function pulling out code from
4846 `calculator'.
4847 (calculator-get-display): Rename from `calculator-get-prompt', and
4848 improved.
4849 (calculator-push-curnum): Rename from `calculator-curnum-value', and
4850 extended for all uses of it. All callers changed.
4851 (calculator-groupize-number): New utility for splitting a number into
4852 groups.
4853 (calculator-standard-displayer): Improve code, new optional argument to
4854 use comma-split groups, make second argument optional too to use with
4855 'left/'right inputs. All callers changed.
4856 (calculator-reduce-stack-once): New utility, doing the meat of what
4857 `calculator-reduce-stack' used to do, much improved (mostly using
4858 `pcase' for conciseness and clarity).
4859 (calculator-reduce-stack): Now doing just the reduction loop using
4860 `calculator-reduce-stack-once'.
4861 (calculator-funcall): Improve code, make it work in v24.3.1 too.
4862 (calculator-last-input): Improve code, remove some old cruft.
4863 (calculator-quit): Kill `calculator-buffer' in electric mode too.
4864 (calculator-integer-p): Remove.
4865 (calculator-fact): Improve code, make it work on non-integer values
4866 too (using truncated numbers).
4867
4868 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
4869
4870 Sync with Tramp 2.2.10.
4871
4872 * net/tramp.el (tramp-methods): Tweak docstring.
4873 (tramp-handle-file-accessible-directory-p): Check for
4874 `file-readable-p' instead of `file-executable-p'.
4875 (tramp-check-cached-permissions):
4876 Use `tramp-compat-file-attributes'.
4877 (tramp-call-process): Add new argument VEC. Adapt callees in all
4878 tramp*.el files.
4879
4880 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
4881 (tramp-adb-maybe-open-connection): Don't set
4882 `tramp-current-*' variables.
4883
4884 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
4885 file properties of temporary buffers.
4886
4887 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
4888
4889 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
4890 (tramp-gvfs-handle-delete-file): Flush file
4891 properties, not directory properties.
4892 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
4893 reading "unix::mode".
4894 (tramp-gvfs-handle-file-name-all-completions):
4895 Use "-h" option for "gvfs-ls".
4896 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
4897 (tramp-gvfs-send-command): Simplify traces.
4898
4899 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
4900 (vc-git-program, vc-hg-program): Declare.
4901 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
4902 (tramp-methods) <nc>: Add new method.
4903 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
4904 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
4905 `tramp-login-args'.
4906 (tramp-default-user-alist): Add "nc".
4907 (top): Remove completion function for "sftp". Add completion
4908 functions for "nc" and "psftp".
4909 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
4910 Implement support for "nc" method.
4911 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
4912 (tramp-remote-coding-commands, tramp-call-local-coding-command):
4913 Tweak docstring.
4914 (tramp-sh-handle-write-region): Tweak error message.
4915 (tramp-sh-handle-vc-registered): Remove backends when the remote
4916 binary does not exist.
4917 (tramp-find-inline-encoding): Do not raise an error.
4918 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
4919 the "nc" case. Quote result also locally.
4920
4921 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4922 (tramp-smb-handle-set-file-acl): Use `start-process'.
4923 (tramp-smb-handle-insert-directory): Use progress reporter.
4924 (tramp-smb-handle-rename-file): Flush also file properties of
4925 FILENAME.
4926
4927 * net/trampver.el: Update release number.
4928
4929 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
4932 add-to-list.
4933 (ses-localvars): Remove ses--local-printer-list, unused.
4934 (ses--metaprogramming): New macro. Use it to defvar variables.
4935 (ses-set-localvars): Simplify.
4936 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
4937 property-list into an alist.
4938 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4939 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
4940 Remove; use defstruct accessors/setters instead.
4941 (ses-cell-formula-aset, ses-cell-printer-aset)
4942 (ses-cell-references-aset): Remove, use setf instead.
4943 (ses--alist-get): New function.
4944 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
4945 Use an alist instead of a plist and don't do move-to-front since the
4946 list is always short.
4947 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
4948 (ses-cell-property-set-fun, ses-cell-property-set)
4949 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
4950 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
4951 (ses--letref): New macro.
4952 (ses-cell-property-pop): Rewrite.
4953 (ses--cell): Rename from ses-cell and make it into a function.
4954 Make `formula' fallback on `value' if nil.
4955 (ses--local-printer): Rename from ses-local-printer and make it into
4956 a function.
4957 (ses-set-cell): Turn it into a macro so finding the accessor from the
4958 field name is done at compile time.
4959 (ses-repair-cell-reference-all): Test presence of `sym' rather than
4960 `ref' before adding `sym' to :ses-repair-reference.
4961 (ses-calculate-cell): Use ses--letref rather than
4962 ses-cell-property-get-handle.
4963 (ses-write-cells): Use a single prin1-to-string.
4964 (ses-setter-with-undo): New function.
4965 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
4966 (ses-unset-with-undo): Remove.
4967 (ses-load): Prefer apply' over `eval'.
4968 (ses-read-printer, ses-set-column-width): Use standard "(default
4969 foo)" format.
4970
4971 2014-06-15 Glenn Morris <rgm@gnu.org>
4972
4973 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
4974
4975 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
4976 Replace delete-duplicates and mapcan by cl- versions throughout.
4977 And cl-macroexpand-all by macroexpand-all.
4978 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
4979
4980 2014-06-15 Eli Zaretskii <eliz@gnu.org>
4981
4982 * subr.el (posn-col-row): Doc fix. (Bug#17768)
4983
4984 2014-06-15 Juri Linkov <juri@jurta.org>
4985
4986 * bindings.el: Put `ascii-character' property on keypad keys
4987 mapped to characters. (Bug#17759)
4988
4989 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4990
4991 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
4992 bumping forward into a closing paren (bug#17761).
4993
4994 * term/xterm.el (xterm--version-handler): Work around for OSX
4995 Terminal.app (bug#17607).
4996
4997 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
4998
4999 * play/dunnet.el (dun-describe-room, dun-mode):
5000 If a lamp is in the room, you won't be eaten by a grue.
5001
5002 2014-06-13 Glenn Morris <rgm@gnu.org>
5003
5004 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
5005 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
5006 (compile-always): GNU make automatically passes
5007 command-line arguments to sub-makes.
5008
5009 * calendar/calendar.el (calendar-generate-window):
5010 Remove pointless call to font-lock-fontify-buffer.
5011
5012 2014-06-13 Matthias Meulien <orontee@gmail.com>
5013
5014 * simple.el (completion-list-mode-map): Navigate with tab and backtab
5015 (bug#17767).
5016
5017 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * simple.el (set-mark-command): Simplify a bit.
5020
5021 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5022
5023 * help.el (help--key-binding-keymap): New function.
5024 (help--binding-locus): New function.
5025 (describe-key): Mention the keymap in which the binding was
5026 found. (bug#13948)
5027
5028 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5029
5030 * hippie-exp.el (he--all-buffers): New function.
5031 (try-expand-line-all-buffers, try-expand-list-all-buffers)
5032 (try-expand-dabbrev-all-buffers): Use it.
5033
5034 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
5035
5036 * hippie-exp.el (try-expand-line-all-buffers)
5037 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
5038 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
5039 original buffer, in case they're buffer-local.
5040
5041 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
5042
5043 * ses.el (ses-initial-global-parameters-re): New defconst, a
5044 specific regexp is needed now that ses.el can handle both
5045 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
5046 local printers.
5047 (ses-localvars): Add local variables needed for local printer handling.
5048 (ses-set-localvars): Handle hashmap initialisation.
5049 (ses-paramlines-plist): Add param-line for number of local printers.
5050 (ses-paramfmt-plist): New defconst, needed for code factorization
5051 between functions `ses-set-parameter' and
5052 `ses-file-format-extend-paramter-list'
5053 (ses-make-local-printer-info): New defsubst.
5054 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
5055 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
5056 (ses-cell-printer-aset): New defmacro.
5057 (ses-local-printer-compile): New defun.
5058 (ses-local-printer): New defmacro.
5059 (ses-printer-validate, ses-call-printer): Add support for local
5060 printer functions.
5061 (ses-file-format-extend-paramter-list): New defun.
5062 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
5063 factorization.
5064 (ses-load): Add support for local printer functions.
5065 (ses-read-printer): Update docstring and add support for local printer
5066 functions.
5067 (ses-refresh-local-printer, ses-define-local-printer): New defun.
5068 (ses-safe-printer): Add support for local printer functions.
5069
5070 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
5071
5072 * ffap.el (ffap-lax-url): New var (bug#17723).
5073 (ffap-url-at-point): Use it.
5074 (ffap-file-at-point): Avoid returning just "/".
5075
5076 2014-06-12 Matthias Meulien <orontee@gmail.com>
5077
5078 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
5079 (python-mode-map): Bind it.
5080
5081 * progmodes/python.el (class skeleton): Don't erase last char of class
5082 name (bug#17683).
5083
5084 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
5085
5086 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
5087
5088 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
5089
5090 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
5091 (bug#17745).
5092
5093 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5094
5095 * international/mule-cmds.el: Use lexical-binding.
5096 (ucs-names): Simplify.
5097
5098 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
5099
5100 * progmodes/python.el (run-python): Use read-shell-command.
5101
5102 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * rect.el: Make it possible to move bounds past EOL or into TABs.
5105 (operate-on-rectangle): Use apply-on-rectangle.
5106 (rectangle--mark-crutches): New var.
5107 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
5108 (rectangle--crutches, rectangle--reset-crutches): New functions.
5109 (apply-on-rectangle): Obey crutches. Avoid setq.
5110 Fix missing final iteration if end is at EOB&BOL.
5111 (rectangle-mark-mode-map): Add remap bindings for
5112 exchange-point-and-mark and char/line movements.
5113 (rectangle--*-char): New function.
5114 (rectangle-exchange-point-and-mark, rectangle-right-char)
5115 (rectangle-left-char, rectangle-forward-char)
5116 (rectangle-backward-char, rectangle-next-line)
5117 (rectangle-previous-line): New commands.
5118 (rectangle--place-cursor): New function.
5119 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
5120
5121 2014-06-08 Glenn Morris <rgm@gnu.org>
5122
5123 * startup.el (initial-buffer-choice): Doc fix.
5124 Reset :version (adding an option does not merit a :version bump).
5125
5126 * bookmark.el (bookmark-load):
5127 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
5128
5129 2014-06-08 Juri Linkov <juri@jurta.org>
5130
5131 * desktop.el: Activate auto-saving on window configuration changes.
5132 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
5133 `desktop-auto-save-set-timer' to/from
5134 `window-configuration-change-hook'.
5135 (desktop-auto-save-set-timer): Change REPEAT arg of
5136 `run-with-idle-timer' from t to nil.
5137 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
5138
5139 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
5140
5141 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
5142 vc-hg-command (bug#17570).
5143
5144 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * international/mule-cmds.el (ucs-names): Add special entry for BEL
5147 (bug#17702).
5148
5149 2014-06-08 Glenn Morris <rgm@gnu.org>
5150
5151 * startup.el (window-setup-hook): Doc fix.
5152
5153 * emacs-lisp/package.el (package-check-signature)
5154 (package-unsigned-archives): Doc fixes.
5155
5156 2014-06-08 Martin Rudalics <rudalics@gmx.at>
5157
5158 * window.el (display-buffer-use-some-window): Don't make window
5159 used smaller than it was before (Bug#17671).
5160
5161 2014-06-08 Eli Zaretskii <eliz@gnu.org>
5162
5163 * menu-bar.el (menu-bar-open): Fix last change: use the PC
5164 'redisplay' instead of '(sit-for 0)'.
5165
5166 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
5167
5168 * net/tramp.el (tramp-ssh-controlmaster-options):
5169 Improve search regexp. (Bug#17653)
5170
5171 2014-06-08 Glenn Morris <rgm@gnu.org>
5172
5173 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
5174
5175 2014-06-08 Eli Zaretskii <eliz@gnu.org>
5176
5177 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
5178
5179 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
5180
5181 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
5182 (bug#17586).
5183
5184 * vc/vc-hg.el (vc-hg-log-graph): New var.
5185 (vc-hg-print-log): Use it.
5186 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
5187 graph output (bug#17515).
5188
5189 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * mouse.el (mouse-posn-property): Ignore buffer position info when the
5192 even happened elsewhere.
5193
5194 2014-06-06 Mario Lang <mlang@delysid.org>
5195
5196 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
5197 `recenter' if `current-buffer' is equal to `window-buffer'.
5198
5199 2014-06-05 Leo Liu <sdl.web@gmail.com>
5200
5201 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
5202
5203 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
5204
5205 * textmodes/tildify.el (tildify-foreach-region-outside-env):
5206 New function which calls a callback on portions of the buffer that are
5207 outside of ignored environments.
5208 (tildify-build-regexp): Remove function since it is now
5209 incorporated in `tildify-foreach-region-outside-env' where it is
5210 optimized and simplified by the use of `mapconcat'.
5211 (tildify-tildify): Return number of substitutions made so that…
5212 (tildify-count): …can be removed.
5213 (tildify-find-env): Accept a new PAIRS argument which was
5214 previously looked up in `tildify-ignored-environments-alist' each
5215 time the function was called. With this change, the lookup is
5216 performed only once in `tildify-foreach-region-outside-env'.
5217 (tildify-region): Greatly simplify the function since now most of
5218 the work is done by `tildify-foreach-region-outside-env'.
5219 (tildify-mode-alist): Simplify slightly by avoiding if and setq
5220 and instead using or.
5221
5222 * textmodes/tildify.el (tildify-ignored-environments-alist):
5223 Optimize environments regexes
5224
5225 Each time beginning of an environment to ignore is found,
5226 `tildify-find-env' needs to identify regexp for the ending
5227 of the environment. This is done by trying all the opening
5228 regexes on matched text in a loop, so to speed that up, this
5229 loop should have fewer things to match, which can be done by
5230 using alternatives in the opening regexes.
5231
5232 Coincidentally, this should make matching of the opening
5233 regexp faster as well thanks to the use of `regexp-opt' and
5234 having common prefix pulled from many regexes.
5235
5236 * textmodes/tildify.el (tildify-string-alist)
5237 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
5238 of supported modes since `xml-mode' is no longer a thing but just
5239 an alias to the former. Also include comments and insides of tags
5240 in `tildify-ignored-environments-alist' for XML modes. Finally,
5241 since XML does not define “&nbsp;”[1], use a numeric reference for
5242 a no-break space (namely “&#160;”)
5243
5244 [1] XML specification defines only a handful of predefined entities.
5245 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
5246 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
5247 >, &, ' and " respectively). This is in contrast to HTML and even
5248 XHTML which defined a whole bunch of entities including “&nbsp;”.
5249
5250 * textmodes/tildify.el (tildify-pattern-alist)
5251 (tildify-string-alist, tildify-ignored-environments-alist):
5252 Improve defcustom's types by adding more tags explaining what each
5253 value means and replace “sexp” used in
5254 `tildify-ignored-environments-alist' with a full type declaration.
5255
5256 * textmodes/tildify.el (tildify-find-env): Fix matched group
5257 indexes in end-regex building
5258
5259 When looking for a start of an ignore-environment, the regex is built
5260 by concatenating regexes of all the environments configured in
5261 `tildify-ignored-environments-alist'. So for example, the following
5262 list could be used to match TeX's \verb and \verb* commands:
5263
5264 (("\\\\verb\\(.\\)" . (1))
5265 ("\\\\verb\\*\\(.\\)" . (1)))
5266
5267 This would result in the following regex being used to find the start
5268 of any of the variants of the \verb command:
5269
5270 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
5271
5272 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
5273 won't match anything, and thus (match-string 1) will be nil, which
5274 will cause building of the end-matching regex to fail.
5275
5276 Fix this by using capture groups from the time when the opening
5277 regexes are matched individually.
5278
5279 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
5280 in `tildify-find-env'
5281
5282 The `tildify-ignored-environments-alist' allows the end-regex to
5283 be provided not as a static string but mix of strings and indexes
5284 of groups matched the begin-regex. For example, the “\verb!…!”
5285 TeX-command (where “!” is an arbitrary character) is handled
5286 using:
5287
5288 ("\\\\verb\\*?\\(.\\)" . (1))
5289
5290 In the same way, the following should be supported as well:
5291
5292 ("open-\\(.\\)" . ("end-" 1))
5293
5294 However the tildify-find-env function fails at
5295
5296 (concat result
5297 (if (stringp (setq aux (car expression)))
5298 expression ; BUG: expression is a list
5299 (regexp-quote (match-string aux))))
5300
5301 where the string part is handled incorrectly.
5302
5303 The most trivial fix would be to replace `expression' in the
5304 true-part of the if-statement with `aux', but instead, this commit
5305 optimizes `tildify-find-env' by changing it to use `mapconcat'
5306 rather than open-coded while-loop.
5307
5308 2014-06-05 Mario Lang <mlang@delysid.org>
5309
5310 * woman.el (woman-mapcan): Remove.
5311 (woman-parse-colon-path): Use cl-mapcan instead.
5312
5313 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5314
5315 * register.el: Add link to Emacs manual in Commentary.
5316
5317 2014-06-02 Sam Steingold <sds@gnu.org>
5318
5319 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
5320 (popup-menu): ...here.
5321 (menu-bar-open): Use it to avoid an error when `lookup-key'
5322 returns a number.
5323
5324 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
5325
5326 * net/tramp.el (tramp-call-process): Add traces.
5327 (tramp-handle-unhandled-file-name-directory): Return "/".
5328
5329 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
5330
5331 Sync with upstream verilog-mode revision 3cd8144.
5332 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5333 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
5334 (verilog-type-font-keywords): Add nor.
5335 (verilog-batch-execute-func): Force reading of Local Variables.
5336 Fix printing "no changes to be saved" with verilog-batch.
5337 (verilog-auto-arg-ports): Doc fix.
5338 Add verilog-auto-arg-format to support newlines in AUTOARG.
5339 (verilog-auto-arg): Doc fix.
5340
5341 2014-06-02 Glenn Morris <rgm@gnu.org>
5342
5343 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
5344 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5345 * emulation/ws-mode.el: Move to obsolete/.
5346 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
5347
5348 2014-06-02 Eli Zaretskii <eliz@gnu.org>
5349
5350 * simple.el (keyboard-quit): Force update of mode lines, to remove
5351 the "Def" indicator, if we were defining a macro. (Bug#17615)
5352
5353 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * minibuffer.el (minibuffer-force-complete-and-exit):
5356 Obey minibuffer-default (bug#17545).
5357
5358 * progmodes/js.el (js-indent-line): Don't mix columns and chars
5359 (bug#17619).
5360
5361 * subr.el (set-transient-map): Don't wait for some "nested"
5362 transient-map to finish if we're only supposed to be active for
5363 the next command (bug#17642).
5364
5365 2014-06-02 Leo Liu <sdl.web@gmail.com>
5366
5367 * emacs-lisp/gv.el (window-buffer, window-display-table)
5368 (window-dedicated-p, window-hscroll, window-point, window-start):
5369 Fix gv-expander. (Bug#17630)
5370
5371 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
5374 clicks (bug#17633).
5375
5376 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
5377 for the single comma, since ", " is *very* common in normal French text
5378 (bug#17643).
5379
5380 2014-06-02 Glenn Morris <rgm@gnu.org>
5381
5382 * emacs-lisp/package.el (package-check-signature)
5383 (package-unsigned-archives): Fix :version.
5384
5385 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * subr.el (sit-for): Don't run input-methods (bug#15614).
5388
5389 2014-06-02 Glenn Morris <rgm@gnu.org>
5390
5391 * cus-start.el: Fix some :version numbers.
5392
5393 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5394
5395 * simple.el (deactivate-mark): Set mark-active to nil even if
5396 deactivation is done via setting transient-mark-mode to nil,
5397 since one is buffer-local and the other is global.
5398
5399 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
5400 there can't be more than 2 arguments (bug#17584).
5401
5402 2014-06-02 Glenn Morris <rgm@gnu.org>
5403
5404 * simple.el (filter-buffer-substring-functions)
5405 (filter-buffer-substring-function, buffer-substring-filters)
5406 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
5407
5408 * minibuffer.el (completion-in-region-functions, completion-in-region)
5409 (completion--in-region): Doc fixes.
5410
5411 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
5412 (expand-abbrev, abbrev--default-expand): Doc fixes.
5413
5414 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
5415
5416 Include sources used to create macuvs.h.
5417 * international/README: Refer to the Unicode Terms of Use rather
5418 than copying it bodily here, as that simplifies maintenance.
5419
5420 2014-06-01 Glenn Morris <rgm@gnu.org>
5421
5422 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
5423
5424 2014-05-31 Glenn Morris <rgm@gnu.org>
5425
5426 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
5427
5428 2014-05-30 Glenn Morris <rgm@gnu.org>
5429
5430 * loadup.el: Treat `command-line-args' more flexibly.
5431
5432 2014-05-30 Alan Mackenzie <acm@muc.de>
5433
5434 Guard (looking-at "\\s!") from XEmacs.
5435 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
5436
5437 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
5438
5439 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
5440 The argument COUNT is now optional, to be more backward-compatible.
5441 Doc fix. (Bug#17560)
5442
5443 2014-05-29 Reuben Thomas <rrt@sc3d.org>
5444
5445 * whitespace.el (whitespace-report-region):
5446 Simplify documentation.
5447 (whitespace-report-region): Allow report-if-bogus to take the
5448 value `never', for non-interactive use.
5449 (whitespace-report): Refer to whitespace-report-region's
5450 documentation.
5451
5452 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * whitespace.el: Use font-lock-flush. Minimize refontifications.
5455 Side benefit: it works without jit-lock.
5456 (whitespace-point--used): New buffer-local var.
5457 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
5458 (whitespace-color-off): Use font-lock-flush.
5459 (whitespace-point--used, whitespace-point--flush-used): New functions.
5460 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5461 (whitespace-empty-at-eob-regexp): Use them.
5462 (whitespace-post-command-hook): Rewrite.
5463
5464 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
5465 (font-lock-fontify-buffer): Mark interactive-only.
5466 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5467 Make buffer-local.
5468 (font-lock-specified-p): Remove redundant boundp check.
5469 (font-lock-flush-function, font-lock-ensure-function): New vars.
5470 (font-lock-turn-on-thing-lock): Set them.
5471 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
5472 (font-lock-after-change-function): Make `old-len' optional.
5473 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
5474 Call font-lock-flush, just in case.
5475 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
5476 recent Emacsen.
5477 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
5478 (vera-mode-map, vera-mode-menu): Remove bindings to it.
5479 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
5480 and with-syntax-table.
5481 * textmodes/conf-mode.el (conf-quote-normal):
5482 * progmodes/sh-script.el (sh-set-shell):
5483 * progmodes/prog-mode.el (prettify-symbols-mode):
5484 * progmodes/f90.el (f90-font-lock-n):
5485 * progmodes/cwarn.el (cwarn-mode):
5486 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
5487 * progmodes/compile.el (compilation-setup, compilation--unsetup):
5488 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
5489 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
5490 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
5491 font-lock-fontify-buffer-function and
5492 font-lock-unfontify-buffer-function.
5493 (rmail-unfontify-buffer-function, rmail-fontify-message):
5494 Use with-silent-modifications.
5495 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
5496 and font-lock-ensure.
5497 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
5498
5499 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
5500
5501 * emacs-lisp/package.el (package-generate-autoloads):
5502 Inhibit backup files.
5503
5504 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
5507 (bug#17608).
5508
5509 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
5510
5511 * textmodes/tildify.el (tildify-buffer, tildify-region):
5512 Add dont-ask option.
5513
5514 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
5517 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
5518
5519 * subr.el (internal--funcall-interactively): New.
5520 (internal--call-interactively): Remove.
5521 (called-interactively-p): Detect funcall-interactively instead of
5522 call-interactively.
5523 * simple.el (repeat-complex-command): Use funcall-interactively.
5524 (repeat-complex-command--called-interactively-skip): Remove.
5525
5526 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * register.el (register-read-with-preview): Don't burp on
5529 frame switches (e.g. due to the frame we just popped).
5530
5531 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
5532 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
5533
5534 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
5535
5536 * cus-face.el (custom-face-attributes): Add :distant-foreground.
5537
5538 2014-05-26 Martin Rudalics <rudalics@gmx.at>
5539
5540 * window.el (window--dump-frame): Remove interactive specification.
5541
5542 2014-05-26 Glenn Morris <rgm@gnu.org>
5543
5544 * hippie-exp.el (he-line-search-regexp):
5545 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
5546
5547 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5548
5549 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
5550 to avoid errors when trying to create or visit a file foo.todo
5551 located outside to todo-directory, and to allow having such files
5552 without them being tied to Todo mode (bug#17482).
5553 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
5554 (todo-archive-done-item, todo-find-filtered-items-file)
5555 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
5556 (todo-category-completions, todo-read-category): When visiting a
5557 Todo file, make sure we're in the right mode and the buffer local
5558 variables are set.
5559 (todo-make-categories-list, todo-reset-nondiary-marker)
5560 (todo-reset-done-string, todo-reset-comment-string):
5561 After processing all Todo files, kill the buffers of those files that
5562 weren't being visited before the processing.
5563 (todo-display-as-todo-file, todo-add-to-buffer-list)
5564 (todo-visit-files-commands): Comment out.
5565 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
5566 (auto-mode-alist): Remove add-to-list calls making Todo file
5567 extensions unrestrictedly tied to Todo modes.
5568
5569 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
5572 (advice-function-member-p): Tell it to check both names and functions
5573 (bug#17531).
5574 (advice--add-function): Adjust call accordingly.
5575
5576 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5577
5578 * calendar/todo-mode.el: Miscellaneous bug fixes.
5579 (todo-delete-file): When deleting an archive but not its todo
5580 file, make sure to update the todo file's category sexp.
5581 (todo-move-category): Keep the moved category's name unless the
5582 file moved to already has a category with that name. If the
5583 numerically last category of the source file was moved, make the
5584 first category current to avoid selecting a nonexisting category.
5585 (todo-merge-category): Fix implementation to make merging to a
5586 category in another file work as documented. Eliminate now
5587 insufficient and unnecessary renaming of archive category, correct
5588 document string accordingly, and clarify it. If the numerically
5589 last category of the source file was merged, make the first
5590 category current to avoid selecting a nonexisting category.
5591 (todo-archive-done-item): When there are marked items and point
5592 happens to be on an unmarked item, ignore the latter. Don't leave
5593 point below last item after archiving marked items.
5594 (todo-unarchive-items): Fix logic to ensure unarchiving an item
5595 from an archive with only one category deletes the archive only
5596 when the category is empty after unarchiving. Make sure the todo
5597 file's category sexp is updated.
5598 (todo-read-file-name): Allow an existing file name even when it is
5599 not required (todo-move-category needs this to work as documented).
5600 (todo-add-file): Call todo-validate-name to reject the name of an
5601 existing todo file (needed due to fix in todo-read-file-name).
5602 (todo-reset-nondiary-marker): Also reset in filtered items files.
5603 (todo-reset-done-string, todo-reset-comment-string): Also reset in
5604 regexp filtered items files.
5605 (todo-reset-highlight-item): Also reset in filtered items files.
5606 Fix incorrect variable reference in document string.
5607
5608 2014-05-26 Glenn Morris <rgm@gnu.org>
5609
5610 * window.el (window--dump-frame): Avoid error in --without-x builds.
5611
5612 2014-05-26 Glenn Morris <rgm@gnu.org>
5613
5614 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
5615
5616 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5617
5618 * frame.el (set-frame-font): Doc fix.
5619
5620 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
5621
5622 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
5623
5624 * emacs-lisp/package.el (package--download-one-archive):
5625 Use `write-region' instead of `save-buffer' to avoid running various
5626 hooks. (Bug#17155)
5627 (describe-package-1): Same. Insert newline at the end of the
5628 buffer if appropriate.
5629
5630 2014-05-26 Juri Linkov <juri@jurta.org>
5631
5632 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
5633 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
5634 Add more modifiers: meta, control, shift, hyper, super, alt.
5635 (Bug#17439)
5636
5637 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
5638 to allow changing its value with `set-variable'.
5639
5640 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
5643 #; comments.
5644 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
5645 New functions.
5646 (scheme-mode-variables): Set syntax-propertize-function instead of
5647 font-lock-syntactic-face-function.
5648 (scheme-font-lock-syntactic-face-function): Delete.
5649
5650 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
5651
5652 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
5653 (bug#17392).
5654
5655 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5656
5657 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
5658 for a temporary file name.
5659
5660 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5661
5662 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
5663
5664 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5665
5666 * net/dbus.el (dbus-init-bus, dbus-call-method)
5667 (dbus-call-method-asynchronously, dbus-send-signal)
5668 (dbus-method-return-internal, dbus-method-error-internal):
5669 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
5670
5671 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5672
5673 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
5674 methods which do not have a doc string. (Bug#17490)
5675
5676 2014-05-25 Tassilo Horn <tsdh@gnu.org>
5677
5678 * textmodes/reftex-ref.el (reftex-format-special): Make it work
5679 also for AMS Math's \eqref macro.
5680
5681 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5682
5683 Arrange to never byte-compile the generated -pkg.el file.
5684
5685 * emacs-lisp/package.el (package-generate-description-file):
5686 Output first-line comment to set buffer-local var `no-byte-compile'.
5687 Suggested by Dmitry Gutov:
5688 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
5689
5690 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5691
5692 Fix bug: Properly quote args to generated -pkg.el `define-package'.
5693
5694 * emacs-lisp/package.el (package-generate-description-file):
5695 Inline `package--alist-to-plist'; rewrite to selectively
5696 quote alist values that are not self-quoting.
5697 (package--alist-to-plist): Delete func.
5698
5699 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
5700
5701 * term/xterm.el (xterm-function-map): Add mapping for shifted
5702 keypad keys.
5703
5704 2014-05-24 Daniel Colascione <dancol@dancol.org>
5705
5706 * progmodes/subword.el (subword-find-word-boundary): Move point to
5707 correct spot before search. (Bug#17580)
5708
5709 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
5710 breaking the build.
5711
5712 2014-05-24 Leo Liu <sdl.web@gmail.com>
5713
5714 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
5715
5716 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * minibuffer.el (completion--sreverse): Remove.
5719 (completion--common-suffix): Use `reverse' instead.
5720 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
5721
5722 2014-05-22 Glenn Morris <rgm@gnu.org>
5723
5724 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
5725
5726 2014-05-21 Daniel Colascione <dancol@dancol.org>
5727
5728 * files.el (interpreter-mode-alist): Add mksh.
5729
5730 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
5731 derivative.
5732 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
5733 mksh. Improve custom spec; allow regular expressions.
5734 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
5735 (sh-after-hack-local-variables): New function.
5736 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
5737 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
5738 the normalization.
5739 (sh-canonicalize-shell): Rewrite to support regexes.
5740
5741 2014-05-21 Leo Liu <sdl.web@gmail.com>
5742
5743 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
5744
5745 2014-05-19 Leo Liu <sdl.web@gmail.com>
5746
5747 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
5748
5749 2014-05-18 Glenn Morris <rgm@gnu.org>
5750
5751 * loadup.el:
5752 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
5753
5754 2014-05-14 Sam Steingold <sds@gnu.org>
5755
5756 * progmodes/python.el (python-shell-get-or-create-process):
5757 Do not bind `current-prefix-arg' so that C-c C-z does not talk
5758 back unless requested.
5759
5760 2014-05-14 Glenn Morris <rgm@gnu.org>
5761
5762 * subr.el (with-file-modes): New macro.
5763 * printing.el (pr-save-file-modes): Make obsolete.
5764 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
5765 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5766 Add with-file-modes.
5767 * doc-view.el (doc-view-make-safe-dir):
5768 * epg.el (epg--start):
5769 * files.el (locate-user-emacs-file, make-temp-file)
5770 (backup-buffer-copy, move-file-to-trash):
5771 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
5772 * eshell/esh-util.el (eshell-with-private-file-modes)
5773 (eshell-make-private-directory):
5774 * net/browse-url.el (browse-url-mosaic):
5775 * obsolete/mailpost.el (post-mail-send-it):
5776 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
5777 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
5778 Use with-file-modes.
5779
5780 * vc/emerge.el (emerge-make-temp-file): Simplify.
5781
5782 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
5783 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
5786 suffix (bug#15419).
5787
5788 2014-05-14 Glenn Morris <rgm@gnu.org>
5789
5790 * vc/emerge.el (emerge-temp-file-prefix):
5791 Make pointless option obsolete.
5792 (emerge-temp-file-mode): Make non-functional option obsolete.
5793
5794 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
5795
5796 * net/browse-url.el (browse-url):
5797 Use `unhandled-file-name-directory' when setting `default-directory',
5798 in order to circumvent stalled remote connections. (Bug#17425)
5799
5800 2014-05-14 Glenn Morris <rgm@gnu.org>
5801
5802 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
5803 Optimize on Emacs, which has the relevant functions for ages.
5804
5805 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * simple.el (undo-make-selective-list): Obey undo-no-redo.
5808
5809 2014-05-12 Sam Steingold <sds@gnu.org>
5810
5811 * calendar/time-date.el (seconds-to-string): New function to
5812 pretty print time delay in seconds.
5813
5814 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5815
5816 * mpc.el (mpc-format): Trim Date to the year.
5817 (mpc-songs-hashcons): Shorten the Date field.
5818
5819 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
5820 into autoloading just because of a silly indirection.
5821
5822 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
5823
5824 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
5825
5826 2014-05-12 Glenn Morris <rgm@gnu.org>
5827
5828 * emacs-lisp/find-gc.el: Move to ../admin.
5829
5830 * printing.el (pr-version):
5831 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
5832
5833 * net/browse-url.el (browse-url-mosaic):
5834 Create /tmp/Mosaic.PID as a private file.
5835
5836 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5837
5838 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
5839 (advice--member-p): If name is given, only compare the name.
5840 (advice--remove-function): Don't stop at the first match.
5841 (advice--normalize-place): New function.
5842 (add-function, remove-function): Use it.
5843 (advice--add-function): Pass the name, if any, to
5844 advice--remove-function.
5845
5846 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
5847
5848 * electric.el (electric-indent-post-self-insert-function): Don't use
5849 `pos' after modifying the buffer (bug#17449).
5850
5851 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
5852
5853 * calendar/todo-mode.el (todo-insert-item-from-calendar):
5854 Correct argument list to conform to todo-insert-item--basic.
5855
5856 2014-05-12 Glenn Morris <rgm@gnu.org>
5857
5858 * files.el (cd-absolute): Test if directory is accessible
5859 rather than executable. (Bug#17330)
5860
5861 * progmodes/compile.el (recompile):
5862 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
5863
5864 * net/browse-url.el (browse-url-mosaic):
5865 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
5866 This is CVE-2014-3423.
5867
5868 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * mouse.el: Use the normal toplevel loop while dragging.
5871 (mouse-set-point): Handle multi-clicks.
5872 (mouse-set-region): Handle multi-clicks for drags.
5873 (mouse-drag-region): Update call accordingly.
5874 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
5875 Use the normal event loop instead of a local while/read-event loop.
5876 (global-map): Remove redundant bindings for double/triple-mouse-1.
5877 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
5878 Generate synthetic down events when the protocol only sends up events.
5879 (xterm-mouse-last): Remove.
5880 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
5881 terminal parameter instead.
5882 (xterm-mouse--set-click-count): New function.
5883 (xterm-mouse-event): Detect/generate double/triple clicks.
5884 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
5885
5886 * info.el (Info-quoted): New face.
5887 (Info-mode-font-lock-keywords): New var.
5888 (Info-mode): Use it.
5889
5890 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
5891 are a hindrance for C-x C-e.
5892
5893 2014-05-11 Leo Liu <sdl.web@gmail.com>
5894
5895 * net/rcirc.el (rcirc-sentinel): Fix last change.
5896
5897 2014-05-08 Sam Steingold <sds@gnu.org>
5898
5899 * net/rcirc.el (rcirc-reconnect-delay): New user option.
5900 (rcirc-sentinel): Auto-reconnect to the server if
5901 `rcirc-reconnect-delay' is non-0 (but not more often than its
5902 value in case the host is off-line).
5903
5904 2014-05-09 Eli Zaretskii <eliz@gnu.org>
5905
5906 * progmodes/grep.el (lgrep): Fix a typo in last commit.
5907
5908 2014-05-09 Glenn Morris <rgm@gnu.org>
5909
5910 * files.el (file-expand-wildcards):
5911 * man.el (Man-support-local-filenames):
5912 * printing.el (pr-i-directory, pr-interface-directory):
5913 * progmodes/grep.el (lgrep, rgrep):
5914 * textmodes/ispell.el (ispell-call-process)
5915 (ispell-call-process-region, ispell-start-process)
5916 (ispell-init-process): Use file-accessible-directory-p.
5917
5918 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5919
5920 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
5921 (xterm-mouse--read-event-sequence-1000): Return nil if something
5922 looks fishy.
5923 (xterm-mouse-event): Propagate it.
5924 (xterm-mouse-translate-1): Handle it.
5925
5926 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
5927
5928 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
5929 four slots of the parameter list are filled, make sure to pass it
5930 to the argument list of todo-insert-item--basic.
5931
5932 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
5935 Add optional `seen' argument to detect and break infinite loops.
5936
5937 2014-05-08 Eli Zaretskii <eliz@gnu.org>
5938
5939 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
5940 (trace-unsafe, trace-use-tree): Make parentheses style be
5941 according to Emacs style.
5942
5943 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
5944
5945 * net/tramp-sh.el (tramp-remote-process-environment):
5946 Remove HISTFILE and HISTSIZE; it's too late to set them here.
5947 Add :version entry.
5948 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
5949 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
5950 extra "PSx=..." commands.
5951 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
5952 (Bug#17295)
5953
5954 (tramp-uudecode): Replace the hard-coded temporary file name by a
5955 format specifier.
5956 (tramp-remote-coding-commands): Enhance docstring.
5957 (tramp-find-inline-encoding): Replace "%t" by a temporary file
5958 name. (Bug#17415)
5959 This is CVE-2014-3424.
5960
5961 2014-05-08 Glenn Morris <rgm@gnu.org>
5962
5963 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
5964 (find-gc-source-files): Update some names.
5965 (trace-call-tree): Simplify and update.
5966 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
5967 This is CVE-2014-3422.
5968
5969 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * minibuffer.el (completion--try-word-completion): Revert fix for
5972 Bug#15980 (bug#17375).
5973
5974 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
5975 Always store button numbers in the same way in xterm-mouse-last;
5976 Don't burp is xterm-mouse-last is not set as expected.
5977 Never return negative indices.
5978
5979 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
5980
5981 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5982 Backtrack one char if the global/char-literal var matcher hits
5983 inside a string. The next char could be the beginning of an
5984 expression expansion.
5985
5986 2014-05-08 Glenn Morris <rgm@gnu.org>
5987
5988 * help-fns.el (describe-function-1): Test for an autoload before a
5989 macro, since `macrop' works on autoloads. (Bug#17410)
5990
5991 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * electric.el (electric-indent-functions-without-reindent): Add yaml.
5994
5995 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
5996 Make sure the new point we return is within the new string (bug#17239).
5997
5998 2014-05-05 Daniel Colascione <dancol@dancol.org>
5999
6000 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6001 Port `gnu' pattern to rx.
6002
6003 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
6004
6005 Remove unneeded prompt when closing a buffer with active
6006 emacsclient ("Buffer ... still has clients"), #16548.
6007 * server.el (server-start): Remove the only call to:
6008 (server-kill-buffer-query-function): Remove.
6009
6010 2014-05-04 Leo Liu <sdl.web@gmail.com>
6011
6012 * calendar/diary-lib.el (calendar-chinese-month-name-array):
6013 Defvar to pacify compiler.
6014
6015 2014-05-04 Eli Zaretskii <eliz@gnu.org>
6016
6017 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
6018
6019 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6022 Use nil rather than `default' for the "default" appearance (bug#17388).
6023 * vc/ediff-util.el (ediff-inferior-compare-regions)
6024 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
6025 a misleading `default' value when it's really a boolean.
6026 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
6027 overlay is not visible.
6028
6029 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
6030
6031 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
6032 (todo-menu): Uncomment and update.
6033
6034 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
6035
6036 * calendar/todo-mode.el: Reimplement item editing to have the same
6037 basic user interface as item insertion, and make small UI and
6038 larger internal improvements to the latter.
6039 (todo-insert-item): Add reference to the Todo mode user manual to
6040 the documentation string.
6041 (todo-insert-item--basic): Rename from todo-basic-insert-item and
6042 adjust all callers. Change signature to combine diary and
6043 nonmarking arguments. Incorporate functionality of deleted item
6044 copying command and add error checking. Remove detailed
6045 descriptions of the arguments from the documentation string, since
6046 this is treated in the Todo mode user manual.
6047 (todo-copy-item, todo-edit-multiline-item)
6048 (todo-edit-done-item-comment, todo-edit-item-header)
6049 (todo-edit-item-time, todo-edit-item-date-from-calendar)
6050 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
6051 (todo-edit-item-date-year, todo-edit-item-date-month)
6052 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
6053 Remove.
6054 (todo-edit-item): Reimplement as wrapper command for
6055 todo-edit-item--next-key and make it distinguish done and not done
6056 todo items.
6057 (todo-edit-item--text): New function, replacing old command
6058 todo-edit-item and incorporating deleted commands
6059 todo-edit-multiline-item and todo-edit-done-item-comment.
6060 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
6061 Use only numeric value of prefix argument. Remove detailed
6062 descriptions of the arguments from the documentation string, since
6063 this is treated in the Todo mode user manual.
6064 (todo-edit-item--diary-inclusion): New function, replacing old
6065 command todo-edit-item-diary-inclusion and incorporating and fixing
6066 functionality of deleted command todo-edit-item-diary-nonmarking,
6067 making sure to remove todo-nondiary-marker when adding
6068 diary-nonmarking-symbol.
6069 (todo-edit-category-diary-inclusion): Make sure to delete
6070 diary-nonmarking-symbol when adding todo-nondiary-marker.
6071 (todo-edit-category-diary-nonmarking): Fix indentation.
6072 (todo-insert-item--parameters): Group diary and nonmarking
6073 parameters together.
6074 (todo-insert-item--apply-args): Adjust to signature of
6075 todo-insert-item--basic and incorporate copy parameter.
6076 Make small code improvements.
6077 (todo-insert-item--next-param): Improve prompt and adjust it to
6078 new parameter grouping. Remove obsolete code.
6079 (todo-edit-item--param-key-alist)
6080 (todo-edit-item--date-param-key-alist)
6081 (todo-edit-done-item--param-key-alist): New defconsts.
6082 (todo-edit-item--prompt): New variable.
6083 (todo-edit-item--next-key): New function.
6084 (todo-key-bindings-t): Bind "e" to todo-edit-item.
6085 Remove bindings of deleted commands.
6086
6087 2014-05-04 Leo Liu <sdl.web@gmail.com>
6088
6089 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
6090
6091 2014-05-04 Glenn Morris <rgm@gnu.org>
6092
6093 * allout-widgets.el (allout-widgets-tally)
6094 (allout-decorate-item-guides):
6095 * menu-bar.el (menu-bar-positive-p):
6096 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6097 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
6098 * progmodes/js.el (js--inside-param-list-p)
6099 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
6100 * progmodes/prolog.el (region-exists-p):
6101 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
6102 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
6103 Doc fixes (replace `iff').
6104
6105 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
6108
6109 2014-05-04 Leo Liu <sdl.web@gmail.com>
6110
6111 Support Chinese diary entries in calendar and diary. (Bug#17393)
6112 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
6113 (calendar-chinese-from-absolute-for-diary)
6114 (calendar-chinese-to-absolute-for-diary)
6115 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
6116 (diary-chinese-list-entries): New functions to list and mark
6117 Chinese diary entries in the calendar window.
6118 (diary-chinese-anniversary)
6119 (diary-chinese-insert-anniversary-entry)
6120 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
6121 (diary-chinese-insert-yearly-entry): New commands to insert
6122 Chinese diary entries.
6123
6124 * calendar/diary-lib.el (diary-font-lock-keywords):
6125 Support font-locking Chinese dates.
6126
6127 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
6128 inserting Chinese diary entries.
6129
6130 * calendar/calendar.el (diary-chinese-entry-symbol):
6131 New customizable variable.
6132 (calendar-mode-map): Add bindings for inserting Chinese diary
6133 entries.
6134
6135 2014-05-03 Juri Linkov <juri@jurta.org>
6136
6137 * dired.el (dired-check-switches, dired-switches-recursive-p):
6138 New functions. (Bug#17218)
6139 (dired-switches-escape-p, dired-move-to-end-of-filename):
6140 Use `dired-check-switches'.
6141 (dired-insert-old-subdirs, dired-build-subdir-alist)
6142 (dired-sort-R-check): Use `dired-switches-recursive-p'.
6143
6144 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
6145
6146 * simple.el (undo-make-selective-list): New algorithm fixes
6147 incorrectness of position adjustments when undoing in region.
6148 (Bug#17235)
6149 (undo-elt-crosses-region): Make obsolete.
6150 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
6151 New functions to adjust positions using undo-deltas.
6152
6153 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
6156 the last consecutive closing paren (bug#17345).
6157
6158 2014-04-30 Reuben Thomas <rrt@sc3d.org>
6159
6160 * dired.el (dired-mode): make terminology for eXpunge command
6161 consistent. (Bug#17276)
6162
6163 2014-04-30 Eli Zaretskii <eliz@gnu.org>
6164
6165 * dired.el (dired-initial-position-hook, dired-initial-position):
6166 Doc string fixes.
6167
6168 2014-04-30 Glenn Morris <rgm@gnu.org>
6169
6170 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
6171
6172 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
6173
6174 * faces.el (face-spec-recalc): Apply X resources only after the
6175 defface spec has been applied. Thus, X resources are no longer
6176 overriden by the defface spec which also fixes issues on win32 where
6177 the toolbar coloring was wrong because it is set through X resources
6178 and was (wrongfully) overriden. (Bug#16694)
6179
6180 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * textmodes/rst.el (electric-pair-pairs): Declare.
6183 (rst-mode): Set it (bug#17131).
6184
6185 2014-04-30 Juri Linkov <juri@jurta.org>
6186
6187 * desktop.el (desktop-value-to-string): Let-bind `print-length'
6188 and `print-level' to nil. (Bug#17351)
6189
6190 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6191
6192 * battery.el (battery-update): Handle the case where battery
6193 status is "N/A" (bug#17319).
6194
6195 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
6198 to syntax-propertize.
6199 (ps-mode-auto-indent): Mark as obsolete.
6200 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
6201 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
6202 word regexp operators.
6203 (ps-mode-map): Move initialization into declaration. Remove binding
6204 for TAB, RET, >, ], and }.
6205 (ps-mode-syntax-table): Move initialization into declaration.
6206 Don't give word syntax to non-word chars.
6207 (ps-run-mode-map): Move initialization into declaration.
6208 (ps-mode-menu-main): Remove auto-indent entry.
6209 (ps-mode-smie-rules): New function.
6210 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
6211 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
6212 (ps-mode--string-syntax-table): New const.
6213 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
6214 New functions.
6215 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
6216 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
6217
6218 2014-04-27 Daniel Colascione <dancol@dancol.org>
6219
6220 * term/xterm.el (xterm-paste): Use large finite timeout when
6221 reading event to avoid putting keys in this-command-keys.
6222
6223 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
6226 (perl-syntax-propertize-function): Use it. Extend handling of
6227 here-docs to the unquoted case.
6228
6229 2014-04-25 Eli Zaretskii <eliz@gnu.org>
6230
6231 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
6232 Use equal-including-properties to compare help-echo strings (bug#17331).
6233
6234 2014-04-25 Leo Liu <sdl.web@gmail.com>
6235
6236 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6237 Fix syntax for @. (Bug#17325)
6238
6239 2014-04-25 Daniel Colascione <dancol@dancol.org>
6240
6241 * emacs-lisp/cl.el (gv): Require gv early to break eager
6242 macro-expansion cycles.
6243
6244 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * simple.el (region-active-p): Check there's a mark (bug#17324).
6247
6248 * simple.el (completion-list-mode-map): Use choose-completion for the
6249 mouse binding as well (bug#17302).
6250 (completion-list-mode, completion-setup-function): Adjust docstring and
6251 echo area message accordingly.
6252 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
6253 calling convention of choose-completion.
6254 * comint.el (comint-dynamic-list-completions):
6255 * term.el (term-dynamic-list-completions): Accept choose-completion.
6256
6257 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
6258 &, |, +, - and * can't be a division (bug#17317).
6259
6260 * term/xterm.el (xterm--version-handler): Don't use modern xterm
6261 features on gnome-terminal (bug#16988).
6262
6263 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
6264
6265 Improve Scheme font-locking for (define ((foo ...) ...) ...).
6266
6267 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
6268 the declared object, ignore zero or more parens, not zero or one.
6269
6270 2014-04-24 Leo Liu <sdl.web@gmail.com>
6271
6272 * progmodes/xscheme.el (xscheme-expressions-ring)
6273 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
6274 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
6275 (xscheme-allow-output-p, xscheme-prompt)
6276 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
6277
6278 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
6279 Comment out unused functions.
6280
6281 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * info.el: Use lexical-binding and cl-lib.
6284 Use defvar-local and setq-local instead of make-local-variable.
6285 (Info-apropos-matches): Avoid add-to-list.
6286 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
6287
6288 2014-04-24 Daniel Colascione <dancol@dancol.org>
6289
6290 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
6291
6292 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
6295
6296 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
6297
6298 * dired.el (dired-insert-set-properties): Do not consider
6299 subdirectory headings and empty lines to be information that
6300 `dired-hide-details-mode' should hide. (Bug#17228)
6301
6302 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6303
6304 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6305 Remove test messages.
6306 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
6307 and `target' twice.
6308
6309 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
6312 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
6313
6314 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
6315
6316 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6317
6318 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6319 Set "IFS=" when using read builtin, in order to preserve spaces in
6320 the file name. Add test messages for hunting a bug on hydra.
6321 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
6322
6323 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
6326 Don't prettify a word within a symbol.
6327
6328 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6329
6330 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
6331 possible.
6332
6333 2014-04-22 Daniel Colascione <dancol@dancol.org>
6334
6335 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
6336 use defun to define `function-put'.
6337
6338 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
6341 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
6342 (lisp-mode-variables): Set font-lock-extra-managed-props.
6343
6344 * emacs-lisp/byte-run.el (function-put): New function.
6345 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
6346 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
6347 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
6348 Use them.
6349
6350 2014-04-22 Daniel Colascione <dancol@dancol.org>
6351
6352 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
6353 Add `full-p' parameter; when nil, call `macroexpand' instead of
6354 `macroexpand-all'.
6355
6356 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
6357 Improve docstrings.
6358
6359 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6360 Use lambda function values, not quoted lambdas.
6361 (byte-compile-recurse-toplevel): Remove extraneous &optional.
6362
6363 * emacs-lisp/cl-macs.el
6364 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
6365 (cl-struct-slot-value): Conditionally use aref or nth so that the
6366 compiler produces optimal code.
6367
6368 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
6371 (inline): Don't inline cl--set-elt.
6372 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
6373 Define as inlinable instead.
6374 (cl-struct-set-slot-value): Remove.
6375
6376 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
6377 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
6378 Use setf instead.
6379
6380 2014-04-21 Daniel Colascione <dancol@dancol.org>
6381
6382 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
6383 last two parameters after all.
6384 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
6385 (cl--compiler-macro-assoc,cl-struct-slot-value)
6386 (cl-struct-set-slot-value): Stop using them.
6387
6388 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
6391 entry in image-mode-winprops-alist.
6392
6393 2014-04-21 Daniel Colascione <dancol@dancol.org>
6394
6395 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
6396 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
6397 (byte-compile-toplevel-file-form): Use it.
6398
6399 * emacs-lisp/cl-macs.el:
6400 (cl--loop-let): Properly destructure `while' clauses.
6401
6402 2014-04-20 Daniel Colascione <dancol@dancol.org>
6403
6404 * vc/vc.el (vc-root-dir): New public autoloaded function for
6405 generically finding the current VC root.
6406 * vc/vc-hooks.el (vc-not-supported): New error.
6407 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
6408
6409 2014-04-20 Daniel Colascione <dancol@dancol.org>
6410
6411 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
6412 argument.
6413 (cl--const-expr-val): cl--const-expr-val should macroexpand its
6414 argument in case we're inside a symbol-macrolet.
6415 (cl--do-arglist, cl--compiler-macro-typep)
6416 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
6417 environment to `cl--const-expr-val'.
6418 (cl-struct-sequence-type,cl-struct-slot-info)
6419 (cl-struct-slot-offset, cl-struct-slot-value)
6420 (cl-struct-set-slot-value): New functions.
6421
6422 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6423
6424 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
6425 assignments such as "case=hello" (bug#17297).
6426
6427 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
6428
6429 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
6430 Do not autoload.
6431 (tramp-file-name-handler, tramp-completion-file-name-handler):
6432 Revert patch from 2014-04-10, it isn't necessary anymore.
6433 (tramp-autoload-file-name-handler)
6434 (tramp-register-autoload-file-name-handlers): New defuns.
6435 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
6436 (tramp-register-file-name-handlers): Remove also
6437 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
6438 Do not autoload its invocation, but eval it after loading of 'tramp.
6439
6440 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
6441
6442 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
6443
6444 2014-04-17 Daniel Colascione <dancol@dancol.org>
6445
6446 Add support for bracketed paste mode; add infrastructure for
6447 managing terminal mode enabling and disabling automatically.
6448
6449 * xt-mouse.el:
6450 (xterm-mouse-mode): Simplify.
6451 (xterm-mouse-tracking-enable-sequence)
6452 (xterm-mouse-tracking-disable-sequence): New constants.
6453 (turn-on-xterm-mouse-tracking-on-terminal)
6454 (turn-off-xterm-mouse-tracking-on-terminal):
6455 Use tty-mode-set-strings and tty-mode-reset-strings terminal
6456 parameters instead of random hooks.
6457 (turn-on-xterm-mouse-tracking)
6458 (turn-off-xterm-mouse-tracking): Delete.
6459
6460 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
6461 (xterm-paste-ending-sequence): New constant.
6462 (xterm-paste): New command used for bracketed paste support.
6463
6464 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
6465 (terminal-init-xterm-bracketed-paste-mode): New function.
6466 (terminal-init-xterm): Call it.
6467 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
6468 and tty-mode-reset-strings instead of random hooks.
6469 (xterm-turn-on-modify-other-keys)
6470 (xterm-turn-off-modify-other-keys)
6471 (xterm-remove-modify-other-keys): Delete obsolete functions.
6472
6473 * term/screen.el: Rewrite to just use the xterm code.
6474 Add copyright notice. Mention tmux.
6475
6476 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
6477
6478 * image-mode.el (image-mode-window-put): Also update the property of
6479 the "default window".
6480 * doc-view.el (doc-view-new-window-function): If no window
6481 exists, move to the last known page.
6482
6483 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6484
6485 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
6486 here-documents (bug#17262).
6487
6488 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6489
6490 * term/pc-win.el (x-list-fonts, x-get-selection-value):
6491 Provide doc strings, as required by snarf-documentation.
6492
6493 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6494
6495 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
6496 arg of overlays-at. Use `invisible-p'.
6497
6498 * obsolete/lucid.el (extent-at):
6499 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
6500 overlays-at.
6501 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
6502
6503 2014-04-16 João Távora <joaotavora@gmail.com>
6504
6505 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
6506 links. (Bug#17217).
6507
6508 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6509
6510 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6511 Use mapc to loop over a vector. (Bug#17257).
6512
6513 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
6514
6515 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
6516 patch, there are new problems with file names containing spaces.
6517 Get rid of backticks. (Bug#17238)
6518
6519 2014-04-16 João Távora <joaotavora@gmail.com>
6520
6521 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
6522 possible bug.
6523
6524 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6525
6526 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
6527 (blink-cursor-mode): Mention customization variables and the
6528 effect of 'blink-cursor-blinks'.
6529
6530 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
6531
6532 * simple.el (undo): Prevent insertion of identity mapping into
6533 undo-equiv-table so as undo-only does not inf loop in the presence
6534 of consecutive nils in undo list.
6535
6536 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
6537
6538 * faces.el (make-face): Deprecate optional argument as it is no
6539 longer needed/used since the conditional X resources handling
6540 has been pushed down to make-face-x-resource-internal itself.
6541 (make-empty-face): Don't pass optional argument to make-face.
6542
6543 2014-04-16 Karl Fogel <kfogel@red-bean.com>
6544
6545 * savehist.el (savehist-save): Remove workaround for a read-passwd
6546 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
6547 noticing that the shim was still present.
6548
6549 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
6552
6553 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * faces.el (face-set-after-frame-default): Remove unused local variable.
6556
6557 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * progmodes/grep.el: Use lexical-binding.
6560 (grep-expand-template): Pass explicit lexical env to `eval'.
6561 (zrgrep): Let-bind grep-find-template explicitly.
6562
6563 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
6564 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
6565
6566 2014-04-12 Eli Zaretskii <eliz@gnu.org>
6567
6568 * international/characters.el <standard-case-table>: Add entries
6569 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
6570 Set category of Coptic characters be 'g' (Greek).
6571
6572 2014-04-12 Leo Liu <sdl.web@gmail.com>
6573
6574 * progmodes/octave.el (completion-table-with-cache):
6575 Define if not available.
6576 (octave-goto-function-definition, octave-sync-function-file-names)
6577 (octave-find-definition-default-filename):
6578 Backquote upattern for compatibility.
6579
6580 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
6581
6582 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
6583 name twice due to backticks. (Bug#17238)
6584
6585 2014-04-12 Glenn Morris <rgm@gnu.org>
6586
6587 * term/w32-win.el (x-win-suspend-error):
6588 * term/x-win.el (x-win-suspend-error): Sync docs.
6589
6590 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
6591
6592 * faces.el (make-face): Remove deprecated optional argument.
6593 The conditional application of X resources is handled directly by
6594 make-face-x-resource-internal since Emacs 24.4.
6595 (make-empty-face): Don't pass optional argument to make-face.
6596
6597 2014-04-11 Glenn Morris <rgm@gnu.org>
6598
6599 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
6600
6601 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6602
6603 Ediff's overlay priorities cause more trouble than they solve.
6604 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
6605 (ediff-highest-priority): Remove function (bug#17234).
6606 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
6607 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
6608 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
6609 overlay priorities.
6610
6611 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
6612
6613 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
6614 entry; use symbol boundaries to avoid mis-matches.
6615
6616 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
6617
6618 * net/tramp.el (tramp-file-name-handler)
6619 (tramp-completion-file-name-handler): Avoid recursive loading.
6620
6621 * net/tramp-sh.el (tramp-make-copy-program-file-name):
6622 Quote result also locally.
6623
6624 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
6627 Remove left-over code.
6628
6629 * newcomment.el (comment-indent-new-line): Sink code where it's used.
6630 Reuse the previous comment's indentation unconditionally if it's on its
6631 own line.
6632
6633 2014-04-09 Daniel Colascione <dancol@dancol.org>
6634
6635 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
6636 `no-syntax-crossing' arguments. Forward to `up-list'.
6637 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
6638 Implement logic for escaping from strings. Use narrowing to deal
6639 with corner cases.
6640
6641 2014-04-09 Leo Liu <sdl.web@gmail.com>
6642
6643 * net/rcirc.el (rcirc-connection-info): New variable.
6644 (rcirc-connect): Use it to store connection info.
6645 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
6646 for killed process.
6647 (rcirc-cmd-reconnect): New command. (Bug#17045)
6648 (rcirc-mode, set-rcirc-encode-coding-system)
6649 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
6650
6651 2014-04-09 Daniel Colascione <dancol@dancol.org>
6652
6653 * emacs-lisp/cl-indent.el: Add comment claiming
6654 facility is also good for elisp.
6655 (lisp-indent-find-method): New function.
6656 (common-lisp-indent-function): Recognize cl-loop.
6657 (common-lisp-indent-function-1): Recognize cl constructs; use
6658 `lisp-indent-find-method' instead of `get' directly.
6659 (if): Use else-body style for elisp.
6660
6661 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
6662
6663 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6664 Module methods. (Bug#17216)
6665
6666 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 * help.el (describe-bindings): Fix buffer handling (bug#17210).
6669 (describe-bindings-internal): Mark obsolete.
6670
6671 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
6674 buffer-file-name, and buffer-file-truename any more.
6675
6676 2014-04-08 Leo Liu <sdl.web@gmail.com>
6677
6678 Use lexical-binding and require cl-lib.
6679 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
6680 (rcirc-handler-generic, rcirc-fill-paragraph)
6681 (rcirc-format-response-string, rcirc-target-buffer)
6682 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
6683 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
6684 (rcirc-ctcp-sender-PING, rcirc-browse-url)
6685 (rcirc-markup-timestamp, rcirc-markup-attributes)
6686 (rcirc-markup-my-nick, rcirc-markup-urls)
6687 (rcirc-markup-bright-nicks, rcirc-markup-fill)
6688 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
6689 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
6690 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
6691 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
6692 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
6693 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
6694 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
6695 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
6696 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
6697 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
6698 use cl-lib.
6699
6700 2014-04-07 João Távora <joaotavora@gmail.com>
6701
6702 * elec-pair.el (electric-pair--syntax-ppss):
6703 When inside comments parse from comment beginning.
6704 (electric-pair--balance-info): Fix typo in comment.
6705 (electric-pair--in-unterminated-string-p): Delete.
6706 (electric-pair--unbalanced-strings-p): New function.
6707 (electric-pair-string-bound-function): New var.
6708 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6709 according to `electric-pair--in-unterminated-string-p'
6710
6711 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6712 Inhibit quote pairing if point-max is inside an unterminated string.
6713 (electric-pair--looking-at-unterminated-string-p): Delete.
6714 (electric-pair--in-unterminated-string-p): New function.
6715
6716 2014-04-07 Glenn Morris <rgm@gnu.org>
6717
6718 * shell.el (shell-directory-tracker):
6719 Go back to just ignoring failures. (Bug#17159)
6720
6721 2014-04-07 João Távora <joaotavora@gmail.com>
6722
6723 Fix `electric-pair-delete-adjacent-pairs' in modes binding
6724 backspace. (bug#16981)
6725 * elec-pair.el (electric-pair-backward-delete-char): Delete.
6726 (electric-pair-backward-delete-char-untabify): Delete.
6727 (electric-pair-mode-map): Bind backspace to a menu item filtering
6728 a new `electric-pair-delete-pair' command.
6729 (electric-pair-delete-pair): New command.
6730
6731 * progmodes/python.el (python-electric-pair-string-delimiter):
6732 Fix triple-quoting electricity. (Bug#17192)
6733
6734 * elec-pair.el (electric-pair-post-self-insert-function):
6735 Don't skip whitespace when `electric-pair-text-pairs' and
6736 `electric-pair-pairs' were used. syntax to
6737 electric-pair--skip-whitespace. (Bug#17183)
6738
6739 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6740
6741 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
6742 "<F>". (Bug#17199)
6743
6744 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6745
6746 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
6747 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
6748
6749 2014-04-07 Glenn Morris <rgm@gnu.org>
6750
6751 * help.el (view-lossage): Doc tweak.
6752
6753 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
6754
6755 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
6756 only when inhibit-x-resources is nil, and do that earlier in the
6757 function. Doc fix. (Bug#16694)
6758 (face-spec-choose): Accept additional optional argument, whose
6759 value is returned if no matching attributes are found.
6760 (face-spec-recalc): Use the new optional argument when calling
6761 face-spec-choose. (Bug#16378)
6762 (make-face-x-resource-internal): Do nothing when
6763 inhibit-x-resources is non-nil. Don't touch the default face if
6764 reversed video is given--as was done in previous versions of Emacs.
6765 (face-set-after-frame-default): Don't call
6766 make-face-x-resource-internal here. (Bug#16434)
6767
6768 2014-04-07 Tassilo Horn <tsdh@gnu.org>
6769
6770 * doc-view.el (doc-view-bookmark-jump):
6771 Use `bookmark-after-jump-hook' to jump to the right page after the
6772 buffer is shown in a window. (bug#16090)
6773
6774 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6775
6776 * international/characters.el (mirroring): Fix last change:
6777 instead of loading uni-mirrored.el explicitly, do that implicitly
6778 by creating the 'mirroring' uniprop table. This avoids announcing
6779 the loading of uni-mirrored.el.
6780
6781 2014-04-07 Glenn Morris <rgm@gnu.org>
6782
6783 * files.el (buffer-stale--default-function)
6784 (buffer-stale-function, revert-buffer--default):
6785 * autorevert.el (auto-revert-buffers): Doc tweaks.
6786
6787 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6788
6789 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
6790
6791 2014-04-07 Glenn Morris <rgm@gnu.org>
6792
6793 * files.el (make-backup-file-name-function)
6794 (make-backup-file-name, make-backup-file-name--default-function)
6795 (make-backup-file-name-1, find-backup-file-name)
6796 (revert-buffer-function, revert-buffer-insert-file-contents-function)
6797 (buffer-stale--default-function, buffer-stale-function)
6798 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
6799 (revert-buffer, revert-buffer--default)
6800 (revert-buffer-insert-file-contents--default-function):
6801 Doc fixes related to defaults no longer being nil.
6802 (make-backup-file-name-function): Bump :version.
6803 Restore nil as a valid but deprecated custom type.
6804
6805 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6808 Handle $' used as a variable (bug#17174).
6809
6810 * progmodes/perl-mode.el (perl-indent-new-calculate):
6811 Handle forward-sexp failure (bug#16985).
6812 (perl-syntax-propertize-function): Add "foreach" and "for" statement
6813 modifiers introducing expressions (bug#17116).
6814
6815 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
6818
6819 2014-04-05 Leo Liu <sdl.web@gmail.com>
6820
6821 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6822 Add define-compilation-mode.
6823
6824 2014-04-04 João Távora <joaotavora@gmail.com>
6825
6826 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
6827 parse from comment beginning.
6828 (electric-pair--balance-info): Fix typo in comment.
6829 (electric-pair--in-unterminated-string-p): Delete.
6830 (electric-pair--unbalanced-strings-p): New function.
6831 (electric-pair-string-bound-function): New var.
6832 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6833 according to `electric-pair--in-unterminated-string-p'.
6834
6835 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6836
6837 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
6838 Move declaration before first use.
6839 (reftex-move-to-next-arg): Silence compiler warning.
6840
6841 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
6842
6843 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
6844 Use `window-total-width' instead of `window-width'.
6845
6846 2014-04-03 Daniel Colascione <dancol@dancol.org>
6847
6848 * subr.el (set-transient-map): Remove rms's workaround entirely;
6849 use new `suspicious-object' subr to mark our lambda for closer
6850 scrutiny during gc.
6851
6852 2014-04-02 Richard Stallman <rms@gnu.org>
6853
6854 * subr.el (set-transient-map): Comment out previous change.
6855
6856 2014-04-02 Glenn Morris <rgm@gnu.org>
6857
6858 * menu-bar.el (menu-bar-file-menu):
6859 * vc/ediff.el (ediff-current-file):
6860 Update for revert-buffer-function no longer being nil by default.
6861
6862 * simple.el (command-execute): Respect nil disabled-command-function.
6863
6864 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6865
6866 * simple.el (command-execute): Do not execute the command when it
6867 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
6868
6869 2014-04-02 Juri Linkov <juri@jurta.org>
6870
6871 * dired-aux.el (dired-compress-file): Don't use string-match-p
6872 because its match data is used afterwards.
6873
6874 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
6877 0 like nil.
6878
6879 2014-04-02 João Távora <joaotavora@gmail.com>
6880
6881 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6882 Inhibit quote pairing if point-max is inside an unterminated string.
6883 (electric-pair--looking-at-unterminated-string-p):
6884 Delete.
6885 (electric-pair--in-unterminated-string-p): New function.
6886
6887 2014-04-01 Daniel Colascione <dancol@dancol.org>
6888
6889 * minibuffer.el (minibuffer-complete): Prevent assertion failure
6890 when trying to complete the prompt.
6891
6892 2014-03-31 Leo Liu <sdl.web@gmail.com>
6893
6894 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6895 Refactor out eldoc-documentation-function-default.
6896 (eldoc-documentation-function-default): New function.
6897 (eldoc-documentation-function): Change value.
6898
6899 2014-03-31 Glenn Morris <rgm@gnu.org>
6900
6901 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
6902
6903 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
6904 (vhdl-compose-components-package, vhdl-compose-configuration):
6905 Abbreviate default-directory (missing from some previous upstream sync).
6906
6907 2014-03-31 Reto Zimmermann <reto@gnu.org>
6908
6909 Sync with upstream vhdl mode v3.35.2.
6910 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6911 (top-level): No longer require assoc.
6912 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
6913 New functions. Use throughout to replace aget etc.
6914 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
6915 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
6916 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
6917 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
6918 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
6919 except `vhdl-compiler'.
6920 (vhdl-error-regexp-add-emacs): Remove all other compilers,
6921 when appropriate.
6922
6923 2014-03-31 Glenn Morris <rgm@gnu.org>
6924
6925 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
6926 Revert 2014-03-26 merge goof; go back to using defalias.
6927
6928 2014-03-30 Daniel Colascione <dancol@dancol.org>
6929
6930 * comint.el (comint-send-input):
6931 Deactivate completion-in-region-mode before we send comint input.
6932 (Bug#17139).
6933
6934 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
6935 on keyboard-quit.
6936
6937 2014-03-29 Glenn Morris <rgm@gnu.org>
6938
6939 * textmodes/reftex.el: Manage most autoloads automatically.
6940 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
6941 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
6942 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
6943 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
6944 * textmodes/reftex-toc.el: Set generated-autoload-file,
6945 and add autoload cookies for reftex.el.
6946 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
6947
6948 2014-03-28 Glenn Morris <rgm@gnu.org>
6949
6950 * cus-start.el (report-emacs-bug-address): Set custom properties.
6951 * mail/emacsbug.el (report-emacs-bug-address):
6952 Variable is now defined in emacs.c.
6953
6954 * mail/emacsbug.el (report-emacs-bug):
6955 Include system-configuration-features.
6956
6957 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
6958
6959 * simple.el (cycle-spacing): Never delete spaces on first run by
6960 default, but do so in a new 'fast mode and if there are already
6961 N spaces (the previous behavior).
6962 Compare N with its value in previous invocation so that changing
6963 prefix argument restarts `cycle-spacing' sequence.
6964 The idea is that with this change, binding M-SPC to
6965 `cycle-spacing' should not introduce any changes in behavior of
6966 the binding so long as users do not type M-SPC twice in a raw with
6967 the same prefix argument or lack thereof.
6968
6969 2014-03-28 Glenn Morris <rgm@gnu.org>
6970
6971 * faces.el (term-file-aliases): New variable.
6972 (tty-run-terminal-initialization): Respect term-file-aliases.
6973 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
6974 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
6975 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
6976
6977 2014-03-27 Glenn Morris <rgm@gnu.org>
6978
6979 * startup.el (inhibit-startup-hooks): Doc tweak.
6980 (normal-top-level): Simplify running of hooks.
6981 For window-setup-hook, respect inhibit-startup-hooks.
6982 (command-line-1): Don't set window-setup-hook to nil.
6983
6984 Allow selective autoloading from obsolete/ directory.
6985 * Makefile.in (obsolete-autoloads): New rule.
6986 (autoloads): Run obsolete-autoloads.
6987 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
6988 * simple.el (iswitchb-mode): Remove hand-written autoloads.
6989
6990 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
6991
6992 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6993 Highlight special globals with font-lock-builtin-face. (Bug#17057)
6994
6995 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6996 Don't propertize `?' or `!' as symbol constituent when after
6997 colon. (Bug#17097)
6998
6999 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
7000
7001 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
7002 which is no longer needed and causes trouble in GTK builds (bug#17046).
7003
7004 * emacs-lisp/package-x.el (package--archive-contents-from-url):
7005 Use url-insert-file-contents; package-handle-response no longer exists.
7006
7007 2014-03-26 Daniel Colascione <dancol@dancol.org>
7008
7009 * simple.el (process-menu-mode-map): New variable.
7010 (process-menu-delete-process): New command.
7011
7012 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
7013
7014 * emacs-lisp/package.el: Fix bug#16733 (again).
7015 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
7016 (url-http-target-url): Remove unused declarations.
7017 (package-handle-response): Remove.
7018 (package--with-work-buffer): Use url-insert-file-contents and simplify.
7019 (package--download-one-archive): Use current-buffer instead of
7020 dynamic binding of `buffer'.
7021 (describe-package-1): Do not decode readme-string.
7022
7023 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
7024
7025 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
7026
7027 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
7028 from 2014-03-07, it decreases performance unnecessarily. Let-bind
7029 `remote-file-name-inhibit-cache' to nil in the second pass.
7030 (tramp-find-executable): Do not call "which" on SunOS.
7031 (tramp-send-command-and-check): Fix docstring.
7032 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
7033 check whether source directory has set the sticky bit.
7034
7035 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
7036
7037 * simple.el (primitive-undo): Only process marker adjustments
7038 validated against their corresponding (TEXT . POS). Issue warning
7039 for lone marker adjustments in undo history. (Bug#16818)
7040 (undo-make-selective-list): Add marker adjustments to selective
7041 undo list based on whether their corresponding (TEXT . POS) is in
7042 the region. Remove variable adjusted-markers, which was unused
7043 and only non nil during undo-make-selective-list.
7044 (undo-elt-in-region): Return nil when passed a marker adjustment
7045 and explain in function doc.
7046
7047 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7048
7049 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
7050
7051 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
7052
7053 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
7054 Match special global variables without curlies, too.
7055 (ruby-font-lock-keywords): Simplify the matcher for special global
7056 variables. Don't require a non-word character after the variable.
7057 (Bug#17057)
7058
7059 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * simple.el (redisplay-highlight-region-function): Increase priority of
7062 overlay to make sure boundaries are visible (bug#15899).
7063
7064 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
7065
7066 * frameset.el (frameset--initial-params): Fix typo in parameter name.
7067 (frameset-restore): Compare display strings with equal.
7068
7069 * frame.el (make-frame): Don't quote display name in error message,
7070 it is already a string.
7071
7072 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7073
7074 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
7075 the password.
7076
7077 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
7078
7079 * emacs-lisp/package.el (package--add-to-archive-contents):
7080 Include already installed and built-in packages in
7081 `package-archive-contents'.
7082 (package-install): Don't include already installed packages in the
7083 options during interactive invocation. (Bug#16762)
7084 (package-show-package-list): If the buffer is already displayed in
7085 another window, switch to that window.
7086
7087 2014-03-26 Reto Zimmermann <reto@gnu.org>
7088
7089 Sync with upstream vhdl mode v3.35.1.
7090 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
7091 (vhdl-compiler-alist): Doc fix.
7092 (vhdl-goto-line): Remove.
7093 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
7094 (vhdl-mode) <paragraph-start>: Fix value.
7095 (vhdl-fix-statement-region): Not `for' in wait-statement.
7096 (vhdl-beautify-region): Also (un)tabify.
7097 (vhdl-get-visible-signals):
7098 Scan declarative part of generate statements.
7099 (vhdl-template-record): Fix indentation for record type declaration.
7100 (vhdl-expand-abbrev, vhdl-expand-paren):
7101 Revert to using fset again rather than defalias.
7102 (vhdl-scan-directory-contents): Tweak.
7103 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
7104 (vhdl-compose-components-package):
7105 Replace vhdl-goto-line with forward-line.
7106 (top-level): Tweak speedbar frame selection.
7107 (vhdl-generate-makefile-1): Support for compilers with no
7108 unit-to-file name mapping (create directory with dummy files).
7109
7110 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
7111
7112 Sync with upstream verilog-mode revision 702457d.
7113 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7114 (create-lockfiles): Declare.
7115 (verilog-read-decls): Fix module header imports, bug709.
7116 Reported by Victor Lau.
7117 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
7118 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
7119 interface-only modules, bug721. Reported by Dean Hoyt.
7120
7121 2014-03-26 Glenn Morris <rgm@gnu.org>
7122
7123 * obsolete/gulp.el: Move here from emacs-lisp/.
7124
7125 * files.el (lock-buffer, unlock-buffer, file-locked-p):
7126 Remove fallback aliases, since they are always defined now.
7127
7128 2014-03-24 Daniel Colascione <dancol@dancol.org>
7129
7130 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
7131 instead of cl-loop search function.
7132
7133 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
7134
7135 * calendar/parse-time.el (parse-time-iso8601-regexp)
7136 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
7137 it more generally.
7138
7139 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
7140
7141 * net/dns.el (network-interface-list): Define for XEmacs.
7142
7143 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
7144
7145 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
7146 the network interfaces changed.
7147 (dns-query): Use it to flush the data.
7148
7149 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
7150
7151 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
7152
7153 2014-03-23 Daniel Colascione <dancol@dancol.org>
7154
7155 Change subword-mode to use `find-word-boundary-function-table' and
7156 replace `capitalized-words-mode'. Also, convert to lexical binding.
7157 * progmodes/cap-words.el: Delete now-obsolete file.
7158 * progmodes/subword.el: Reimplement using
7159 `find-word-boundary-function-table'.
7160 (subword-mode-map): Hollow out.
7161 (capitalized-words-mode): Define as obsolete alias for
7162 `subword-mode'.
7163 (subword-mode, superword-mode): Tweak documentation to reflect new
7164 implementation; call `subword-setup-buffer'.
7165 (subword-forward, subword-capitalize): Add underscore to indicate
7166 unused variable.
7167 (subword-find-word-boundary-function-table): New constant.
7168 (subword-empty-char-table): New constant.
7169 (subword-setup-buffer): New function.
7170 (subword-find-word-boundary): New function.
7171
7172 2014-03-23 Daniel Colascione <dancol@dancol.org>
7173
7174 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
7175 list to look for keyword arguments instead of `memq', fixing
7176 (Bug#3647) --- unfortunately, only for freshly-compiled code.
7177 Please make bootstrap.
7178
7179 2014-03-22 Glenn Morris <rgm@gnu.org>
7180
7181 * dired.el (dired-read-regexp): Make obsolete.
7182 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
7183 (dired-flag-files-regexp):
7184 * dired-aux.el (dired-mark-read-regexp):
7185 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
7186
7187 * startup.el (fancy-startup-text):
7188 * help.el (describe-gnu-project): Visit online info about GNU project.
7189
7190 * help-fns.el (help-fns--interactive-only): New function.
7191 (help-fns-describe-function-functions): Add the above function.
7192 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
7193 (next-line, previous-line): Remove hand-written interactive-only
7194 information from doc strings, it is auto-generated now.
7195 * bookmark.el (bookmark-write):
7196 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
7197 (epa-mail-import-keys): Mark interactive-only,
7198 and remove hand-written interactive-only information from doc strings.
7199 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
7200 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
7201 * files.el (not-modified):
7202 * simple.el (mark-whole-buffer): Mark interactive-only.
7203
7204 * emacs-lisp/byte-run.el (defun-declarations-alist):
7205 Add interactive-only. Doc tweak.
7206 (macro-declarations-alist): Doc tweak.
7207 * subr.el (declare): Doc tweak (add xref to manual).
7208 * comint.el (comint-run):
7209 * files.el (insert-file-literally, insert-file):
7210 * replace.el (replace-string, replace-regexp):
7211 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
7212 (delete-forward-char, goto-line, insert-buffer, next-line)
7213 (previous-line): Set interactive-only via declare.
7214
7215 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
7216
7217 * emacs-lisp/package.el (package-desc): Use the contents of the
7218 quoted form, not its cdr. (Bug#16873)
7219
7220 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
7221
7222 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
7223 benefit of doc.c; change parameter profile to match the X function.
7224
7225 2014-03-22 Leo Liu <sdl.web@gmail.com>
7226
7227 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
7228 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
7229
7230 2014-03-21 Richard Stallman <rms@gnu.org>
7231
7232 * battery.el (battery-linux-sysfs): Search for each field
7233 from the beginning of the buffer.
7234
7235 * subr.el (set-transient-map): Clear out function and value
7236 of the temporary symbol when we're done with it.
7237
7238 * mail/rmailsum.el (rmail-summary-delete-forward):
7239 Optimize case of reaching end and handling count.
7240 (rmail-summary-mark-deleted): Optimize when N is current msg.
7241 Don't create new summary line.
7242 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
7243 (rmail-summary-undelete-many): Rewrite for speed.
7244 (rmail-summary-msg-number): New function.
7245
7246 * mail/rmail.el (rmail-delete-message): Update summary.
7247 (rmail-undelete-previous-message): Handle repeat count arg.
7248 (rmail-delete-backward, rmail-delete-forward): Likewise.
7249
7250 2014-03-21 Daniel Colascione <dancol@dancol.org>
7251
7252 * mail/emacsbug.el (report-emacs-bug): Include memory usage
7253 information in bug reports.
7254
7255 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
7256
7257 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
7258 and `tramp-copy-env'.
7259
7260 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
7261 (tramp-maybe-open-connection): Handle `tramp-login-env'.
7262
7263 2014-03-21 Glenn Morris <rgm@gnu.org>
7264
7265 * electric.el (electric-indent-post-self-insert-function): Add doc.
7266
7267 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
7268
7269 * emacs-lisp/package.el (package-compute-transaction):
7270 Use `version-list-<=' to compare the requirement version against
7271 the version of package already to be installed. Update the error
7272 message. (Bug#16826)
7273
7274 * progmodes/ruby-mode.el (ruby-smie-rules):
7275 Add indentation rule for ` @ '. (Bug#17050)
7276
7277 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
7278
7279 * align.el (align-regexp): Remove superfluous backslash.
7280
7281 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
7282 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
7283 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
7284 Fix docstring typos.
7285 (ffap-next): Use C-u in docstring.
7286 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
7287 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
7288 Remove superfluous backslashes.
7289 (ffap-string-at-point): Reflow docstring.
7290
7291 * server.el (server-host): Reflow docstring.
7292 (server-unload-function): Fix docstring typo.
7293 (server-eval-at): Remove superfluous backslash.
7294
7295 * skeleton.el (skeleton-insert): Remove superfluous backslash.
7296 (skeleton-insert): Doc fix.
7297 (skeleton-insert): Reflow docstring.
7298
7299 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
7300 (tty-color-approximate, tty-color-by-index, tty-color-values)
7301 (tty-color-desc): Remove superfluous backslashes.
7302
7303 2014-03-21 Glenn Morris <rgm@gnu.org>
7304
7305 * cus-start.el (history-length): Bump :version.
7306
7307 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7308 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7309 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7310 Don't set `make-backup-files'.
7311
7312 * info.el (info--prettify-description): New function,
7313 to give info-finder descriptions consistent case, punctuation.
7314 (Info-finder-find-node): Use it. Sort packages.
7315 Refer to "description" rather than "commentary".
7316
7317 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
7318
7319 * frameset.el (frameset--print-register): New function.
7320 (frameset-to-register): Use it.
7321
7322 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
7323
7324 * progmodes/hideif.el (hif-string-to-number): New function.
7325 (hif-tokenize): Use it to understand non-decimal floats.
7326
7327 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
7328
7329 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
7330
7331 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * electric.el (electric-newline-and-maybe-indent): New command.
7334 Bind it globally to C-j.
7335 (electric-indent-mode): Don't mess with the global map any more.
7336 Don't drop the post-self-insert-hook is some buffer is still using it
7337 (bug#16770).
7338
7339 * bindings.el (global-map): Remove C-j binding.
7340
7341 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
7342 the docstring of functions advised before dumping (bug#16993).
7343
7344 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
7345
7346 * ps-print.el (ps-generate-postscript-with-faces):
7347 Explicitly deactivate the mark (bug#16866).
7348 * simple.el (deactivate-mark): Update region highlight.
7349
7350 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
7351
7352 * emacs-lisp/package.el (describe-package-1):
7353 Decode commentary (bug#16733).
7354
7355 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
7356
7357 * custom.el (defcustom): Doc fix: recommend avoiding destructive
7358 modification of the value argument of :set (bug#16755).
7359
7360 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * simple.el (newline-and-indent): Do autofill (bug#17031).
7363
7364 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
7365
7366 * newcomment.el (comment-normalize-vars): Only add escaping check
7367 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
7368 (comment-beginning): Use `narrow-to-region' instead of moving back
7369 one character.
7370 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
7371 (comment-start-skip): Update the docstring.
7372
7373 2014-03-18 Richard Stallman <rms@gnu.org>
7374
7375 * dired.el (dired-display-file): Force use of other window.
7376
7377 2014-03-18 Daniel Colascione <dancol@dancol.org>
7378
7379 * startup.el (tty-handle-args): Remove debug message from 2007.
7380
7381 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
7384 (advice--make-interactive-form): Use it to avoid (auto)loading function.
7385 (advice--make-1, advice-add, advice-remove):
7386 Remove braindead :advice-pending hack.
7387
7388 2014-03-17 Glenn Morris <rgm@gnu.org>
7389
7390 * calendar/calendar.el (calendar-generate-month): Apply weekend
7391 face to the right days; fixes 2013-08-06 change. (Bug#17028)
7392
7393 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
7394
7395 * net/tramp.el (tramp-action-out-of-band): Read pending output.
7396 (tramp-call-process): Trace also DESTINATION.
7397
7398 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7399 Quote file names when they are local. Remove superfluous trace.
7400
7401 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
7402
7403 * newcomment.el (comment-beginning): If `comment-start-skip'
7404 doesn't match, move back one char and try again. (Bug#16971)
7405
7406 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7407 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
7408 Set `comment-start-skip' to a simpler value that doesn't try to
7409 check if the semicolon is escaped (this is handled by
7410 `syntax-ppss' now). (Bug#16971)
7411
7412 * progmodes/scheme.el (scheme-mode-variables): Same.
7413
7414 2014-03-16 Martin Rudalics <rudalics@gmx.at>
7415
7416 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
7417 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
7418 current (Bug#16816, Bug#17007).
7419 (with-current-buffer-window): New macro doing the same as
7420 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
7421 * help.el (help-print-return-message): Warn in doc-string to not
7422 use this in `with-help-window'.
7423 (describe-bindings-internal): Call `describe-buffer-bindings'
7424 from within help buffer. See Juanma's scenario in (Bug#16816).
7425 (with-help-window): Update doc-string.
7426 * dired.el (dired-mark-pop-up):
7427 * files.el (save-buffers-kill-emacs):
7428 * register.el (register-preview): Use `with-current-buffer-window'
7429 instead of `with-temp-buffer-window'.
7430
7431 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
7434 Implement inserting into current buffer, documented in their docstrings.
7435 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
7436 (rst-section-tree-point, rst-forward-section, rst-indent)
7437 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
7438 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
7439 (rst-font-lock-handle-adornment-pre-match-form)
7440 (rst-repeat-last-character): Reflow docstrings.
7441 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
7442 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
7443 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
7444 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
7445 Fix docstring typos.
7446 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
7447 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
7448 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
7449
7450 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
7451
7452 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
7453 for compatibility with other ports.
7454 (ns-initialize-window-system): Use it. It is set in term/common-win.el
7455 from the -xrm command line argument, but in the Nextstep port its value
7456 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
7457
7458 * progmodes/python.el (defconst, python-syntax-count-quotes)
7459 (python-indent-region, python-indent-shift-right)
7460 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
7461 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
7462 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
7463 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
7464 (inferior-python-mode, python-shell-make-comint, run-python-internal)
7465 (python-shell-buffer-substring, python-shell-send-buffer)
7466 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
7467 (python-completion-complete-at-point, python-fill-docstring-style)
7468 (python-eldoc-function, python-imenu-format-item-label)
7469 (python-imenu-format-parent-item-label)
7470 (python-imenu-format-parent-item-jump-label)
7471 (python-imenu--build-tree, python-imenu-create-index)
7472 (python-imenu-create-flat-index): Fix docstring typos.
7473 (python-indent-context, python-shell-prompt-regexp, run-python):
7474 Remove superfluous backslashes.
7475 (python-indent-line, python-nav-beginning-of-defun)
7476 (python-shell-get-buffer, python-shell-get-process)
7477 (python-info-current-defun, python-info-current-line-comment-p)
7478 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
7479 (python-indent-post-self-insert-function, python-shell-send-file)
7480 (python-shell-completion-get-completions)
7481 (python-shell-completion-complete-or-indent)
7482 (python-eldoc--get-doc-at-point): Reflow docstrings.
7483
7484 2014-03-14 Glenn Morris <rgm@gnu.org>
7485
7486 * emacs-lisp/package.el (package-menu-mode-map):
7487 Replace use of obsolete function alias. Tweak menu item text.
7488
7489 * info.el (Info-finder-find-node):
7490 Ignore the `emacs' metapackage. (Bug#10813)
7491
7492 * finder.el (finder-list-matches): Include unversioned packages
7493 in the result of a keyword search.
7494
7495 * finder.el (finder--builtins-descriptions): New constant.
7496 (finder-compile-keywords): Use finder--builtins-descriptions.
7497
7498 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
7499
7500 * simple.el (blink-matching-paren): Describe the new value,
7501 `jump', enabling the old behavior.
7502 (blink-matching-open): Use that value. (Bug#17008)
7503
7504 2014-03-14 Glenn Morris <rgm@gnu.org>
7505
7506 * finder.el (finder-no-scan-regexp): Add leim-list.
7507 (finder-compile-keywords):
7508 Don't skip files with same basename. (Bug#14010)
7509 * Makefile.in (setwins_finder): New, excluding leim.
7510 (finder-data): Use setwins_finder.
7511
7512 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
7513 (help-function-arglist, help-make-usage): Move from here...
7514 * help.el (help-split-fundoc, help-add-fundoc-usage)
7515 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
7516 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
7517
7518 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
7519
7520 * net/socks.el (socks, socks-override-functions)
7521 (socks-find-services-entry):
7522 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
7523 (hif-find-ifdef-block):
7524 * progmodes/modula2.el (m2-indent): Fix docstring typos.
7525
7526 * net/tls.el (tls-program): Reflow docstring.
7527
7528 * progmodes/pascal.el (pascal-mode-abbrev-table)
7529 (pascal-imenu-generic-expression, pascal-auto-endcomments)
7530 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
7531 (pascal-outline-mode): Fix docstring typos.
7532 (pascal-mode): Let define-derived-mode document mode hook.
7533 (pascal-uncomment-area): Reflow.
7534 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
7535
7536 * progmodes/opascal.el (opascal-compound-block-indent)
7537 (opascal-case-label-indent): Fix docstring typos.
7538 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
7539
7540 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
7541
7542 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7543 Fontify multiple adjacent negation chars. (Bug#17004)
7544
7545 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
7546
7547 * emacs-lisp/package.el (package--prepare-dependencies):
7548 Accept requirements without explicit version (bug#14941).
7549
7550 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7551
7552 * register.el (register-separator, copy-to-register): Doc fixes.
7553 (register-preview-default): Remove unnecessary call to concat.
7554
7555 * frameset.el (frameset-restore): When checking for a visible frame,
7556 use the action map instead of calling visible-frame-list.
7557
7558 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
7559
7560 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
7561
7562 2014-03-12 Martin Rudalics <rudalics@gmx.at>
7563
7564 * window.el (fit-frame-to-buffer): Get maximum width from
7565 display's width instead of height.
7566
7567 2014-03-12 Glenn Morris <rgm@gnu.org>
7568
7569 * desktop.el (desktop-restore-frames)
7570 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
7571 (desktop-restore-reuses-frames): Doc tweaks.
7572
7573 * electric.el (electric-indent-mode): Doc fix.
7574
7575 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7576
7577 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
7578 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
7579 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
7580 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
7581 (cvs-dired-use-hook): Fix docstring typos.
7582 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
7583 Doc fixes.
7584
7585 * vc/pcvs-defs.el (cvs-auto-remove-handled)
7586 (cvs-auto-remove-directories, cvs-default-ignore-marks)
7587 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
7588 (cvs-execute-single-dir): Fix docstring typos.
7589
7590 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
7591 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
7592
7593 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
7594
7595 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
7596 Fix docstring typos.
7597
7598 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7599
7600 * frameset.el (frameset--jump-to-register): Add autoload; it could be
7601 called from jump-to-register after unloading the frameset package.
7602
7603 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
7606 (bug#16975). Deactivate the mark before setting it to nil.
7607 (activate-mark): Do nothing if region is already active.
7608
7609 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7610
7611 * frameset.el (frameset--target-display): Remove definition; declare.
7612 (frameset-save, frameset-restore): Let-bind frameset--target-display.
7613
7614 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
7617 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
7618 when the advice is pending.
7619 (advice-remove): Remove this marker when not needed any more.
7620
7621 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7622
7623 * frameset.el: Separate options for reusing frames and cleaning up.
7624 (frameset--reuse-list): Remove definition; declare.
7625 (frameset--action-map): Declare.
7626 (frameset--find-frame-if): Doc fix.
7627 (frameset--restore-frame): Cache frame action.
7628 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
7629 how to clean up the frame list after restoring. Remove cleaning
7630 options from REUSE-FRAMES. Change all keyword values to symbols.
7631 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
7632
7633 * desktop.el (desktop-restore-forces-onscreen)
7634 (desktop-restore-reuses-frames): Use non-keyword values.
7635 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
7636
7637 2014-03-10 Glenn Morris <rgm@gnu.org>
7638
7639 * files.el (find-file): Doc fix: update info node name.
7640
7641 * emacs-lisp/advice.el (ad-add-advice, defadvice):
7642 Doc fix: remove references to deleted info nodes.
7643
7644 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
7645
7646 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7647 Do not add nil to the environment, when there's no remote `locale'.
7648 (tramp-find-inline-encoding): Check, that the remote host has
7649 installed perl, before sending scripts.
7650
7651 2014-03-10 Leo Liu <sdl.web@gmail.com>
7652
7653 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7654 Clear eldoc-last-message. (Bug#16920)
7655
7656 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7657
7658 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
7659 (bug#14430).
7660
7661 2014-03-09 Juri Linkov <juri@jurta.org>
7662
7663 * ansi-color.el (ansi-color-names-vector): Copy default colors
7664 from `xterm-standard-colors' that look well on the default white
7665 background (and also on the black background) to avoid illegible
7666 color combinations like yellow-on-white and white-on-white.
7667 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
7668
7669 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
7670
7671 * frameset.el (frameset-restore): When no frame is visible, do not
7672 generate a list of frames, just make visible the selected one.
7673
7674 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
7675
7676 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
7677 it only contains the repository root. (Bug#16897)
7678
7679 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
7680
7681 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
7682 only when `remote-file-name-inhibit-cache' is nil.
7683 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
7684
7685 2014-03-06 Martin Rudalics <rudalics@gmx.at>
7686
7687 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
7688 Fix doc-strings.
7689 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
7690 fit-frame-to-buffer variable. Fix doc-string.
7691 (fit-window-to-buffer): Set ONLY argument in call of
7692 fit-frame-to-buffer. Fix doc-string.
7693
7694 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
7695
7696 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
7697 (tramp-action-password): Clear password cache if needed.
7698 (tramp-read-passwd): Do not clear password cache.
7699
7700 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
7701 cache unless it is the first password request.
7702
7703 2014-03-06 Glenn Morris <rgm@gnu.org>
7704
7705 * simple.el (newline): Doc tweak.
7706
7707 * emacs-lisp/shadow.el (load-path-shadows-find):
7708 Ignore dir-locals. (Bug#12357)
7709
7710 2014-03-05 Glenn Morris <rgm@gnu.org>
7711
7712 * files.el (interpreter-mode-alist):
7713 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
7714
7715 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7716
7717 * frameset.el (frameset--initial-params): Filter out null entries.
7718
7719 2014-03-05 Martin Rudalics <rudalics@gmx.at>
7720
7721 * window.el (window-min-height, window-min-width):
7722 Rewrite doc-strings.
7723 (window-body-size): Add PIXELWISE argument to make it consistent
7724 with its callees.
7725
7726 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7727
7728 * finder.el (finder-mode-map, finder-mode-syntax-table):
7729 Revert part of 2014-02-28 change.
7730
7731 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
7732
7733 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
7734 (eww-setup-buffer): Clear next/prev/etc more reliably.
7735 (eww-textarea-map): [tab] doesn't work on tty.
7736 Reported by Mario Lang.
7737
7738 * net/shr.el (shr-map): Ditto.
7739
7740 2014-03-04 Glenn Morris <rgm@gnu.org>
7741
7742 * minibuffer.el (completion-hilit-commonality):
7743 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
7744
7745 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7746
7747 * hilit-chg.el (hilit-chg-unload-function): New function.
7748 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
7749 (hilit-chg-map-changes): Prefer cardinal number to digit.
7750 (hilit-chg-display-changes): Reflow docstring.
7751 (highlight-changes-rotate-faces): Remove superfluous backslash.
7752
7753 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
7754
7755 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
7756 `tramp-send-command-and-check'.
7757
7758 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7759
7760 * hexl.el (hexl-address-region, hexl-ascii-region)
7761 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
7762 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
7763 (hexl-forward-word, hexl-previous-line, hexl-next-line):
7764 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
7765 (hexl-mode): Doc fix.
7766 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
7767 (hexl-mode-ruler): Fix typos in docstrings.
7768
7769 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
7770 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
7771 Remove superfluous backslashes.
7772 (strokes-last-stroke, strokes-global-map, strokes-mode):
7773 Reflow docstrings.
7774 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
7775 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
7776 (strokes-distance-squared, strokes-global-set-stroke)
7777 (strokes-global-set-stroke-string): Doc fixes.
7778 (strokes-help): Fix typos; reflow docstring.
7779
7780 2014-03-04 Martin Rudalics <rudalics@gmx.at>
7781
7782 * window.el (window-in-direction): Fix doc-string.
7783
7784 2014-03-04 Glenn Morris <rgm@gnu.org>
7785
7786 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
7787 Explicit error if no grammar.
7788 (smie-config-save): Doc fix. Fix quote typo.
7789
7790 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
7793 electric-indent-mode-hook if we obey electric-indent-mode.
7794 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
7795 decide whether we obey electric-indent-mode.
7796 (c-change-set-fl-decl-start, c-extend-after-change-region):
7797 Silence warnings.
7798 (c-electric-indent-mode-hook): Assume we do want to obey
7799 electric-indent-mode.
7800
7801 * electric.el (electric-indent-mode-has-been-called): Remove.
7802 (electric-indent-mode): Fix accordingly.
7803
7804 * files.el (hack-local-variables): Mention file name in warning.
7805
7806 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
7807
7808 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
7809
7810 * bindings.el: Add comment describing why C-d binds to `delete-char'.
7811 * simple.el (delete-forward-char): Mark as interactive-only.
7812
7813 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
7814
7815 * icomplete.el (icomplete-completions):
7816 Follow-up to 2014-03-01 change.
7817
7818 * icomplete.el: Miscellaneous doc fixes.
7819 Use Icomplete everywhere instead of icomplete for consistency.
7820 (icomplete-max-delay-chars): Fix typo.
7821 (icomplete-mode): Use \[].
7822 (icomplete-tidy, icomplete-exhibit): Reflow.
7823 (icomplete-minibuffer-setup-hook, icomplete-completions):
7824 Remove superfluous backlashes.
7825
7826 * ido.el: Miscellaneous doc fixes.
7827 Use Ido everywhere instead of ido or `ido' for consistency.
7828 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
7829 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
7830 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
7831 (ido-separator): Extract obsolescence info from docstring and declare
7832 with make-obsolete-variable.
7833 (ido-minibuffer-setup-hook): Simplify example.
7834 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
7835 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
7836 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
7837 (ido-everywhere): Reflow docstring.
7838 (ido-toggle-vc): Doc fix.
7839 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
7840 of long list of keybindings.
7841
7842 2014-03-03 Glenn Morris <rgm@gnu.org>
7843
7844 * frame.el (display-pixel-height, display-pixel-width)
7845 (display-mm-dimensions-alist, display-mm-height)
7846 (display-mm-width): Doc tweaks.
7847
7848 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
7849
7850 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
7851 case of undo in region.
7852
7853 2014-03-02 Martin Rudalics <rudalics@gmx.at>
7854
7855 * window.el (fit-window-to-buffer): Fix argument in window-size
7856 call when window is horizontally combined.
7857
7858 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
7859
7860 * icomplete.el (icomplete-completions): Use string-width.
7861 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7862
7863 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
7864
7865 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7866 Highlight regexp options. (Bug#16914)
7867
7868 2014-03-01 Martin Rudalics <rudalics@gmx.at>
7869
7870 * window.el (window--max-delta-1): Round down when calculating
7871 how many lines/columns we can get from a window.
7872
7873 2014-03-01 Glenn Morris <rgm@gnu.org>
7874
7875 * isearch.el (search-invisible): Doc fix.
7876
7877 * minibuffer.el (completion-hilit-commonality):
7878 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
7879 * comint.el (comint-dynamic-list-completions): Doc fix.
7880 * comint.el (comint-dynamic-list-completions):
7881 * filecache.el (file-cache-minibuffer-complete):
7882 * tempo.el (tempo-display-completions):
7883 * eshell/em-hist.el (eshell-list-history):
7884 Replace use of obsolete argument of display-completion-list.
7885
7886 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
7887
7888 * icomplete.el (icomplete-completions):
7889 Revert back to using "..." when ?… cannot be displayed.
7890
7891 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7892
7893 * finder.el (finder-unload-function): New function.
7894
7895 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7896
7897 * dframe.el (dframe-detach):
7898 * find-dired.el (find-dired, find-name-dired):
7899 * finder.el (finder-mode-map, finder-mode-syntax-table)
7900 (finder-headmark, finder-select, finder-mouse-select):
7901 Fix docstring typos.
7902
7903 2014-02-28 Martin Rudalics <rudalics@gmx.at>
7904
7905 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
7906 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
7907 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7908 Fix doc-string based on a suggestion by Nicolas Richard
7909 <theonewiththeevillook@yahoo.fr>.
7910 * help.el (with-help-window): Fix doc-string.
7911
7912 2014-02-28 Ivan Kanis <ivan@kanis.fr>
7913
7914 * net/shr.el (shr-image-animate): New option.
7915 (shr-put-image): Respect shr-image-animate.
7916
7917 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
7918
7919 * net/tramp-adb.el (tramp-adb-parse-device-names):
7920 Use `accept-process-output'.
7921 (tramp-adb-handle-file-truename): Cache the localname only.
7922 (tramp-adb-handle-make-directory)
7923 (tramp-adb-handle-delete-directory): Flush file properties correctly.
7924 (tramp-adb-handle-set-file-modes): Do not raise an error when file
7925 modes cannot be changed.
7926
7927 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
7928 file properties of symlinks.
7929
7930 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
7931
7932 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
7933 required/optional fields to match development biblatex. (Bug#16781)
7934
7935 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
7936
7937 * saveplace.el (toggle-save-place):
7938 Fix argument handling. (Bug#16673)
7939
7940 2014-02-28 Glenn Morris <rgm@gnu.org>
7941
7942 * minibuffer.el (completions-first-difference)
7943 (completions-common-part, completion-hilit-commonality): Doc fixes.
7944
7945 2014-02-28 Karl Berry <karl@gnu.org>
7946
7947 * info.el (Info-mode-map): Add H for describe-mode,
7948 to synchronize with standalone Info.
7949
7950 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
7951
7952 * progmodes/sql.el (sql-interactive-mode):
7953 Avoid setting global comint-input-ring-separator. (Bug#16814)
7954
7955 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7956
7957 * net/dbus.el (dbus--init-bus): Declare function.
7958 (dbus-path-local, dbus-interface-local): New defconst.
7959 (dbus-init-bus): Use them.
7960 (dbus-return-values-table): Extend doc.
7961 (dbus-handle-bus-disconnect): Extend error message.
7962
7963 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
7964
7965 * subr.el (y-or-n-p): Fix double space issue in message.
7966
7967 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7968
7969 * net/tramp.el (tramp-call-process): Improve trace message.
7970 (tramp-handle-insert-file-contents): Trace error case.
7971
7972 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7973 <insert-directory>: Use `tramp-handle-insert-directory'.
7974 (tramp-adb-handle-insert-directory): Remove function.
7975 (tramp-adb-send-command-and-check): New defun, replacing
7976 `tramp-adb-command-exit-status'. Change all callees.
7977 (tramp-adb-handle-file-attributes)
7978 (tramp-adb-handle-directory-files-and-attributes): Use it.
7979 (tramp-adb-ls-output-name-less-p):
7980 Use `directory-listing-before-filename-regexp'.
7981 (tramp-adb-handle-delete-directory): Flush also file properties of
7982 the truename of directory.
7983 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
7984 (tramp-adb-handle-file-local-copy): Make the local copy readable.
7985 (tramp-adb-handle-write-region): Implement APPEND.
7986 (tramp-adb-handle-rename-file): Make it more robust. Flush file
7987 properties correctly.
7988 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
7989 variables. Check for connected devices only when needed.
7990
7991 2014-02-27 Glenn Morris <rgm@gnu.org>
7992
7993 * minibuffer.el (completion-table-dynamic)
7994 (completion-table-with-cache): Doc fixes.
7995
7996 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
7997 (completing-read-multiple): Doc fixes.
7998
7999 2014-02-27 Daniel Colascione <dancol@dancol.org>
8000
8001 * minibuffer.el (completion--nth-completion): Fix indentation.
8002
8003 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
8004 explicit tramp path is empty.
8005
8006 2014-02-27 Glenn Morris <rgm@gnu.org>
8007
8008 * emacs-lisp/crm.el (completing-read-multiple):
8009 Empower help-enable-auto-load.
8010
8011 2014-02-26 Glenn Morris <rgm@gnu.org>
8012
8013 * startup.el (command-line): Don't init the tty in daemon mode.
8014
8015 Avoid calling tty-setup-hook twice, eg if a term file
8016 explicitly calls tty-run-terminal-initialization. (Bug#16859)
8017 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
8018 (tty-create-frame-with-faces): Use it.
8019 * startup.el (command-line): Pass run-hook argument
8020 to tty-run-terminal-initialization.
8021
8022 * dired.el (dired-restore-desktop-buffer): Demote errors;
8023 eg in case a glob match fails. (Bug#16884)
8024
8025 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
8026
8027 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
8028 error from `read-from-string'. (Bug#16850)
8029
8030 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
8031 result of `completing-read' in the interactive form. (Bug#16854)
8032
8033 2014-02-25 Glenn Morris <rgm@gnu.org>
8034
8035 * image.el (image-animate, image-animate-timeout):
8036 Stop animating images in dead buffers. (Bug#16878)
8037
8038 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
8039
8040 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
8041 Doc fixes.
8042 * startup.el (term-setup-hook): Doc fix. Make obsolete.
8043 * term/sun.el (sun-raw-prefix-hooks):
8044 Use tty-setup-hook instead of term-setup-hook.
8045 (terminal-init-sun): Construct message from bytecomp plist.
8046 * term/wyse50.el (enable-arrow-keys): Doc fix.
8047
8048 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
8049
8050 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
8051 Fix docstring typos.
8052
8053 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
8054
8055 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
8056
8057 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8058
8059 * minibuffer.el (completion--try-word-completion):
8060 Fix error when completing M-x commands (bug#16808).
8061
8062 2014-02-24 Leo Liu <sdl.web@gmail.com>
8063
8064 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
8065
8066 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
8067
8068 * apropos.el (apropos-print): Avoid formatting error when
8069 apropos-do-all and apropos-compact-layout are both t.
8070
8071 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
8072
8073 * apropos.el (apropos-property, apropos-all-words-regexp)
8074 (apropos-true-hit, apropos-variable, apropos-print):
8075 Fix docstring typos, and remove obsolete comment.
8076
8077 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
8078
8079 * net/tramp-sh.el (tramp-sh-handle-file-truename):
8080 Preserve trailing "/". (Bug#16851)
8081
8082 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
8083
8084 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
8085 after `=>' (bug#16811).
8086 (ruby-smie-rules): Handle the inconsistent second element of the
8087 list returned by `smie-indent--parent'.
8088 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
8089 method call.
8090
8091 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
8092
8093 * elec-pair.el (electric-pair-text-syntax-table)
8094 (electric-pair-syntax-info, electric-pair--syntax-ppss)
8095 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
8096 (electric-pair--looking-at-unterminated-string-p): Doc fix.
8097 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
8098
8099 2014-02-22 Glenn Morris <rgm@gnu.org>
8100
8101 * imenu.el (imenu--generic-function): Doc fix.
8102
8103 * register.el (frame-configuration-to-register): Make obsolete.
8104
8105 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
8106
8107 * desktop.el (desktop-save-buffer-p): Do not fail when
8108 desktop-files-not-to-save is nil. Return t for true result
8109 as the doc says.
8110
8111 2014-02-22 Daniel Colascione <dancol@dancol.org>
8112
8113 * net/secrets.el (secrets-create-item, secrets-search-items):
8114 Check that attribute values are strings, avoiding the construction
8115 of invalid dbus messages.
8116
8117 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
8118
8119 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
8120 defun-declarations-alist.
8121
8122 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
8125 (bug#16829).
8126
8127 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
8128
8129 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
8130 (whitespace-newline, whitespace-trailing, whitespace-line)
8131 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
8132 (whitespace-space-after-tab): Fix typo in docstrings.
8133
8134 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
8135
8136 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
8137
8138 * electric.el (electric-indent-functions-without-reindent):
8139 Add `yaml-indent-line'.
8140
8141 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
8142
8143 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
8144 It has done nothing for years; should be removed after the release.
8145
8146 * simple.el (choose-completion): Fix docstring typo.
8147 (read-quoted-char-radix): Remove unneeded * in docstring.
8148 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
8149 Don't escape parentheses unnecessarily in docstrings.
8150
8151 2014-02-21 Martin Rudalics <rudalics@gmx.at>
8152
8153 Fix handling of window-min-height/-width (Bug#16738).
8154 * window.el (window--dump-window, window--dump-frame):
8155 New functions.
8156 (window--min-size-1): Account for window dividers.
8157 When window-resize-pixelwise is nil, delay rounding till after the
8158 sum of the window components has been calculated.
8159 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
8160 nil make sure at least one text line and two text columns remain
8161 fully visible.
8162 (window-resize): Signal an error when window-resize-apply fails.
8163 (window--resize-child-windows): Fix calculation of by how many
8164 pixels a window can still be shrunk via window-new-normal.
8165 (adjust-window-trailing-edge): Call window--resizable with
8166 correct TRAIL argument.
8167
8168 (with-temp-buffer-window): Don't evaluate BODY within
8169 with-current-buffer (Bug#16816).
8170
8171 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
8172
8173 * net/tramp.el (tramp-check-cached-permissions):
8174 Call `file-attributes' with `suffix' being a symbol but a string.
8175
8176 2014-02-21 Daniel Colascione <dancol@dancol.org>
8177
8178 * net/dbus.el (dbus-init-bus-1): Declare new subr.
8179 (dbus-init-bus): New function: call into dbus-init-bus-1
8180 and installs a handler for the disconnect signal.
8181 (dbus-call-method): Rewrite to look for result in cons.
8182 (dbus-call-method-handler): Store result in cons.
8183 (dbus-check-event): Recognize events with nil sender as valid.
8184 (dbus-handle-bus-disconnect): New function. React to bus
8185 disconnection signal by synthesizing dbus error for each
8186 pending synchronous or asynchronous call.
8187 (dbus-notice-synchronous-call-errors): New function.
8188 (dbus-handle-event): Raise errors directly only when `dbus-debug'
8189 is true, not all the time.
8190
8191 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
8192
8193 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
8194 Remove obsolescence declarations, these variables do not exist anymore.
8195
8196 * savehist.el (savehist-save-minibuffer-history)
8197 (savehist-additional-variables, savehist-file, savehist-mode-hook)
8198 (savehist-save-hook, savehist-coding-system, savehist-loaded)
8199 (savehist-load, savehist-install, savehist-autosave): Fix typos;
8200 mostly, refer to "Savehist mode" when talking about the mode,
8201 and not the function.
8202
8203 * saveplace.el (save-place): Remove redundant info in docstring.
8204 (save-place-forget-unreadable-files, toggle-save-place)
8205 (save-place-forget-unreadable-files, save-place-dired-hook):
8206 Fix typos and remove unneeded backslashes.
8207
8208 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
8209
8210 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
8211 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
8212
8213 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8214 <insert-directory>: Use `tramp-handle-insert-directory'.
8215 (tramp-gvfs-handle-insert-directory): Remove function.
8216
8217 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8218 Call `tramp-handle-insert-directory'.
8219
8220 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
8221
8222 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
8223 before the start of buffer/region (bug#16799).
8224
8225 2014-02-20 Glenn Morris <rgm@gnu.org>
8226
8227 * isearch.el (search-invisible): Doc fix.
8228
8229 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
8230
8231 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
8232 (bug#16657).
8233
8234 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
8235
8236 * frameset.el (frameset-restore): Delay removing an old frame's
8237 duplicate id until the new frame has been correctly created.
8238
8239 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
8240
8241 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
8242 (tramp-check-cached-permissions): Call `file-attributes' if the
8243 cache is empty.
8244
8245 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
8246 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8247
8248 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8249 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8250 (tramp-gvfs-maybe-open-connection): Set always connection
8251 properties, even if target is mounted already.
8252
8253 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
8254 Set tramp-autoload cookie.
8255 (tramp-get-remote-touch): New defun.
8256 (tramp-sh-handle-set-file-times): Use it.
8257 (tramp-sh-handle-directory-files-and-attributes):
8258 Use `tramp-handle-directory-files-and-attributes' if neither stat
8259 nor perl are available on the remote host.
8260
8261 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
8262 "/". Write long listing only when "l" belongs to the switches.
8263
8264 * net/trampver.el: Update release number.
8265
8266 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
8267
8268 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
8269
8270 2014-02-19 Martin Rudalics <rudalics@gmx.at>
8271
8272 * window.el (window-state-put): Allow WINDOW to refer to an
8273 internal window (Bug#16793).
8274
8275 2014-02-19 Glenn Morris <rgm@gnu.org>
8276
8277 * textmodes/remember.el: Move provide statement to end.
8278 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
8279 (remember-notes): Doc fixes.
8280
8281 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * delsel.el (delete-char): Restore incorrectly erased property
8284 (bug#16795).
8285
8286 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
8287
8288 * frameset.el (frameset--restore-frame): When a frame is being reused
8289 and its root window is not alive, delete all the frame's windows before
8290 restoring the window state. This works around the issue in bug#16793.
8291
8292 2014-02-18 Glenn Morris <rgm@gnu.org>
8293
8294 * textmodes/remember.el (remember-data-directory)
8295 (remember-directory-file-name-format, remember-store-in-files)
8296 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
8297 (remember-notes-save-and-bury-buffer)
8298 (remember-notes--kill-buffer-query): Doc fixes.
8299
8300 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
8301
8302 2014-02-17 Alan Mackenzie <acm@muc.de>
8303
8304 Connect electric-indent-mode up with CC Mode. Bug #15478.
8305 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
8306 to electric-indent-{,local-}-mode.
8307 (c-basic-common-init): Set electric-indent-inhibit.
8308 Initialise c-electric-flag from electric-indent-mode.
8309 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
8310 New hook functions which propagate electric-indent-mode to CC mode.
8311
8312 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
8313 hit, toggle electric-indent-local-mode.
8314
8315 * electric.el (electric-indent-mode-has-been-called):
8316 New variable.
8317
8318 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
8319
8320 * frameset.el (frameset-cfg-id): New function.
8321 (frameset--reuse-frame, frameset-restore): Use it.
8322 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
8323
8324 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * ido.el (ido-file-internal): Remove unused var `d'.
8327 Use \` for to match BoS. Fit within 80n columns.
8328
8329 2014-02-17 Daniel Colascione <dancol@dancol.org>
8330
8331 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
8332 dbus-call-method check for completion using a busy-wait loop with
8333 gradual backoff.
8334
8335 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
8336
8337 Sync with Tramp 2.2.9.
8338
8339 * net/trampver.el: Update release number.
8340
8341 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
8342
8343 * ido.el (ido-file-internal): Don't add the name of an existing
8344 directory twice. (Bug#16747)
8345
8346 2014-02-16 Glenn Morris <rgm@gnu.org>
8347
8348 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
8349 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
8350
8351 2014-02-15 Michael R. Mauger <michael@mauger.com>
8352
8353 * progmodes/sql.el: Version 3.4
8354 (sql-oracle-options): New default value ("-L").
8355 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
8356 (sql-placeholders-filter): Correct placeholder pattern.
8357 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
8358 (sql-login-delay): New variable.
8359 (sql-product-interactive): Use it.
8360
8361 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
8362
8363 * frameset.el (frameset--jump-to-register): Check that buffer is live
8364 (bug#16749).
8365
8366 2014-02-15 Glenn Morris <rgm@gnu.org>
8367
8368 * info.el (info-initialize): Revert 2014-01-10 change.
8369
8370 2014-02-14 Glenn Morris <rgm@gnu.org>
8371
8372 * replace.el (map-query-replace-regexp)
8373 (read-regexp-defaults-function, read-regexp): Doc fixes.
8374
8375 * dired.el (dired-read-regexp):
8376 * faces.el (list-faces-display):
8377 * misearch.el (multi-isearch-read-matching-buffers)
8378 (multi-isearch-read-matching-files):
8379 * play/cookie1.el (cookie-apropos):
8380 * progmodes/grep.el (grep-read-regexp): Doc fixes.
8381
8382 * textmodes/remember.el (remember): Use frameset-to-register
8383 rather than frame-configuration-to-register.
8384
8385 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
8386
8387 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
8388 incorrect keybinding.
8389
8390 2014-02-13 Daniel Colascione <dancol@dancol.org>
8391
8392 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
8393 when adding overlays so that line numbers from compiler match line
8394 numbers we use.
8395
8396 2014-02-13 Glenn Morris <rgm@gnu.org>
8397
8398 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
8399
8400 * jit-lock.el (jit-lock-mode): Doc fix.
8401
8402 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
8403
8404 * apropos.el (apropos-read-pattern): When the user passes an empty
8405 string, give a more helpful error message than "Wrong type
8406 argument: stringp, nil".
8407
8408 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
8411
8412 2014-02-13 Glenn Morris <rgm@gnu.org>
8413
8414 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
8415
8416 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
8419 shift-select commands.
8420
8421 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
8422
8423 * progmodes/js.el (js-indent-line): Don't widen.
8424 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
8425
8426 2014-02-12 Glenn Morris <rgm@gnu.org>
8427
8428 * icomplete.el (icomplete): Add info-link to defgroup.
8429 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
8430 (icomplete-minibuffer-map, icomplete-mode)
8431 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
8432
8433 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
8434 (package-menu-filter): Rename from package-menu-filter-interactive.
8435 Doc fix.
8436
8437 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
8438
8439 * frameset.el (frameset--jump-to-register): Select the required
8440 window and buffer before restoring position (bug#16696).
8441
8442 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
8443
8444 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
8445
8446 2014-02-10 Glenn Morris <rgm@gnu.org>
8447
8448 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
8449
8450 2014-02-10 Eli Zaretskii <eliz@gnu.org>
8451
8452 * w32-common-fns.el (x-get-selection): Doc fix.
8453 * select.el (x-get-selection): Doc fix. (Bug#15109)
8454
8455 * face-remap.el (face-remap-add-relative)
8456 (face-remap-remove-relative, face-remap-reset-base)
8457 (face-remap-set-base): Call force-mode-line-update to redisplay
8458 the current buffer due to potential change in faces. (Bug#16709)
8459
8460 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
8461
8462 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
8463 script more robustly.
8464
8465 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8466
8467 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
8468
8469 * simple.el (choose-completion): Doc fix (bug#14160).
8470
8471 * subr.el (event-start): Say what a nil EVENT value means.
8472
8473 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
8474 (bug#14197).
8475
8476 * progmodes/grep.el (find-program): Doc fix (bug#14289).
8477
8478 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
8479
8480 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
8481
8482 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8483 predicate function (bug#15455).
8484
8485 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
8486
8487 * ielm.el (inferior-emacs-lisp-mode): Instead of
8488 `comment-use-global-state', set `comment-use-syntax'.
8489
8490 2014-02-10 Glenn Morris <rgm@gnu.org>
8491
8492 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
8493
8494 2014-02-09 Alan Mackenzie <acm@muc.de>
8495
8496 Fix c-invalidate-state-cache on narrowed buffers.
8497 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
8498 Widen when setting and clearing the CPP delimiter properties.
8499
8500 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
8501
8502 * help.el (describe-bindings): Doc fix (bug#9888).
8503
8504 * files.el (save-buffer): Use ARG as the parameter name for
8505 consistency (bug#10346).
8506 (save-buffer): Clarify the 0 argument (bug#10346).
8507
8508 * cus-edit.el (customize-apropos): Fix error string.
8509 (custom-buffer-create): Doc fix (bug#11122).
8510 (custom-sort-items): Doc fix (bug#11121).
8511
8512 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
8513
8514 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
8515 (icomplete-simple-completing-p): Mention the previous variable.
8516
8517 * font-lock.el (font-lock-value-in-major-mode): Clarify the
8518 meaning of the parameter (bug#12282).
8519
8520 * files.el (find-file-noselect): Clarify prompt when changing
8521 readedness (bug#13261).
8522 (locate-file): Suffixes aren't returned, so don't say that they
8523 are (bug#12674).
8524 (backup-inhibited): Doc clarification (bug#12525).
8525
8526 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
8527 before we actually start to delete things (bug#16331).
8528
8529 * subr.el (event-start): Doc fix (bug#14228).
8530 (event-end): Ditto.
8531
8532 2014-02-09 Glenn Morris <rgm@gnu.org>
8533
8534 * emacs-lisp/warnings.el (lwarn):
8535 Empower help-enable-auto-load. (Bug#15940)
8536
8537 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8538
8539 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
8540 (Bug#16690)
8541
8542 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
8543
8544 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8545 Insert output at end of buffer. (Bug#16120)
8546
8547 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8548
8549 * simple.el (choose-completion-string-functions): Document new
8550 calling convention (bug#14153).
8551 (execute-extended-command): Clarify doc string (bug#13373).
8552
8553 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
8554
8555 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8556 (find-grep-dired): Doc fix (bug#14288).
8557
8558 2014-02-08 Juri Linkov <juri@jurta.org>
8559
8560 * isearch.el (isearch-quote-char): Check character validity
8561 like in `quoted-insert' (bug#16677).
8562
8563 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8564
8565 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
8566
8567 * isearch.el (isearch-hide-immediately): Doc clarification
8568 (bug#14723).
8569
8570 * simple.el (line-move): Document utility function used many
8571 places in the Emacs sources (bug#14843).
8572
8573 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8574 (dired-prev-marked-file): Doc fix (bug#14855).
8575 (dired-up-directory): Doc fix (bug#14848).
8576
8577 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
8578
8579 * files.el (file-relative-name): Doc fix (bug#15159).
8580
8581 * fringe.el (fringe-styles): Doc fix (bug#15239).
8582
8583 * isearch.el (isearch-filter-predicate): Documentation typo fix
8584 (bug#15474).
8585
8586 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
8587
8588 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
8589
8590 * replace.el (replace-match-maybe-edit): Doc clarification
8591 (bug#15632).
8592
8593 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
8594
8595 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
8596
8597 2014-02-08 Glenn Morris <rgm@gnu.org>
8598
8599 * help-fns.el (describe-variable):
8600 Check {file,dir}-local-variables-alist, and buffer-file-name,
8601 in the correct buffer.
8602
8603 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
8604
8605 * help-fns.el (describe-variable): Fix the case where
8606 a value is directory-local with no dir-locals file. (Bug#16635)
8607
8608 2014-02-08 Glenn Morris <rgm@gnu.org>
8609
8610 * abbrev.el (edit-abbrevs-mode):
8611 Derive from fundamental-mode. (Bug#16682)
8612
8613 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
8614
8615 * simple.el (quoted-insert): Check character validity (bug#16677).
8616
8617 2014-02-07 Juri Linkov <juri@jurta.org>
8618
8619 * desktop.el (desktop-read): Claim the lock when the owner is not
8620 the current process. (Bug#16157)
8621
8622 2014-02-07 Juri Linkov <juri@jurta.org>
8623
8624 * desktop.el (desktop-buffers-not-to-save): Change default from nil
8625 to "\\` ". (Bug#16651)
8626
8627 2014-02-07 Juri Linkov <juri@jurta.org>
8628
8629 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
8630 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
8631 (desktop-auto-save-cancel-timer): New function with some code from
8632 `desktop-auto-save-set-timer'.
8633 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
8634 Instead of setting `desktop-save-mode' to nil, call
8635 `desktop-save-mode' with arg 0. (Bug#16630)
8636
8637 2014-02-07 Glenn Morris <rgm@gnu.org>
8638
8639 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
8640 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
8641 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
8642
8643 * obsolete/iswitchb.el: Move to obsolete/.
8644 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
8645 since obsolete/ is not scanned for autoloads.
8646 * emacs-lisp/authors.el (authors-valid-file-names):
8647 Add iswitchb.el.
8648
8649 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
8650 Disable now non-functional find-file-hook.
8651
8652 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
8653
8654 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
8655 instead of ";" in order to avoid additional prompts. Let heredoc
8656 scripts read from tty. (Bug#16582)
8657 (tramp-send-command): No special handling of heredocs, it isn't
8658 necessary anymore.
8659
8660 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
8663 with a space (bug#16664). Limit the symbols considered to the ones
8664 that are bound or fbound (bug#16646).
8665
8666 2014-02-06 Glenn Morris <rgm@gnu.org>
8667
8668 * epa.el (epa-mail-aliases): Doc fix.
8669
8670 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
8671
8672 * emacs-lisp/lisp.el (lisp-completion-at-point):
8673 Use `completion-table-merge' instead of `completion-table-in-turn'
8674 (bug#16604).
8675
8676 * minibuffer.el (completion-table-merge): New function.
8677
8678 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
8679
8680 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
8681 (tramp-sh-handle-set-file-acl)
8682 (tramp-sh-handle-start-file-process)
8683 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
8684 (tramp-find-executable, tramp-send-command): Use it.
8685
8686 2014-02-05 Glenn Morris <rgm@gnu.org>
8687
8688 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
8689
8690 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
8691
8692 * progmodes/python.el (python-shell-send-string)
8693 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
8694
8695 2014-02-04 Anders Lindgren <andlind@gmail.com>
8696
8697 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
8698 the names (bug#16620).
8699
8700 2014-02-03 Martin Rudalics <rudalics@gmx.at>
8701
8702 * faces.el (window-divider): New default value. Rewrite doc-string.
8703 (window-divider-first-pixel, window-divider-last-pixel): New faces.
8704
8705 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
8706
8707 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
8708 `protected' and `public' can also be called without arguments.
8709
8710 2014-02-03 Glenn Morris <rgm@gnu.org>
8711
8712 * register.el (window-configuration-to-register)
8713 (frame-configuration-to-register): Unadvertise unused argument.
8714 * frameset.el (frameset-to-register): Remove unused argument.
8715
8716 * frameset.el (frameset-to-register):
8717 * kmacro.el (kmacro-to-register):
8718 * register.el (increment-register):
8719 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
8720 (calc-append-to-register, calc-prepend-to-register):
8721 * play/gametree.el (gametree-layout-to-register)
8722 (gametree-apply-register-layout):
8723 * textmodes/picture.el (picture-clear-rectangle-to-register)
8724 (picture-yank-rectangle-from-register):
8725 * vc/emerge.el (emerge-combine-versions-register):
8726 Use register-read-with-preview to read registers.
8727
8728 2014-02-03 João Távora <joaotavora@gmail.com>
8729
8730 * elec-pair.el (electric-pair-backward-delete-char): Don't error
8731 when at beginning of (possibly narrowed) buffer.
8732
8733 2014-02-02 Daniel Colascione <dancol@dancol.org>
8734
8735 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
8736 Also try to display local help from just before point.
8737
8738 2014-02-02 Alan Mackenzie <acm@muc.de>
8739
8740 c-parse-state. Don't "append-lower-brace-pair" in certain
8741 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
8742 recognised as a comment.
8743
8744 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
8745 as well as normal comment starter.
8746 (c-parse-state-get-strategy): Extra return possibility
8747 'back-and-forward.
8748 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
8749 return value list to indicate replacement of a brace-pair cons
8750 with its car.
8751 (c-parse-state-1): With 'back-and-forward, only call
8752 c-append-lower-brace-pair-to state-cache when cons-separated.
8753
8754 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
8755
8756 * term/ns-win.el (ns-suspend-error): New function.
8757 (ns-initialize-window-system): Add ns-suspend-error to
8758 suspend-hook (Bug#16612).
8759
8760 2014-02-02 Daniel Colascione <dancol@dancol.org>
8761
8762 * progmodes/cc-defs.el (c-find-assignment-for-mode):
8763 Make loading cc-mode silent.
8764
8765 2014-02-02 Daniel Colascione <dancol@dancol.org>
8766
8767 * comint.el (comint-prompt-read-only): Change doc to suggest
8768 remap keybinding.
8769
8770 2014-02-02 Glenn Morris <rgm@gnu.org>
8771
8772 * register.el (register-read-with-preview, point-to-register)
8773 (window-configuration-to-register, frame-configuration-to-register)
8774 (jump-to-register, number-to-register, view-register, insert-register)
8775 (copy-to-register, append-to-register, prepend-to-register)
8776 (copy-rectangle-to-register): Doc fixes.
8777
8778 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
8781 * emacs-lisp/find-func.el (find-function-C-source): Idem.
8782 * emacs-lisp/nadvice.el (advice--cd*r): New function.
8783 * help-fns.el (describe-function-1): Use it.
8784
8785 2014-02-02 Glenn Morris <rgm@gnu.org>
8786
8787 * register.el (register-preview-default): New function,
8788 split from register-preview.
8789 (register-preview-function): Rename from register-preview-functions,
8790 make it not a hook.
8791 (register-preview): Use register-preview-function.
8792 (register-read-with-preview): Error on non-character event. (Bug#16595)
8793
8794 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
8795
8796 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
8797 `:' before binary operators (bug#16609). Don't check for `:'
8798 before `[' and `(', or their syntax status. A percent literal
8799 can't end with either.
8800 (ruby-font-lock-keywords): For built-ins that require arguments,
8801 check that they're followed by something that looks like argument
8802 (bug#16610).
8803
8804 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
8805
8806 * subr.el (butlast): Document what an omitted N means (bug#13437).
8807 (nbutlast): Ditto.
8808
8809 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
8810
8811 * net/shr.el (shr-generic): Make into a defsubst to make the stack
8812 depth shallower (bug#16587).
8813 (shr-tag-svg): Respect `shr-inhibit-images'.
8814 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
8815
8816 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
8817
8818 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
8819 (ruby-smie-grammar): Make "." right-associative. Make its priority
8820 lower than the ternary and all binary operators.
8821 (ruby-smie-rules): Indent "(" relative to the first non-"."
8822 parent, or the first "." parent at indentation.
8823 Use `ruby-align-chained-calls' for indentation of "." tokens.
8824 (Bug#16593)
8825
8826 2014-01-31 Juri Linkov <juri@jurta.org>
8827
8828 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
8829 from `make-hash-table'.
8830
8831 * textmodes/ispell.el (ispell-init-process): Change message format
8832 to be consistent with other messages.
8833
8834 2014-01-31 Glenn Morris <rgm@gnu.org>
8835
8836 * delsel.el (delete-selection-mode): Doc fix.
8837
8838 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
8839 (trace-function-background): Doc fixes.
8840
8841 * ido.el (ido-use-virtual-buffers): Doc fix.
8842 Reset :version, since the default value has not changed.
8843
8844 * register.el (register-preview-delay, register-read-with-preview):
8845 Doc fixes.
8846
8847 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
8848 do not mess with mail-buffer position (fixes 2009-11-03 change).
8849 * progmodes/cc-mode.el (c-submit-bug-report):
8850 Check auto-fill-mode is bound. (Bug#16592)
8851
8852 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
8853
8854 * startup.el (fancy-splash-image-file): New function,
8855 split from fancy-splash-head.
8856 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
8857 so that we are both using the same image. (Bug#16574)
8858
8859 2014-01-30 Glenn Morris <rgm@gnu.org>
8860
8861 * simple.el (eval-expression): Doc fix.
8862
8863 * hexl.el (hexl-mode-hook):
8864 * ielm.el (ielm-mode-hook):
8865 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
8866 (lisp-interaction-mode-hook):
8867 * progmodes/cfengine.el (cfengine3-documentation-function):
8868 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
8869
8870 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
8871
8872 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
8873 is a symbol (bug#16584).
8874
8875 2014-01-30 Glenn Morris <rgm@gnu.org>
8876
8877 * help.el (help-for-help-internal): Add "P" to text.
8878
8879 2014-01-29 Glenn Morris <rgm@gnu.org>
8880
8881 * simple.el (just-one-space, cycle-spacing): Doc fixes.
8882
8883 2014-01-28 Martin Rudalics <rudalics@gmx.at>
8884
8885 * window.el (fit-frame-to-buffer): Fix calculations for margins and
8886 height constraints.
8887
8888 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
8889
8890 * progmodes/hideif.el: Extend to full CPP expression syntax.
8891 (hif-token-alist): Add missing tokens.
8892 (hif-token-regexp): Add support for float/octal/hex immediates.
8893 (hif-string-literal-regexp): New const.
8894 (hif-tokenize): Recognize strings and float/octal/hex immediates.
8895 (hif-exprlist): New function.
8896 (hif-parse-if-exp): Use it.
8897 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
8898 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
8899 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
8900 (hif-logxor, hif-comma): New functions.
8901
8902 2014-01-28 Glenn Morris <rgm@gnu.org>
8903
8904 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
8905
8906 * indent.el (tab-stop-list): Doc fix. Add :version.
8907
8908 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
8909 (cvs-append-to-ignore): Add compatibility alias.
8910
8911 2014-01-27 Glenn Morris <rgm@gnu.org>
8912
8913 * dired.el (dired-hide-details-mode): Don't autoload it,
8914 since it cannot be used outside Dired buffers anyway.
8915
8916 * emulation/cua-base.el (cua-mode): Doc fix.
8917
8918 * dired.el (dired-hide-details-hide-symlink-targets)
8919 (dired-hide-details-hide-information-lines)
8920 (dired-hide-details-mode): Doc fixes.
8921
8922 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
8923 * strokes.el (strokes-file): Doc fix. Bump :version.
8924 (strokes-help): Doc fix.
8925 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
8926 * emulation/viper.el (viper): Doc fix for custom group.
8927 (top-level): Remove oh-so-no-longer-relevant text about vip.
8928 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
8929
8930 * ido.el (ido-save-directory-list-file):
8931 * saveplace.el (save-place-file):
8932 * calendar/timeclock.el (timeclock-file):
8933 * net/quickurl.el (quickurl-url-file):
8934 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8935 * progmodes/idlwave.el (idlwave-config-directory):
8936 * textmodes/remember.el (remember-data-file):
8937 Bump :version.
8938
8939 2014-01-26 Glenn Morris <rgm@gnu.org>
8940
8941 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
8942 Doc fix. Make obsolete.
8943 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
8944
8945 * sort.el (delete-duplicate-lines): Doc fix.
8946
8947 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8948
8949 * progmodes/ada-mode.el (ada):
8950 * woman.el (woman): Link to info manual and Commentary section.
8951
8952 * progmodes/flymake.el (flymake):
8953 * nxml/nxml-mode.el (nxml):
8954 * net/eww.el (eww):
8955 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
8956 * htmlfontify.el (htmlfontify):
8957 * ses.el (ses):
8958 * epa.el (epa):
8959 * ido.el (ido): Link to info manual.
8960
8961 2014-01-25 Leo Liu <sdl.web@gmail.com>
8962
8963 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
8964
8965 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
8966
8967 * net/shr.el (shr-tag-img): Prefer the title over the alt text
8968 (bug#16537).
8969
8970 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
8971
8972 * net/eww.el (eww-download-callback):
8973 Fix reference to eww-download-directory.
8974
8975 * emacs-lisp/bytecomp.el (byte-compile-file):
8976 Remove unused local variable `file-name'.
8977
8978 2014-01-24 Glenn Morris <rgm@gnu.org>
8979
8980 * woman.el (woman-default-faces, woman-monochrome-faces):
8981 Fix obsolescence specification.
8982
8983 * subr.el (with-demoted-errors): Doc fix.
8984
8985 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
8988 (cl--macroexp-fboundp): New function.
8989 (cl--make-type-test): Use it.
8990
8991 2014-01-23 Glenn Morris <rgm@gnu.org>
8992
8993 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
8994 * simple.el (eval-expression): Doc fixes.
8995
8996 2014-01-22 Glenn Morris <rgm@gnu.org>
8997
8998 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
8999
9000 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9001
9002 * emacs-lisp/package.el: Write files silently.
9003 (package-autoload-ensure-default-file, package--write-file-no-coding)
9004 (package-generate-description-file, package--download-one-archive)
9005 (package-install-from-archive): Tell `write-region' to stay quiet.
9006 (package-menu-mode, package-menu--print-info): Omit the Archive column
9007 if there's only one archive.
9008 (package-all-keywords, package--has-keyword-p): Remove dead code.
9009
9010 2014-01-22 Glenn Morris <rgm@gnu.org>
9011
9012 * version.el (emacs-bzr-version-bzr): Fix typo.
9013
9014 * version.el (emacs-repository-get-version):
9015 Check either .bzr or .git, but not both.
9016 Make the git case actually use the DIR argument, and return nil
9017 rather than the empty string.
9018 Avoid error if .git exists but the git executable is not found.
9019
9020 2014-01-22 Martin Rudalics <rudalics@gmx.at>
9021
9022 Fixes in window size functions around Bug#16430 and Bug#16470.
9023 * window.el (window-total-size, window-size): New argument ROUND.
9024 (window--min-delta-1, window-min-delta, window--max-delta-1):
9025 Be more conservative when calculating the numbers of lines or
9026 columns a window can shrink (Bug#16430).
9027 (fit-window-to-buffer): Simplify code.
9028 * term.el (term-window-width): Call window-body-width again.
9029
9030 2014-01-22 Glenn Morris <rgm@gnu.org>
9031
9032 * image.el (image-format-suffixes): Doc fix.
9033
9034 * international/quail.el (quail-define-package): Doc fix.
9035
9036 * emacs-lisp/authors.el (authors-valid-file-names)
9037 (authors-renamed-files-alist): Additions.
9038
9039 * vc/vc-git.el (vc-git-print-log): Remove --follow;
9040 reverts 2014-01-09 change. (Bug#16422)
9041
9042 * calc/calc-embed.el (thing-at-point-looking-at):
9043 * emacs-lisp/map-ynp.el (x-popup-dialog):
9044 * obsolete/lmenu.el (x-popup-dialog):
9045 * emacs-lisp/package.el (url-recreate-url):
9046 * mail/mailclient.el (clipboard-kill-ring-save):
9047 * subr.el (x-popup-dialog): Update declaration.
9048 * mail/rmail.el (rmail-mime-message-p):
9049 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
9050
9051 2014-01-21 Daniel Colascione <dancol@dancol.org>
9052
9053 * progmodes/sh-script.el (sh--inside-noncommand-expression):
9054 Correctly detect when we're inside an arithmetic expansion form
9055 containing nested parenthesis.
9056 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
9057 to detect cases where we shouldn't expand "<<" to a heredoc
9058 skeleton.
9059
9060 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
9063 (eldoc--message-command-p): New function.
9064 (eldoc-display-message-p): Use it.
9065 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
9066 message is not automatically erased for us.
9067 (eldoc-print-current-symbol-info): Erase previous message, if any.
9068
9069 2014-01-21 Tassilo Horn <tsdh@gnu.org>
9070
9071 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
9072 specify it's an interactive function.
9073
9074 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
9075 Fix regex used for scanning for citation keys which failed for
9076 citations with optional arguments.
9077
9078 2014-01-21 Leo Liu <sdl.web@gmail.com>
9079
9080 * simple.el (read--expression): Don't enable eldoc-mode.
9081
9082 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
9083
9084 * simple.el (move-beginning-of-line): Make sure we don't move forward
9085 (bug#16497).
9086
9087 2014-01-20 Juri Linkov <juri@jurta.org>
9088
9089 * saveplace.el (toggle-save-place, save-place-to-alist)
9090 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
9091 'dired-mode) before checking for dired-directory. (Bug#16477)
9092
9093 2014-01-20 Juri Linkov <juri@jurta.org>
9094
9095 * indent.el (indent-line-to): Use backward-to-indentation
9096 instead of back-to-indentation. (Bug#16461)
9097
9098 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
9099
9100 Revert some of the CANNOT_DUMP fix (Bug#16494).
9101 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
9102 but fixing this can wait until after the next release.
9103 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
9104
9105 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
9106
9107 * eshell/esh-mode.el (eshell-password-prompt-regexp):
9108 Use `password-word-equivalents'.
9109 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
9110 to t. (Bug#5664, Bug#13124)
9111
9112 2014-01-19 Alan Mackenzie <acm@muc.de>
9113
9114 Bind open-paren-in-column-0-is-defun-start to nil at some entry
9115 points.
9116 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
9117 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
9118 * progmodes/cc-mode.el (c-before-change, c-after-change)
9119 (c-font-lock-fontify-region): Bind it here.
9120
9121 2014-01-19 Martin Rudalics <rudalics@gmx.at>
9122
9123 * term.el (term-window-width): Call window-text-width instead of
9124 window-width (Bug#16470).
9125
9126 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
9127
9128 * simple.el (password-word-equivalents): Remove duplicates.
9129 Sort, to make this easier next time.
9130 Downcase. Omit ": " after "jelszó".
9131
9132 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
9133
9134 * term/common-win.el (saved-region-selection): Defvar it.
9135 (x-select-text): Set saved-region-selection (Bug#16382).
9136
9137 2014-01-18 Glenn Morris <rgm@gnu.org>
9138
9139 * emacs-lisp/authors.el (authors-aliases)
9140 (authors-renamed-files-alist): Add some entries.
9141
9142 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
9143
9144 * net/tramp.el (tramp-password-prompt-regexp):
9145 Use `password-word-equivalents' if available.
9146 (tramp-action-password, tramp-process-one-action)
9147 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
9148
9149 2014-01-17 Chong Yidong <cyd@gnu.org>
9150
9151 * simple.el (password-word-equivalents): New defcustom.
9152 * comint.el (comint-password-prompt-regexp): Use it. Bump version
9153 to 24.4.
9154 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
9155 to t. (Bug#13124)
9156
9157 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
9158
9159 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
9160 (ruby-align-to-stmt-keywords): Change the default value.
9161 Use `ruby-alignable-keywords' to generate the possible customization
9162 choices.
9163 (ruby-smie-rules): Instead of using a hardcoded list of alignable
9164 keywords, check against the value of `ruby-alignable-keywords'
9165 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
9166
9167 2014-01-17 Glenn Morris <rgm@gnu.org>
9168
9169 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
9170
9171 Make M-x authors return zero *Authors Errors* from current logs.
9172 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
9173 (authors-ignored-files): Add some entries, remove others.
9174 (authors-ambiguous-files, authors-valid-file-names):
9175 Add some entries.
9176 (authors-renamed-files-alist): Add, remove, and adjust entries.
9177 (authors-renamed-files-regexps): Add some entries.
9178 Remove some very broad ones. Make some entries `lax'.
9179 (authors-lax-changelogs): New constant.
9180 (authors-disambiguate-file-name): Treat top-level specially.
9181 (authors-lax-changelog-p): New function.
9182 (authors-canonical-file-name): Check file as written against
9183 authors-valid-file-names. Do not special-case etc/.
9184 Handle `lax' logs and authors-renamed-files-regexps elements.
9185
9186 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
9187
9188 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
9189 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
9190 callers.
9191
9192 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
9195 Assume we're already in the proper buffer.
9196 Inspired by Anders Lindgren <andlind@gmail.com>.
9197 (follow-post-command-hook): Call it from the right buffer.
9198 (follow-comint-scroll-to-bottom): Adjust call.
9199 (follow-all-followers): Use get-buffer-window-list.
9200
9201 2014-01-15 Daniel Colascione <dancol@dancol.org>
9202
9203 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
9204 `buffer-file-name' in interactive-form so that we don't leave
9205 pathless file names in `file-name-history'.
9206
9207 2014-01-15 Juri Linkov <juri@jurta.org>
9208
9209 * indent.el (indent-rigidly): Set deactivate-mark to nil
9210 in transient indentation mode. (Bug#16438)
9211
9212 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
9213
9214 * emacs-lisp/package.el (package-desc-keywords): New function
9215 (Bug#16222).
9216 (describe-package-1, package-all-keywords)
9217 (package--has-keyword-p): Use it.
9218
9219 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9220
9221 * simple.el (define-alternatives): When creating the
9222 COMMAND-alternatives variable, assign COMMAND as its definition
9223 name so that `describe-variable' can relocate it.
9224
9225 2014-01-14 Matthew Leach <matthew@mattleach.net>
9226
9227 * font-lock.el (font-lock-keywords): Fix typo in docstring
9228 (bug#16307).
9229
9230 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9231
9232 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
9233 line instead of wrongly reset `add-coment' (bug#13577).
9234
9235 2014-01-14 Daiki Ueno <ueno@gnu.org>
9236
9237 * epa-file.el (epa-file-write-region): Encode the region according
9238 to `buffer-file-format'. Problem reported at:
9239 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
9240
9241 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
9244 so it applies in the right buffer (bug#16410).
9245
9246 2014-01-13 Daniel Colascione <dancol@dancol.org>
9247
9248 * textmodes/rst.el (rst-define-key): Provide deprecated
9249 keybindings through named functions instead of anonymous ones so
9250 that "??" doesn't appear in describe-mode output.
9251
9252 2014-01-13 Bastien Guerry <bzg@gnu.org>
9253
9254 * simple.el (define-alternatives): Call the selected command
9255 interactively. When setting `COMMAND--implementation' for the
9256 first time, tell the user how to chose another implementation.
9257 Enhance the docstring.
9258
9259 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
9262 (log-edit--match-first-line): New function.
9263 (log-edit-font-lock-keywords): Use it.
9264 (log-edit-mode): Make jit-lock-defer-multiline work.
9265
9266 2014-01-13 Bastien Guerry <bzg@gnu.org>
9267
9268 * rect.el (rectangle-mark-mode): When the region is not active,
9269 display a message saying that the mark as been set and that
9270 rectangle mode is in use.
9271 (rectangle--highlight-for-redisplay): Only put an overlay with a
9272 visible vertical bar when (display-graphic-p) is non-nil.
9273 This partially fixes Bug#16403.
9274
9275 2014-01-13 Juri Linkov <juri@jurta.org>
9276
9277 * info.el (Info-find-file): Go to DIR before displaying the error
9278 about a nonexistent file if no previous Info file is visited.
9279 Use `user-error' instead of `error' for "Info file %s does not exist".
9280 (Info-find-node-2): In case of a nonexistent node in unwind forms
9281 go to the Top node if there is no previous node to revert to.
9282 (Bug#16405)
9283
9284 2014-01-13 Martin Rudalics <rudalics@gmx.at>
9285
9286 fit-frame/window-to-buffer code fixes including one for Bug#14096.
9287 * window.el (fit-frame-to-buffer): Fix doc-string.
9288 Respect window-min-height/-width. Fit pixelwise when
9289 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
9290 when avoiding that frame goes partially off-screen.
9291 (fit-window-to-buffer): Respect window-min-height/-width
9292 (Bug#14096).
9293
9294 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
9297 after an empty line.
9298
9299 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * net/shr.el (shr-render-region): Autoload.
9302
9303 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
9304
9305 * net/eww.el (eww-download-directory): Rename from
9306 `eww-download-path' (Bug#16419).
9307
9308 2014-01-12 Leo Liu <sdl.web@gmail.com>
9309
9310 * dired-x.el (dired-mode-map): Fix last change.
9311
9312 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
9313
9314 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
9315
9316 Spelling fixes.
9317 * emacs-lisp/generic.el (generic--normalize-comments):
9318 Rename from generic--normalise-comments. All uses changed.
9319 * play/bubbles.el (bubbles--neighborhood-score)
9320 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
9321 (bubbles--neighborhood-available)
9322 (bubbles--update-neighborhood-score):
9323 Rename from names with 'neighbourhood'. All uses changed.
9324
9325 2014-01-12 Leo Liu <sdl.web@gmail.com>
9326
9327 Re-implement the feature of showing eldoc info after editing.
9328 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
9329 (eldoc-edit-message-commands): New function.
9330 (eldoc-print-after-edit): New variable.
9331 (eldoc-pre-command-refresh-echo-area): Emit message only by
9332 eldoc-message-commands.
9333 (eldoc-mode): Restrict eldoc-message-commands to editing commands
9334 if eldoc-print-after-edit is set. (Bug#16346)
9335 * simple.el (read--expression): Enable eldoc-mode.
9336 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9337
9338 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
9339 Eric S. Raymond <esr@thyrsus.com>
9340
9341 * version.el (emacs-repository-get-version): Enhance so the
9342 function works correctly in either a Bazaar or Git repo.
9343
9344 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
9345
9346 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
9347 Goes with removal of the joke manpages from /etc.
9348
9349 2014-01-10 Kenichi Handa <handa@gnu.org>
9350
9351 * mail/rmail.el (rmail-get-coding-system):
9352 Check rmail-get-coding-function before "funcall"ing it.
9353
9354 2014-01-10 Glenn Morris <rgm@gnu.org>
9355
9356 * emacs-lisp/authors.el (authors-fixed-entries):
9357 Update for files that no longer exist.
9358
9359 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
9360
9361 * version.el (emacs-bzr-get-version): Restore compatibilty with
9362 24.3 (Tested).
9363
9364 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
9365
9366 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
9367 and Podfile.
9368
9369 2014-01-10 Eli Zaretskii <eliz@gnu.org>
9370
9371 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
9372
9373 2014-01-10 Chong Yidong <cyd@gnu.org>
9374
9375 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
9376
9377 2014-01-10 Anders Lindgren <andlind@gmail.com>
9378
9379 * follow.el (follow-cache-command-list): Include right-char and
9380 left-char.
9381
9382 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
9383
9384 Spelling fixes.
9385 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
9386 * woman.el (woman-mark-horizontal-position):
9387 Rename from woman-mark-horizonal-position. Use changed.
9388
9389 2014-01-10 Glenn Morris <rgm@gnu.org>
9390
9391 * info.el (info-initialize): If running uninstalled, ensure our
9392 own info files are always found first, even if INFOPATH is set.
9393
9394 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
9395
9396 2014-01-09 David Engster <deng@randomsample.de>
9397
9398 * emacs-lisp/eieio-custom.el:
9399 * emacs-lisp/eieio-opt.el: Set generated autoload file to
9400 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
9401 * emacs-lisp/eieio.el: Regenerate autoloads.
9402
9403 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
9404
9405 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
9406 following renames. (Bug#8756)
9407
9408 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
9411 (bug#16382).
9412 (activate-mark): Add `no-tmm' argument.
9413 (set-mark, push-mark-command): Use it instead of running
9414 activate-mark-hook by hand.
9415
9416 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
9417
9418 In preparation for the move to git, sanitize out some
9419 Bazaar-specific names.
9420
9421 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
9422
9423 * version.el (emacs-bzr-version): Name changed to
9424 emacs-repository-version. Obsolete-variable alias made.
9425 * loadup.el: Follow through on this name change.
9426 * mail/emacsbug.el (report-emacs-bug): Factor out any
9427 assumption about the version control system in use.
9428
9429 2014-01-08 David Engster <deng@randomsample.de>
9430
9431 * help-fns.el (help-fns-describe-function-functions):
9432 New variable to call functions for augmenting help buffers.
9433 (describe-function-1): Remove explicit calls to
9434 `help-fns--compiler-macro', `help-fns--parent-mode' and
9435 `help-fns--obsolete'. Put them in above new variable instead, and
9436 call them through `run-hook-with-args'.
9437 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
9438 `eieio-describe-class'. Not meant for interactive use anymore,
9439 but to augment existing help buffers. Remove optional second
9440 argument. Create proper button for file location.
9441 Rewrite function to use `insert' instead of `princ' and `prin1' where
9442 possible.
9443 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
9444 (eieio-method-def, eieio-class-def): Move further up.
9445 (describe-method, describe-generic, eieio-describe-method):
9446 Remove aliases.
9447 (eieio-help-constructor, eieio-help-generic): Rename from
9448 `eieio-describe-constructor' and `eieio-describe-generic', resp.
9449 Rewrite to use `insert' in the current buffer and use proper help
9450 buttons.
9451 (eieio-help-find-method-definition)
9452 (eieio-help-find-class-definition): Also accept symbols as
9453 arguments.
9454 (eieio-help-mode-augmentation-maybee): Remove.
9455 (eieio-describe-class-sb): Use `describe-function'.
9456 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
9457 Add `eieio-help-generic' and `eieio-help-constructor'.
9458
9459 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
9460
9461 Spelling fixes.
9462 * language/china-util.el (hz-ascii-designation):
9463 Rename from hz-ascii-designnation.
9464 (hz-ascii-designation): Rename from hz-ascii-designnation.
9465 All uses changed.
9466
9467 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
9470 package-alist.
9471
9472 2014-01-08 Bastien Guerry <bzg@gnu.org>
9473
9474 * emacs-lisp/package.el (package-delete):
9475 Correctly delete the package from package-alist.
9476
9477 2014-01-08 Daiki Ueno <ueno@gnu.org>
9478
9479 * emacs-lisp/package.el (url-recreate-url): Declare.
9480 (url-http-target-url): Declare.
9481 (package-handle-response): Include requested URL in the error message.
9482 (package--check-signature): Don't re-signal errors from
9483 package--with-work-buffer. Suggested by Stefan Monnier.
9484
9485 2014-01-07 Bastien Guerry <bzg@gnu.org>
9486
9487 * minibuffer.el (completion--try-word-completion): When both a
9488 hyphen and a space are possible candidates for the character
9489 following a word, display both candidates. (Bug#15980)
9490
9491 2014-01-07 Martin Rudalics <rudalics@gmx.at>
9492
9493 * window.el (balance-windows-2): While rounding don't give a
9494 window more than the remainder. Bug#16351, bug#16383.
9495
9496 2014-01-07 Glenn Morris <rgm@gnu.org>
9497
9498 * menu-bar.el (menu-bar-help-extra-packages): Remove.
9499 (menu-bar-help-menu): Use view-external-packages instead.
9500
9501 2014-01-07 Bastien Guerry <bzg@gnu.org>
9502
9503 * emacs-lisp/package.el (package-delete): Also delete the package
9504 name from `package-alist', not its description only.
9505
9506 2014-01-07 Glenn Morris <rgm@gnu.org>
9507
9508 * help.el (view-external-packages):
9509 * menu-bar.el (menu-bar-help-extra-packages):
9510 Visit efaq.info rather than etc/MORE.STUFF.
9511
9512 2014-01-07 Juri Linkov <juri@jurta.org>
9513
9514 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
9515 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
9516
9517 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
9518 that shadows RET. (Bug#16342)
9519
9520 2014-01-07 Chong Yidong <cyd@gnu.org>
9521
9522 * isearch.el (isearch-yank-char, isearch-yank-word)
9523 (isearch-yank-line): Doc fix.
9524
9525 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
9528 * emacs-lisp/elint.el (elint-find-builtins):
9529 * emacs-lisp/eldoc.el (eldoc-symbol-function):
9530 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
9531 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
9532 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9533 * apropos.el (apropos-safe-documentation):
9534 * subr.el (symbol-file): Remove redundant fboundp.
9535 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
9536
9537 2014-01-06 Bastien Guerry <bzg@gnu.org>
9538
9539 * hl-line.el (global-hl-line-overlay): Make a local variable.
9540 (global-hl-line-overlays): New variable to store all overlays.
9541 (global-hl-line-mode): Don't delete overlays from the current
9542 buffer when `global-hl-line-sticky-flag' is non-nil.
9543 (global-hl-line-highlight): Add new overlays to
9544 `global-hl-line-overlays'.
9545 (global-hl-line-unhighlight-all): New function to delete all
9546 overlays when turning off `global-hl-line-mode'.
9547 This fixes Bug#16183.
9548
9549 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * subr.el (set-transient-map): Fix nested case and docstring.
9552
9553 2014-01-06 Tassilo Horn <tsdh@gnu.org>
9554
9555 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
9556 `Texinfo' entry.
9557
9558 2014-01-06 Daniel Colascione <dancol@dancol.org>
9559
9560 Fix defun navigation in vc log view.
9561
9562 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
9563 like `beginning-of-defun'.
9564 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
9565 log-view-end-of-defun to log-view-end-of-defun-1. Replace
9566 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
9567 (log-view-extract-comment): Call `log-view-current-entry' directly
9568 instead of relying on broken `log-view-beginning-of-defun' behavior.
9569
9570 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
9571
9572 Spelling fixes.
9573 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
9574 * emacs-lisp/debug.el (cancel-debug-on-entry):
9575 * epg.el (epg-error-to-string):
9576 * files.el (recover-file):
9577 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
9578 * mail/emacsbug.el (report-emacs-bug-hook):
9579 * mail/sendmail.el (mail-recover):
9580 * ses.el (ses-yank-resize):
9581 * term/ns-win.el (ns-print-buffer):
9582 Spelling fixes in diagnostics, mostly for "canceled" with one L.
9583 * epg.el (epg-key-capability-alist): Rename from misspelled version.
9584 All uses changed.
9585 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
9586
9587 2014-01-06 Leo Liu <sdl.web@gmail.com>
9588
9589 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
9590 to avoid shadowing global key. (Bug#16354)
9591
9592 2014-01-06 Daniel Colascione <dancol@dancol.org>
9593
9594 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
9595 rst-mode.
9596
9597 2014-01-05 Martin Rudalics <rudalics@gmx.at>
9598
9599 * window.el (balance-windows): Add mising t to fix Bug#16351.
9600
9601 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9602
9603 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
9604 (bug#16285).
9605 (shr-insert): If we have a word that's longer than `shr-width',
9606 break after it anyway. Otherwise we'll do no breaking once we get
9607 such a long word.
9608
9609 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9610
9611 * net/eww.el (eww): Support single/double quote for search.
9612 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
9613 (eww-history-quit): Delete and use quit-window.
9614 (eww-history-kill): Delete, because it doesn't work well and
9615 not necessary.
9616 (eww-history-mode-map): Delete some keys and add easy-menu.
9617
9618 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
9619
9620 Fix misspelling of 'chinese' in rx (Bug#16237).
9621 * emacs-lisp/rx.el (rx-categories): Correct spelling of
9622 chinese-two-byte.
9623
9624 Change subword regexps back to vars (Bug#16296).
9625 * progmodes/subword.el (subword-forward-regexp)
9626 (subword-backward-regexp): Change these back to variables.
9627
9628 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
9631 syntax-begin-function (bug#16247).
9632
9633 2014-01-03 Chong Yidong <cyd@gnu.org>
9634
9635 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
9636 (advice--docstring): Delete variable.
9637 (advice--make-1): Leave the docstring empty.
9638 (advice-add): Use function-documentation for advised docstring.
9639
9640 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
9641 Ignore function-documentation property when getting documentation.
9642 (ad-activate-advised-definition): Use function-documentation
9643 generate the docstring.
9644 (ad-make-advised-definition): Don't call
9645 ad-make-advised-definition-docstring.
9646 (ad-make-advised-definition-docstring, ad-advised-definition-p):
9647 Delete functions.
9648
9649 * progmodes/sql.el (sql-help): Use function-documentation instead
9650 of dynamic-docstring-function property. No need to autoload now.
9651 (sql--help-docstring): New variable.
9652 (sql--make-help-docstring): Use it.
9653
9654 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * ielm.el (ielm-tab): Retarget.
9657 (ielm-map): Use ielm-tab for tab.
9658 (ielm-complete-filename): Use comint-filename-completion.
9659 (ielm-complete-symbol): Remove.
9660 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
9661 remove ielm-tab from completion-at-point-functions (bug#16224).
9662
9663 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
9664 Beware signals raised by predicates (bug#16201).
9665
9666 2014-01-02 Richard Stallman <rms@gnu.org>
9667
9668 * dired-aux.el (dired-do-print): Handle printer-name.
9669
9670 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
9671 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
9672 (rmail-epa-decrypt): Turn off mime processing.
9673
9674 * mail/rmail.el (rmail-make-in-reply-to-field):
9675 Add parens in message-id.
9676
9677 * mail/rmail.el (rmail-get-coding-function): Variable.
9678 (rmail-get-coding-system): Use it.
9679
9680 2013-12-31 Eli Zaretskii <eliz@gnu.org>
9681
9682 * international/mule-conf.el: Unify the charset indian-is13194.
9683 (indian-is13194): Specify unify-map.
9684
9685 2013-12-31 Leo Liu <sdl.web@gmail.com>
9686
9687 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
9688
9689 2013-12-30 Daniel Colascione <dancol@dancol.org>
9690
9691 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
9692 of printing a useless when we resume from sleep.
9693
9694 * progmodes/sh-script.el
9695 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
9696 in indentation code. (Bug#16233)
9697
9698 2013-12-28 João Távora <joaotavora@gmail.com>
9699
9700 * elec-pair.el (electric-pair-post-self-insert-function):
9701 Don't open extra newlines at beginning of buffer. (Bug#16272)
9702
9703 2013-12-28 Eli Zaretskii <eliz@gnu.org>
9704
9705 * frame.el (window-system-for-display): Don't allow to create a
9706 GUI frame from a -nw session on MS-Windows. (Bug#14739)
9707
9708 2013-12-28 Glenn Morris <rgm@gnu.org>
9709
9710 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
9711 Update callers.
9712
9713 * apropos.el (apropos-match-face):
9714 * calculator.el (calculator-displayer):
9715 * dabbrev.el (dabbrev-search-these-buffers-only):
9716 * face-remap.el (buffer-face-mode-face):
9717 * simple.el (yank-handled-properties):
9718 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
9719 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
9720 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
9721 (hashcash-double-spend-database):
9722 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
9723 (ruby-deep-indent-paren-style):
9724 * textmodes/flyspell.el (flyspell-auto-correct-binding):
9725 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
9726 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
9727 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
9728 Specify custom types.
9729
9730 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
9731 * bookmark.el (bookmark-bmenu-use-header-line):
9732 * doc-view.el (doc-view-scale-internally):
9733 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
9734 * register.el (register-preview-delay):
9735 * net/shr.el (shr-bullet):
9736 * progmodes/cfengine.el (cfengine-cf-promises)
9737 (cfengine-parameters-indent):
9738 * progmodes/octave.el (inferior-octave-error-regexp-alist):
9739 * textmodes/reftex-vars.el (reftex-label-regexps):
9740 * vc/log-edit.el (log-edit-setup-add-author): Add version.
9741
9742 * net/tls.el (tls-certtool-program): Fix default value.
9743
9744 * desktop.el (desktop-restore-in-current-display):
9745 * newcomment.el (comment-empty-lines):
9746 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
9747 (idlwave-pad-keyword):
9748 * progmodes/tcl.el (tcl-tab-always-indent):
9749 * textmodes/reftex-vars.el (reftex-index-default-tag):
9750 * elec-pair.el (electric-pair-skip-whitespace):
9751 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
9752
9753 * emacs-lisp/authors.el (authors-ignored-files)
9754 (authors-valid-file-names, authors-renamed-files-alist): Additions.
9755
9756 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
9757
9758 * shell.el (shell-dynamic-complete-command): Doc fix.
9759 (shell--command-completion-data): Shell completion now matches
9760 executable filenames from the current buffer's directory, on
9761 systems in which this behavior is the default (windows-nt, ms-dos).
9762
9763 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9764
9765 * net/shr.el (shr-insert): Don't infloop if the width is zero.
9766
9767 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
9770 (bug#16251).
9771
9772 * electric.el: Move all electric-pair-* to elec-pair.el.
9773 * elec-pair.el: New file, split from electric.el.
9774
9775 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9776
9777 * net/shr.el (shr-find-fill-point): Don't try to fill if the
9778 indentation level is larger than the width, because that will
9779 infloop.
9780 (shr-insert): Fill repeatedly long texts, so that Japanese is
9781 formatted correctly (bug#16263).
9782 (shr-find-fill-point): Off by one error in comparison with the
9783 indentation.
9784
9785 2013-12-26 João Távora <joaotavora@gmail.com>
9786
9787 * electric.el (electric-pair-mode): More flexible engine for skip-
9788 and inhibit predicates, new options for pairing-related functionality.
9789 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
9790 if that keeps or improves their balance in buffers.
9791 (electric-pair-delete-adjacent-pairs): Delete the pair when
9792 backspacing over adjacent matched delimiters.
9793 (electric-pair-open-extra-newline): Open extra newline when
9794 inserting newlines between adjacent matched delimiters.
9795 (electric--sort-post-self-insertion-hook):
9796 Sort post-self-insert-hook according to priority values when
9797 minor-modes are activated.
9798 * simple.el (newline-and-indent): Call newline with interactive
9799 set to t.
9800 (blink-paren-post-self-insert-function): Set priority to 100.
9801 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9802 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
9803 comments. Locally set electric-pair-skip-whitespace to 'chomp and
9804 electric-pair-open-newline-between-pairs to nil.
9805
9806 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
9807
9808 * progmodes/python.el: Use lexical-binding.
9809 (python-nav-beginning-of-defun): Stop searching ASAP.
9810
9811 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
9812
9813 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
9814 Fix interactive spec. Doc fix. (Bug#15754)
9815
9816 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
9817
9818 * emacs-lisp/byte-run.el (eval-when-compile):
9819 * progmodes/cc-defs.el (cc-eval-when-compile):
9820 Fix edebug spec (bug#16184).
9821
9822 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9823
9824 * net/shr.el (shr-visit-file): Remove debugging function.
9825 (shr-insert): Don't infloop if we can't find a good place to break
9826 the line (bug#16256).
9827
9828 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
9829
9830 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
9831 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
9832 python-nav-lisp-forward-sexp-safe.
9833 (python-nav--forward-sexp): New argument SAFE allows switching
9834 forward sexp movement behavior for parens.
9835 (python-nav-forward-sexp): Throw errors on unterminated parens
9836 (Bug#16191).
9837 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
9838 (python-nav-backward-sexp-safe): New functions.
9839 (python-shell-buffer-substring):
9840 Use `python-nav-forward-sexp-safe'.
9841
9842 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9843
9844 * net/shr.el (shr-find-fill-point): Don't break lines before a
9845 quotation mark.
9846 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
9847 (shr-find-fill-point): Remove the special checks for the quotation
9848 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
9849
9850 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9851
9852 * net/eww.el (eww-form-textarea): Use a different face for
9853 textareas than text input since they have different keymaps
9854 (bug#16142).
9855
9856 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
9857
9858 * progmodes/python.el (python-nav-beginning-of-statement):
9859 Speed up (Bug#15295).
9860
9861 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9862
9863 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
9864 the window configuration.
9865
9866 2013-12-24 Eli Zaretskii <eliz@gnu.org>
9867
9868 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
9869 we run on MS-Windows or MS-DOS.
9870
9871 2013-12-24 Martin Rudalics <rudalics@gmx.at>
9872
9873 * window.el (balance-windows-area): Call window-size instead of
9874 window-height and window-width. Bug#16241.
9875
9876 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9877
9878 * net/eww.el (eww-bookmark-quit): Remove.
9879 (eww-bookmark-browse): Restore the window configuration when you
9880 choose a bookmark (bug#16144).
9881
9882 2013-12-24 Daniel Colascione <dancol@dancol.org>
9883
9884 * icomplete.el: Remove redundant :group arguments to `defcustom'
9885 throughout.
9886 (icomplete-show-matches-on-no-input): New customizable variable.
9887 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
9888 we have something to show.
9889 (icomplete-exhibit): Compute completions even if we have no user input.
9890
9891 2013-12-23 Daniel Colascione <dancol@dancol.org>
9892
9893 * icomplete.el: Move `provide' to end of file.
9894
9895 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
9896
9897 * net/gnutls.el (gnutls-verify-error): Add version tag.
9898
9899 2013-12-23 Chong Yidong <cyd@gnu.org>
9900
9901 * subr.el (set-transient-map): Rename from
9902 set-temporary-overlay-map. Doc fix.
9903
9904 * face-remap.el (text-scale-adjust):
9905 * indent.el (indent-rigidly):
9906 * kmacro.el (kmacro-call-macro):
9907 * minibuffer.el (minibuffer-force-complete):
9908 * repeat.el (repeat):
9909 * simple.el (universal-argument--mode):
9910 * calendar/todo-mode.el (todo-insert-item--next-param):
9911 * progmodes/f90.el (f90-abbrev-start): Callers changed.
9912
9913 * indent.el (indent-rigidly): Use substitute-command-keys.
9914
9915 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9916
9917 * net/eww.el (eww-tag-select): Add text-property to jump to next
9918 select field.
9919 (eww): Add non-supported ftp error.
9920
9921 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9922
9923 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
9924 comments. Handle electric indent after typing `?' and `!'.
9925
9926 2013-12-22 Chong Yidong <cyd@gnu.org>
9927
9928 * faces.el (face-spec-recalc): If the theme specs are not
9929 applicable to a frame, fall back on the defface spec.
9930 This prevents themes from obliterating faces on low-color terminals.
9931
9932 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9933
9934 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
9935 after `{'. We need it after block openers, and it doesn't seem
9936 to hurt after hash openers.
9937
9938 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9939
9940 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
9941 extracted from `ruby-smie-rules'.
9942 (ruby--electric-indent-chars): New variable.
9943 (ruby--electric-indent-p): New function.
9944 (ruby-mode): Use `electric-indent-functions' instead of
9945 `electric-indent-chars'.
9946
9947 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9948
9949 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
9950 docstring.
9951 (ruby-smie-rules): Indent plus one level after `=>'.
9952
9953 2013-12-21 Richard Stallman <rms@gnu.org>
9954
9955 * simple.el (newline): Doc fix.
9956
9957 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9958
9959 * net/eww.el (eww-list-histories, eww-list-histories)
9960 (eww-history-browse, eww-history-quit, eww-history-kill)
9961 (eww-history-mode-map, eww-history-mode): New command and
9962 functions to list browser histories.
9963 (eww-form-text): Support text form with disabled
9964 and readonly attributes.
9965 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
9966
9967 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9968
9969 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
9970 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
9971 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
9972 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
9973 Use `user-error'.
9974 (eww-bookmark-mode-map): Add menu.
9975 (eww-render, eww-mode): Use `setq-local'.
9976 (eww-tool-bar-map): New variable.
9977 (eww-mode): Set `tool-bar-map'.
9978 (eww-view-source): Check for `html-mode' with `fboundp'.
9979
9980 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9981
9982 * net/shr.el (shr--extract-best-source): Don't bug out on audio
9983 elements with text inside. Also remove debugging.
9984
9985 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
9986
9987 * cus-start.el (all): Add ns-use-srgb-colorspace.
9988
9989 2013-12-21 Chong Yidong <cyd@gnu.org>
9990
9991 * custom.el (custom-theme-recalc-face): Do nothing if the face is
9992 undefined. Thus, theme settings for undefined faces do not take
9993 effect until the faces are defined with defface, the same as with
9994 theme variables.
9995
9996 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
9997 (face-spec-reset-face): Don't assign extra properties in temacs.
9998 (face-spec-recalc): Apply X resources too.
9999
10000 2013-12-21 Chong Yidong <cyd@gnu.org>
10001
10002 * faces.el (face-spec-set):
10003 * cus-face.el (custom-theme-set-faces, custom-set-faces):
10004 * custom.el (defface): Doc fixes (Bug#16203).
10005
10006 * indent.el (indent-rigidly-map): Add docstring, and move commands
10007 into named functions.
10008 (indent-rigidly-left, indent-rigidly-right)
10009 (indent-rigidly-left-to-tab-stop)
10010 (indent-rigidly-right-to-tab-stop): New functions. Decide on
10011 indentation direction based on bidi direction, and accumulate
10012 sequential commands in a single undo boundary.
10013 (indent-rigidly--pop-undo): New utility function.
10014
10015 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
10016
10017 * faces.el (read-face-name): Require crm.el when using crm-separator.
10018
10019 2013-12-20 Daniel Colascione <dancol@dancol.org>
10020
10021 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
10022 so that we don't reflow comments into the shebang line.
10023
10024 2013-12-20 Juri Linkov <juri@jurta.org>
10025
10026 * saveplace.el (save-place-to-alist): Add `dired-filename' as
10027 a position when `dired-directory' is non-nil. Check integer
10028 positions with `integerp'.
10029 (toggle-save-place, save-places-to-alist): Add check for
10030 `dired-directory'.
10031 (save-place-find-file-hook): Check integer positions with
10032 `integerp'.
10033 (save-place-dired-hook): Use `dired-goto-file' when
10034 `dired-filename' is found in the assoc list. Check integer
10035 positions with `integerp'.
10036 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
10037
10038 * dired.el (dired-initial-position-hook): Rename back from
10039 `dired-initial-point-hook'.
10040 (dired-initial-position): Rename `dired-initial-point-hook' to
10041 `dired-initial-position-hook'.
10042 (dired-file-name-at-point): Doc fix. (Bug#15329)
10043
10044 2013-12-20 Juri Linkov <juri@jurta.org>
10045
10046 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
10047 (read-regexp-suggestions): New function.
10048 (read-regexp): Use `read-regexp-defaults-function' to get default values.
10049 Use `read-regexp-suggestions'. Add non-empty default to history
10050 for empty input.
10051 (occur-read-regexp-defaults-function): Remove function.
10052 (occur-read-primary-args): Use `regexp-history-last' instead of
10053 `occur-read-regexp-defaults-function'.
10054
10055 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
10056 (hi-lock-line-face-buffer, hi-lock-face-buffer)
10057 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
10058 `hi-lock-read-regexp-defaults-function'. Doc fix.
10059 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
10060 with `find-tag-default-as-symbol-regexp'. Doc fix.
10061 (hi-lock-read-regexp-defaults): Remove function.
10062 (hi-lock-regexp-okay): Add check for null.
10063
10064 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
10065 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
10066
10067 * subr.el (find-tag-default-as-symbol-regexp): New function.
10068 (find-tag-default-as-regexp): Move symbol regexp formatting to
10069 `find-tag-default-as-symbol-regexp'.
10070
10071 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
10072
10073 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
10074 (Bug#14179)
10075
10076 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
10077
10078 * calendar/todo-mode.el: New implementation of item insertion
10079 commands and key bindings.
10080 (todo-key-prompt): New face.
10081 (todo-insert-item): New command.
10082 (todo-insert-item--parameters): New defconst, replacing defvar
10083 todo-insertion-commands-args-genlist.
10084 (todo-insert-item--param-key-alist): New defconst, replacing
10085 defvar todo-insertion-commands-arg-key-list.
10086 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
10087 (todo-insert-item--argsleft, todo-insert-item--apply-args)
10088 (todo-insert-item--next-param): New functions.
10089 (todo-insert-item--args, todo-insert-item--argleft)
10090 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
10091 New variables.
10092 (todo-key-bindings-t): Change binding of "i" from
10093 todo-insertion-map to todo-insert-item.
10094 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
10095 (todo-insertion-command-name, todo-insertion-commands-names)
10096 (todo-define-insertion-command, todo-insertion-commands)
10097 (todo-insertion-key-bindings, todo-insertion-map): Remove.
10098
10099 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
10100
10101 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
10102 (todo-toggle-item-highlighting): Use eval-and-compile instead of
10103 eval-when-compile.
10104 (todo-move-category): Allow choosing a non-existing todo file to
10105 move the category to, and create that file.
10106 (todo-default-priority): New user option.
10107 (todo-set-item-priority): Use it.
10108 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
10109 (desktop-restore-file-buffer): Declare.
10110 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
10111 (todo-modes-set-2): Locally set desktop-save-buffer to
10112 todo-desktop-save-buffer.
10113 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
10114 (auto-mode-alist): Add autoload cookie.
10115
10116 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
10117
10118 * emacs-lisp/subr-x.el: Renamed from helpers.el.
10119 helpers.el was a poor choice of name.
10120 (string-remove-prefix): New function.
10121 (string-remove-suffix): New function.
10122
10123 2013-12-20 Martin Rudalics <rudalics@gmx.at>
10124
10125 Fix assignment for new window total sizes.
10126 * window.el (window--pixel-to-size): Remove function.
10127 (window--pixel-to-total-1, window--pixel-to-total):
10128 Fix calculation of new total sizes.
10129
10130 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
10131
10132 * comint.el (comint-output-filter): Fix rear-nonsticky property
10133 placement (Bug#16010).
10134
10135 2013-12-20 Chong Yidong <cyd@gnu.org>
10136
10137 * faces.el (read-color): Minor fix for completion function.
10138
10139 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
10140
10141 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
10142 New option. (Bug#16182)
10143 (ruby-smie--indent-to-stmt-p): Use it.
10144 (ruby-smie-rules): Revert the logic in the handling of `when'.
10145 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
10146 (ruby-deep-arglist, ruby-deep-indent-paren)
10147 (ruby-deep-indent-paren-style): Update docstrings to note that the
10148 vars don't have any effect with SMIE.
10149
10150 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
10151
10152 * calc/calc.el (calc-enter, calc-pop): Use the variable
10153 `calc-context-sensitive-enter'.
10154
10155 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10156
10157 * net/shr.el (shr-insert): Protect against infloops in degenerate
10158 tables.
10159
10160 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10161
10162 * progmodes/octave.el (octave): Add link to manual and octave
10163 homepage.
10164 (octave-mode-menu): Link to octave-mode manual.
10165
10166 2013-12-20 Leo Liu <sdl.web@gmail.com>
10167
10168 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
10169 insertion using skeleton-end-newline. (Bug#16138)
10170
10171 2013-12-20 Juri Linkov <juri@jurta.org>
10172
10173 * replace.el (occur-engine): Use `add-face-text-property'
10174 to add the face property to matches and titles. (Bug#14645)
10175
10176 * hi-lock.el (hi-green): Use lighter color "light green" closer to
10177 the palette of other hi-lock colors.
10178 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
10179
10180 2013-12-19 Juri Linkov <juri@jurta.org>
10181
10182 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
10183 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
10184 (minibuffer-history-symbol): Move variable declaration closer to
10185 its usage.
10186
10187 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
10188 (Bug#14785)
10189
10190 2013-12-19 Juri Linkov <juri@jurta.org>
10191
10192 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
10193 New function.
10194 (log-edit-hook): Add it to :options. (Bug#16170)
10195
10196 2013-12-19 Juri Linkov <juri@jurta.org>
10197
10198 * simple.el (eval-expression-print-format): Don't check for
10199 command names and the last command. Always display additional
10200 formats of the integer result in the echo area, and insert them
10201 to the current buffer only with a zero prefix arg.
10202 Display character when char-displayable-p is non-nil.
10203 (eval-expression): With a zero prefix arg, set `print-length' and
10204 `print-level' to nil, and insert the integer values from
10205 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
10206
10207 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
10208 `eval-last-sexp-arg-internal'. Doc fix.
10209 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
10210 `eval-last-sexp-print-value'. Doc fix.
10211 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
10212 Set `print-length' and `print-level' to nil when arg is zero.
10213 (eval-last-sexp): Doc fix.
10214 (eval-defun-2): Print the integer values from
10215 `eval-expression-print-format' at the end.
10216
10217 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
10218 values from `eval-expression-print-format' at the end.
10219
10220 * ielm.el (ielm-eval-input): Print the integer
10221 values from `eval-expression-print-format' at the end.
10222
10223 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
10224
10225 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
10226 2013-12-11T19:01:44Z!tzz@lifelogs.com.
10227
10228 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
10231 (hl-line-highlight, global-hl-line-highlight): Use it.
10232 (hl-line-overlay): Use defvar-local.
10233
10234 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
10235
10236 * term/ns-win.el: Require dnd.
10237 (global-map): Remove drag items.
10238 (ns-insert-text, ns-set-foreground-at-mouse)
10239 (ns-set-background-at-mouse):
10240 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
10241 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
10242 New functions.
10243
10244 2013-12-19 Glenn Morris <rgm@gnu.org>
10245
10246 * emacs-lisp/ert.el (ert-select-tests):
10247 Fix string/symbol mixup. (Bug#16121)
10248
10249 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
10250
10251 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
10252 keywords to their parent.
10253
10254 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
10255
10256 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
10257 first arg to be a string (fixed dead code), or an operator symbol.
10258 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
10259 operator symbols.
10260 (ruby-smie-rules): Remove parent token check in the `.' clause, it
10261 did nothing. Don't respond to `(:after ".")', it will be called
10262 with :before anyway. Remove the ` @ ' rule, it didn't seem to
10263 change anything. Only return indentation for binary operators
10264 when they are hanging. De-dent opening paren when its parent is
10265 `.', otherwise it looks bad when the dot is not at bol or eol
10266 (bug#16182).
10267
10268 2013-12-19 Juri Linkov <juri@jurta.org>
10269
10270 * replace.el (query-replace-read-args): Split a non-negative arg
10271 and a negative arg into separate elements.
10272 (query-replace, query-replace-regexp, replace-string)
10273 (replace-regexp): Add arg `backward'. Doc fix.
10274 (replace-match-maybe-edit): When new arg `backward' is non-nil,
10275 move point to the beginning of the match.
10276 (replace-search, replace-highlight): Use new arg `backward'
10277 to set the value of `isearch-forward'.
10278 (perform-replace): Add arg `backward' and use it to perform
10279 replacement backward. (Bug#14979)
10280
10281 * isearch.el (isearch-query-replace): Use a negative prefix arg
10282 to call `perform-replace' with a non-nil arg `backward'.
10283
10284 2013-12-18 Juri Linkov <juri@jurta.org>
10285
10286 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
10287 to the default list. Move `log-edit-show-files' to the end.
10288 Add more available functions to options.
10289 (log-edit): Move default specific settings to
10290 `log-edit-insert-message-template'. Don't move point.
10291 (log-edit-insert-message-template): New function.
10292 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
10293 (Bug#16170)
10294
10295 2013-12-18 Juri Linkov <juri@jurta.org>
10296
10297 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
10298 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
10299
10300 2013-12-18 Leo Liu <sdl.web@gmail.com>
10301
10302 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
10303 (Bug#16186)
10304
10305 2013-12-18 Eli Zaretskii <eliz@gnu.org>
10306
10307 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
10308 formats for displaying file sizes when the -s switch is given.
10309 Instead, compute a separate format for displaying the size in
10310 blocks, which is displayed in addition to the "regular" size.
10311 When -h is given in addition to -s, produce size in blocks in
10312 human-readable form as well. (Bug#16179)
10313
10314 2013-12-18 Tassilo Horn <tsdh@gnu.org>
10315
10316 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10317 Reference tables with ~\ref{...} instead of only \ref{...}.
10318
10319 2013-12-18 Chong Yidong <cyd@gnu.org>
10320
10321 * cus-edit.el (custom-magic-alist): Fix "themed" description
10322 (Bug#14348).
10323
10324 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
10325 is non-nil, do not create a new entry in the symbol's theme-value
10326 or theme-face property; update theme-settings only (Bug#14664).
10327 (custom-available-themes): Doc fix.
10328
10329 * cus-theme.el (custom-new-theme-mode-map): Add bindings
10330 (Bug#15674).
10331
10332 * replace.el (occur-engine): Avoid infloop (Bug#7593).
10333
10334 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
10335
10336 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
10337 (Bug#13914).
10338
10339 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
10340
10341 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
10342
10343 2013-12-18 Glenn Morris <rgm@gnu.org>
10344
10345 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
10346 * cus-start.el (load-prefer-newer): New option.
10347
10348 2013-12-18 Le Wang <l26wang@gmail.com>
10349
10350 * comint.el (comint-previous-matching-input-from-input):
10351 Retain point (Bug#13404).
10352
10353 2013-12-18 Chong Yidong <cyd@gnu.org>
10354
10355 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
10356
10357 2013-12-18 Glenn Morris <rgm@gnu.org>
10358
10359 * mail/emacsbug.el (report-emacs-bug):
10360 Only mention enable-multibyte-characters if non-standard.
10361
10362 2013-12-17 Juri Linkov <juri@jurta.org>
10363
10364 * arc-mode.el (archive-extract-by-file): Check if directory exists
10365 before deletion to not show irrelevant errors if it doesn't exist.
10366
10367 2013-12-17 Juri Linkov <juri@jurta.org>
10368
10369 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
10370 (Bug#14751)
10371
10372 * net/eww.el (browse-web): Add alias to `eww'.
10373 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
10374 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
10375
10376 * net/browse-url.el (browse-url-browser-function): Move `eww'
10377 closer to similar functions.
10378
10379 * startup.el (fancy-startup-screen, fancy-about-screen):
10380 Set browse-url-browser-function to eww-browse-url locally.
10381 (Bug#14751)
10382
10383 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
10384
10385 * window.el (window--pixel-to-total): Remove unused `mini' var.
10386 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
10387 (split-window): Remove unused `new' var.
10388 (window--display-buffer): Remove unused `frame' and `delta' vars.
10389 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
10390 and display-width'.
10391
10392 2013-12-17 Martin Rudalics <rudalics@gmx.at>
10393
10394 * dired.el (dired-mark-pop-up):
10395 * register.el (register-preview): Don't bind
10396 split-height-threshold here since it's now done in
10397 display-buffer-below-selected.
10398
10399 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
10400
10401 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
10402 xterm-rgb-convert-to-16bit.
10403 (rxvt-register-default-colors): Standardize with
10404 xterm-register-default-colors (Bug#14078).
10405
10406 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
10407
10408 * simple.el (kill-region): Pass mark first, then point, so that
10409 kill-append works right (Bug#12819).
10410 (copy-region-as-kill, kill-ring-save): Likewise.
10411
10412 2013-12-17 Leo Liu <sdl.web@gmail.com>
10413
10414 * net/rcirc.el (rcirc-add-face):
10415 * eshell/em-prompt.el (eshell-emit-prompt):
10416 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
10417 (Bug#16167)
10418
10419 2013-12-17 Chong Yidong <cyd@gnu.org>
10420
10421 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
10422 Suggested by Xue Fuqiao.
10423
10424 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
10425
10426 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
10427
10428 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * net/shr.el (shr-insert-document): Remove unused var
10431 `shr-preliminary-table-render'.
10432 (shr-rescale-image): Remove unused arg `force'.
10433 (shr-put-image): Update calls accordingly.
10434 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
10435
10436 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
10437
10438 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
10439 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
10440 :close-all, to see which indentation method to use (Bug#16116).
10441 (smie-rules-function): Document the method :close-all.
10442
10443 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10444
10445 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
10446
10447 * net/eww.el (eww-display-html): If we can't find the anchor we're
10448 looking for, then go to point-min.
10449
10450 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
10451
10452 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
10453 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
10454 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
10455 Expand dir too, in case it's relative.
10456
10457 2013-12-16 Juri Linkov <juri@jurta.org>
10458
10459 * desktop.el (desktop-auto-save-timeout): Change default to
10460 `auto-save-timeout'. Doc fix.
10461 (desktop-save): Skip the timestamp in desktop-saved-frameset
10462 when checking for auto-save changes.
10463 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
10464 `desktop-auto-save' is called repeatedly by the idle timer.
10465 (desktop-auto-save-set-timer): Replace `run-with-timer' with
10466 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
10467 (Bug#15331)
10468
10469 2013-12-16 Juri Linkov <juri@jurta.org>
10470
10471 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
10472 (Bug#16035)
10473 (isearch-pre-command-hook): Check `this-command' for symbolp.
10474
10475 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
10478
10479 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
10480
10481 * progmodes/cfengine.el (cfengine3--current-word): Remove.
10482 (cfengine3--current-function): Bring in the current-function
10483 functionality from `cfengine3--current-word'.
10484 (cfengine3-completion-function): Bring in the
10485 bounds-of-current-word functionality from
10486 `cfengine3--current-word'.
10487
10488 2013-12-16 Martin Rudalics <rudalics@gmx.at>
10489
10490 * window.el (display-buffer-below-selected):
10491 Bind split-height-threshold to 0 as suggested by Juri Linkov.
10492
10493 2013-12-16 Leo Liu <sdl.web@gmail.com>
10494
10495 * progmodes/compile.el (compile-goto-error): Do not push-mark.
10496 Remove NOMSG arg and all uses changed.
10497
10498 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10499
10500 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
10501 (cua--deactivate-rectangle): Don't deactivate the mark.
10502 (cua-set-rectangle-mark): Don't set mark-active since
10503 cua--activate-rectangle already does it for us.
10504 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
10505 non-rectangular region.
10506
10507 * emulation/cua-base.el (cua-repeat-replace-region):
10508 Use with-current-buffer.
10509
10510 * net/gnutls.el: Use cl-lib.
10511 (gnutls-negotiate): `mapcan' -> cl-mapcan.
10512
10513 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10514
10515 * emacs-lisp/package.el (package-built-in-p): Support both
10516 built-in and the package.el converted package descriptions.
10517 (package-show-package-list): Allow keywords.
10518 (package-keyword-button-action): Use it instead of
10519 `finder-list-matches'.
10520 (package-menu-filter-interactive): Interactive filtering (by
10521 keyword) function.
10522 (package-menu--generate): Support keywords and change keymappings
10523 and headers when they are given.
10524 (package--has-keyword-p): Helper function.
10525 (package-menu--refresh): Use it.
10526 (package--mapc): Helper function.
10527 (package-all-keywords): Use it.
10528 (package-menu-mode-map): Set up menu items and keybindings to
10529 provide a filtering UI.
10530
10531 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10532
10533 * net/gnutls.el (gnutls-verify-error): New defcustom to control
10534 the behavior when a certificate fails validation. Defaults to
10535 old behavior: never abort, just warn.
10536 (gnutls-negotiate): Use it.
10537
10538 2013-12-14 Martin Rudalics <rudalics@gmx.at>
10539
10540 * window.el (display-buffer-below-selected): Never split window
10541 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
10542
10543 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
10544
10545 * emacs-lisp/package.el (package--prepare-dependencies): New function.
10546 (package-buffer-info): Use it (bug#15108).
10547
10548 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * icomplete.el (icomplete-completions): Make sure the prefix is already
10551 displayed elsewhere before hiding it (bug#16219).
10552
10553 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
10554
10555 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
10556 open-paren tokens when preceded by a open-paren, too.
10557 (ruby-smie-rules): Handle virtual indentation after open-paren
10558 tokens specially. If there is code between it and eol, return the
10559 column where is starts (Bug#16118).
10560
10561 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10562
10563 * progmodes/cfengine.el: Fix `add-hook' doc.
10564 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
10565 (cfengine3--current-word): Fix parameters.
10566 (cfengine3-make-syntax-cache): Simplify further.
10567 (cfengine3-completion-function, cfengine3--current-function):
10568 Use `assq' for symbols.
10569 (cfengine3--current-function): Fix `cfengine3--current-word' call.
10570
10571 2013-12-13 Glenn Morris <rgm@gnu.org>
10572
10573 * loadup.el (load-path): Warn if site-load or site-init changes it.
10574 No more need to reset it when bootstrapping.
10575
10576 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10577
10578 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
10579 locations for cf-promises.
10580 (cfengine-mode-syntax-functions-regex): New caching variable.
10581 (cfengine3-fallback-syntax): Fallback syntax for cases where
10582 cf-promises doesn't run.
10583 (cfengine3--current-word): Reimplement using
10584 `cfengine-mode-syntax-functions-regex'.
10585 (cfengine3-completion-function, cfengine3--current-function):
10586 Use `cfengine3-make-syntax-cache' directly.
10587 (cfengine3-clear-syntax-cache): New function.
10588 (cfengine3-make-syntax-cache): Simplify and create
10589 `cfengine-mode-syntax-functions-regex' on demand.
10590 (cfengine3-format-function-docstring): Don't call
10591 `cfengine3-make-syntax-cache' explicitly.
10592
10593 2013-12-13 Martin Rudalics <rudalics@gmx.at>
10594
10595 Fix windmove-find-other-window broken after pixelwise resizing
10596 (Bug#16017).
10597 * windmove.el (windmove-other-window-loc): Revert change from
10598 2013-12-04.
10599 (windmove-find-other-window): Call window-in-direction.
10600 * window.el (window-in-direction): New arguments SIGN, WRAP and
10601 MINI to emulate original windmove-find-other-window behavior.
10602
10603 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
10604
10605 * simple.el (blink-matching--overlay): New variable.
10606 (blink-matching-open): Instead of moving point, highlight the
10607 matching paren with an overlay
10608 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
10609
10610 * faces.el (paren-showing-faces, show-paren-match)
10611 (show-paren-mismatch): Move from paren.el.
10612
10613 2013-12-13 Leo Liu <sdl.web@gmail.com>
10614
10615 * indent.el (indent-region): Disable progress reporter in
10616 minibuffer. (Bug#16108)
10617
10618 * bindings.el (visual-order-cursor-movement): Fix version.
10619
10620 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10621
10622 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
10623 Also match after beginning of line.
10624 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
10625 files. Thanks to Russell Sim. (Bug#15378)
10626
10627 2013-12-13 Juri Linkov <juri@jurta.org>
10628
10629 * simple.el <Keypad support>: Remove key bindings duplicated
10630 with bindings.el. (Bug#14397)
10631
10632 2013-12-13 Juri Linkov <juri@jurta.org>
10633
10634 * comint.el (comint-mode-map): Replace `delete-char' with
10635 `delete-forward-char'. (Bug#16109)
10636
10637 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10638
10639 * progmodes/python.el (python-indent-calculate-indentation):
10640 Fix de-denters cornercase. (Bug#15731)
10641
10642 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
10645 (advice--make): Pay attention to `depth'.
10646 (advice--make-1): Don't autoload commands eagerly.
10647 * emacs-lisp/elp.el (elp-instrument-function):
10648 * emacs-lisp/trace.el (trace-function-internal):
10649 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
10650
10651 * iswitchb.el (iswitchb-mode): Don't belittle ido.
10652
10653 2013-12-12 Eli Zaretskii <eliz@gnu.org>
10654
10655 * term/w32-win.el (w32-handle-dropped-file):
10656 * startup.el (normal-top-level):
10657 * net/browse-url.el (browse-url-file-url):
10658 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
10659 decode file names using 'utf-8' rather than
10660 file-name-coding-system.
10661
10662 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10663
10664 * progmodes/python.el (python-indent-context)
10665 (python-indent-calculate-indentation): Fix auto-identation
10666 behavior for comment blocks. (Bug#15916)
10667
10668 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
10669
10670 * progmodes/python.el (python-indent-calculate-indentation):
10671 When determining indentation, don't treat "return", "pass", etc., as
10672 operators when they are just string constituents. (Bug#15812)
10673
10674 2013-12-12 Juri Linkov <juri@jurta.org>
10675
10676 * uniquify.el (uniquify-buffer-name-style): Change default to
10677 `post-forward-angle-brackets'.
10678
10679 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
10680 `uniquify'. Change default to `post-forward-angle-brackets'.
10681
10682 2013-12-11 Glenn Morris <rgm@gnu.org>
10683
10684 * emacs-lisp/package.el (finder-list-matches):
10685 Autoload rather than falsely declaring.
10686
10687 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
10688
10689 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
10690 (eww-mode-map): Use them.
10691
10692 2013-12-11 Martin Rudalics <rudalics@gmx.at>
10693
10694 * window.el (display-buffer-in-side-window): Fix doc-string
10695 (Bug#16115).
10696
10697 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
10698
10699 * vc/vc-git.el: Silence byte-compiler warnings.
10700 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
10701 (log-edit-set-header): Declare.
10702
10703 2013-12-11 Eli Zaretskii <eliz@gnu.org>
10704
10705 * Makefile.in (custom-deps, finder-data): Run output file names
10706 through unmsys--file-name. (Bug#16099)
10707
10708 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
10709
10710 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
10711 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
10712
10713 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
10714 instead of deleting the selection "by hand" (bug#16098).
10715 Rely on insert-for-yank to yank rectangles.
10716 (cua-highlight-region-shift-only): Mark obsolete.
10717 (cua-mode): Don't enable/disable transient-mark-mode,
10718 shift-select-mode (cua-mode works both with and without them), and
10719 pc-selection-mode (obsolete).
10720 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
10721 (cua--deactivate-rectangle): Deactivate it.
10722
10723 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
10724 (delete-selection-helper): Make sure yank starts at the top of the
10725 deleted region.
10726 (minibuffer-keyboard-quit): Use region-active-p.
10727
10728 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
10729
10730 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
10731 to `delete' (bug#16109).
10732
10733 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10734
10735 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
10736 info manual and show keybindings and set `:group' keyword.
10737
10738 2013-12-11 Juri Linkov <juri@jurta.org>
10739
10740 * delsel.el (delete-active-region): Let-bind `this-command'
10741 to prevent `kill-region' from changing its original value.
10742 (delete-selection-helper): Handle `overwrite-mode' for the type
10743 `kill' exactly the same way as for the type `t'.
10744 (insert-char, quoted-insert, reindent-then-newline-and-indent):
10745 Support more commands. (Bug#13312)
10746
10747 2013-12-11 Juri Linkov <juri@jurta.org>
10748
10749 * bindings.el: Map kp keys to non-kp keys systematically
10750 with basic modifiers control, meta and shift. (Bug#14397)
10751
10752 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10753
10754 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
10755 "Close browser" menu items. Fix wrong function of "List
10756 bookmarks".
10757
10758 2013-12-11 Juri Linkov <juri@jurta.org>
10759
10760 * misearch.el (multi-isearch-buffers): Set the value of
10761 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10762 arg of isearch-forward to t.
10763 (multi-isearch-buffers-regexp): Set the value of
10764 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10765 arg of isearch-forward-regexp to t.
10766 (multi-isearch-files): Set the value of
10767 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10768 arg of isearch-forward to t.
10769 (multi-isearch-files-regexp): Set the value of
10770 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10771 arg of isearch-forward-regexp to t. (Bug#16035)
10772
10773 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
10774 arg of isearch-forward to t.
10775 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
10776 arg of isearch-forward-regexp to t.
10777 (dired-isearch-filter-filenames): Remove unnecessary check for
10778 `dired-isearch-filenames'.
10779
10780 * comint.el (comint-history-isearch-backward):
10781 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
10782 (comint-history-isearch-backward-regexp):
10783 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
10784
10785 2013-12-10 Eli Zaretskii <eliz@gnu.org>
10786
10787 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
10788 unmsys--file-name. (Bug#16099)
10789
10790 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
10791
10792 * emacs-lisp/package.el (package-keyword-button-action):
10793 Remove finder.el require dependency.
10794
10795 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
10796
10797 * emacs-lisp/package.el: Require finder.el.
10798 (describe-package-1): Add keyword buttons.
10799 (package-make-button): New convenience function.
10800 (package-keyword-button-action): Keyword button action using
10801 `finder-list-matches'.
10802
10803 2013-12-09 Eli Zaretskii <eliz@gnu.org>
10804
10805 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
10806 last commit.
10807
10808 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
10809
10810 * autorevert.el (auto-revert-notify-add-watch): Do not handle
10811 symlinked files.
10812
10813 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10814
10815 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
10816 after the end of a percent literal.
10817
10818 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
10819
10820 * progmodes/ruby-mode.el (ruby-forward-string): Document.
10821 Handle caret-delimited strings (Bug#16079).
10822
10823 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10824
10825 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
10826 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
10827 `ruby-parse-partial' (Bug#16078).
10828
10829 2013-12-09 Leo Liu <sdl.web@gmail.com>
10830
10831 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
10832
10833 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
10834
10835 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
10836 (js-switch-indent-offset): New option.
10837 (js--proper-indentation): Use it. And handle the case when
10838 "default" is actually a key in an object literal.
10839 (js--same-line): New function.
10840 (js--multi-line-declaration-indentation): Use it.
10841 (js--indent-in-array-comp, js--array-comp-indentation):
10842 New functions.
10843 (js--proper-indentation): Use them, to handle array comprehension
10844 continuations.
10845
10846 2013-12-08 Leo Liu <sdl.web@gmail.com>
10847
10848 * progmodes/flymake.el (flymake-highlight-line): Re-write.
10849 (flymake-make-overlay): Remove arg MOUSE-FACE.
10850 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
10851
10852 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10853
10854 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
10855 New function.
10856 (redisplay-highlight-region-function): Use it.
10857
10858 * emulation/cua-base.el (cua--explicit-region-start)
10859 (cua--last-region-shifted): Remove.
10860 (cua--deactivate): Use deactivate-mark.
10861 (cua--pre-command-handler-1): Don't handle shift-selection.
10862 (cua--post-command-handler-1): Don't change transient-mark-mode.
10863 (cua--select-keymaps): Use region-active-p rather than
10864 cua--explicit-region-start or cua--last-region-shifted.
10865 (cua-mode): Enable shift-select-mode.
10866
10867 2013-12-08 Leo Liu <sdl.web@gmail.com>
10868
10869 * progmodes/flymake.el (flymake-popup-current-error-menu):
10870 Rename from flymake-display-err-menu-for-current-line. Reimplement.
10871 (flymake-posn-at-point-as-event, flymake-popup-menu)
10872 (flymake-make-emacs-menu): Remove. (Bug#16077)
10873
10874 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * rect.el (rectangle-mark-mode): Activate mark even if
10877 transient-mark-mode is off (bug#16066).
10878 (rectangle--highlight-for-redisplay): Fix boundary condition when point
10879 is > mark and at bolp.
10880
10881 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
10882 (region-extract-function): Use it.
10883 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
10884 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
10885 Delete functions.
10886 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
10887 kill-ring-save, kill-region, delete-char, delete-forward-char.
10888 Ignore self-insert-iso.
10889
10890 * emulation/cua-gmrk.el (cua--init-global-mark):
10891 Ignore `self-insert-iso'.
10892
10893 * emulation/cua-base.el (cua--prefix-copy-handler)
10894 (cua--prefix-cut-handler): Rely on region-extract-function rather than
10895 checking cua--rectangle.
10896 (cua-delete-region): Use region-extract-function.
10897 (cua-replace-region): Delete function.
10898 (cua-copy-region, cua-cut-region): Obey region-extract-function.
10899 (cua--pre-command-handler-1): Don't do the delete-selection thing.
10900 (cua--self-insert-char-p): Ignore `self-insert-iso'.
10901 (cua--init-keymaps): Don't remap delete-selection commands.
10902 (cua-mode): Use delete-selection-mode instead of rolling our own
10903 (bug#16085).
10904
10905 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
10906 Obey region-extract-function.
10907
10908 Make registers and delete-selection-mode work on rectangles.
10909 * register.el (describe-register-1): Don't modify the register's value.
10910 (copy-to-register): Obey region-extract-function.
10911 * delsel.el (delete-active-region): Obey region-extract-function.
10912
10913 2013-12-08 Leo Liu <sdl.web@gmail.com>
10914
10915 * progmodes/flymake.el (flymake, flymake-error-bitmap)
10916 (flymake-warning-bitmap, flymake-fringe-indicator-position)
10917 (flymake-compilation-prevents-syntax-check)
10918 (flymake-start-syntax-check-on-newline)
10919 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
10920 (flymake-start-syntax-check-on-find-file, flymake-log-level)
10921 (flymake-xml-program, flymake-master-file-dirs)
10922 (flymake-master-file-count-limit)
10923 (flymake-allowed-file-name-masks): Relocate.
10924 (flymake-makehash, flymake-float-time)
10925 (flymake-replace-regexp-in-string, flymake-split-string)
10926 (flymake-get-temp-dir): Remove.
10927 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
10928 (flymake-current-row, flymake-selected-frame)
10929 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
10930 related functions. (Bug#16077)
10931
10932 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
10933
10934 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
10935
10936 2013-12-07 Tassilo Horn <tsdh@gnu.org>
10937
10938 * help-fns.el (describe-function-1): Use new advice-* functions
10939 rather than old ad-* functions. Fix function type description and
10940 source links for advised functions and subrs.
10941
10942 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10943
10944 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
10945
10946 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
10947
10948 * progmodes/compile.el (compilation-start):
10949 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
10950
10951 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10952 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
10953
10954 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10955
10956 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10957 Touch up the last change.
10958
10959 2013-12-06 Leo Liu <sdl.web@gmail.com>
10960
10961 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
10962 (inferior-octave-startup): Always use "octave> " for prompt.
10963 (octave-goto-function-definition)
10964 (octave-sync-function-file-names)
10965 (octave-find-definition-default-filename): Remove redundant backquotes.
10966
10967 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10968
10969 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
10970 syntax for `?'.
10971 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
10972 where appropriate already.
10973 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
10974 end of method names (Bug#15874).
10975
10976 2013-12-06 Juri Linkov <juri@jurta.org>
10977
10978 * isearch.el (isearch--saved-overriding-local-map):
10979 New internal variable.
10980 (isearch-mode): Set it to the initial value of
10981 `overriding-terminal-local-map'.
10982 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
10983 with `isearch--saved-overriding-local-map'. (Bug#16035)
10984
10985 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10986
10987 * progmodes/octave.el (inferior-octave-completion-table):
10988 Turn back into function, use `completion-table-with-cache'
10989 (Bug#11906). Update all references.
10990
10991 * minibuffer.el (completion-table-with-cache): New function.
10992
10993 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
10994
10995 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
10996
10997 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
10998
10999 * net/eww.el (eww-current-source): New variable to store page
11000 source.
11001 (eww-display-html, eww-mode, eww-save-history)
11002 (eww-restore-history): Use it.
11003 (eww-view-source): New command to view page source.
11004 Opportunistically uses `html-mode' to highlight the buffer.
11005 (eww-mode-map): Install it.
11006
11007 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
11008
11009 * net/dbus.el (dbus-unregister-service)
11010 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
11011 Fix docstring.
11012 (dbus-unregister-service): Skip :serial entries in
11013 `dbus-registered-objects-table'.
11014 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
11015
11016 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
11017
11018 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
11019 around keywords with extra `split-string' argument.
11020
11021 2013-12-04 Martin Rudalics <rudalics@gmx.at>
11022
11023 * windmove.el (windmove-other-window-loc): Handle navigation
11024 between windows (excluding the minibuffer window - Bug#16017).
11025
11026 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
11027
11028 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
11029 in D-Bus type syntax.
11030 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
11031 preserve unibyte strings. (Bug#16048)
11032
11033 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11034
11035 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11036 Call force-mode-line-update is the proper buffer (bug#16042).
11037
11038 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
11039
11040 * vc/log-edit.el (log-edit-add-new-comment): Rename to
11041 `log-edit-remember-comment', make argument optional. Adjust all
11042 callers.
11043 (log-edit-mode): Add `log-edit-remember-comment' to
11044 `kill-buffer-hook' locally.
11045 (log-edit-kill-buffer): Don't remember comment explicitly since
11046 the buffer is killed anyway.
11047
11048 2013-12-04 Juri Linkov <juri@jurta.org>
11049
11050 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
11051 add-hook and remove-hook for multi-buffer search. (Bug#16035)
11052
11053 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
11054
11055 * notifications.el (notifications-close-notification): Call the
11056 D-Bus method with ID being a `:uint32'. (Bug#16030)
11057
11058 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
11059
11060 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
11061
11062 2013-12-03 Juri Linkov <juri@jurta.org>
11063
11064 * progmodes/compile.el (compilation-start): Rename window alist
11065 entry `no-display-ok' to `allow-no-window'.
11066
11067 * simple.el (shell-command): Add window alist entry
11068 `allow-no-window' to `display-buffer'.
11069 (async-shell-command): Doc fix.
11070
11071 * window.el (display-buffer-no-window): New action function.
11072 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
11073
11074 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
11075
11076 * vc/log-edit.el (log-edit-set-header): Extract from
11077 `log-edit-toggle-header'.
11078 (log-edit-extract-headers): Separate the summary, when extracted
11079 from header, from the rest of the message with an empty line.
11080
11081 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
11082 line, if present, to the Summary header.
11083
11084 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
11087 in current-buffer (bug#16029).
11088
11089 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
11090
11091 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
11092 (debugger-mode-map): Bind it.
11093 (debugger--backtrace-base): New function.
11094 (debugger-eval-expression): Use it.
11095 (debugger-frame-number): Skip local vars when present.
11096 (debugger--locals-visible-p, debugger--insert-locals)
11097 (debugger--show-locals, debugger--hide-locals): New functions.
11098
11099 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
11100
11101 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
11102 "LC_ALL".
11103 (tramp-get-remote-locale): New defun.
11104 (tramp-open-connection-setup-interactive-shell): Use it.
11105
11106 2013-12-02 Leo Liu <sdl.web@gmail.com>
11107
11108 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
11109
11110 * progmodes/sh-script.el (sh-shell-process):
11111 * progmodes/octave.el (inferior-octave-process-live-p):
11112 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
11113 (gdb-inferior-io-sentinel):
11114 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
11115
11116 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
11117
11118 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
11119 `save-selected-window' to `log-edit-hide-buf'. This makes
11120 `log-edit-show-files' idempotent.
11121 (log-edit-show-files): Mark the new window as dedicated.
11122
11123 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
11124
11125 * vc/log-edit.el (log-edit-mode-map): Add binding for
11126 `log-edit-kill-biffer'.
11127 (log-edit-hide-buf): Add a FIXME comment.
11128 (log-edit-add-new-comment): New function, extracted from
11129 `log-edit-done'.
11130 (log-edit-done, log-edit-add-to-changelog): Use it.
11131 (log-edit-kill-buffer): New command.
11132
11133 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11134
11135 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
11136 instead of killing the buffer.
11137
11138 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
11141
11142 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11143
11144 * net/eww.el (eww-form-checkbox-selected-symbol)
11145 (eww-form-checkbox-symbol): New customizable variable.
11146 (eww-form-checkbox, eww-toggle-checkbox):
11147 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
11148
11149 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
11150 (shr--get-media-pref, shr--extract-best-source): New function.
11151 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
11152 no :src tag was specified.
11153
11154 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
11155 (eww-render): Handle `eww-use-external-browser-for-content-type'.
11156 Use \\` to match beginning of string instead of ^.
11157 (eww-browse-with-external-browser): Provide optional URL parameter.
11158 (eww-render): Set `eww-current-title' back to "".
11159
11160 * net/shr.el (shr-tag-video): Display content for video if no
11161 poster is available.
11162 (shr-tag-audio): Add support for <audio> tag.
11163
11164 * net/eww.el (eww-text-input-types): New const.
11165 (eww-process-text-input): Treat input types in
11166 `eww-text-input-types' as text.
11167
11168 * net/shr.el (shr-tag-table): Fix comment typo.
11169
11170 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11171
11172 * net/eww.el (eww-follow-link): New command to avoid reloading
11173 pages when we follow #target links (bug#15243).
11174 (eww-quit): Special mode buffers shouldn't query before exiting.
11175
11176 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11177
11178 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
11179 forms.
11180
11181 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11182
11183 * net/eww.el (eww-restore-history): Update the window title after
11184 moving in the history.
11185 (eww-current-dom): New variable used to save the current DOM.
11186
11187 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
11188
11189 * vc/log-edit.el (log-edit-mode-map): Add binding for
11190 `log-edit-beginning-of-line'.
11191 (log-edit-setup-add-author): New user option.
11192 (log-edit-beginning-of-line): New command.
11193 (log-edit): Move major mode call above the contents setup so that
11194 the local variable values are already applied.
11195 (log-edit): Only insert "Author: " when
11196 `log-edit-setup-add-author' is non-nil.
11197 (log-edit): When SETUP is non-nil, position point after ": "
11198 instead of point-min.
11199
11200 2013-12-01 Glenn Morris <rgm@gnu.org>
11201
11202 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
11203
11204 2013-11-30 Eli Zaretskii <eliz@gnu.org>
11205
11206 * startup.el (fancy-splash-frame): On MS-Windows, trigger
11207 redisplay to make sure the initial frame gets a chance to become
11208 visible. (Bug#16014)
11209
11210 2013-11-30 Martin Rudalics <rudalics@gmx.at>
11211
11212 Support resizing frames and windows pixelwise.
11213 * cus-start.el (frame-resize-pixelwise)
11214 (window-resize-pixelwise): New entries.
11215 * emacs-lisp/debug.el (debug): Use window-total-height instead
11216 of window-total-size.
11217 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
11218 * help.el (describe-bindings-internal): Use help-buffer as
11219 argument for with-help-window.
11220 (temp-buffer-max-width): New option.
11221 (resize-temp-buffer-window, help-window-setup)
11222 (with-help-window): Rewrite.
11223 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
11224 dragging dividers.
11225 * window.el (frame-char-size, window-min-pixel-height)
11226 (window-safe-min-pixel-height, window-safe-min-pixel-width)
11227 (window-min-pixel-width, window-safe-min-pixel-size)
11228 (window-combination-p, window-safe-min-size)
11229 (window-resizable-p, window--size-to-pixel)
11230 (window--pixel-to-size, window--resize-apply-p): New functions.
11231 (window-safe-min-height): Fix doc-string.
11232 (window-size, window-min-size, window--min-size-1)
11233 (window-sizable, window-sizable-p, window--min-delta-1)
11234 (window-min-delta, window--max-delta-1, window-max-delta)
11235 (window--resizable, window--resizable-p, window-resizable)
11236 (window-full-height-p, window-full-width-p, window-at-side-p)
11237 (window--in-direction-2, window-in-direction)
11238 (window--resize-reset-1, window--resize-mini-window)
11239 (window-resize, window-resize-no-error)
11240 (window--resize-child-windows-normal)
11241 (window--resize-child-windows, window--resize-siblings)
11242 (window--resize-this-window, window--resize-root-window)
11243 (window--resize-root-window-vertically)
11244 (adjust-window-trailing-edge, enlarge-window, shrink-window)
11245 (maximize-window, minimize-window, delete-window)
11246 (quit-restore-window, window-split-min-size, split-window)
11247 (balance-windows-2, balance-windows)
11248 (balance-windows-area-adjust, balance-windows-area)
11249 (window--state-get-1, window-state-get, window--state-put-1)
11250 (window--state-put-2, window-state-put)
11251 (display-buffer-record-window, window--display-buffer):
11252 Make functions handle pixelwise sizing of windows.
11253 (display-buffer--action-function-custom-type)
11254 (display-buffer-fallback-action):
11255 Add display-buffer-in-previous-window.
11256 (display-buffer-use-some-window): Resize window to height it had
11257 before.
11258 (fit-window-to-buffer-horizontally): New option.
11259 (fit-frame-to-buffer): Describe new values.
11260 (fit-frame-to-buffer-bottom-margin): Replace with
11261 fit-frame-to-buffer-margins.
11262 (window--sanitize-margin): New function.
11263 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
11264 using window-text-pixel-size.
11265
11266 2013-11-30 Glenn Morris <rgm@gnu.org>
11267
11268 * emacs-lisp/bytecomp.el (byte-compile-form):
11269 Make the `interactive-only' warning like the `obsolete' one.
11270 * comint.el (comint-run):
11271 * files.el (insert-file-literally, insert-file):
11272 * replace.el (replace-string, replace-regexp):
11273 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11274 (goto-line, insert-buffer, next-line, previous-line):
11275 Tweak `interactive-only' spec.
11276
11277 Stop keeping (most) generated cedet grammar files in the repository.
11278 * Makefile.in (semantic): New.
11279 (compile-main): Depend on semantic.
11280
11281 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11282
11283 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
11284 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
11285
11286 * uniquify.el (uniquify-buffer-name-style): Change default.
11287
11288 * loadup.el: Preload "uniquify".
11289
11290 * time.el (display-time-update): Update all mode lines (bug#15999).
11291
11292 * electric.el (electric-indent-mode): Enable by default.
11293 * loadup.el: Preload "electric".
11294
11295 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
11296
11297 * emacs-lisp/helpers.el (string-empty-p): New function.
11298 (string-blank-p): New function.
11299
11300 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
11301
11302 * imenu.el (imenu--index-alist): Add missing dot to the docstring
11303 (Bug#14029).
11304
11305 2013-11-29 Andreas Politz <politza@fh-trier.de>
11306 * imenu.el (imenu--subalist-p): Don't error on non-conses and
11307 allow non-lambda lists as functions.
11308 (imenu--in-alist): Don't recurse into non-subalists.
11309 (imenu): Don't pass function itself as an argument (Bug#14029).
11310
11311 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11312
11313 * progmodes/python.el (python-mode-map): Remove binding for ":".
11314 (python-indent-electric-colon): Remove command.
11315 (python-indent-post-self-insert-function): Integrate the previous code
11316 of python-indent-electric-colon. Make it conditional on
11317 electric-indent-mode.
11318 (python-mode): Add ?: to electric-indent-chars.
11319 Move python-indent-post-self-insert-function to the end of
11320 post-self-insert-hook.
11321
11322 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * doc-view.el (doc-view-goto-page): Update mode-line.
11325
11326 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
11327
11328 2013-11-27 Glenn Morris <rgm@gnu.org>
11329
11330 * international/charprop.el, international/uni-bidi.el:
11331 * international/uni-category.el, international/uni-combining.el:
11332 * international/uni-comment.el, international/uni-decimal.el:
11333 * international/uni-decomposition.el, international/uni-digit.el:
11334 * international/uni-lowercase.el, international/uni-mirrored.el:
11335 * international/uni-name.el, international/uni-numeric.el:
11336 * international/uni-old-name.el, international/uni-titlecase.el:
11337 * international/uni-uppercase.el:
11338 Remove generated files from VCS repository.
11339
11340 2013-11-27 Eli Zaretskii <eliz@gnu.org>
11341
11342 * filenotify.el (file-notify-add-watch): Don't special-case
11343 w32notify when computing the directory to watch.
11344
11345 2013-11-27 Glenn Morris <rgm@gnu.org>
11346
11347 Make bootstrap without generated uni-*.el files possible again.
11348 * loadup.el: Update command-line-args checking for unidata-gen.
11349 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
11350 * composite.el, international/characters.el:
11351 Handle unicode tables being undefined.
11352
11353 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
11354 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
11355 (compile-main): Depend on leim rule.
11356 (leim): New rule.
11357 * loadup.el: Move leim-list.el to leim/ subdirectory.
11358 * startup.el (normal-top-level): No more leim directory.
11359 * international/ja-dic-cnv.el (skkdic-convert):
11360 Disable version-control and autoloads in output files.
11361 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
11362 Disable version-control and autoloads in output files.
11363 * leim/quail: Move here from ../leim.
11364 * leim/quail/hangul.el (hangul-input-method-activate):
11365 Add autoload cookie.
11366 (generated-autoload-load-name): Set file-local value.
11367 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
11368 (generated-autoload-load-name): Set file-local value.
11369
11370 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
11371
11372 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
11373 (eww-add-bookmark): Ask confirmation when add to bookmarks.
11374 (eww-quit): Ask confirmation before quitting eww.
11375
11376 2013-11-26 Eli Zaretskii <eliz@gnu.org>
11377
11378 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
11379 reading output from Diff on MS-Windows and MS-DOS.
11380
11381 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
11382
11383 * emacs-lisp/helpers.el (string-reverse): New function.
11384
11385 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
11386
11387 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
11388 names on MS Windows, like "/[::1]:".
11389
11390 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
11391 SWITCHES.
11392
11393 2013-11-26 Glenn Morris <rgm@gnu.org>
11394
11395 * progmodes/python.el (python-indent-guess-indent-offset):
11396 Avoid corner-case error. (Bug#15975)
11397
11398 Preload leim-list.el. (Bug#4789)
11399 * loadup.el: Load leim-list.el when found.
11400 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
11401
11402 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
11403
11404 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
11405
11406 * emacs-lisp/helpers.el (string-join): New function.
11407
11408 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
11409
11410 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11411 Mark as obsolete and replace it with a symbol property.
11412 (byte-compile-form): Use new 'interactive-only property.
11413 * comint.el, files.el, replace.el, simple.el:
11414 Apply new 'interactive-only properly.
11415
11416 2013-11-25 Martin Rudalics <rudalics@gmx.at>
11417
11418 * window.el (display-buffer-at-bottom): Make sure that
11419 split-window-sensibly creates the new window on bottom
11420 (Bug#15961).
11421
11422 2013-11-23 David Kastrup <dak@gnu.org>
11423
11424 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
11425 on the conflict markers when available.
11426 (smerge--get-marker): New function.
11427 (smerge-end-re, smerge-base-re): Add subgroup.
11428
11429 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11430
11431 * frame.el (handle-focus-in, handle-focus-out): Add missing
11432 interactive spec.
11433
11434 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
11435
11436 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11437 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
11438
11439 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11440
11441 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
11442 (gomoku--last-pos): New var.
11443 (gomoku--intangible-chars): New const.
11444 (gomoku--intangible): New function.
11445 (gomoku-mode): Use it. Derive from special-mode.
11446 (gomoku-move-up): Adjust line count.
11447 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
11448 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
11449 Simplify accordingly.
11450
11451 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
11452 Remove blink-cursor code.
11453 (blink-cursor-timer-function, blink-cursor-suspend):
11454 Don't special-case GUIs.
11455 (blink-cursor-mode): Use focus-in/out-hook.
11456
11457 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
11458
11459 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
11460 work when annotation is invisible (Bug#13886).
11461
11462 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
11463
11464 * json.el (json-alist-p): Only return non-nil if the alist has
11465 simple keys (Bug#13518).
11466
11467 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
11468
11469 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
11470 when control-statement is the first statement in a buffer (Bug#15956).
11471
11472 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
11473
11474 * imenu.el (imenu-generic-skip-comments-and-strings):
11475 New option (Bug#15560).
11476 (imenu--generic-function): Use it.
11477
11478 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
11479
11480 * minibuffer.el (completion--in-region-1): Scroll the correct window.
11481 (Bug#13898)
11482
11483 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
11484
11485 * emacs-lisp/helpers.el: Add some string helpers.
11486 (string-trim-left): Removes leading whitespace.
11487 (string-trim-right): Removes trailing whitespace.
11488 (string-trim): Removes leading and trailing whitespace.
11489
11490 * subr.el (string-suffix-p): New function.
11491
11492 2013-11-23 Glenn Morris <rgm@gnu.org>
11493
11494 * progmodes/python.el (python-shell-send-file):
11495 Add option to delete file when done. (Bug#15647)
11496 (python-shell-send-string, python-shell-send-region): Use it.
11497
11498 2013-11-23 Ivan Shmakov <ivan@siamics.net>
11499
11500 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
11501 to set buffer-read-only to t, never to nil. (Bug#15938)
11502
11503 * textmodes/tex-mode.el (latex-noindent-environments):
11504 Add safe-local-variable property. (Bug#15936)
11505
11506 2013-11-23 Glenn Morris <rgm@gnu.org>
11507
11508 * textmodes/enriched.el (enriched-mode): Doc fix.
11509 * emacs-lisp/authors.el (authors-renamed-files-alist):
11510 Add enriched.doc -> enriched.txt.
11511
11512 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
11513
11514 2013-11-22 Leo Liu <sdl.web@gmail.com>
11515
11516 * progmodes/octave.el (inferior-octave-startup): Spit out error
11517 message.
11518
11519 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
11520
11521 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11522 Improve docstring.
11523 Add :version.
11524 (ruby-encoding-magic-comment-style): Add :version.
11525
11526 2013-11-22 Leo Liu <sdl.web@gmail.com>
11527
11528 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
11529 (Bug#15076)
11530 (octave-help-mode): Adapt to change to help-mode-finish to use
11531 derived-mode-p on 2013-09-17.
11532 (inferior-octave-prompt): Also match octave-gui.
11533 (octave-kill-process): Don't ask twice. (Bug#10564)
11534
11535 2013-11-22 Leo Liu <sdl.web@gmail.com>
11536
11537 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
11538 (inferior-octave-startup, inferior-octave-check-process)
11539 (inferior-octave-track-window-width-change)
11540 (octave-completion-at-point, octave-eldoc-function): Use it.
11541 (octave-kill-process): Provide confirmation. (Bug#10564)
11542
11543 2013-11-21 Leo Liu <sdl.web@gmail.com>
11544
11545 * progmodes/octave.el (octave-mode, inferior-octave-mode):
11546 Fix obsolete variable comment-use-global-state.
11547
11548 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11549
11550 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
11551 Add `octave-source-file'.
11552 (octave-source-file): New function. (Bug#15935)
11553
11554 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
11555
11556 * net/eww.el (eww-local-regex): New variable.
11557 (eww): Use it to detect localhost and similar.
11558
11559 2013-11-21 Leo Liu <sdl.web@gmail.com>
11560
11561 Add completion for command `ag'.
11562 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
11563 (pcomplete/ag): New function.
11564 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
11565
11566 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
11569 (bug#14646).
11570 (make-obsolete): Remove interactive spec.
11571
11572 2013-11-21 Glenn Morris <rgm@gnu.org>
11573
11574 * startup.el (command-line-1): Use path-separator with -L.
11575
11576 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
11577
11578 * emacs-lisp/package.el (describe-package-1): Add package archive
11579 to shown fields.
11580
11581 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
11582
11583 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11584 Change default to "# encoding: %s" to differentiate it from the
11585 default Ruby encoding comment template.
11586
11587 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
11588
11589 * ses.el (ses-mode): Doc fix. (Bug#14748)
11590
11591 2013-11-20 Leo Liu <sdl.web@gmail.com>
11592
11593 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
11594
11595 2013-11-19 Dan Nicolaescu <dann@gnu.org>
11596
11597 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
11598 when rebase or bisect are in progress.
11599
11600 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
11601
11602 * filenotify.el (file-notify-add-watch): Doc fix.
11603
11604 2013-11-19 Leo Liu <sdl.web@gmail.com>
11605
11606 * obsolete/rcompile.el: Mark obsolete.
11607
11608 * progmodes/compile.el (compilation-start)
11609 (compilation-goto-locus, compilation-find-file):
11610 Pass no-display-ok and handle nil value from display-buffer.
11611 (Bug#13594)
11612
11613 * window.el (display-buffer-alist, display-buffer): Document the
11614 new parameter no-display-ok. Return either a window or nil
11615 but never a non-window value.
11616
11617 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11618
11619 * electric.el (electric-indent-mode-map): Remove.
11620 (electric-indent-mode): Change the global-map instead (bug#15915).
11621
11622 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11623 Use add-function.
11624
11625 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * emacs-lisp/nadvice.el (remove-function): Align with
11628 add-function's behavior.
11629
11630 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
11631 (gdb--string-regexp): New constant.
11632 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
11633 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
11634 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
11635 submatch 1.
11636 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
11637 Adjust use accordingly.
11638 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
11639
11640 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
11641
11642 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
11643 interpolation curlies (Bug#15914).
11644
11645 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
11646
11647 * calc/calc.el (calc-context-sensitive-enter): New variable.
11648 (calc-enter): Use `calc-context-sensitive-enter'.
11649
11650 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
11651
11652 * progmodes/cfengine.el: Version bump.
11653 (cfengine-cf-promises): New defcustom to locate cf-promises.
11654 (cfengine3-vartypes): Add new "data" type.
11655 (cfengine3--current-word): New function to get current name-like
11656 word or its bounds.
11657 (cfengine3--current-function): New function to look up a CFEngine
11658 function's definition.
11659 (cfengine3-format-function-docstring): New function.
11660 (cfengine3-make-syntax-cache): New function.
11661 (cfengine3-documentation-function): New function: ElDoc glue.
11662 (cfengine3-completion-function): New function: completion glue.
11663 (cfengine3-mode): Set `compile-command',
11664 `eldoc-documentation-function', and add to
11665 `completion-at-point-functions'.
11666
11667 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
11668
11669 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11670 `tramp-current-connection'.
11671
11672 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
11673
11674 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
11675 nil/self/true/false with "end of symbol".
11676
11677 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
11678
11679 * subr.el (version-regexp-alist): Fix a typo.
11680
11681 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
11682
11683 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
11684 "en_US.utf8" and "LC_CTYPE" to "".
11685 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
11686 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
11687
11688 2013-11-15 Leo Liu <sdl.web@gmail.com>
11689
11690 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
11691
11692 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * progmodes/gud.el (ctl-x-map):
11695 Remove C-x SPC binding. (Bug#12342)
11696 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
11697
11698 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
11699
11700 * subr.el (version-regexp-alist):
11701 Recognize hg, svn and darcs versions as snapshot versions.
11702
11703 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
11704 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
11705 (ruby--encoding-comment-required-p): Extract from
11706 `ruby-mode-set-encoding'.
11707 (ruby-mode-set-encoding): Add the ability to always insert an
11708 utf-8 encoding comment. Fix and simplify coding comment update
11709 logic.
11710
11711 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
11712
11713 * net/tramp-gvfs.el (top): Run init code only when
11714 `tramp-gvfs-enabled' is not nil.
11715 (tramp-gvfs-enabled): Check also :system bus.
11716
11717 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 Sync with upstream verilog-mode revision 78e66ba.
11720 * progmodes/verilog-mode.el (verilog-end-of-defun)
11721 (verilog-type-completion, verilog-get-list): Remove unused funcs.
11722 (verilog-get-end-of-defun): Remove unused argument.
11723 (verilog-comment-depth): Remove unused local `e'.
11724 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
11725 Don't pass arg to verilog-get-end-of-defun.
11726
11727 2013-11-14 Glenn Morris <rgm@gnu.org>
11728
11729 * obsolete/assoc.el (aget): Prefix dynamic variable.
11730
11731 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
11732
11733 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11734
11735 * widget.el, hfy-cmap.el: Remove bogus package version number.
11736
11737 2013-11-13 Glenn Morris <rgm@gnu.org>
11738
11739 * replace.el (replace-eval-replacement):
11740 Try to give more helpful error message. (Bug#15836)
11741
11742 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11743 (archive-7z-update): Avoid custom type mismatches.
11744
11745 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
11746
11747 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
11748
11749 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11750 address can be empty.
11751
11752 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
11753 Accept nil SWITCHES.
11754 (tramp-gvfs-handle-write-region): Implement APPEND.
11755
11756 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
11757
11758 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
11759 binary "|" operator and closing block args delimiter.
11760 Remove FIXME comment referring to Ruby 1.8-only syntax.
11761 (ruby-smie--implicit-semi-p): Not after "|" operator.
11762 (ruby-smie--closing-pipe-p): New function.
11763 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
11764 (ruby-smie-rules): Indent after "|".
11765
11766 2013-11-12 Glenn Morris <rgm@gnu.org>
11767
11768 * ps-print.el (ps-face-attribute-list):
11769 Handle anonymous faces. (Bug#15827)
11770
11771 2013-11-12 Martin Rudalics <rudalics@gmx.at>
11772
11773 * window.el (display-buffer-other-frame): Fix doc-string.
11774 (Bug#15868)
11775
11776 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * subr.el (force-mode-line-update): Delete, move to buffer.c.
11779
11780 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
11781
11782 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
11783 (tramp-sh-handle-file-local-copy): Don't write a message when
11784 saving temporary files.
11785
11786 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
11787 both directories are remote.
11788 (tramp-smb-handle-directory-files): Do not return double entries.
11789 Do not expand full file names.
11790 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
11791 (tramp-smb-handle-write-region): Implement APPEND.
11792 (tramp-smb-get-stat-capability): Fix a stupid bug.
11793
11794 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11795
11796 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
11797
11798 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11799
11800 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
11801 throwing error over malformed let/let* (bug#15814).
11802
11803 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 * iswitchb.el (iswitchb-mode): Mark obsolete.
11806
11807 2013-11-11 Glenn Morris <rgm@gnu.org>
11808
11809 * international/uni-bidi.el, international/uni-category.el:
11810 * international/uni-name.el, international/uni-numeric.el:
11811 Regenerate for Unicode 6.3.0.
11812
11813 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
11814
11815 * net/tramp.el (tramp-methods):
11816 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
11817 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
11818
11819 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
11820
11821 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11822 Force highlighting text after Summary keyword in doc face for rpm.
11823
11824 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
11825
11826 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
11827 available and the word has no wildcards, append one to the grep pattern.
11828 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
11829 (ispell-complete-word): Call `ispell-lookup-words' with the value
11830 independent of `ispell-look-p'.
11831
11832 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11833
11834 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
11835 Not after "||".
11836 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
11837 their parent.
11838
11839 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
11842 (ruby-font-lock-keywords): Use backquote.
11843
11844 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11845
11846 * progmodes/ruby-mode.el (ruby-smie--forward-token)
11847 (ruby-smie--backward-token): Only consider full-string matches.
11848
11849 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
11850
11851 * faces.el (describe-face): Add distant-foreground.
11852
11853 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
11854
11855 * progmodes/ruby-mode.el: Improve encoding comment handling.
11856 (ruby-encoding-magic-comment-style): New option.
11857 (ruby-custom-encoding-magic-comment-template): New option.
11858 (ruby--insert-coding-comment, ruby--detect-encoding):
11859 New functions extracted from `ruby-mode-set-encoding'.
11860 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
11861 to control the style of the auto-inserted encoding comment.
11862
11863 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11864
11865 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
11866 Use `smie-backward-sexp' with token argument.
11867
11868 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
11869
11870 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11871 Remove instrumentation code.
11872
11873 2013-11-08 Glenn Morris <rgm@gnu.org>
11874
11875 * progmodes/autoconf.el (autoconf-mode):
11876 Tweak comment-start-skip. (Bug#15822)
11877
11878 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
11881 at bobp (bug#15826).
11882 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
11883
11884 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
11885
11886 * man.el (Man-start-calling): New macro, extracted from
11887 Man-getpage-in-background.
11888 (Man-getpage-in-background): Use it.
11889 (Man-update-manpage): New command.
11890 (Man-mode-map): Bind it.
11891
11892 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11893
11894 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
11895 of "and", "or", "&&" and "||".
11896 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
11897 argument. Prohibit opening curly brace because it could only be a
11898 block opener in that position.
11899 (ruby-smie--forward-token, ruby-smie--backward-token):
11900 Separate "|" from "&" or "*" going after it. That can happen in block
11901 arguments.
11902 (ruby-smie--indent-to-stmt): New function, seeks the end of
11903 previous statement or beginning of buffer.
11904 (ruby-smie-rules): Use it.
11905 (ruby-smie-rules): Check if there's a ":" before a curly block
11906 opener candidate; if there is, it's a hash.
11907
11908 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
11911 (cl--block-wrapper): Fix last accidental change.
11912
11913 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
11914
11915 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11916 Instrument, in order to hunt failure on hydra.
11917
11918 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11919
11920 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
11921 malformed bindings form (bug#15814).
11922
11923 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
11924
11925 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
11926 "." compared to " @ ". This incidentally fixes some indentation
11927 examples with "do".
11928 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
11929 (ruby-smie-grammar): New tokens: "and" and "or".
11930 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
11931 Exclude "and" and "or". Remove "do" in order to work around token
11932 priorities.
11933 (ruby-smie-rules): Add all infix tokens. Handle the case of
11934 beginning-of-buffer.
11935
11936 2013-11-06 Glenn Morris <rgm@gnu.org>
11937
11938 * Makefile.in (setwins_almost, setwins_for_subdirs):
11939 Avoid accidental matches.
11940
11941 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11942
11943 * menu-bar.el (popup-menu): Use key-binding.
11944
11945 2013-11-06 Eli Zaretskii <eliz@gnu.org>
11946
11947 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
11948 menus, support also the menus produced by minor modes.
11949 (Bug#15817)
11950
11951 2013-11-06 Leo Liu <sdl.web@gmail.com>
11952
11953 * thingatpt.el (thing-at-point-looking-at): Add optional arg
11954 DISTANCE to bound the search. All uses changed. (Bug#15808)
11955
11956 2013-11-06 Glenn Morris <rgm@gnu.org>
11957
11958 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
11959 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
11960 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
11961
11962 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11963
11964 * electric.el (electric-indent-just-newline): New command.
11965 (electric-indent-mode-map): New keymap.
11966 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
11967 Re-add :group which weren't redundant.
11968
11969 * electric.el (electric-indent-local-mode): New minor mode.
11970 (electric-indent-functions-without-reindent): New var.
11971 (electric-indent-post-self-insert-function): Use it.
11972 * emacs-lisp/gv.el (buffer-local-value): Add setter.
11973
11974 2013-11-05 Eli Zaretskii <eliz@gnu.org>
11975
11976 * international/quail.el (quail-help): Be more explicit about the
11977 meaning of the labels shown on the keys. (Bug#15800)
11978
11979 * startup.el (normal-top-level): Load the subdirs.el files before
11980 setting the locale environment. (Bug#15805)
11981
11982 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
11985 via arguments so as to get the right ones (bug#15418).
11986
11987 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
11988
11989 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
11990
11991 Fix problems found while writing a test suite.
11992
11993 * net/tramp-compat.el (tramp-compat-load): New defun.
11994 * net/tramp.el (tramp-handle-load): Use it.
11995
11996 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
11997 "(numberp ok-if-already-exists)" correctly.
11998
11999 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
12000
12001 * international/characters.el (glyphless-char-display-control):
12002 Add usage note.
12003
12004 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
12005
12006 * progmodes/python.el (python-mode):
12007 * progmodes/scheme.el (scheme-mode):
12008 * progmodes/prolog.el (prolog-mode):
12009 * progmodes/ruby-mode.el (ruby-mode):
12010 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
12011 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
12012
12013 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12014
12015 * rect.el (rectangle--highlight-for-redisplay):
12016 * emacs-lisp/smie.el (smie--next-indent-change):
12017 Use buffer-chars-modified-tick.
12018
12019 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
12020
12021 * electric.el (electric-indent-post-self-insert-function):
12022 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
12023
12024 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
12025
12026 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
12027
12028 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
12029
12030 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
12031 (bug#15786).
12032
12033 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12034
12035 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
12036
12037 * progmodes/python.el: Fix up last change.
12038 (python-shell--save-temp-file): New function.
12039 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
12040 `string' comes from the current buffer.
12041 (python-shell-send-string-no-output): Remove `msg' arg.
12042 (python--use-fake-loc): New var.
12043 (python-shell-buffer-substring): Obey it. Try to compensate for the
12044 extra coding line added by python-shell--save-temp-file.
12045 (python-shell-send-region): Use python-shell--save-temp-file and
12046 python-shell-send-file directly. Add `nomain' argument.
12047 (python-shell-send-buffer): Use python-shell-send-region.
12048 (python-electric-pair-string-delimiter): New function.
12049 (python-mode): Use it.
12050
12051 2013-11-04 Eli Zaretskii <eliz@gnu.org>
12052
12053 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
12054 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
12055 environment and decoding all of the default-directory's to here
12056 from command-line.
12057 (command-line): Decode also argv[0].
12058
12059 * loadup.el: Error out if default-directory is a multibyte string
12060 when we are dumping.
12061
12062 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
12063
12064 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
12065
12066 * emacs-lisp/package.el (package-menu-mode)
12067 (package-menu--print-info, package-menu--archive-predicate):
12068 Add Archive column to package list.
12069
12070 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
12071
12072 Fix problems found while writing a test suite.
12073
12074 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
12075 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
12076 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
12077 to nil when running original file name handler. Otherwise,
12078 there are problems with constructs like "$$FOO".
12079
12080 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
12081 for `localname'.
12082
12083 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
12084
12085 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
12086
12087 * subr.el (version<, version<=, version=):
12088 Update docstrings with information for snapshot versions.
12089
12090 * helpers.el: New library for misc helper functions.
12091 (hash-table-keys): New function returning a list of hash keys.
12092 (hash-table-values): New function returning a list of hash values.
12093
12094 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
12095
12096 * progmodes/ruby-mode.el (ruby-smie--forward-token)
12097 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
12098
12099 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
12100
12101 * textmodes/fill.el (fill-single-char-nobreak-p): New function
12102 checking whether point is after a 1-letter word.
12103
12104 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
12105
12106 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
12107 Don't infloop when expanding region over `multiline' syntax-type that
12108 begins a line (bug#15778).
12109
12110 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
12113 Make it into a proper minor mode.
12114 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
12115 (rectangle-mark-mode-map): New keymap.
12116 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
12117
12118 2013-11-04 Glenn Morris <rgm@gnu.org>
12119
12120 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
12121
12122 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
12125 (ruby-smie-rules): Use smie-rule-parent instead.
12126
12127 * emacs-lisp/smie.el (smie-rule-parent): Always call
12128 smie-indent-virtual rather than only for hanging tokens.
12129 (smie--next-indent-change): New helper command.
12130
12131 2013-11-03 Glenn Morris <rgm@gnu.org>
12132
12133 * Makefile.in (abs_srcdir): Remove.
12134 (emacs): Unset EMACSLOADPATH.
12135
12136 2013-11-02 Glenn Morris <rgm@gnu.org>
12137
12138 * Makefile.in (EMACS): Use a relative filename.
12139 (abs_top_builddir): Remove.
12140 (custom-deps, finder-data, autoloads): Use --chdir.
12141
12142 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
12143
12144 Use relative filenames in TAGS files.
12145 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
12146 (lisptagsfiles4, TAGS): Use relative file names.
12147 (TAGS-LISP): Remove.
12148 (maintainer-clean): No more TAGS-LISP file.
12149
12150 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
12151 (lisptagsfiles4): Use absolute filenames again.
12152 (TAGS, TAGS-LISP): Not everything needs to run in one line.
12153 Remove all *loaddefs files, not just the first. Remove esh-groups.
12154 (maintainer-clean): Delete TAGS, TAGS-LISP.
12155
12156 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
12157
12158 * emacs-lisp/package.el (package-version-join):
12159 Recognize snapshot versions.
12160
12161 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
12162
12163 * subr.el (version-regexp-alist): Add support for snapshot versions.
12164
12165 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
12166
12167 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
12168 New function, replacement for `smie-rule-parent' for when we want to
12169 skip over our direct parent if it's an assignment token..
12170 (ruby-smie-rules): Use it.
12171
12172 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
12173
12174 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
12175 unconditionally. Remove now unnecessary forward declarations.
12176 Remove XEmacs-specific setup.
12177 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
12178 (ruby-font-lock-syntactic-keywords)
12179 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
12180 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
12181 (ruby-here-doc-end-syntax): Remove.
12182 (ruby-mode): Don't check whether `syntax-propertize-rules' is
12183 defined as function.
12184
12185 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
12186
12187 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
12188
12189 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
12190
12191 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
12192 table and abbrev table, `define-derived-mode' does that for us
12193 anyway.
12194
12195 2013-11-01 Glenn Morris <rgm@gnu.org>
12196
12197 * Makefile.in: Remove manual mh-e dependencies (writing .elc
12198 files is atomic for some time, so no parallel compilation issues).
12199
12200 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
12201
12202 * faces.el (face-x-resources): Add :distant-foreground.
12203 (region): Use :distant-foreground for gtk and ns.
12204
12205 2013-11-01 Tassilo Horn <tsdh@gnu.org>
12206
12207 Allow multiple bibliographies when BibLaTeX is used rather than
12208 BibTeX.
12209 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
12210 (reftex-locate-bibliography-files): Us it.
12211
12212 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
12213
12214 * image.el (image-type-header-regexps): Fix the 'pbm' part to
12215 allow comments in pbm files.
12216
12217 * term/w32-win.el (dynamic-library-alist): Support newer versions
12218 of libjpeg starting with v7: look only for the DLL from the
12219 version against which Emacs was built.
12220 Support versions of libpng beyond 1.4.x.
12221 Support libtiff v4.x.
12222
12223 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
12224
12225 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
12226 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
12227 Add property :safe.
12228 (ruby-deep-arglist): Add property :type.
12229
12230 2013-10-31 Glenn Morris <rgm@gnu.org>
12231
12232 * Makefile.in (custom-deps, finder-data): No need to setq the target
12233 variables, we are in the right directory and the defaults work fine.
12234
12235 2013-10-30 Glenn Morris <rgm@gnu.org>
12236
12237 * Makefile.in (autoloads): Do not use abs_lisp.
12238
12239 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12240 `newline' does not respect `standard-output', so use `princ'.
12241
12242 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
12243
12244 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
12245 * buff-menu.el (Buffer-menu--unmark): New function.
12246 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
12247
12248 2013-10-30 Glenn Morris <rgm@gnu.org>
12249
12250 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
12251
12252 * emacs-lisp/package.el (lm-homepage): Declare.
12253
12254 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
12255 Fix doc typos.
12256
12257 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
12258
12259 * Makefile.in (finder-data, autoloads, update-subdirs)
12260 (compile-main, compile-clean, compile-always, bootstrap-clean):
12261 Check return value of cd.
12262 (compile-calc): Remove.
12263
12264 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
12267
12268 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
12269 (byte-compile-and-folded): New function.
12270 (=, <, >, <=, >=): Use it.
12271
12272 * dos-w32.el (minibuffer-history-case-insensitive-variables)
12273 (path-separator, null-device, buffer-file-coding-system)
12274 (lpr-headers-switches): Check system-type before modifying them.
12275 (find-buffer-file-type-coding-system): Mark obsolete.
12276 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
12277 find-file-not-found-set-buffer-file-coding-system.
12278 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
12279 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
12280 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
12281 (w32-direct-print-region-helper, w32-direct-print-region-function)
12282 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
12283 * startup.el (normal-top-level-add-subdirs-to-load-path):
12284 * ps-print.el (ps-print-region-function):
12285 * lpr.el (print-region-function): Use new name.
12286
12287 * subr.el (custom-declare-variable-early): Remove function.
12288 (custom-declare-variable-list): Remove var.
12289 (error, user-error): Remove `while' loop.
12290 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
12291 (user-emacs-directory-warning, locate-user-emacs-file):
12292 Move to files.el.
12293 * simple.el (read-quoted-char-radix, read-quoted-char):
12294 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
12295 Move from subr.el.
12296 * custom.el (custom-declare-variable-list): Don't process
12297 custom-declare-variable-list.
12298
12299 * progmodes/python.el (python-shell-get-buffer): New function.
12300 (python-shell-get-process): Use it.
12301 (python-shell-send-string): Always use utf-8 and add a cookie to tell
12302 Python which encoding was used. Don't split-string since we only care
12303 about the first line. Return the temp-file, if applicable.
12304 (python-shell-send-region): Tell compile.el how to turn locations in
12305 the temp-file into locations in the source buffer.
12306
12307 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
12308
12309 * subr.el (undefined): Add missing behavior from the C code for
12310 unbound keys.
12311
12312 * rect.el: Use lexical-binding. Add new rectangular region support.
12313 (rectangle-mark): New command.
12314 (rectangle--region): New var.
12315 (deactivate-mark-hook): Reset rectangle--region.
12316 (rectangle--extract-region, rectangle--insert-for-yank)
12317 (rectangle--highlight-for-redisplay)
12318 (rectangle--unhighlight-for-redisplay): New functions.
12319 (region-extract-function, redisplay-unhighlight-region-function)
12320 (redisplay-highlight-region-function): Use them to handle
12321 rectangular region.
12322 * simple.el (region-extract-function): New var.
12323 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
12324 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
12325 (kill-region): Replace obsolete `yank-handler' arg with `region'.
12326 (copy-region-as-kill, kill-ring-save): Add `region' argument.
12327 (redisplay-unhighlight-region-function)
12328 (redisplay-highlight-region-function): New vars.
12329 (redisplay--update-region-highlight): New function.
12330 (pre-redisplay-function): Use it.
12331 (exchange-point-and-mark): Don't deactivate the mark before
12332 reactivate-it anyway.
12333 * comint.el (comint-kill-region): Remove yank-handler argument.
12334 * delsel.el (delete-backward-char, backward-delete-char-untabify)
12335 (delete-char): Remove property, since it's now part of their
12336 default behavior.
12337 (self-insert-iso): Remove property since this command doesn't exist.
12338
12339 * emacs-lisp/package.el (package--download-one-archive)
12340 (describe-package-1): Don't query the user about final newline.
12341
12342 2013-10-29 Daniel Colascione <dancol@dancol.org>
12343
12344 * net/tramp.el (tramp-methods): Document new functionality.
12345 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
12346 tramp-hostname-checker if method provides one instead of scanning
12347 argument list for "%h" to decide hostname acceptability.
12348
12349 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
12350
12351 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12352 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12353 Handle COPY-CONTENTS. (Bug#15737)
12354
12355 2013-10-28 Daiki Ueno <ueno@gnu.org>
12356
12357 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12358 Document that this option has no effect with GnuPG 2.0 (bug#15552).
12359
12360 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
12361
12362 * image.el (defimage, image-load-path): Doc fixes.
12363
12364 2013-10-27 Alan Mackenzie <acm@muc.de>
12365
12366 Indent statements in macros following "##" correctly.
12367 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12368 Modify the "#" arm of a cond form to handle "#" and "##" operators.
12369
12370 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
12371
12372 * linum.el (linum-update-window): Fix boundary test (bug#13446).
12373
12374 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
12375
12376 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
12377 after `=' is probably a new expression.
12378
12379 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12380
12381 * man.el (man-imenu-title): New option.
12382 (Man-mode-map): Add menu. (Bug#15722)
12383 (Man-mode): Add imenu to menu.
12384
12385 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
12386
12387 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
12388 specific in what the first arg can be: a non-keyword word,
12389 string/regexp/percent literal opener, opening paren, or unary
12390 operator followed directly by word.
12391
12392 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
12395 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
12396 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
12397 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
12398 Remove vars, they do not apply any more.
12399 (prolog-mode-abbrev-table): Remove redundant declaration.
12400 (prolog-upper-case-string, prolog-lower-case-string): Remove.
12401 (prolog-use-smie): Remove.
12402 (prolog-smie-rules): Add indentation rule for the if-then-else layout
12403 supported by prolog-electric-if-then-else-flag.
12404 (prolog-mode-variables, prolog-menu): Use setq-local.
12405 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
12406 Remove binding to `Backspace' since this key doesn't exist anyway.
12407 Remove bindings for electric self-inserting keys.
12408 (prog-mode): Assume it's defined.
12409 (prolog-post-self-insert): New function.
12410 (prolog-mode): Use it.
12411 (prolog-indent-line, prolog-indent-level)
12412 (prolog-find-indent-of-matching-paren)
12413 (prolog-indentation-level-of-line, prolog-goto-comment-column)
12414 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
12415 (prolog-goto-next-paren, prolog-in-string-or-comment)
12416 (prolog-tokenize, prolog-inside-mline-comment)
12417 (prolog-find-start-of-mline-comment): Remove functions.
12418 (prolog-find-unmatched-paren, prolog-clause-end)
12419 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
12420 (prolog-electric--if-then-else): Rename from
12421 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
12422 (prolog-tokenize-searchkey): Remove const.
12423 (prolog-clause-info): Use forward-sexp.
12424 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
12425 (prolog-electric-if-then-else): Remove commands.
12426 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
12427 for use in post-self-insert-hook.
12428 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
12429 for use in post-self-insert-hook.
12430 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
12431 for use in post-self-insert-hook.
12432 (prolog-electric--underscore): Rename from prolog-electric--underscore;
12433 adapt it for use in post-self-insert-hook.
12434
12435 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
12436
12437 * emacs-lisp/ert.el (ert-run-tests-interactively):
12438 Use `completing-read'. (Bug#9756)
12439
12440 2013-10-25 Eli Zaretskii <eliz@gnu.org>
12441
12442 * simple.el (line-move): Call line-move-1 instead of
12443 line-move-visual when the current window hscroll is zero, but
12444 temporary-goal-column indicates we will need to hscroll as result
12445 of the movement. (Bug#15712)
12446
12447 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
12448
12449 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
12450 capitalization. Use :visible instead of :active.
12451 Fix `ruby-indent-exp' reference. Add menu items for the generic
12452 commands that are used with SMIE.
12453 (ruby-do-end-to-brace): Insert space after `{'.
12454
12455 2013-10-25 John Anthony <john@jo.hnanthony.com>
12456
12457 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
12458
12459 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
12460
12461 2013-10-25 Glenn Morris <rgm@gnu.org>
12462
12463 * vc/vc.el (vc-print-log): Don't use a working revision unless
12464 one was explicitly specified. (Bug#15322)
12465
12466 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12467
12468 * subr.el (add-to-list): Preserve return value in compiler-macro
12469 (bug#15692).
12470
12471 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12472
12473 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
12474 result. Ask user to retry using '-all' flag. (Bug#15701)
12475
12476 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * emacs-lisp/smie.el: New smie-config system.
12479 (smie-config): New defcustom.
12480 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
12481 (smie-config-guess, smie-config-save): New commands.
12482 (smie-config--mode-local, smie-config--buffer-local)
12483 (smie-config--trace, smie-config--modefuns): New vars.
12484 (smie-config--advice, smie-config--mode-hook)
12485 (smie-config--setter, smie-config-local, smie-config--get-trace)
12486 (smie-config--guess-value, smie-config--guess): New functions.
12487 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
12488 text properties. Treat "string fence" syntax like string syntax.
12489
12490 * progmodes/sh-script.el (sh-use-smie): Change default.
12491 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
12492 (sh-var-value): Simplify by CSE.
12493 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
12494 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
12495 is used.
12496 (sh-guess-basic-offset): Use cl-incf.
12497 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
12498
12499 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
12500
12501 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
12502 (bug#15699).
12503
12504 2013-10-24 Glenn Morris <rgm@gnu.org>
12505
12506 * Makefile.in (abs_top_srcdir): Remove.
12507 (update-subdirs): Use relative path to update-subdirs.
12508
12509 2013-10-24 Eli Zaretskii <eliz@gnu.org>
12510
12511 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
12512 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
12513 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
12514 Call unmsys--file-name before expand-file-name, not after it.
12515
12516 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
12517
12518 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
12519 (ert-test-skipped): New error.
12520 (ert-skip, ert-stats-skipped): New defuns.
12521 (ert--skip-unless): New macro.
12522 (ert-test-skipped): New struct.
12523 (ert--run-test-debugger, ert-test-result-type-p)
12524 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
12525 (ert--stats-set-test-and-result, ert-char-for-test-result)
12526 (ert-string-for-test-result, ert-run-tests-batch)
12527 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
12528 Handle skipped tests. (Bug#9803)
12529
12530 2013-10-24 Glenn Morris <rgm@gnu.org>
12531
12532 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
12533
12534 * Makefile.in (abs_top_srcdir): New, set by configure.
12535 (update-subdirs): Correct build-aux location.
12536
12537 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
12538
12539 * vc/vc.el (vc-print-root-log): Always set `default-directory'
12540 value, whether we could auto-deduce `backend', or not.
12541
12542 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
12543 with parameters" example. Simplify the "is it block or is it
12544 hash" check, but also make it more thorough.
12545
12546 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
12547
12548 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
12549
12550 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12551
12552 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
12553 { if it is hanging.
12554
12555 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
12556 :before ";".
12557
12558 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
12559
12560 * progmodes/compile.el (compilation-directory-matcher)
12561 (compilation-page-delimiter):
12562 Support GNU Make-4.0 directory quoting. (Bug#15678)
12563
12564 2013-10-23 Leo Liu <sdl.web@gmail.com>
12565
12566 * ido.el (ido-tidy): Handle read-only text.
12567
12568 2013-10-23 Glenn Morris <rgm@gnu.org>
12569
12570 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
12571 (emacs, compile, compile-always):
12572 Quote entities that might contain whitespace.
12573 (custom-deps, finder-data, autoloads): Use abs_lisp.
12574 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12575 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12576 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
12577
12578 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
12579
12580 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
12581 Use `following-char'.
12582
12583 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
12586 * progmodes/ruby-mode.el (ruby-smie-rules):
12587 Remove corresponding workaround. Fix indentation rule of ";" so it
12588 also applies when ";" is the parent.
12589
12590 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
12591
12592 * frame.el (display-screens, display-pixel-height)
12593 (display-pixel-width, display-mm-width, display-backing-store)
12594 (display-save-under, display-planes, display-color-cells)
12595 (display-visual-class, display-monitor-attributes-list):
12596 Mention the optional ‘display’ argument in doc strings.
12597
12598 2013-10-22 Michael Gauland <mikelygee@amuri.net>
12599
12600 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
12601 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
12602
12603 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12604
12605 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
12606 TODO. Add "." after " @ ".
12607 (ruby-smie--at-dot-call): New function. Checks if point at method
12608 call with explicit target.
12609 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
12610 to the method name tokens when it precedes them.
12611 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
12612 (ruby-smie-rules): Add rule for indentation before and after "."
12613 token.
12614
12615 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12616
12617 * textmodes/remember.el (remember-diary-extract-entries):
12618 Avoid add-to-list.
12619
12620 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
12621 an instruction.
12622
12623 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12624
12625 * progmodes/ruby-mode.el (ruby-smie-grammar):
12626 Add (almost) all infix operators.
12627 (ruby-smie--implicit-semi-p): Add new operator chars.
12628
12629 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
12630 `smie-down-list'.
12631 (ruby-smie--args-separator-p): Check that there's no newline
12632 between method call and its arguments.
12633
12634 2013-10-20 Alan Mackenzie <acm@muc.de>
12635
12636 Allow comma separated lists after Java "implements".
12637
12638 * progmodes/cc-engine.el (c-backward-over-enum-header):
12639 Parse commas.
12640 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
12641 from a "disallowed" list in enum fontification.
12642
12643 2013-10-20 Johan Bockgård <bojohan@gnu.org>
12644
12645 * startup.el (default-frame-background-mode): Remove unused defvar.
12646
12647 * progmodes/verilog-mode.el (verilog-mode): Don't set
12648 comment-indent-function globally.
12649
12650 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
12651
12652 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
12653 Move Info menu item creation to ns-win.el.
12654
12655 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
12656 in menu bar.
12657
12658 * menu-bar.el: Move GNUstep specific menus...
12659
12660 * term/ns-win.el (ns-initialize-window-system): ... to here.
12661
12662 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12663
12664 * simple.el (newline): Only run post-self-insert-hook when
12665 called interactively.
12666
12667 2013-10-19 Johan Bockgård <bojohan@gnu.org>
12668
12669 * icomplete.el (icomplete-with-completion-tables): Add :version.
12670
12671 2013-10-19 Alan Mackenzie <acm@muc.de>
12672
12673 Fix fontification bugs with constructors and const.
12674
12675 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
12676 CASE 2) Remove the check for the absence of a suffix construct
12677 after a function declaration with only types (no identifiers) in
12678 the parentheses. Also, accept a function declaration with just a
12679 type inside the parentheses, if this type can be positively
12680 recognised as such, or if a prefix keyword like "explicit" nails
12681 down the construct as a declaration.
12682
12683 2013-10-19 Eli Zaretskii <eliz@gnu.org>
12684
12685 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
12686 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
12687 the problem whereby selecting a menu item that leads to a
12688 minibuffer prompt moves the cursor out of the minibuffer window,
12689 making it hard to type at the prompt. Suggested by Stefan Monnier
12690 <monnier@iro.umontreal.ca>.
12691
12692 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
12693
12694 * menu-bar.el: Don't make Services menu.
12695
12696 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12697
12698 * ffap.el: Handle "/usr/include/c++/<version>" directories.
12699 (ffap-alist): Use ffap-c++-mode for c++-mode.
12700 (ffap-c++-path): New variable.
12701 (ffap-c++-mode): New function.
12702
12703 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
12704
12705 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
12706
12707 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
12708
12709 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
12710 introduced on 2013-09-08, which results in an infinite loop
12711 requesting a password.
12712
12713 2013-10-18 Glenn Morris <rgm@gnu.org>
12714
12715 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
12716
12717 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
12718
12719 Sync with upstream verilog-mode revision 1a6ecec7.
12720 * progmodes/verilog-mode.el (verilog-mode-version): Update.
12721 (verilog-mode-release-date): Remove.
12722 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
12723 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
12724 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
12725 (verilog-auto-tieoff-ignore-regexp)
12726 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
12727 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
12728 (verilog-signals-with, verilog-dir-cache-preserving)
12729 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
12730 Doc fixes.
12731 (verilog-case-fold): New option, to control case folding in
12732 regexp searches, bug597.
12733 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
12734 (verilog-string-match-fold, verilog-in-paren-count)
12735 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
12736 (verilog-at-close-struct-p): New functions.
12737 (verilog-beg-block-re-ordered, verilog-extended-case-re)
12738 (verilog-forward-sexp, verilog-set-auto-endcomments)
12739 (verilog-leap-to-case-head): Handle "unique0" case.
12740 (verilog-in-constraint-re): New constant.
12741 (verilog-keywords, verilog-type-font-keywords):
12742 Add some SystemVerilog 1800-2012 keywords.
12743 (verilog-label-be): Remove unimplemented argument, bug669.
12744 (verilog-batch-execute-func): When batch expanding clear
12745 create-lockfiles to prevent spurious user locks when a file ends
12746 up not changing.
12747 (verilog-calculate-indent, verilog-calc-1)
12748 (verilog-at-close-constraint-p, verilog-at-constraint-p)
12749 (verilog-do-indent): Fix indentation of nested constraints
12750 and structures.
12751 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
12752 (verilog-auto-inst-param): Use verilog-string-match-fold.
12753 (verilog-read-inst-module-matcher):
12754 Fix AUTOINST on gate primitives with #1.
12755 (verilog-read-decls): Fix double-declaring user-defined typed signals.
12756 Reads all user-defined typed variables.
12757 (verilog-read-defines): Fix reading definitions inside comments, bug647.
12758 (verilog-signals-matching-regexp)
12759 (verilog-signals-not-matching-regexp, verilog-auto):
12760 Respect verilog-case-fold.
12761 (verilog-diff-report): Fix line count.
12762 (verilog-auto-assign-modport): Remove unused local `modi'.
12763 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
12764 better handle multidimensional arrays.
12765 Fix packed array ports misadding bit index in AUTOINST, bug637.
12766 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
12767 to not double-declare existing outputs and inputs, respectively.
12768 (verilog-template-map): Bind U to verilog-sk-uvm-component.
12769 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
12770 (verilog-sk-uvm-component): New skeleton.
12771 (verilog-submit-bug-report): Add verilog-case-fold,
12772 remove verilog-mode-release-date.
12773
12774 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
12775
12776 * subr.el (sit-for): Call (input-pending-p t) so as to behave
12777 as before.
12778
12779 2013-10-18 Reuben Thomas <rrt@sc3d.org>
12780
12781 * textmodes/remember.el (remember): Set buffer-offer-save in
12782 remember buffers (bug#13566).
12783
12784 2013-10-18 Daniel Colascione <dancol@dancol.org>
12785
12786 When evaluating forms in ielm, direct standard output to ielm
12787 buffer. Add new ielm-return-for-effect command. Remove trailing
12788 whitespace throughout.
12789
12790 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
12791 (ielm-return-for-effect): New command.
12792 (ielm-send-input): Accept optional `for-effect' parameter.
12793 (ielm-eval-input): Accept optional `for-effect' parameter.
12794 Bind `standard-output' to stream we create using
12795 `ielm-standard-output-impl'. Suppress printing result when
12796 `for-effect'.
12797 (ielm-standard-output-impl): New function.
12798 (inferior-emacs-lisp-mode): Explain new features in documentation.
12799
12800 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
12801
12802 Code cleanup.
12803
12804 * net/tramp.el (tramp-debug-message): Do not check for connection
12805 buffer.
12806 (tramp-message): Use "vector" connection property.
12807
12808 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
12809 (tramp-equal-remote, tramp-eshell-directory-change)
12810 * net/tramp-adb.el (tramp-adb-handle-copy-file)
12811 (tramp-adb-handle-rename-file)
12812 * net/tramp-cmds.el (tramp-list-remote-buffers)
12813 (tramp-cleanup-connection, tramp-cleanup-this-connection)
12814 * net/tramp-compat.el (tramp-compat-process-running-p)
12815 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
12816 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
12817 (tramp-gvfs-handle-rename-file)
12818 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12819 (tramp-set-file-uid-gid)
12820 * net/tramp-smb.el (tramp-smb-handle-copy-file)
12821 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
12822 of `file-remote-p'.
12823
12824 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
12825 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12826 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
12827 (tramp-gw-open-network-stream): Suppress unrelated traces.
12828
12829 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
12830 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12831 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12832 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
12833 connection property.
12834
12835 * net/tramp-cache.el (top): Suppress traces when reading
12836 persistency file.
12837
12838 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12839 Refactor common code. Improve debug message.
12840 (tramp-maybe-open-connection)
12841 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
12842 connection buffer too early.
12843
12844 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
12845 from `tramp-smb-actions-with-acl'.
12846 (tramp-smb-actions-set-acl): New defconst.
12847 (tramp-smb-handle-copy-directory)
12848 (tramp-smb-action-get-acl): New defun, renamed from
12849 `tramp-smb-action-with-acl'.
12850 (tramp-smb-action-set-acl): New defun.
12851 (tramp-smb-handle-set-file-acl): Rewrite.
12852
12853 2013-10-17 Glenn Morris <rgm@gnu.org>
12854
12855 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
12856
12857 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12858
12859 * skeleton.el (skeleton-newline): Remove.
12860 (skeleton-internal-1): Use (insert "\n") instead.
12861
12862 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
12863 let-bindings.
12864
12865 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
12866 forward-sexp-function while we redo its job (bug#15613).
12867
12868 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
12869
12870 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
12871 represented by lists.
12872
12873 2013-10-16 Glenn Morris <rgm@gnu.org>
12874
12875 * tmm.el (tmm--history): New dynamic variable.
12876 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
12877
12878 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
12879
12880 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
12881 (tramp-smb-errors): Add error messages.
12882 (tramp-smb-actions-with-acl): New defconst.
12883 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
12884 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
12885 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
12886 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
12887 (tramp-smb-get-stat-capability): Fix tests.
12888
12889 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
12890
12891 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
12892 (bug#15580).
12893
12894 2013-10-16 Glenn Morris <rgm@gnu.org>
12895
12896 * ansi-color.el (ansi-color-drop-regexp):
12897 Add 1J, 1K, 2K. (Bug#15617)
12898
12899 * files.el (hack-local-variables--warned-lexical): New.
12900 (hack-local-variables):
12901 Warn about misplaced lexical-binding. (Bug#15616)
12902
12903 * net/eww.el (eww-render): Always set eww-current-url,
12904 and update header line. (Bug#15622)
12905 (eww-display-html): ... Rather than just doing it here.
12906
12907 2013-10-15 Eli Zaretskii <eliz@gnu.org>
12908
12909 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
12910 menu navigations commands.
12911
12912 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
12913
12914 * progmodes/subword.el (subword-capitalize): Be careful when
12915 the search for [[:alpha:]] fails (bug#15580).
12916
12917 2013-10-14 Eli Zaretskii <eliz@gnu.org>
12918
12919 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
12920 to commands that scroll the menu.
12921
12922 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
12923
12924 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
12925 Handle methods ending with `?' and `!'.
12926
12927 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
12928
12929 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
12930 `japanese-cp932' to `cp932' to fix the problem where saving a
12931 source file written in Shift_JIS twice would end up having
12932 `coding: japanese-cp932' which Ruby could not recognize.
12933 (ruby-mode-set-encoding): Add support for encodings mapped to nil
12934 in `ruby-encoding-map'.
12935 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
12936 doesn't need to be explicitly declared in magic comment.
12937 (ruby-encoding-map): Add type declaration for better customize UI.
12938
12939 2013-10-13 Glenn Morris <rgm@gnu.org>
12940
12941 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
12942 Occur buffers are read-only. http://bugs.debian.org/720775
12943
12944 * emacs-lisp/authors.el (authors-fixed-entries):
12945 Comment out old alpha stuff.
12946
12947 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
12948
12949 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
12950 to `after-save-hook' instead of `before-save-hook'.
12951 (ruby-mode-set-encoding): Use the value of coding system used to
12952 write the file. Call `basic-save-buffer-1' after modifying the
12953 buffer.
12954
12955 2013-10-13 Alan Mackenzie <acm@muc.de>
12956
12957 Fix indentation/fontification of Java enum with
12958 "implements"/generic.
12959
12960 * progmodes/cc-engine.el (c-backward-over-enum-header):
12961 Extracted from the three other places and enhanced to handle generics.
12962 (c-inside-bracelist-p): Uses new function above.
12963 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
12964 function above.
12965 (c-font-lock-enum-tail): Uses new function above.
12966
12967 2013-10-13 Kenichi Handa <handa@gnu.org>
12968
12969 * international/mule-cmds.el (select-safe-coding-system): Remove a
12970 superfluous condition in chekcing whether a coding system is safe
12971 or not.
12972
12973 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
12974
12975 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
12976
12977 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
12978
12979 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
12980
12981 2013-10-13 Glenn Morris <rgm@gnu.org>
12982
12983 * menu-bar.el (menu-bar-update-buffers):
12984 Unify Buffers menu prompt string. (Bug#15576)
12985
12986 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
12987
12988 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
12989 Add some entries.
12990 (authors-fixed-entries): Use accented form of name.
12991
12992 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12993
12994 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
12995 method calls (bug#15594).
12996 (ruby-smie--args-separator-p): New function.
12997 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
12998 recognize paren-free method calls.
12999
13000 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
13001 internals of universal-argument.
13002
13003 2013-10-11 Eli Zaretskii <eliz@gnu.org>
13004
13005 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
13006 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
13007 dropped menu on second mouse click on the menu bar.
13008
13009 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13010
13011 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
13012 (explicit-shell-file-name): Declare.
13013 (sh--vars-before-point, sh--cmd-completion-table): New functions.
13014 (sh-completion-at-point-function): New function.
13015 (sh-mode): Use it.
13016 (sh-smie--keyword-p): Remove unused argument.
13017 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
13018 vars.
13019 (sh-set-shell): Always setup SMIE, even if we use the
13020 old indentation code.
13021
13022 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
13023
13024 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
13025 cases of ? and =.
13026 (ruby-smie-rules): Simplify the "do" rule. The cases when the
13027 predicate would return nil are almost non-existent.
13028 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
13029
13030 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
13031 cache also after commands that modify the buffer but don't move
13032 point.
13033
13034 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
13035
13036 * env.el (substitute-env-in-file-name): New function.
13037 (substitute-env-vars): Extend the meaning of the optional arg.
13038
13039 2013-10-10 Eli Zaretskii <eliz@gnu.org>
13040
13041 * term/w32-win.el (dynamic-library-alist): Define separate lists
13042 of GIF DLLs for versions before and after 5.0.0 of giflib.
13043 (Bug#15531)
13044
13045 2013-10-10 João Távora <joaotavora@gmail.com>
13046
13047 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
13048 not locked, use last revision and current source as
13049 defaults. (Bug#15569)
13050
13051 2013-10-10 Masatake YAMATO <yamato@redhat.com>
13052
13053 * menu-bar.el (menu-bar-open): Don't use popup-menu if
13054 menu-bar is hidden.
13055
13056 2013-10-10 Martin Rudalics <rudalics@gmx.at>
13057
13058 * window.el (pop-to-buffer-same-window): Fix doc-string.
13059 (Bug#15492)
13060
13061 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
13062
13063 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
13064
13065 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
13066
13067 * calendar/icalendar.el (icalendar-import-file):
13068 Fix interactive spec. (Bug#15482)
13069
13070 2013-10-10 Glenn Morris <rgm@gnu.org>
13071
13072 * desktop.el (desktop-save): Default to saving in .emacs.d,
13073 since PWD is no longer in desktop-path by default. (Bug#15319)
13074
13075 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
13076 now that text mode has a menu with the same entry.
13077 (menu-bar-text-mode-auto-fill): Remove now unused func.
13078 * textmodes/text-mode.el (text-mode-map):
13079 Use auto-fill help text from menu-bar.el.
13080
13081 2013-10-10 John Anthony <john@jo.hnanthony.com>
13082
13083 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
13084
13085 2013-10-09 Juri Linkov <juri@jurta.org>
13086
13087 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
13088 instead of this-command-keys. Add universal-argument-more and
13089 universal-argument-minus to the list of prefix commands. (Bug#15568)
13090
13091 2013-10-09 Glenn Morris <rgm@gnu.org>
13092
13093 * vc/vc-svn.el (vc-svn-create-repo):
13094 Expand paths in file://... url. (Bug#15446)
13095
13096 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
13097 Add some entries.
13098 (authors): Remove unused local variables.
13099
13100 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
13101
13102 * profiler.el: Create a more coherent calltree from partial backtraces.
13103 (profiler-format): Hide the tail with `invisible' so that C-s can still
13104 find the hidden elements.
13105 (profiler-calltree-depth): Don't recurse so enthusiastically.
13106 (profiler-function-equal): New hash-table-test.
13107 (profiler-calltree-build-unified): New function.
13108 (profiler-calltree-build): Use it.
13109 (profiler-report-make-name-part): Indent the calltree less.
13110 (profiler-report-mode): Add visibility specs for profiler-format.
13111 (profiler-report-expand-entry, profiler-report-toggle-entry):
13112 Expand the whole subtree when provided with a prefix arg.
13113
13114 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
13115
13116 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
13117 iuwu-mod token.
13118 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
13119 hanging iuwu-mod token.
13120 (ruby-smie--forward-token): Do not include a dot after a token in
13121 that token.
13122 (ruby-smie--backward-token): Likewise.
13123
13124 2013-10-08 Juri Linkov <juri@jurta.org>
13125
13126 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
13127 to isearch-other-control-char.
13128 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
13129 and isearch-post-command-hook to post-command-hook.
13130 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
13131 and isearch-post-command-hook from post-command-hook.
13132 (isearch-unread-key-sequence)
13133 (isearch-reread-key-sequence-naturally)
13134 (isearch-lookup-scroll-key, isearch-other-control-char)
13135 (isearch-other-meta-char): Remove functions.
13136 (isearch-pre-command-hook, isearch-post-command-hook):
13137 New functions based on isearch-other-meta-char rewritten
13138 relying on the new behavior of overriding-terminal-local-map
13139 that does not replace the local keymaps any more. (Bug#15200)
13140
13141 2013-10-08 Eli Zaretskii <eliz@gnu.org>
13142
13143 Support menus on text-mode terminals.
13144 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
13145 functionality.
13146
13147 * tooltip.el (tooltip-mode): Don't error out on TTYs.
13148
13149 * menu-bar.el (popup-menu, popup-menu-normalize-position):
13150 Move here from mouse.el.
13151 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
13152 and arrow keys.
13153 (tty-menu-navigation-map): New map for TTY menu navigation.
13154
13155 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
13156
13157 * frame.el (display-mouse-p): Report text-mode mouse as available
13158 on w32.
13159 (display-popup-menus-p): Report availability if mouse is
13160 available; don't condition on window-system.
13161
13162 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
13163 (tty-menu-selected-face): New faces.
13164
13165 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
13166
13167 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
13168 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
13169 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
13170 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
13171 New constants.
13172 (lisp-mode-variables): New `elisp' argument.
13173 (emacs-lisp-mode): Use it.
13174 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
13175 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
13176
13177 * indent.el: Use lexical-binding.
13178 (indent-region): Add progress reporter.
13179 (tab-stop-list): Make it implicitly extend to infinity by repeating the
13180 last step.
13181 (indent--next-tab-stop): New function to implement this behavior.
13182 (tab-to-tab-stop, move-to-tab-stop): Use it.
13183
13184 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
13185
13186 * indent.el (indent-rigidly--current-indentation): New function.
13187 (indent-rigidly-map): New var.
13188 (indent-rigidly): Use it to provide interactive mode (bug#8196).
13189
13190 2013-10-08 Bastien Guerry <bzg@gnu.org>
13191
13192 * register.el (insert-register): Fix 2013-10-07 change.
13193
13194 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
13195
13196 * progmodes/perl-mode.el: Use lexical-binding.
13197 Remove redundant :group args.
13198 (perl-nochange): Change default to be closer to other major modes's
13199 standard behavior.
13200 (perl-indent-line): Don't consider text on current line as a
13201 valid beginning of function from which to indent.
13202
13203 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
13204 with more than one argument (bug#15538).
13205
13206 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
13207
13208 * vc/pcvs.el: Use lexical-binding.
13209 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
13210 environment of `eval'.
13211 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
13212 than a list of expressions. Adjust callers.
13213 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
13214
13215 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
13216
13217 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
13218 case of the dot in a chained method call being on the following line.
13219
13220 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13221
13222 * electric.el (electric-indent-inhibit): New var.
13223 (electric-indent-post-self-insert-function): Use it.
13224 * progmodes/python.el (python-mode): Set it.
13225
13226 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
13227 open braces.
13228
13229 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
13230
13231 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
13232 (css-mode): Use electric-indent-chars.
13233
13234 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
13235 (font-lock-beg, font-lock-end): Move before first use.
13236 (nxml-mode): Use syntax-propertize-function.
13237 (nxml-after-change, nxml-after-change1): Adjust accordingly.
13238 (nxml-extend-after-change-region): Remove.
13239 * nxml/xmltok.el: Use lexical-binding.
13240 (xmltok-save): Use `declare'.
13241 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
13242 * nxml/nxml-util.el: Use lexical-binding.
13243 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
13244 Use `declare'.
13245 * nxml/nxml-ns.el: Use lexical-binding.
13246 (nxml-ns-save): Use `declare'.
13247 (nxml-ns-prefixes-for): Avoid add-to-list.
13248 * nxml/rng-match.el: Use lexical-binding.
13249 (rng--ipattern): Use cl-defstruct.
13250 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
13251 (rng-cons-group-after, rng-subst-group-after)
13252 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
13253 Use closures instead of `(lambda...).
13254
13255 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
13256
13257 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
13258 of BEG and END.
13259
13260 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13261 Use `tramp-handle-insert-file-contents'.
13262 (tramp-gvfs-handle-insert-file-contents): Remove function.
13263
13264 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13265 Use `save-restriction' in order to keep markers.
13266
13267 * net/trampver.el: Update release number.
13268
13269 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * progmodes/compile.el (compilation-parse-errors):
13272 Use compilation--put-prop.
13273 (compilation--ensure-parse): Check compilation-multiline.
13274
13275 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
13276
13277 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
13278 lexical-binding.
13279
13280 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
13281
13282 * progmodes/ruby-mode.el: Fix recently added tests.
13283 (ruby-smie-grammar): Add - and +.
13284 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
13285 (ruby-smie--backward-id): New functions.
13286 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
13287 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
13288 any more.
13289
13290 2013-10-07 Leo Liu <sdl.web@gmail.com>
13291
13292 * register.el (register-preview-delay)
13293 (register-preview-functions): New variables.
13294 (register-read-with-preview, register-preview)
13295 (register-describe-oneline): New functions.
13296 (point-to-register, window-configuration-to-register)
13297 (frame-configuration-to-register, jump-to-register)
13298 (number-to-register, view-register, insert-register)
13299 (copy-to-register, append-to-register, prepend-to-register)
13300 (copy-rectangle-to-register): Use register-read-with-preview to
13301 read register. (Bug#15525)
13302
13303 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
13304
13305 * net/network-stream.el (network-stream-open-starttls): Don't add
13306 --insecure if it's already present, because that gnutls-cli
13307 rejects getting that parameter twice.
13308
13309 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
13310
13311 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
13312 keyword, too.
13313
13314 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
13315
13316 * newcomment.el (comment-use-global-state): Change default value
13317 to t, mark obsolete (Bug#15251).
13318 (comment-beginning): In addition to `comment-to-syntax', check the
13319 value of `comment-use-global-state'.
13320
13321 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13322
13323 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
13324 (ruby-comment-column): Follow the global default, by default.
13325 (ruby-smie-grammar): Add assignment syntax.
13326 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
13327 open-paren, a comma, or a \.
13328 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
13329 and line continuations.
13330 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
13331 followed by implicit semi-colons. Add rule for string concatenation
13332 and for indentation at BOB.
13333 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
13334
13335 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
13336 calling next-sexp, since next-token may have skipped chars which
13337 next-sexp doesn't know should be skipped!
13338
13339 2013-10-05 Leo Liu <sdl.web@gmail.com>
13340
13341 * progmodes/octave.el (octave-send-region):
13342 Call compilation-forget-errors.
13343
13344 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
13345
13346 * vc/vc-svn.el (vc-svn-find-admin-dir):
13347 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
13348 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
13349 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
13350 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
13351
13352 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
13355
13356 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
13357
13358 * subr.el (read-passwd): Hide chars even when called within a context
13359 where after-change-functions is disabled (bug#15501).
13360 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
13361 until we removed ourself from overriding-terminal-local-map.
13362
13363 2013-10-04 Leo Liu <sdl.web@gmail.com>
13364
13365 * progmodes/octave.el (inferior-octave-mode):
13366 Call compilation-forget-errors.
13367
13368 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
13369
13370 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
13371
13372 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
13373
13374 * net/secrets.el (secrets-create-collection): Add optional
13375 argument ALIAS. Use proper Label keyword. Append ALIAS as
13376 dbus-call-method argument. (Bug#15516)
13377
13378 2013-10-04 Leo Liu <sdl.web@gmail.com>
13379
13380 * progmodes/octave.el (inferior-octave-error-regexp-alist)
13381 (inferior-octave-compilation-font-lock-keywords): New variables.
13382 (compilation-error-regexp-alist)
13383 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
13384 (inferior-octave-mode): Use compilation-shell-minor-mode.
13385
13386 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
13387
13388 * minibuffer.el (completion--replace): Be careful that `end' might be
13389 a marker.
13390
13391 2013-10-03 Daiki Ueno <ueno@gnu.org>
13392
13393 Add support for package signature checking.
13394 * emacs-lisp/package.el (url-http-file-exists-p)
13395 (epg-make-context, epg-context-set-home-directory)
13396 (epg-verify-string, epg-context-result-for)
13397 (epg-signature-status, epg-signature-to-string)
13398 (epg-check-configuration, epg-configuration)
13399 (epg-import-keys-from-file): Declare.
13400 (package-check-signature): New user option.
13401 (package-unsigned-archives): New user option.
13402 (package-desc): Add `signed' field.
13403 (package-load-descriptor): Set `signed' field if .signed file exists.
13404 (package--archive-file-exists-p): New function.
13405 (package--check-signature): New function.
13406 (package-install-from-archive): Check package signature.
13407 (package--download-one-archive): Check archive signature.
13408 (package-delete): Remove .signed file.
13409 (package-import-keyring): New command.
13410 (package-refresh-contents): Import default keyring.
13411 (package-desc-status): Add "unsigned" status.
13412 (describe-package-1, package-menu--print-info)
13413 (package-menu-mark-delete, package-menu--find-upgrades)
13414 (package-menu--status-predicate): Support "unsigned" status.
13415
13416 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13417
13418 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
13419 the new compilation scheme using the new byte-codes.
13420
13421 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
13422 (byte-pophandler): New byte codes.
13423 (byte-goto-ops): Adjust accordingly.
13424 (byte-compile--use-old-handlers): New var.
13425 (byte-compile-catch): Use new byte codes depending on
13426 byte-compile--use-old-handlers.
13427 (byte-compile-condition-case--old): Rename from
13428 byte-compile-condition-case.
13429 (byte-compile-condition-case--new): New function.
13430 (byte-compile-condition-case): New function that dispatches depending
13431 on byte-compile--use-old-handlers.
13432 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
13433 when we can.
13434
13435 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
13436 Optimize under `condition-case' and `catch' if
13437 byte-compile--use-old-handlers is nil.
13438 (disassemble-offset): Handle new bytecodes.
13439
13440 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13441
13442 * subr.el (error): Use `declare'.
13443 (decode-char, encode-char): Use advertised-calling-convention instead
13444 of the docstring to discourage use of the `restriction' arg.
13445
13446 2013-10-03 Daiki Ueno <ueno@gnu.org>
13447
13448 * epg.el (epg-verify-file): Add a comment saying that it does not
13449 notify verification error as a return value nor a signal.
13450 (epg-verify-string): Ditto.
13451
13452 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
13453
13454 * progmodes/compile.el (compilation-start): Try globbing the arg to
13455 `cd' (bug#15417).
13456
13457 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
13458
13459 Sync with Tramp 2.2.8.
13460
13461 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
13462 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
13463 * net/trampver.el: Update release number.
13464
13465 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
13466
13467 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13468 and default-process-coding-system for darwin only.
13469
13470 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
13473
13474 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
13475
13476 * vc/vc-git.el (vc-git-grep): Disable pager.
13477
13478 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
13479
13480 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
13481 Use :url instead of :homepage, as per
13482 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
13483
13484 * newcomment.el (comment-beginning): When `comment-use-syntax' is
13485 non-nil, use `syntax-ppss' (Bug#15251).
13486
13487 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13488
13489 * progmodes/octave.el (inferior-octave-startup-file):
13490 Prefer ~/.emacs.d/init_octave.m.
13491
13492 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
13493
13494 * emacs-lisp/package.el (package-desc-from-define):
13495 Accept additional arguments as plist, convert them to an alist and store
13496 them in the `extras' slot.
13497 (package-generate-description-file): Convert extras alist back to
13498 plist and append to the `define-package' form arguments.
13499 (package--alist-to-plist): New function.
13500 (package--ac-desc): Add `extras' slot.
13501 (package--add-to-archive-contents): Check if the archive-contents
13502 vector is long enough, and if it is, pass its `extras' slot value
13503 to `package-desc-create'.
13504 (package-buffer-info): Call `lm-homepage', pass the returned value
13505 to `package-desc-from-define'.
13506 (describe-package-1): Render the homepage button (Bug#13291).
13507
13508 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13509 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
13510
13511 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
13512
13513 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13514 and default-process-coding-system to utf-8-unix (Bug#15402).
13515
13516 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
13517
13518 * subr.el (looking-back): Do not recommend using looking-back.
13519
13520 2013-09-28 Alan Mackenzie <acm@muc.de>
13521
13522 Fix indentation/fontification of Java enum with "implements".
13523
13524 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
13525 regexp which matches "implements", etc., in Java.
13526 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
13527 specifier clauses coming after "enum".
13528 * progmodes/cc-fonts.el (c-font-lock-declarations)
13529 (c-font-lock-enum-tail): Check for extra specifier clauses coming
13530 after "enum".
13531
13532 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
13533
13534 * faces.el (region): Change ns_selection_color to
13535 ns_selection_fg_color, add ns_selection_bg_color.
13536
13537 2013-09-28 Leo Liu <sdl.web@gmail.com>
13538
13539 * progmodes/octave.el (inferior-octave-completion-table)
13540 (inferior-octave-completion-at-point): Minor tweaks.
13541
13542 * textmodes/ispell.el (ispell-lookup-words): Rename from
13543 lookup-words. (Bug#15460)
13544 (lookup-words): Obsolete.
13545 (ispell-complete-word, ispell-command-loop): All uses changed.
13546
13547 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13548
13549 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
13550 (octave-mode-menu): Add octave-send-buffer.
13551 (octave-send-buffer): New function.
13552
13553 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13554
13555 * progmodes/octave.el (octave-mode-map): Add key binding for
13556 octave-lookfor.
13557 (octave-mode-menu): Add octave-lookfor.
13558 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
13559 octave-lookfor.
13560 (octave-lookfor): New function.
13561
13562 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
13565 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
13566 its convention.
13567 (cl--loop-set-iterator-function): New function.
13568 (cl-loop): Adjust accordingly, so as not to use cl-subst.
13569 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
13570 Bind `it' with `let' instead of substituting it with `cl-subst'.
13571 (cl--unused-var-p): New function.
13572 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
13573 Eliminate some unused variable warnings (bug#15326).
13574
13575 2013-09-27 Tassilo Horn <tsdh@gnu.org>
13576
13577 * doc-view.el (doc-view-scale-reset): Rename from
13578 `doc-view-reset-zoom-level'.
13579 (doc-view-scale-adjust): New command.
13580 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
13581 `doc-view-scale-adjust'.
13582
13583 2013-09-26 Tassilo Horn <tsdh@gnu.org>
13584
13585 * doc-view.el (doc-view-reset-zoom-level): New command.
13586 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
13587 zoom commands (bug#15466).
13588
13589 2013-09-26 Kenichi Handa <handa@gnu.org>
13590
13591 * international/quail.el (quail-help): Make it not a command.
13592
13593 2013-09-26 Leo Liu <sdl.web@gmail.com>
13594
13595 * minibuffer.el (completion-all-sorted-completions): Make args
13596 optional as they are.
13597
13598 2013-09-25 Daniel Colascione <dancol@dancol.org>
13599
13600 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
13601 specs are and that they're not evaluated.
13602
13603 2013-09-24 Sam Steingold <sds@gnu.org>
13604
13605 * midnight.el (clean-buffer-list-kill-regexps)
13606 (clean-buffer-list-kill-buffer-names): Update for the new Man
13607 buffer naming which includes the object name.
13608
13609 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13610
13611 * eshell/esh-cmd.el (eshell--sep-terms): New var.
13612 (eshell-parse-command, eshell-parse-pipeline): Use it since
13613 eshell-separate-commands requires a dynamic scoped var.
13614 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
13615
13616 2013-09-23 Leo Liu <sdl.web@gmail.com>
13617
13618 * autoinsert.el (auto-insert-alist): Make the value of
13619 lexical-binding match its file setting.
13620
13621 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
13622
13623 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
13624
13625 * autoarg.el (autoarg-kp-digit-argument):
13626 * electric.el (Electric-command-loop):
13627 * kmacro.el (kmacro-step-edit-insert):
13628 Do not set universal-argument-num-events.
13629
13630 2013-09-22 Leo Liu <sdl.web@gmail.com>
13631
13632 * files.el (interpreter-mode-alist): Add octave.
13633
13634 2013-09-21 Alan Mackenzie <acm@muc.de>
13635
13636 C++: fontify identifier in declaration following "public:" correctly.
13637 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
13638 to match "public", etc.
13639 (c-decl-prefix-re): Add ":" into the C++ value.
13640 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
13641 bit. Add a check for a ":" preceded by "public", etc.
13642
13643 2013-09-21 Eli Zaretskii <eliz@gnu.org>
13644
13645 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
13646 recognized by GDB 7.5 and later.
13647
13648 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
13649
13650 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
13651
13652 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13653
13654 * subr.el (internal--call-interactively): New const.
13655 (called-interactively-p): Use it (bug#3984).
13656
13657 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
13658
13659 * vc/pcvs.el (cvs-mode-ignore):
13660 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
13661 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
13662
13663 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13664
13665 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
13666 (eshell-ls-orig-insert-directory): Remove.
13667 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
13668 (eshell-ls-use-in-dired): Use advice-add/remove.
13669 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
13670 Add `orig-fun' arg for use in :around advice.
13671 Make it check (redundantly) eshell-ls-use-in-dired.
13672
13673 2013-09-19 Glenn Morris <rgm@gnu.org>
13674
13675 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
13676
13677 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
13678
13679 * emacs-lisp/eieio.el (class-parent): Undo previous change.
13680
13681 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
13682
13683 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
13684 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
13685 (tramp-get-remote-python): New defuns.
13686 (tramp-get-remote-uid-with-perl)
13687 (tramp-get-remote-gid-with-perl): New defuns. Perl code
13688 contributed by yary <not.com@gmail.com> (tiny change).
13689 (tramp-get-remote-uid-with-python)
13690 (tramp-get-remote-gid-with-python): New defuns. Python code
13691 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
13692 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
13693
13694 2013-09-19 Glenn Morris <rgm@gnu.org>
13695
13696 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
13697
13698 * eshell/em-unix.el (eshell-remove-entries):
13699 Rename argument to avoid name-clash with global `top-level'.
13700
13701 * eshell/esh-proc.el (eshell-kill-process-function):
13702 Remove eshell-reset-after-proc from eshell-kill-hook if present.
13703 (eshell-reset-after-proc): Remove unused arg `proc'.
13704
13705 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
13706 (directory-files-and-attributes): Mark unused arg.
13707
13708 * eshell/em-unix.el (eshell-remove-entries):
13709 Remove unused arg `path'. Update callers.
13710
13711 * eshell/em-hist.el (eshell-hist-parse-arguments):
13712 Remove unused arg `silent'. Update callers.
13713
13714 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
13715 Fix (f)boundp mix-up.
13716
13717 * eshell/em-smart.el (eshell-smart-scroll-window)
13718 (eshell-disable-after-change):
13719 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
13720
13721 2013-09-18 Alan Mackenzie <acm@muc.de>
13722
13723 Fix fontification of type when followed by "const".
13724 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
13725 "known" types from fontification.
13726
13727 2013-09-18 Glenn Morris <rgm@gnu.org>
13728
13729 * emacs-lisp/chart.el (x-display-color-cells): Declare.
13730 (chart-face-list): Drop Emacsen without display-color-p.
13731
13732 * net/eww.el (libxml-parse-html-region): Declare.
13733 (eww-display-html): Explicit error if no libxml2 support.
13734
13735 * doc-view.el (doc-view-mode): Silence --without-x compilation.
13736
13737 * image.el (image-type-from-buffer, image-multi-frame-p):
13738 Remove --without-x warning/error.
13739
13740 * mouse.el (mouse-yank-primary):
13741 * term.el (term-mouse-paste):
13742 Reorder to silence --without-x compilation.
13743
13744 * mpc.el (doc-view-mode): Silence --without-x compilation.
13745
13746 * mail/rmailmm.el (rmail-mime-set-bulk-data):
13747 Silence --without-x compilation.
13748
13749 * progmodes/gud.el (gud-find-file, gud-mode):
13750 Silence --without-x compilation.
13751 (tooltip-mode): Declare.
13752
13753 * wdired.el (dired-backup-overwrite): Remove declaration.
13754 (wdired-mode-map): Add doc string.
13755
13756 * custom.el (x-get-resource): Declare.
13757
13758 * eshell/em-glob.el (ange-cache):
13759 * eshell/em-unix.el (ange-cache): Declare.
13760
13761 * faces.el (x-display-list, x-open-connection, x-get-resource):
13762 Declare.
13763
13764 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
13765 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
13766 Declare.
13767
13768 * frame.el (x-display-grayscale-p, x-display-name): Declare.
13769
13770 * net/gnutls.el (gnutls-log-level): Declare.
13771
13772 * net/shr.el (image-size, image-animate): Declare.
13773
13774 * simple.el (font-info): Declare.
13775
13776 * subr.el (x-popup-dialog): Declare.
13777
13778 * term/common-win.el (x-select-enable-primary)
13779 (x-last-selected-text-primary, x-last-selected-text-clipboard):
13780 Declare.
13781
13782 * term/ns-win.el (x-handle-args): Declare.
13783
13784 * term/x-win.el (x-select-enable-clipboard): Declare.
13785
13786 * term/w32-win.el (create-default-fontset): Declare.
13787
13788 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
13789 Declare.
13790
13791 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
13792 (fit-frame-to-buffer): Explicit error if --without-x.
13793 (mouse-autoselect-window-select): Silence compiler.
13794
13795 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13796
13797 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
13798 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
13799 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
13800 * eshell/esh-util.el (eshell-sublist):
13801 Remove unused local variables.
13802
13803 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
13804
13805 * textmodes/two-column.el: Make 2C-split work for --without-x.
13806 (scroll-bar-columns): Autoload.
13807 (top-level): Require fringe when compiling.
13808
13809 2013-09-18 Leo Liu <sdl.web@gmail.com>
13810
13811 * subr.el (add-hook): Robustify to handle closure as well.
13812
13813 2013-09-17 Glenn Morris <rgm@gnu.org>
13814
13815 * simple.el (messages-buffer-mode-map): Unbind "g".
13816
13817 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13818
13819 * help-mode.el (help-mode-finish): Use derived-mode-p.
13820 Remove obsolete highlighting.
13821
13822 * play/life.el (life-mode): Use define-derived-mode. Derive from
13823 special-mode.
13824 (life): Let-bind inhibit-read-only.
13825 (life-setup): Avoid `setq'. Use `life-mode'.
13826
13827 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
13828 which should not be needed any more.
13829 (package-menu-refresh, package-menu-describe-package): Use user-error.
13830
13831 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
13832 (eshell-post-rewrite-command-hook): Make obsolete.
13833 (eshell-parse-command): Simplify.
13834 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
13835 (eshell--cmd): Declare.
13836 (eshell-parse-pipeline): Remove unused var `final-p'.
13837 Pass a dynvar to eshell-post-rewrite-command-hook.
13838 Implement the new eshell-post-rewrite-command-function.
13839 (eshell-invoke-directly): Remove unused arg `input'.
13840 * eshell/esh-io.el (eshell-io-initialize):
13841 Use eshell-post-rewrite-command-function (bug#15399).
13842 (eshell--apply-redirections): Rename from eshell-apply-redirections;
13843 adjust to new calling convention.
13844 (eshell-create-handles): Rename args to avoid clashing with dynvar
13845 `standard-output'.
13846
13847 2013-09-17 Glenn Morris <rgm@gnu.org>
13848
13849 * simple.el (messages-buffer-mode): New major mode.
13850 (messages-buffer): New function.
13851 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
13852 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
13853 (ert-run-test): Use `messages-buffer' function.
13854 (ert--force-message-log-buffer-truncation): Ignore read-only.
13855 * help.el (view-echo-area-messages): Use `messages-buffer' function.
13856 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
13857
13858 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13859
13860 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
13861
13862 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
13863
13864 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13865
13866 * icomplete.el (icomplete-in-buffer): New var.
13867 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
13868 vars and replace them with functions.
13869 (icomplete-minibuffer-setup): Adjust accordingly.
13870 (icomplete--completion-table, icomplete--completion-predicate)
13871 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
13872 New functions.
13873 (icomplete-forward-completions, icomplete-backward-completions)
13874 (icomplete-simple-completing-p, icomplete-exhibit)
13875 (icomplete-completions): Use them.
13876 (icomplete--in-region-buffer): New var.
13877 (icomplete--in-region-setup): New function.
13878 (icomplete-mode): Use it.
13879
13880 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
13881 (bug#15379).
13882 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
13883 return args and options.
13884 (eshell-eval-using-options): Use the new return value of
13885 eshell--do-opts to set the options's vars in their scope.
13886 (eshell--set-option): Rename from eshell-set-option.
13887 Add arg `opt-vals'.
13888 (eshell--process-option): Rename from eshell-process-option.
13889 Add arg `opt-vals'.
13890 (eshell--process-args): Use an `opt-vals' alist to store the options's
13891 values during their processing and return them additionally to the
13892 remaining args.
13893
13894 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
13895
13896 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
13897 continuation character an operator, as far as indentation is
13898 concerned (Bug#15369).
13899
13900 2013-09-15 Martin Rudalics <rudalics@gmx.at>
13901
13902 * window.el (window--state-put-2): Don't process buffer state
13903 when buffer doesn't exist any more (Bug#15382).
13904
13905 2013-09-15 Glenn Morris <rgm@gnu.org>
13906
13907 * eshell/em-unix.el (eshell/rm):
13908 Make -f ignore missing files. (Bug#15373)
13909
13910 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
13911 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
13912 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
13913
13914 2013-09-14 Glenn Morris <rgm@gnu.org>
13915
13916 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
13917
13918 2013-09-13 Glenn Morris <rgm@gnu.org>
13919
13920 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
13921 (dired-guess-default): Make `file' available in the env. (Bug#15363)
13922
13923 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
13924
13925 * frame.el (x-focus-frame): Mark as declared in frame.c.
13926
13927 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13928
13929 * ls-lisp.el: Use advice-add.
13930 (original-insert-directory): Remove.
13931 (ls-lisp--insert-directory): Rename from insert-directory; add
13932 `orig-fun' argument.
13933 (insert-directory): Advise.
13934
13935 2013-09-13 Eli Zaretskii <eliz@gnu.org>
13936
13937 * term.el (term-emulate-terminal): Decode the command string
13938 before passing it to term-command-hook. (Bug#15337)
13939
13940 2013-09-13 Glenn Morris <rgm@gnu.org>
13941
13942 * eshell/esh-util.el (ange-cache): Move declaration earlier.
13943
13944 * eshell/esh-ext.el (eshell-search-path): Declare.
13945
13946 * eshell/em-prompt.el (eshell/pwd): Autoload it.
13947 Otherwise an error occurs if eshell-dirs module not loaded.
13948
13949 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
13950
13951 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
13952
13953 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
13954 `tramp-check-proper-host'. Check for a valid method name.
13955
13956 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13957 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13958 * net/tramp-sh.el (tramp-maybe-open-connection):
13959 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
13960
13961 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
13962 also for hash values.
13963
13964 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13965
13966 * term/ns-win.el (parameters): Don't declare as dynamic.
13967 (before-make-frame-hook): Don't add ineffective function.
13968
13969 * eshell/*.el: Use lexical-binding (bug#15231).
13970
13971 2013-09-12 Kenichi Handa <handa@gnu.org>
13972
13973 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
13974
13975 2013-09-12 Glenn Morris <rgm@gnu.org>
13976
13977 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
13978 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
13979
13980 * subr.el (do-after-load-evaluation): Also give compiler warnings
13981 when obsolete files are used (except by obsolete files).
13982
13983 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
13984 in the status output, assume `filename' is the first. (Bug#15322)
13985
13986 * vc/vc.el (vc-deduce-fileset): Doc fix.
13987
13988 * calc/calc-help.el (Info-goto-node):
13989 * progmodes/cperl-mode.el (Info-find-node):
13990 * vc/ediff.el (Info-goto-node): Update declarations.
13991
13992 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
13993
13994 * vc/vc-bzr.el (vc-compilation-mode): Declare.
13995 (vc-bzr-pull): Require vc-dispatcher.
13996 * vc/vc-git.el (vc-compilation-mode): Declare.
13997 (vc-git-pull): Require vc-dispatcher.
13998
13999 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
14000
14001 * progmodes/octave.el (help-button-action): Declare.
14002
14003 * shell.el (shell-directory-tracker): Output error as a message
14004 rather than just returning it as a string.
14005 (shell-process-pushd): Remove useless use of message.
14006
14007 * dframe.el (dframe-timer-fn):
14008 * files.el (dir-locals-read-from-file):
14009 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
14010 (mpc-format):
14011 * reveal.el (reveal-post-command):
14012 * saveplace.el (load-save-place-alist-from-file):
14013 * shell.el (shell-resync-dirs):
14014 * w32-common-fns.el (x-get-selection-value):
14015 * emacs-lisp/copyright.el (copyright-find-copyright):
14016 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
14017 * emulation/tpu-edt.el (tpu-copy-keyfile):
14018 * play/bubbles.el (bubbles--mark-neighbourhood):
14019 * progmodes/executable.el
14020 (executable-make-buffer-file-executable-if-script-p):
14021 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
14022
14023 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14024
14025 Cleanup Eshell to rely less on dynamic scoping.
14026 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
14027 last-value, and ext-command here. Bind `args' closer to `body'.
14028 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
14029 (eshell--args): Declare new dynamic var.
14030 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
14031 last-value, and ext-command. Pass `args' to `body'.
14032 (eshell-process-args): Bind eshell--args.
14033 (eshell-set-option): Use eshell--args.
14034 * eshell/eshell.el (eshell): Use derived-mode-p.
14035 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
14036 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
14037 (eshell-glob-function): Declare.
14038 * eshell/esh-util.el: Require cl-lib.
14039 (eshell-read-hosts-file): Avoid add-to-list.
14040 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
14041 `err'.
14042 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
14043 Declare.
14044 (eshell/diff): Remove unused var `err'.
14045 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
14046 `killflag'.
14047 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
14048 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
14049 first use.
14050 * eshell/em-glob.el (eshell-glob-matches, message-shown):
14051 Move declaration before first use.
14052 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
14053 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
14054 rely on cl-return.
14055
14056 2013-09-12 Glenn Morris <rgm@gnu.org>
14057
14058 * term/ns-win.el (global-map): Remove binding for ispell-next,
14059 deleted 1999-05-29. (Bug#15357)
14060
14061 2013-09-11 Glenn Morris <rgm@gnu.org>
14062
14063 * echistory.el (electric-command-history): Remove call to deleted func.
14064
14065 * play/landmark.el (landmark-mode): Fix typos.
14066
14067 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
14068 Check cvs-sort-ignore-file is bound.
14069
14070 * savehist.el: No need for cl when compiling on Emacs.
14071
14072 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14073
14074 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
14075 (bug#15338).
14076 (eshell-self-insert-command, eshell-send-invisible):
14077 Remove unused argument.
14078 (eshell-handle-control-codes): Remove unused var `orig'.
14079 Avoid delete-backward-char.
14080
14081 * files.el (set-auto-mode): Simplify a bit further.
14082
14083 2013-09-11 Glenn Morris <rgm@gnu.org>
14084
14085 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
14086 (set-auto-mode): Don't regexp-quote elements.
14087 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
14088 * progmodes/cc-mode.el (interpreter-mode-alist):
14089 * progmodes/ruby-mode.el (interpreter-mode-alist):
14090 Revert previous change.
14091
14092 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14093
14094 * play/snake.el (snake-mode):
14095 * play/mpuz.el (mpuz-mode):
14096 * play/landmark.el (lm-mode):
14097 * play/blackbox.el (blackbox-mode):
14098 * play/5x5.el (5x5-mode):
14099 * obsolete/options.el (Edit-options-mode):
14100 * net/quickurl.el (quickurl-list-mode):
14101 * net/newst-treeview.el (newsticker-treeview-mode):
14102 * mail/rmailsum.el (rmail-summary-mode):
14103 * mail/mspools.el (mspools-mode):
14104 * locate.el (locate-mode):
14105 * ibuffer.el (ibuffer-mode):
14106 * emulation/ws-mode.el (wordstar-mode):
14107 * emacs-lisp/debug.el (debugger-mode):
14108 * array.el (array-mode):
14109 * net/eudc.el (eudc-mode): Use define-derived-mode.
14110 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
14111 Move initialization into declaration.
14112 (mairix-searches-mode): Use define-derived-mode.
14113 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
14114 (eudc-edit-hotlist): Use dolist.
14115 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
14116 (Man-mode): Use define-derived-mode.
14117 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
14118 (Info-edit-mode): Use define-derived-mode.
14119 (Info-cease-edit): Use Info-mode.
14120 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
14121 into declaration.
14122 (eshell-mode): Use define-derived-mode.
14123 * chistory.el (command-history-mode-map): Rename from
14124 command-history-map.
14125 (command-history-mode): Use define-derived-mode.
14126 (Command-history-setup): Remove function.
14127 * calc/calc.el (calc-trail-mode-map): New var.
14128 (calc-trail-mode): Use define-derived-mode.
14129 (calc-trail-buffer): Set calc-main-buffer manually.
14130 * bookmark.el (bookmark-insert-annotation): New function.
14131 (bookmark-edit-annotation): Use it.
14132 (bookmark-edit-annotation-mode): Make it a proper major mode.
14133 (bookmark-send-edited-annotation): Use derived-mode-p.
14134 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
14135 closer to its ideal place. Use \' to match EOS.
14136
14137 * profiler.el (profiler-calltree-find): Use function-equal.
14138
14139 2013-09-10 Glenn Morris <rgm@gnu.org>
14140
14141 * files.el (interpreter-mode-alist): Convert to regexps.
14142 (set-auto-mode): Adapt for this. (Bug#15306)
14143 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
14144 Comment out unused variable.
14145 * progmodes/cc-mode.el (interpreter-mode-alist):
14146 * progmodes/python.el (interpreter-mode-alist):
14147 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
14148 * progmodes/sh-script.el (sh-set-shell):
14149 No longer use interpreter-mode-alist to get list of shells.
14150
14151 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
14152
14153 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
14154
14155 * simple.el: Use set-temporary-overlay-map for universal-argument.
14156 (universal-argument-map): Don't use default-bindings (bug#15317).
14157 Bind switch-frame explicitly. Replace universal-argument-minus with
14158 a conditional binding.
14159 (universal-argument-num-events, saved-overriding-map): Remove.
14160 (restore-overriding-map): Remove.
14161 (universal-argument--mode): Rename from save&set-overriding-map,
14162 and rewrite.
14163 (universal-argument, universal-argument-more, negative-argument)
14164 (digit-argument): Adjust accordingly.
14165 (universal-argument-minus): Remove.
14166 (universal-argument-other-key): Remove.
14167
14168 * subr.el (with-demoted-errors): Add `format' argument.
14169
14170 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
14171
14172 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
14173 `tramp-cleanup-connection'.
14174
14175 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
14176 parameters KEEP-DEBUG and KEEP-PASSWORD.
14177
14178 * net/tramp.el (tramp-file-name-handler):
14179 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14180 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14181 (tramp-maybe-open-connection):
14182 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14183 Use `tramp-cleanup-connection'.
14184
14185 * net/tramp-sh.el (tramp-maybe-open-connection):
14186 Catch 'uname-changed inside the progress reporter.
14187
14188 2013-09-10 Glenn Morris <rgm@gnu.org>
14189
14190 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
14191
14192 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
14193 returns "alternate access method" in mode (eg "-rw-r--r--.").
14194
14195 2013-09-08 Glenn Morris <rgm@gnu.org>
14196
14197 * saveplace.el (load-save-place-alist-from-file):
14198 Demote errors. (Bug#15305)
14199
14200 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
14201
14202 Improve compatibility with older Emacsen, and XEmacs.
14203
14204 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
14205 only if it is bound. It isn't for XEmacs.
14206 (with-tramp-progress-reporter): Do not let-bind `result'.
14207 This yields to scoping errors in XEmacs.
14208 (tramp-handle-make-auto-save-file-name): New function, moved from
14209 tramp-sh.el.
14210
14211 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
14212 for `make-auto-save-file-name'.
14213 (tramp-adb--gnu-switches-to-ash):
14214 Use `tramp-compat-replace-regexp-in-string'.
14215
14216 * net/tramp-cache.el (tramp-cache-print): Call
14217 `substring-no-properties' only if it is bound. It isn't for XEmacs.
14218
14219 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
14220 bound. It isn't for XEmacs.
14221
14222 * net/tramp-compat.el (tramp-compat-copy-file):
14223 Catch `wrong-number-of-arguments' error.
14224 (tramp-compat-replace-regexp-in-string): New defun.
14225
14226 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
14227 for `make-auto-save-file-name'.
14228 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
14229 `copy-file'.
14230 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
14231 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
14232 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
14233
14234 * net/tramp-gw.el (tramp-gw-open-network-stream):
14235 Use `tramp-compat-replace-regexp-in-string'.
14236
14237 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14238 Call `tramp-handle-make-auto-save-file-name'.
14239 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
14240 (tramp-sh-file-gvfs-monitor-dir-process-filter)
14241 (tramp-sh-file-inotifywait-process-filter):
14242 Use `tramp-compat-replace-regexp-in-string'.
14243 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
14244
14245 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
14246 for `make-auto-save-file-name'.
14247 (tramp-smb-handle-copy-directory):
14248 Call `tramp-compat-replace-regexp-in-string'.
14249 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
14250 (tramp-smb-handle-copy-file): Improve error message.
14251 (tramp-smb-handle-rename-file): Rename directly only in case
14252 `newname' does not exist yet. This is a restriction of smbclient.
14253 (tramp-smb-maybe-open-connection): Rerun the function only when
14254 `auth-sources' is non-nil.
14255
14256 2013-09-08 Kenichi Handa <handa@gnu.org>
14257
14258 * international/characters.el: Set category "^" (Combining) for
14259 more characters.
14260
14261 2013-09-07 Alan Mackenzie <acm@muc.de>
14262
14263 Correctly fontify Java class constructors.
14264 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
14265 in Java Mode.
14266 (c-recognize-typeless-decls): Set the Java value to t.
14267 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14268 While handling a "(", add a check for, effectively, Java, and handle a
14269 "typeless" declaration there.
14270
14271 2013-09-07 Roland Winkler <winkler@gnu.org>
14272
14273 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
14274 field subtitle for entry type book.
14275
14276 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14277
14278 * minibuffer.el: Make minibuffer-complete call completion-in-region
14279 rather than other way around.
14280 (completion--some, completion-pcm--find-all-completions):
14281 Don't delay signals when debugging.
14282 (minibuffer-completion-contents): Beware fields within the
14283 minibuffer contents.
14284 (completion-all-sorted-completions): Use defvar-local.
14285 (completion--do-completion, completion--cache-all-sorted-completions)
14286 (completion-all-sorted-completions, minibuffer-force-complete):
14287 Add args `beg' and `end'.
14288 (completion--in-region-1): New fun, extracted from minibuffer-complete.
14289 (minibuffer-complete): Use completion-in-region.
14290 (completion-complete-and-exit): New fun, extracted from
14291 minibuffer-complete-and-exit.
14292 (minibuffer-complete-and-exit): Use it.
14293 (completion--complete-and-exit): Rename from
14294 minibuffer--complete-and-exit.
14295 (completion-in-region--single-word): New function, extracted from
14296 minibuffer-complete-word.
14297 (minibuffer-complete-word): Use it.
14298 (display-completion-list): Make `common-substring' argument obsolete.
14299 (completion--in-region): Call completion--in-region-1 instead of
14300 minibuffer-complete.
14301 (completion-help-at-point): Pass boundaries to
14302 minibuffer-completion-help as args rather than via an overlay.
14303 (completion-pcm--string->pattern): Use `any-delim'.
14304 (completion-pcm--optimize-pattern): New function.
14305 (completion-pcm--pattern->regex): Handle `any-delim'.
14306 * icomplete.el (icomplete-forward-completions)
14307 (icomplete-backward-completions, icomplete-completions):
14308 Adjust calls to completion-all-sorted-completions and
14309 completion--cache-all-sorted-completions.
14310 (icomplete-with-completion-tables): Default to t.
14311 * emacs-lisp/crm.el (crm--current-element): Rename from
14312 crm--select-current-element. Don't put an overlay but return the
14313 boundaries instead.
14314 (crm--completion-command): Take two new args to bind to the boundaries.
14315 (crm-completion-help): Adjust accordingly.
14316 (crm-complete): Use completion-in-region.
14317 (crm-complete-word): Use completion-in-region--single-word.
14318 (crm-complete-and-exit): Use completion-complete-and-exit.
14319
14320 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14321
14322 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
14323 than dynamically.
14324
14325 2013-09-06 Juri Linkov <juri@jurta.org>
14326
14327 * info.el (Info-display-images-node): When image file doesn't exist
14328 display text version of the image if it's provided in the Info file.
14329 Otherwise, display the location of missing image from SRC attribute.
14330 Add help-echo text property from ALT attribute. (Bug#15279)
14331
14332 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
14335 (edit-abbrevs-mode): Use define-derived-mode.
14336
14337 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
14338 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
14339 that it's defined.
14340 (epa-key-list-mode, epa-key-mode, epa-info-mode):
14341 Use define-derived-mode.
14342
14343 * epg.el (epg-start-encrypt): Minor CSE simplification.
14344
14345 2013-09-06 William Xu <william.xwl@gmail.com>
14346
14347 * arc-mode.el: Add support for 7za (bug#15264).
14348 (archive-7z-program): New var.
14349 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
14350 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
14351 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
14352
14353 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
14354
14355 Remove URL syntax.
14356
14357 * net/tramp.el (tramp-syntax, tramp-prefix-format)
14358 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
14359 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
14360 (tramp-postfix-host-format, tramp-file-name-regexp)
14361 (tramp-completion-file-name-regexp)
14362 (tramp-completion-dissect-file-name)
14363 (tramp-handle-substitute-in-file-name): Remove 'url case.
14364 (tramp-file-name-regexp-url)
14365 (tramp-completion-file-name-regexp-url): Remove constants.
14366
14367 2013-09-06 Glenn Morris <rgm@gnu.org>
14368
14369 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
14370
14371 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
14372
14373 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
14374 keywords" below "here-doc beginnings" (Bug#15270).
14375
14376 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
14377
14378 * subr.el (pop): Use `car-safe'.
14379 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
14380 to detect unused `pop' return value.
14381
14382 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
14383 var `block-regexp'.
14384 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
14385 (python-fill-string): Remove unused var `marker'.
14386 (python-skeleton-add-menu-items): Remove unused var `items'.
14387
14388 * international/mule-cmds.el: Require CL.
14389 (find-coding-systems-for-charsets): Avoid add-to-list.
14390 (sanitize-coding-system-list): New function, extracted from
14391 select-safe-coding-system-interactively.
14392 (select-safe-coding-system-interactively): Use it.
14393 (read-input-method-name): Accept symbols for `default'.
14394
14395 * emacs-lisp/advice.el (defadvice): Add indent rule.
14396
14397 2013-09-05 Daniel Hackney <dan@haxney.org>
14398
14399 * dired-x.el:
14400 * net/ange-ftp.el:
14401 * net/browse-url.el:
14402 * net/dbus.el:
14403 * net/eudc.el:
14404 * net/eudcb-ldap.el:
14405 * net/eww.el:
14406 * net/imap.el:
14407 * printing.el:
14408 * vc/ediff-diff.el:
14409 * vc/ediff-init.el:
14410 * vc/ediff-merg.el:
14411 * vc/ediff-mult.el:
14412 * vc/ediff-util.el:
14413 * vc/ediff-wind.el:
14414 * vc/ediff.el:
14415 * vc/emerge.el:
14416 * vc/pcvs.el:
14417 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
14418 byte compiler. Remove some unused let-bound variables.
14419
14420 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
14421
14422 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
14423 a "ref-cell", since it gets better optimized (bug#14883).
14424
14425 2013-09-05 Glenn Morris <rgm@gnu.org>
14426
14427 * progmodes/cc-awk.el (c-forward-sws): Declare.
14428
14429 2013-09-04 Glenn Morris <rgm@gnu.org>
14430
14431 * generic-x.el [rul-generic-mode]: Require cc-mode.
14432 (c++-mode-syntax-table): Declare.
14433 (rul-generic-mode-syntax-table): Init in the defvar.
14434
14435 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
14438 (vc-do-command, vc-set-async-update):
14439 * vc/vc-mtn.el (vc-mtn-dir-status):
14440 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
14441 (vc-hg-pull, vc-hg-merge-branch):
14442 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
14443 (vc-git-merge-branch):
14444 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
14445 (vc-cvs-dir-status-files):
14446 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
14447 (vc-bzr-dir-status-files):
14448 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
14449 * vc/vc-annotate.el: Use lexical-binding.
14450 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
14451 (vc-sentinel-movepoint): Declare.
14452 (vc-annotate): Don't use `goto-line'.
14453 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
14454 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
14455 (vc-sentinel-movepoint): Declare.
14456 * vc/vc-svn.el: Use lexical-binding.
14457 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
14458 * vc/vc-sccs.el:
14459 * vc/vc-rcs.el: Use lexical-binding.
14460
14461 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
14462 `deleted'. Don't drop errors silently.
14463
14464 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
14465
14466 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
14467
14468 * vc/vc.el (vc-ignore): Rewrite.
14469 (vc-default-ignore): New function.
14470 (vc-default-ignore-completion-table): Use find-ignore-file.
14471
14472 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
14473 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
14474 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
14475 Remove. Most code moved to vc.el.
14476
14477 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
14478
14479 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
14480 * net/tramp-smb.el (tramp-smb-get-file-entries):
14481 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
14482 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
14483
14484 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
14485 Update call to it.
14486 (eww-change-select): Remove unused var `properties'.
14487 (eww-make-unique-file-name): Remove unused var `base'.
14488
14489 * finder.el (finder-compile-keywords): Don't mess with windows.
14490
14491 * calculator.el (calculator-funcall): Fix typo in last change.
14492
14493 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
14494
14495 * emacs-lisp/package.el (package-activate-1): Don't let a missing
14496 <pkg>-autoloads.el file stop us.
14497
14498 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14499 warnings, and factor out common code.
14500
14501 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
14502
14503 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
14504 two-character operators and whether the character preceding them
14505 changes their meaning (Bug#15208).
14506
14507 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14508
14509 Format code sent to Python shell for robustness.
14510 * progmodes/python.el (python-shell-buffer-substring):
14511 New function.
14512 (python-shell-send-region, python-shell-send-buffer): Use it.
14513
14514 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
14515
14516 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
14517 * net/tramp.el (tramp-user-error): ... here.
14518 (tramp-find-method, tramp-check-proper-host)
14519 (tramp-dissect-file-name, tramp-debug-message)
14520 (tramp-handle-shell-command):
14521 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14522 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
14523
14524 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
14525
14526 2013-09-02 Martin Rudalics <rudalics@gmx.at>
14527
14528 * avoid.el (mouse-avoidance-point-position)
14529 (mouse-avoidance-too-close-p): Handle case where posn-at-point
14530 returns nil.
14531
14532 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14533
14534 * progmodes/python.el (python-shell-completion-get-completions):
14535 Drop use of deleted `comint-last-prompt-overlay'.
14536 (python-nav-if-name-main): New command.
14537
14538 2013-09-01 Glenn Morris <rgm@gnu.org>
14539
14540 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14541 Avoid leading space in $wins. Otherwise the sed command used by
14542 eg compile-main ends up containing "/*.el". (Bug#15170)
14543
14544 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
14545
14546 2013-08-30 Glenn Morris <rgm@gnu.org>
14547
14548 * emacs-lisp/bytecomp.el (byte-recompile-directory):
14549 Fix is-this-a-directory logic. (Bug#15220)
14550
14551 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14552
14553 * textmodes/css-mode.el: Use SMIE.
14554 (css-smie-grammar): New var.
14555 (css-smie--forward-token, css-smie--backward-token)
14556 (css-smie-rules): New functions.
14557 (css-mode): Use them.
14558 (css-navigation-syntax-table): Remove var.
14559 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
14560 (css-indent-calculate, css-indent-line): Remove functions.
14561
14562 Misc changes to reduce use of `(lambda...); and other cleanups.
14563 * cus-edit.el: Use lexical-binding.
14564 (customize-push-and-save, customize-apropos)
14565 (custom-buffer-create-internal): Use closures.
14566 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
14567 * progmodes/ada-xref.el: Use setq.
14568 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
14569 * dframe.el: Use lexical-binding.
14570 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
14571 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
14572 * descr-text.el: Use lexical-binding.
14573 (describe-text-widget, describe-text-sexp, describe-property-list):
14574 Use closures.
14575 * comint.el (comint-history-isearch-push-state): Use a closure.
14576 * calculator.el: Use lexical-binding.
14577 (calculator-number-to-string): Make it work with lexical-binding.
14578 (calculator-funcall): Same and use cl-letf.
14579
14580 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
14581 (lisp--company-doc-string, lisp--company-location): New functions.
14582 (lisp-completion-at-point): Use them to improve Company support.
14583
14584 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
14585 params of lambda expressions.
14586 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
14587 (ruby-smie--opening-pipe-p): New function.
14588 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
14589 symbols and matched |...| for formal params.
14590 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
14591 from being treated as hanging. Handle "rescue".
14592
14593 2013-08-29 Glenn Morris <rgm@gnu.org>
14594
14595 * progmodes/cc-engine.el (c-pull-open-brace):
14596 Move definition before use.
14597
14598 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14599
14600 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
14601 are immutable. Don't use `unsafe' any more.
14602 (cl--defsubst-expand): Don't substitute at the same time as keeping
14603 a residual unused let-binding. Don't use `unsafe' any more.
14604
14605 2013-08-29 Glenn Morris <rgm@gnu.org>
14606
14607 * calendar/cal-china.el (calendar-chinese-year-cache):
14608 Recenter on 2015.
14609
14610 * nxml/nxml-util.el (nxml-debug-clear-inside):
14611 Use cl-loop rather than loop.
14612
14613 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
14614
14615 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
14616
14617 2013-08-28 Glenn Morris <rgm@gnu.org>
14618
14619 * progmodes/antlr-mode.el: No need to require cc-mode twice.
14620
14621 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
14622
14623 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
14624
14625 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14626
14627 * simple.el (repeat-complex-command--called-interactively-skip):
14628 New function.
14629 (repeat-complex-command): Use it (bug#14136).
14630
14631 * progmodes/cc-mode.el: Minor cleanup of var declarations.
14632 (c-define-abbrev-table): Add `doc' argument.
14633 (c-mode-abbrev-table, c++-mode-abbrev-table)
14634 (objc-mode-abbrev-table, java-mode-abbrev-table)
14635 (idl-mode-abbrev-table, pike-mode-abbrev-table)
14636 (awk-mode-abbrev-table): Use it.
14637 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
14638 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
14639 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
14640 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
14641 Move initialization into the declaration; and remove any
14642 autoload cookie.
14643
14644 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
14645 and dynamic let binding.
14646
14647 * vc/smerge-mode.el: Remove redundant :group args.
14648
14649 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
14650 to load-path.
14651
14652 2013-08-28 Juri Linkov <juri@jurta.org>
14653
14654 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
14655 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
14656 (isearch-other-meta-char): Handle an undefined shifted printing
14657 character by downshifting it. (Bug#15200)
14658
14659 2013-08-28 Juri Linkov <juri@jurta.org>
14660
14661 * isearch.el (isearch-search): Change regexp error message for
14662 non-regexp searches. (Bug#15166)
14663
14664 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
14665
14666 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
14667 for portability to hosts where /bin/sh has problems.
14668
14669 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
14672
14673 2013-08-27 Juri Linkov <juri@jurta.org>
14674
14675 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
14676 in the keyboard macro. (Bug#15126)
14677
14678 2013-08-27 Juri Linkov <juri@jurta.org>
14679
14680 * isearch.el (isearch-quote-char): Comment out converting unibyte
14681 to multibyte, thus syncing with its `quoted-insert' counterpart.
14682 (Bug#15166)
14683
14684 2013-08-27 Martin Rudalics <rudalics@gmx.at>
14685
14686 * window.el (display-buffer-use-some-window): Add missing
14687 argument in call of get-largest-window (Bug#15185).
14688 Reported by Stephen Leake.
14689
14690 2013-08-27 Glenn Morris <rgm@gnu.org>
14691
14692 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
14693
14694 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14695
14696 * progmodes/python.el (python-font-lock-keywords): Don't return nil
14697 from a matcher-function unless there's no more matches (bug#15161).
14698
14699 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14700
14701 * minibuffer.el: Revert change from 2013-08-20.
14702
14703 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
14704 with text property `tramp-default', if appropriate.
14705 (tramp-check-proper-host): New defun.
14706 (tramp-dissect-file-name): Do not check hostname. Revert change
14707 of 2013-03-18.
14708 (tramp-backtrace): Make VEC-OR-PROC optional.
14709
14710 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14711 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14712 * net/tramp-sh.el (tramp-maybe-open-connection):
14713 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14714 Apply `tramp-check-proper-host'.
14715
14716 2013-08-26 Tassilo Horn <tsdh@gnu.org>
14717
14718 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
14719 lambda expression in order to have `describe-variable' display it.
14720
14721 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14722
14723 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
14724 BUF can be optional. (Bug#15186)
14725
14726 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
14727
14728 * progmodes/flymake.el (flymake-get-real-file-name-function):
14729 Fix broken customization. (Bug#15184)
14730
14731 2013-08-25 Alan Mackenzie <acm@muc.de>
14732
14733 Improve indentation of bracelists defined by macros (without "=").
14734
14735 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
14736 expansion begins with "{", regard it as bracelist when it doesn't
14737 contain a ";".
14738
14739 Parse C++ inher-intro when there's a template split over 2 lines.
14740
14741 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
14742 rigorously the search for "class" etc. followed by ":".
14743
14744 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
14745 random languages a regexp which never matches rather than nil.
14746
14747 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
14748
14749 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
14750 (c-awk-regexp-one-line-possibly-open-char-list-re)
14751 (c-awk-one-line-possibly-open-regexp-re)
14752 (c-awk-one-line-non-syn-ws*-re): Remove.
14753 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
14754 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
14755 (c-awk-space*-unclosed-regexp-/-re): New constants.
14756 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
14757 aren't regexp delimiters.
14758
14759 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
14760 handling for a rare situation in AWK Mode involving unterminated
14761 strings/regexps.
14762
14763 2013-08-23 Glenn Morris <rgm@gnu.org>
14764
14765 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
14766
14767 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
14768
14769 * files.el (create-file-buffer): If the result would begin with
14770 spaces, prepend a "|" instead of removing them. (Bug#15162)
14771
14772 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14773
14774 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
14775 text-properties (bug#15155).
14776
14777 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
14778 exist any more.
14779 (calc-keypad-redraw): Remove unused var `pad'.
14780 (calc-keypad-press): Remove unused var `menu'.
14781
14782 2013-08-23 Martin Rudalics <rudalics@gmx.at>
14783
14784 * window.el (display-buffer-pop-up-frame):
14785 Call pop-up-frame-function with BUFFER current so `make-frame' will
14786 use it as the new frame's buffer (Bug#15133).
14787
14788 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14789
14790 * calendar/timeclock.el: Minor cleanups.
14791 (timeclock-ask-before-exiting, timeclock-use-display-time):
14792 Use `symbol'.
14793 (timeclock-modeline-display): Define as alias before the
14794 actual definition.
14795 (timeclock-mode-line-display): Use define-minor-mode.
14796 (timeclock-day-list-template): Make it a function, add an argument.
14797 (timeclock-day-list-required, timeclock-day-list-length)
14798 (timeclock-day-list-debt, timeclock-day-list-span)
14799 (timeclock-day-list-break): Adjust calls accordingly.
14800
14801 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14802
14803 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
14804 Use read--expression so that completion works again.
14805
14806 2013-08-21 Sam Steingold <sds@gnu.org>
14807
14808 Add rudimentary inferior shell interaction
14809 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
14810 (sh-set-shell): Reset it.
14811 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
14812 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
14813
14814 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
14815
14816 * align.el: Use lexical-binding.
14817 (align-region): Simplify accordingly.
14818
14819 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
14820
14821 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
14822
14823 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
14824 `non-essential' up.
14825
14826 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
14827
14828 * net/tramp.el:
14829 * net/tramp-adb.el:
14830 * net/tramp-cmds.el:
14831 * net/tramp-ftp.el:
14832 * net/tramp-gvfs.el:
14833 * net/tramp-gw.el:
14834 * net/tramp-sh.el: Don't wrap external variable declarations by
14835 `eval-when-compile'.
14836
14837 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14838
14839 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
14840 now that Emacs supports ImageMagick animations.
14841
14842 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
14843
14844 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
14845 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
14846
14847 2013-08-16 Martin Rudalics <rudalics@gmx.at>
14848
14849 * window.el (mouse-autoselect-window-select): Do autoselect when
14850 mouse pointer is on margin.
14851
14852 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
14853
14854 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
14855
14856 2013-08-16 Glenn Morris <rgm@gnu.org>
14857
14858 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
14859 Handle "Remote Directory" response of some clients. (Bug#15058)
14860
14861 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
14862 Tweak warning. (Bug#14926)
14863
14864 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
14865 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
14866
14867 * image-mode.el (image-mode-map): Add menu items to reverse,
14868 increase, decrease, reset animation speed.
14869 (image--set-speed, image-increase-speed, image-decrease-speed)
14870 (image-reverse-speed, image-reset-speed): New functions.
14871 (image-mode-map): Add bindings for speed commands.
14872
14873 * image.el (image-animate-get-speed, image-animate-set-speed):
14874 New functions.
14875 (image-animate-timeout): Respect image :speed property.
14876
14877 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14878
14879 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
14880 previous line (bug#15101).
14881 (debugger-eval-expression, debugger-record-expression):
14882 Use read--expression (bug#15102).
14883
14884 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
14885
14886 Remove byte compiler warnings, visible when compiling with
14887 `byte-compile-force-lexical-warnings' set to t.
14888
14889 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
14890 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
14891 (tramp-handle-unhandled-file-name-directory)
14892 (tramp-handle-file-notify-add-watch, tramp-action-login)
14893 (tramp-action-succeed, tramp-action-permission-denied)
14894 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
14895 arguments with "_".
14896
14897 * net/tramp-adb.el (tramp-adb-parse-device-names)
14898 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
14899 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
14900 (tramp-adb-handle-file-truename): Remove unused arguments.
14901
14902 * net/tramp-cache.el (tramp-flush-directory-property)
14903 (tramp-flush-connection-property, tramp-list-connections)
14904 (tramp-parse-connection-properties): Prefix unused arguments with "_".
14905
14906 * net/tramp-compat.el (tramp-compat-make-temp-file):
14907 Rename FILENAME to F.
14908
14909 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14910 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
14911 (tramp-zeroconf-parse-workstation-device-names)
14912 (tramp-zeroconf-parse-webdav-device-names)
14913 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
14914
14915 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14916 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
14917
14918 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
14919 arguments.
14920 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
14921 (tramp-sh-handle-insert-file-contents-literally)
14922 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
14923 with "_".
14924 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
14925 Remove unused variables.
14926
14927 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14928 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
14929 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
14930
14931 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
14932 Make them a defconst.
14933 (tramp-uuencode-region): Remove unused variable.
14934
14935 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
14936
14937 * frameset.el (frameset--prop-setter): New function.
14938 (frameset-prop): Add gv-setter declaration.
14939 (frameset-filter-minibuffer): Deal with the case that the minibuffer
14940 parameter was already set in FILTERED. Doc fix.
14941 (frameset--record-minibuffer-relationships): Allow saving a
14942 minibufferless frame without its corresponding minibuffer frame.
14943 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
14944 frame, if the frame id matches.
14945 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
14946 frames before orphaned ones.
14947 (frameset-restore): Warn about orphaned windows, instead of error out.
14948
14949 2013-08-14 Martin Rudalics <rudalics@gmx.at>
14950
14951 * window.el (window-make-atom): Don't overwrite parameter
14952 already present.
14953 (display-buffer-in-atom-window): Handle special case where we
14954 split an already atomic window.
14955 (window--major-non-side-window, display-buffer-in-side-window)
14956 (window--side-check): Ignore minibuffer window when walking
14957 window tree.
14958 (window-deletable-p): Return 'frame only if no other frame uses
14959 our minibuffer window.
14960 (record-window-buffer): Run buffer-list-update-hook.
14961 (split-window): Make sure window--check-frame won't destroy an
14962 existing atomic window in case the new window gets nested
14963 inside.
14964 (display-buffer-at-bottom): Ignore minibuffer window when
14965 walking window tree. Don't split a side window.
14966 (pop-to-buffer): Don't set-buffer here, the select-window call
14967 should do that.
14968 (mouse-autoselect-window-select): Autoselect only if we are in the
14969 text portion of the window.
14970
14971 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14972
14973 * net/shr.el (shr-parse-image-data): New function to grab both the
14974 data itself and the Content-Type.
14975 (shr-put-image): Use it.
14976
14977 * net/eww.el (eww-display-image): Ditto.
14978
14979 * image.el (image-content-type-suffixes): New variable.
14980
14981 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14982
14983 * progmodes/python.el (python-imenu--build-tree)
14984 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
14985
14986 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
14987
14988 * simple.el (backward-word): Mention the optional argument.
14989
14990 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
14991
14992 * frameset.el (frameset--make): Rename constructor from make-frameset.
14993 (frameset-p, frameset-valid-p): Don't autoload.
14994 (frameset-valid-p): Use normal accessors.
14995
14996 2013-08-13 Glenn Morris <rgm@gnu.org>
14997
14998 * progmodes/compile.el (compile-command): Tweak example in doc.
14999 * obsolete/scribe.el (scribe-mode):
15000 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
15001
15002 * mail/feedmail.el (feedmail-confirm-outgoing)
15003 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
15004
15005 * cus-start.el (truncate-partial-width-windows): Fix type.
15006
15007 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
15008
15009 * net/shr.el (shr-table-horizontal-line): Fix custom type.
15010
15011 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
15012
15013 * emacs-lisp/timer.el (timer--time-setter): New function.
15014 (timer--time): Use it as gv-setter.
15015
15016 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
15017 setter is not a symbol.
15018
15019 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
15020
15021 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
15022 if sending fails. This makes debugging easier.
15023
15024 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
15025
15026 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
15027 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
15028 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
15029
15030 2013-08-12 Eli Zaretskii <eliz@gnu.org>
15031
15032 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
15033
15034 2013-08-12 Glenn Morris <rgm@gnu.org>
15035
15036 * format.el (format-annotate-function):
15037 Handle read-only text properties in the source. (Bug#14887)
15038
15039 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15040
15041 * net/eww.el (eww-display-html): Ignore coding system errors.
15042 One web site uses "utf-8lias" as the coding system.
15043
15044 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
15045
15046 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
15047
15048 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
15049
15050 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
15051 (tutorial--detailed-help): Remove unused local variables.
15052 (tutorial--save-tutorial-to): Use ignore-errors.
15053 (help-with-tutorial): Use looking-at-p.
15054
15055 * view.el (view-buffer-other-window, view-buffer-other-frame):
15056 Mark unused arguments.
15057
15058 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
15059 (woman-select-symbol-fonts, woman, woman-find-file)
15060 (woman-insert-file-contents, woman-non-underline-faces):
15061 Use string-match-p.
15062 (woman1-unquote): Move declaration.
15063
15064 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
15065 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
15066 argument. Remove unused local variable.
15067 (xml-parse-elem-type): Use string-match-p.
15068 (xml-substitute-numeric-entities): Use ignore-errors.
15069
15070 * calculator.el (calculator): Mark unused argument.
15071 (calculator-paste, calculator-quit, calculator-integer-p):
15072 Use ignore-errors.
15073 (calculator-string-to-number, calculator-decimal, calculator-exp)
15074 (calculator-op-or-exp): Use string-match-p.
15075
15076 * dired.el (dired-buffer-more-recently-used-p): Declare.
15077 (dired-insert-set-properties, dired-insert-old-subdirs):
15078 Use ignore-errors.
15079
15080 * dired-aux.el (dired-compress): Use ignore-errors.
15081 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
15082 (dired-do-async-shell-command, dired-do-shell-command)
15083 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
15084 (dired-insert-subdir-validate): Use string-match-p.
15085 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
15086 (dired-add-entry): Use string-match-p, looking-at-p.
15087 (dired-insert-subdir-newpos): Remove unused local variable.
15088
15089 * filenotify.el (file-notify-callback): Remove unused local variable.
15090
15091 * filesets.el (filesets-error): Mark unused argument.
15092 (filesets-which-command-p, filesets-filter-dir-names)
15093 (filesets-directory-files, filesets-get-external-viewer)
15094 (filesets-ingroup-get-data): Use string-match-p.
15095
15096 * find-file.el (ff-other-file-name, ff-other-file-name)
15097 (ff-find-the-other-file, ff-cc-hh-converter):
15098 Remove unused local variables.
15099 (ff-get-file-name): Use string-match-p.
15100 (ff-all-dirs-under): Use ignore-errors.
15101
15102 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
15103 (follow-select-if-visible): Remove unused local variable.
15104
15105 * forms.el (read-file-filter): Move declaration.
15106 (forms--make-format, forms--make-parser, forms-insert-record):
15107 Quote function with #'.
15108 (forms--update): Use string-match-p. Quote function with #'.
15109
15110 * help-mode.el (help-dir-local-var-def): Mark unused argument.
15111 (help-make-xrefs): Use looking-at-p.
15112 (help-xref-on-pp): Use looking-at-p, ignore-errors.
15113
15114 * ibuffer.el (ibuffer-ext-visible-p): Declare.
15115 (ibuffer-confirm-operation-on): Use string-match-p.
15116
15117 * msb.el (msb-item-handler, msb-dired-item-handler):
15118 Mark unused arguments.
15119
15120 * ses.el (ses-decode-cell-symbol)
15121 (ses-kill-override): Remove unused local variable.
15122 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
15123 (ses-load): Use ignore-errors, looking-at-p.
15124 (ses-jump-safe): Use ignore-errors.
15125 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
15126
15127 * tabify.el (untabify, tabify): Mark unused arguments.
15128
15129 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
15130 Mark unused argument.
15131 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
15132 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
15133
15134 * emacs-lisp/timer.el (timer--time): Define setter with
15135 gv-define-setter to avoid deprecation warning.
15136
15137 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
15138 (*record-cmpl-statistics-p*): Remove (was commented out).
15139 (cmpl-statistics-block): Remove (body was commented out).
15140 All callers changed.
15141 (add-completions-from-buffer, load-completions-from-file):
15142 Remove unused variables.
15143
15144 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
15145
15146 * filecache.el (file-cache-delete-file-list):
15147 Print message only when told so.
15148 (file-cache-files-matching): Use #' in mapconcat argument.
15149
15150 * ffap.el (ffap-url-at-point): Fix reference to variable
15151 thing-at-point-default-mail-uri-scheme.
15152
15153 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
15154
15155 * subr.el (define-error): New function.
15156 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
15157 error-file-not-found and define with define-error.
15158 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
15159 and define with define-error.
15160 * userlock.el (file-locked, file-supersession):
15161 * simple.el (mark-inactive):
15162 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
15163 * progmodes/ada-mode.el (ada-mode-errors):
15164 * play/life.el (life-extinct):
15165 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
15166 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
15167 * nxml/rng-util.el (rng-error):
15168 * nxml/rng-uri.el (rng-uri-error):
15169 * nxml/rng-match.el (rng-compile-error):
15170 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
15171 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
15172 * nxml/nxml-rap.el (nxml-scan-error):
15173 * nxml/nxml-outln.el (nxml-outline-error):
15174 * net/soap-client.el (soap-error):
15175 * net/gnutls.el (gnutls-error):
15176 * net/ange-ftp.el (ftp-error):
15177 * mpc.el (mpc-proc-error):
15178 * json.el (json-error, json-readtable-error, json-unknown-keyword)
15179 (json-number-format, json-string-escape, json-string-format)
15180 (json-key-format, json-object-format):
15181 * jka-compr.el (compression-error):
15182 * international/quail.el (quail-error):
15183 * international/kkc.el (kkc-error):
15184 * emacs-lisp/ert.el (ert-test-failed):
15185 * calc/calc.el (calc-error, inexact-result, math-overflow)
15186 (math-underflow):
15187 * bookmark.el (bookmark-error-no-filename):
15188 * epg.el (epg-error): Define with define-error.
15189
15190 * time.el (display-time-event-handler)
15191 (display-time-next-load-average): Don't call sit-for since it seems
15192 unnecessary (bug#15045).
15193
15194 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
15195 Use #' instead of ' to quote functions.
15196 (checkdoc-output-mode): Use setq-local.
15197 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
15198 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
15199 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
15200 (checkdoc-ispell, checkdoc-ispell-current-buffer)
15201 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
15202 (checkdoc-ispell-message-text, checkdoc-ispell-start)
15203 (checkdoc-ispell-continue, checkdoc-ispell-comments)
15204 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
15205
15206 * ido.el (ido-completion-help): Fix up compiler warning.
15207
15208 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
15209
15210 * frameset.el (frameset-p): Add autoload cookie.
15211 (frameset--jump-to-register): New function, based on code moved from
15212 register.el.
15213 (frameset-to-register): Move from register.el. Adapt to `registerv'.
15214
15215 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
15216 (frameset-restore, frameset-save, frameset-session-filter-alist):
15217 Remove declarations.
15218 (register-alist): Doc fix.
15219 (frameset-to-register): Move to frameset.el.
15220 (jump-to-register, describe-register-1): Remove frameset-specific code.
15221
15222 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15223
15224 * allout-widgets.el (allout-widgets-pre-command-business)
15225 (allout-widgets-post-command-business)
15226 (allout-widgets-after-change-handler)
15227 (allout-decorate-item-and-context, allout-set-boundary-marker)
15228 (allout-body-modification-handler)
15229 (allout-graphics-modification-handler): Mark ignored arguments.
15230 (allout-widgets-post-command-business)
15231 (allout-widgets-exposure-change-processor)
15232 (allout-widgets-exposure-undo-processor)
15233 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
15234 (allout-parse-item-at-point, allout-decorate-item-guides)
15235 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
15236 * allout.el (epa-passphrase-callback-function): Declare.
15237 (allout-overlay-insert-in-front-handler)
15238 (allout-overlay-interior-modification-handler)
15239 (allout-isearch-end-handler, allout-chart-siblings)
15240 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
15241 (allout-yank-processing, allout-process-exposed)
15242 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
15243 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
15244 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
15245 (lisp-indent-defform): Mark ignored arguments.
15246 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
15247 (calculate-lisp-indent): Remove unused variables.
15248 * international/characters.el (indian-2-column, arabic-2-column)
15249 (tibetan): Mark ignored arguments.
15250 (use-cjk-char-width-table): Mark ignored arguments.
15251 Remove unused variables.
15252 * international/fontset.el (build-default-fontset-data)
15253 (x-compose-font-name, create-fontset-from-fontset-spec):
15254 Mark ignored arguments.
15255 (fontset-plain-name): Remove unused variables.
15256 * international/mule.el (charset-id, charset-bytes, generic-char-p)
15257 (keyboard-coding-system): Mark ignored arguments.
15258 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
15259 * help.el (resize-temp-buffer-window):
15260 * window.el (display-buffer-in-major-side-window)
15261 (display-buffer-in-side-window, display-buffer-in-previous-window):
15262 Remove unused variables.
15263 * isearch.el (isearch-forward-symbol):
15264 * version.el (emacs-bzr-version-bzr):
15265 * international/mule-cmds.el (current-language-environment):
15266 * term/common-win.el (x-handle-iconic, x-handle-geometry)
15267 (x-handle-display):
15268 * term/pc-win.el (x-list-fonts, x-display-planes)
15269 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
15270 (x-server-version, x-display-screens, x-display-mm-height)
15271 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
15272 (x-selection-owner-p, x-own-selection-internal)
15273 (x-disown-selection-internal, x-get-selection-internal)
15274 (msdos-initialize-window-system):
15275 * term/tty-colors.el (tty-color-alist, tty-color-clear):
15276 * term/x-win.el (x-handle-no-bitmap-icon):
15277 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
15278 (vc-default-find-file-hook, vc-default-extra-menu):
15279 Mark ignored arguments.
15280
15281 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
15282
15283 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
15284 break-condition in the context of the debugged code (bug#12685).
15285
15286 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
15287
15288 * comint.el:
15289 Do not use an overlay to highlight the last prompt. (Bug#14744)
15290 (comint-mode): Make comint-last-prompt buffer local.
15291 (comint-last-prompt): New variable.
15292 (comint-last-prompt-overlay): Remove. Superseded by
15293 comint-last-prompt.
15294 (comint-snapshot-last-prompt, comint-output-filter):
15295 Use comint-last-prompt.
15296
15297 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15298
15299 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
15300 (frameset-save): Check validity of the resulting frameset.
15301
15302 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
15303
15304 * ido.el (ido-record-command): Add doc string.
15305
15306 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15307
15308 * frameset.el (frameset): Do not disable creation of the default
15309 frameset-p predicate. Doc fix.
15310 (frameset-valid-p): New function, copied from the old predicate-p.
15311 Add additional checks.
15312 (frameset-restore): Check with frameset-valid-p.
15313 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
15314 (frameset-name, frameset-description, frameset-properties)
15315 (frameset-states): Add docstring.
15316 (frameset-session-filter-alist, frameset-persistent-filter-alist)
15317 (frameset-filter-alist): Doc fixes.
15318
15319 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15320
15321 * frameset.el (frameset-p, frameset-prop): Doc fixes.
15322
15323 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
15324
15325 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
15326 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
15327 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
15328 (byte-compile-normal-call): Remove obsolescence check.
15329
15330 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15331
15332 * frameset.el (frameset-restore): Doc fix.
15333
15334 * register.el (frameset-frame-id, frameset-frame-with-id)
15335 (frameset-p, frameset-restore, frameset-save): Declare.
15336 (register-alist): Document framesets.
15337 (frameset-session-filter-alist): Declare.
15338 (frameset-to-register): New function.
15339 (jump-to-register): Implement jumping to framesets. Doc fix.
15340 (describe-register-1): Describe framesets.
15341
15342 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
15343
15344 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
15345
15346 * desktop.el (desktop-save-frameset): Use new frameset-save args.
15347 Use lexical-binding.
15348
15349 * frameset.el (frameset): Use type vector, not list (incompatible
15350 change). Do not declare a new constructor, use the default one.
15351 Upgrade suggested properties `app', `name' and `desc' to slots `app',
15352 `name' and `description', respectively, and add read-only slot
15353 `timestamp'. Doc fixes.
15354 (frameset-copy, frameset-persistent-filter-alist)
15355 (frameset-filter-alist, frameset-switch-to-gui-p)
15356 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
15357 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
15358 (frameset-filter-iconified, frameset-keep-original-display-p):
15359 Doc fixes.
15360 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
15361 Rename from frameset-filter-(save|restore)-param. All callers changed.
15362 Doc fix.
15363 (frameset-p): Adapt to change to vector and be more thorough.
15364 Change arg name to OBJECT. Doc fix.
15365 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
15366 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
15367 All callers changed.
15368 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
15369 All callers changed.
15370 (frameset--record-minibuffer-relationships): Rename from
15371 frameset--process-minibuffer-frames. All callers changed.
15372 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
15373 Use new default constructor (again). Doc fix.
15374 (frameset--find-frame-if): Rename from `frameset--find-frame'.
15375 All callers changed.
15376 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
15377 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
15378 Doc fix.
15379 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
15380 PARAMETERS and WINDOW-STATE, respectively.
15381 (frameset-restore): Add new keyword argument PREDICATE.
15382 Reset frameset--target-display to nil. Doc fix.
15383
15384 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
15385
15386 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
15387 (bat-mode): Use it.
15388 (bat-mode-syntax-table): Mark \n as end-of-comment.
15389 (bat-font-lock-keywords): Remove comment rule.
15390
15391 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
15392 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
15393
15394 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
15395 (byte-compile-callargs-warn): Use `push'.
15396 (byte-compile-arglist-warn): Ignore higher-order "calls".
15397 (byte-compile-file-form-autoload): Use `pcase'.
15398 (byte-compile-function-form): If quoting a symbol, check that it exists.
15399
15400 2013-08-07 Eli Zaretskii <eliz@gnu.org>
15401
15402 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
15403 and add a few popular commands found in batch files.
15404 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
15405 (dos-mode): Doc fixes.
15406
15407 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
15408
15409 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
15410 (dos-mode): Use setq-local. Add space after "rem".
15411 (dos-mode-syntax-table): Don't use "w" for symbol chars.
15412 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
15413
15414 2013-08-07 Arni Magnusson <arnima@hafro.is>
15415
15416 * progmodes/dos.el: New file.
15417 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
15418 dos-mode.
15419
15420 2013-08-06 Glenn Morris <rgm@gnu.org>
15421
15422 * calendar/calendar.el: Add new faces, and day-header-array.
15423 (calendar-weekday-header, calendar-weekend-header)
15424 (calendar-month-header): New faces.
15425 (calendar-day-header-construct): New function.
15426 (calendar-day-header-width): Also :set calendar-day-header-array.
15427 (calendar-american-month-header, calendar-european-month-header)
15428 (calendar-iso-month-header): Use calendar- faces.
15429 (calendar-generate-month):
15430 Use calendar-day-header-array for day headers; apply faces to them.
15431 (calendar-mode): Check calendar-font-lock-keywords non-nil.
15432 (calendar-abbrev-construct): Add optional maxlen argument.
15433 (calendar-day-name-array): Doc fix.
15434 (calendar-day-name-array, calendar-abbrev-length)
15435 (calendar-day-abbrev-array):
15436 Also :set calendar-day-header-array, and maybe redraw.
15437 (calendar-day-header-array): New option. (Bug#15007)
15438 (calendar-font-lock-keywords): Set to nil and make obsolete.
15439 (calendar-day-name): Add option to use header array.
15440
15441 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15442
15443 * net/shr.el (shr-render-td): Remove debugging.
15444 (shr-render-td): Make width computation consistent by defaulting
15445 all zero-width columns to 10 characters. This may not be optimal,
15446 but it's at least consistent.
15447 (shr-make-table-1): Redo last change to fix the real problem in
15448 colspan handling.
15449
15450 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15451
15452 * files.el (cache-long-line-scans):
15453 Make obsolete alias to `cache-long-scans'.
15454
15455 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15456
15457 * frameset.el (frameset, frameset-filter-alist)
15458 (frameset-filter-params, frameset-save, frameset--reuse-frame)
15459 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
15460 (frameset-compute-pos): Rename from frameset--compute-pos,
15461 and add docstring.
15462 (frameset-move-onscreen): Use frameset-compute-pos.
15463 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15464
15465 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
15466 Fix typos in docstrings.
15467
15468 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15469
15470 * frame.el (get-other-frame): Tiny cleanup.
15471
15472 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15473
15474 * vc/vc.el (vc-default-ignore-completion-table):
15475 Silence byte-compiler warning.
15476
15477 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
15478 slot, which can indeed be nil.
15479 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15480 Move entry for `left' from persistent to live filter alist.
15481 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
15482 Doc fixes.
15483 (frameset-filter-params): When restoring a frame, copy items added to
15484 `filtered', to avoid unwittingly modifying the original parameters.
15485 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
15486 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
15487
15488 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
15489 to use looking-at-p instead of looking-at. (Bug#15028)
15490
15491 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15492
15493 Revert introduction of isearch-filter-predicates (bug#14714).
15494 Rely on add-function instead.
15495 * isearch.el (isearch-filter-predicates): Rename it back to
15496 isearch-filter-predicate.
15497 (isearch-message-prefix): Use advice-function-mapc and advice
15498 properties to get the isearch-message-prefix.
15499 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
15500 instead of run-hook-with-args-until-failure.
15501 (isearch-filter-visible): Not obsolete any more.
15502 * loadup.el: Preload nadvice.
15503 * replace.el (perform-replace): Revert to funcall
15504 instead of run-hook-with-args-until-failure.
15505 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
15506 * dired-aux.el (dired-isearch-filenames-mode): Rename from
15507 dired-isearch-filenames-toggle; make it into a proper minor mode.
15508 Use add/remove-function.
15509 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
15510 Call the minor-mode rather than add/remove-hook.
15511 (dired-isearch-filter-filenames):
15512 Remove isearch-message-prefix property.
15513 * info.el (Info--search-loop): New function, extracted from Info-search.
15514 Funcall isearch-filter-predicate instead of
15515 run-hook-with-args-until-failure isearch-filter-predicates.
15516 (Info-search): Use it.
15517 (Info-mode): Use isearch-filter-predicate instead of
15518 isearch-filter-predicates.
15519
15520 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15521
15522 Do not call to `selected-window' where it is assumed by default.
15523 Affected functions are `window-minibuffer-p', `window-dedicated-p',
15524 `window-hscroll', `window-width', `window-height', `window-buffer',
15525 `window-frame', `window-start', `window-point', `next-window'
15526 and `window-display-table'.
15527 * abbrev.el (abbrev--default-expand):
15528 * bs.el (bs--show-with-configuration):
15529 * buff-menu.el (Buffer-menu-mouse-select):
15530 * calc/calc.el (calc):
15531 * calendar/calendar.el (calendar-generate-window):
15532 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
15533 (diary-make-entry):
15534 * comint.el (send-invisible, comint-dynamic-complete-filename)
15535 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
15536 * completion.el (complete):
15537 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
15538 * disp-table.el (describe-current-display-table):
15539 * doc-view.el (doc-view-insert-image):
15540 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
15541 * ehelp.el (with-electric-help):
15542 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15543 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
15544 * emacs-lisp/helper.el (Helper-help-scroller):
15545 * emulation/cua-base.el (cua--post-command-handler-1):
15546 * eshell/esh-mode.el (eshell-output-filter):
15547 * ffap.el (ffap-gnus-wrapper):
15548 * help-macro.el (make-help-screen):
15549 * hilit-chg.el (highlight-compare-buffers):
15550 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
15551 * hl-line.el (global-hl-line-highlight):
15552 * icomplete.el (icomplete-simple-completing-p):
15553 * isearch.el (isearch-done):
15554 * jit-lock.el (jit-lock-stealth-fontify):
15555 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
15556 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
15557 * mpc.el (mpc-tagbrowser, mpc):
15558 * net/rcirc.el (rcirc-any-buffer):
15559 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
15560 * play/landmark.el (landmark-max-width, landmark-max-height):
15561 * play/zone.el (zone):
15562 * progmodes/compile.el (compilation-goto-locus):
15563 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
15564 * progmodes/etags.el (find-tag-other-window):
15565 * progmodes/fortran.el (fortran-column-ruler):
15566 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15567 * progmodes/verilog-mode.el (verilog-point-text):
15568 * reposition.el (reposition-window):
15569 * rot13.el (toggle-rot13-mode):
15570 * server.el (server-switch-buffer):
15571 * shell.el (shell-dynamic-complete-command)
15572 (shell-dynamic-complete-environment-variable):
15573 * simple.el (insert-buffer, set-selective-display)
15574 (delete-completion-window):
15575 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
15576 (speedbar-recenter):
15577 * startup.el (fancy-splash-head):
15578 * textmodes/ispell.el (ispell-command-loop):
15579 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
15580 * tutorial.el (help-with-tutorial):
15581 * vc/add-log.el (add-change-log-entry):
15582 * vc/compare-w.el (compare-windows):
15583 * vc/ediff-help.el (ediff-indent-help-message):
15584 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
15585 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
15586 (ediff-setup-control-frame):
15587 * vc/emerge.el (emerge-position-region):
15588 * vc/pcvs-util.el (cvs-bury-buffer):
15589 * window.el (walk-windows, mouse-autoselect-window-select):
15590 * winner.el (winner-set-conf, winner-undo): Related users changed.
15591
15592 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15593
15594 * frameset.el (frameset--set-id): Doc fix.
15595 (frameset-frame-id, frameset-frame-id-equal-p)
15596 (frameset-locate-frame-id): New functions.
15597 (frameset--process-minibuffer-frames, frameset--reuse-frame)
15598 (frameset-restore): Use them.
15599
15600 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15601
15602 Do not call to `selected-frame' where it is assumed by default.
15603 Affected functions are `raise-frame', `redraw-frame',
15604 `frame-first-window', `frame-terminal' and `delete-frame'.
15605 * calendar/appt.el (appt-disp-window):
15606 * epg.el (epg-wait-for-completion):
15607 * follow.el (follow-delete-other-windows-and-split)
15608 (follow-avoid-tail-recenter):
15609 * international/mule.el (set-terminal-coding-system):
15610 * mail/rmail.el (rmail-mail-return):
15611 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15612 * progmodes/f90.el (f90-add-imenu-menu):
15613 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
15614 * server.el (server-switch-buffer):
15615 * simple.el (delete-completion-window):
15616 * talk.el (talk):
15617 * term/xterm.el (terminal-init-xterm-modify-other-keys)
15618 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
15619 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
15620 * vc/ediff.el (ediff-documentation): Related users changed.
15621 * frame.el (selected-terminal): Remove the leftover.
15622
15623 2013-08-05 Glenn Morris <rgm@gnu.org>
15624
15625 * calendar/calendar.el (calendar-generate-month):
15626 Fix for calendar-column-width != 1 + calendar-day-digit-width.
15627 (calendar-generate-month, calendar-font-lock-keywords):
15628 Fix for calendar-day-header-width > length of any day name.
15629
15630 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15631
15632 * desktop.el (desktop-clear): Use new name of sort predicate.
15633
15634 * frameset.el (frameset): Add docstring. Move :version property to its
15635 own `version' slot.
15636 (frameset-copy): Rename from copy-frameset.
15637 (frameset-p): Check more thoroughly.
15638 (frameset-prop): Do not check for :version, which is no longer a prop.
15639 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15640 Use new :never value instead of t.
15641 (frameset-filter-alist): Expand and clarify docstring.
15642 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
15643 (frameset-filter-minibuffer, frameset-filter-save-param)
15644 (frameset-filter-restore-param, frameset-filter-iconified):
15645 Add pointer to docstring of frameset-filter-alist.
15646 (frameset-filter-params): Rename filter values to be more meaningful:
15647 :never instead of t, and reverse the meanings of :save and :restore.
15648 (frameset--process-minibuffer-frames): Clarify error message.
15649 (frameset-save): Avoid unnecessary and confusing call to framep.
15650 Use new BOA constructor for framesets.
15651 (frameset--reuse-list): Doc fix.
15652 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
15653 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
15654 (frameset-minibufferless-first-p): Doc fix.
15655 Rename from frameset-sort-frames-for-deletion.
15656 (frameset-restore): Doc fixes. Use new function names.
15657 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15658
15659 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15660
15661 * desktop.el (desktop-restore-forces-onscreen)
15662 (desktop-restore-reuses-frames): Document :keyword constant values.
15663 (desktop-filter-parameters-alist): Remove, now identical to
15664 frameset-filter-alist.
15665 (desktop--filter-tty*): Remove, moved to frameset.el.
15666 (desktop-save-frameset, desktop-restore-frameset):
15667 Do not pass :filters argument.
15668
15669 * frameset.el (frameset-live-filter-alist)
15670 (frameset-persistent-filter-alist): New variables.
15671 (frameset-filter-alist): Use them. Add autoload cookie.
15672 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
15673 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
15674 `frameset--id' (it's supposed to be internal to frameset.el).
15675 (frameset--process-minibuffer-frames): Ditto. Doc fix.
15676 (frameset--initial-params): New function.
15677 (frameset--get-frame): Use it. Doc fix.
15678 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
15679 Accept :all, not 'all.
15680 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
15681 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
15682 with fbound symbols. Fix frame id matching, and remove matching ids if
15683 the frame being restored is deleted. Obey :delete.
15684
15685 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15686
15687 * subr.el (macrop): New function.
15688 (text-clone--maintaining): New var.
15689 (text-clone--maintain): Rename from text-clone-maintain. Use it
15690 instead of inhibit-modification-hooks.
15691
15692 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
15693 a proxy, so as handle autoloads and redefinitions of the target.
15694 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
15695
15696 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
15697 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
15698 (pcase--mutually-exclusive-p): New function.
15699 (pcase--split-consp): Use it.
15700 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
15701 mutually exclusive with the current predicate.
15702
15703 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
15704 (edebug-macrop): Remove. Use `macrop' instead.
15705 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
15706 (ad-macro-p):
15707 * eshell/esh-cmd.el (eshell-macrop):
15708 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
15709
15710 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15711
15712 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
15713 (advice-mapc): New function, using it.
15714 (advice-function-member-p): New function.
15715 (advice--normalize): Store the cdr in advice--saved-rewrite since
15716 that's the part that will be changed.
15717 (advice--symbol-function): New function.
15718 (advice-remove): Handle removal before the function is defined.
15719 Adjust to new advice--saved-rewrite.
15720 (advice-member-p): Use advice-function-member-p and
15721 advice--symbol-function.
15722
15723 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15724
15725 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
15726 (frameset-filter-minibuffer): Doc fix.
15727 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
15728 (frameset--set-id, frameset--process-minibuffer-frames)
15729 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
15730 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
15731
15732 * desktop.el (desktop-clear): Only delete frames when called
15733 interactively and desktop-restore-frames is non-nil. Doc fix.
15734 (desktop-read): Set desktop-saved-frameset to nil.
15735
15736 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
15737
15738 * vc/vc.el (vc-ignore): Rewrite.
15739 (vc-default-ignore-completion-table, vc--read-lines)
15740 (vc--add-line, vc--remove-regexp): New functions.
15741
15742 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
15743 (vc-svn-ignore-completion-table): New function.
15744
15745 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
15746 (vc-hg-ignore-completion-table)
15747 (vc-hg-find-ignore-file): New functions.
15748
15749 * vc/vc-git.el (vc-git-ignore): Rewrite.
15750 (vc-git-ignore-completion-table)
15751 (vc-git-find-ignore-file): New functions.
15752
15753 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
15754
15755 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
15756 (vc-bzr-ignore-completion-table)
15757 (vc-bzr-find-ignore-file): New functions.
15758
15759 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
15760
15761 * frameset.el (frameset-prop): New function and setter.
15762 (frameset-save): Do not modify frame list passed by the caller.
15763
15764 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15765
15766 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
15767
15768 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
15769
15770 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
15771 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
15772
15773 * custom.el (custom-initialize-default, custom-initialize-set)
15774 (custom-initialize-reset, custom-initialize-changed): Affect the
15775 toplevel-default-value (bug#6275, bug#14586).
15776 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
15777 for bug#6275.
15778
15779 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15780
15781 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
15782 Add cl-def* expressions.
15783
15784 * frameset.el (frameset-filter-params): Fix order of arguments.
15785
15786 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15787
15788 Move code related to saving frames to frameset.el.
15789 * desktop.el: Require frameset.
15790 (desktop-restore-frames): Doc fix.
15791 (desktop-restore-reuses-frames): Rename from
15792 desktop-restoring-reuses-frames.
15793 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
15794 (desktop-clear): Clear frames too.
15795 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
15796 (desktop--filter-tty*, desktop-save, desktop-read):
15797 Use frameset functions.
15798 (desktop-before-saving-frames-functions, desktop--filter-*-color)
15799 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15800 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
15801 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
15802 (desktop--process-minibuffer-frames, desktop-save-frames)
15803 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
15804 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
15805 (desktop--sort-states, desktop-restoring-frames-p)
15806 (desktop-restore-frames): Remove. Most code moved to frameset.el.
15807 (desktop-restoring-frameset-p, desktop-restore-frameset)
15808 (desktop--check-dont-save, desktop-save-frameset): New functions.
15809 (desktop--app-id): New constant.
15810 (desktop-first-buffer, desktop-buffer-ok-count)
15811 (desktop-buffer-fail-count): Move before first use.
15812 * frameset.el: New file.
15813
15814 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15815
15816 * files.el: Use lexical-binding.
15817 (dir-locals-read-from-file): Remove unused `err' variable.
15818 (hack-dir-local-variables--warned-coding): New var.
15819 (hack-dir-local-variables): Use it to avoid repeated warnings.
15820 (make-backup-file-name--default-function): New function.
15821 (make-backup-file-name-function): Use it as default.
15822 (buffer-stale--default-function): New function.
15823 (buffer-stale-function): Use it as default.
15824 (revert-buffer-insert-file-contents--default-function): New function.
15825 (revert-buffer-insert-file-contents-function): Use it as default.
15826 (insert-directory): Avoid add-to-list.
15827
15828 * autorevert.el (auto-revert-handler): Simplify.
15829 Use buffer-stale--default-function.
15830
15831 2013-08-01 Tassilo Horn <tsdh@gnu.org>
15832
15833 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
15834
15835 * whitespace.el (whitespace-ensure-local-variables): New function.
15836 (whitespace-cleanup-region): Call it.
15837 (whitespace-turn-on): Call it.
15838
15839 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
15840
15841 Complete file name handlers.
15842
15843 * net/tramp.el (tramp-handle-set-visited-file-modtime)
15844 (tramp-handle-verify-visited-file-modtime)
15845 (tramp-handle-file-notify-rm-watch): New functions.
15846 (tramp-call-process): Do not bind `default-directory'.
15847
15848 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15849 Order alphabetically.
15850 <access-file, add-name-to-file, dired-call-process>:
15851 <dired-compress-file, file-acl, file-notify-rm-watch>:
15852 <file-ownership-preserved-p, file-selinux-context>:
15853 <make-directory-internal, make-symbolic-link, set-file-acl>:
15854 <set-file-selinux-context, set-visited-file-modtime>:
15855 <verify-visited-file-modtime>: Add handler.
15856 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
15857
15858 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
15859 <file-notify-add-watch, file-notify-rm-watch>:
15860 <set-file-times, set-visited-file-modtime>:
15861 <verify-visited-file-modtime>: Add handler.
15862 (with-tramp-gvfs-error-message)
15863 (tramp-gvfs-handle-set-visited-file-modtime)
15864 (tramp-gvfs-fuse-file-name): Remove.
15865 (tramp-gvfs-handle-file-notify-add-watch)
15866 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
15867 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
15868
15869 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15870 Order alphabetically.
15871 <file-notify-rm-watch>: Use default Tramp handler.
15872 <executable-find>: Remove private handler.
15873 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
15874 `default-directory'.
15875 (tramp-sh-handle-executable-find)
15876 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
15877 (tramp-sh-file-gvfs-monitor-dir-process-filter)
15878 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
15879 Do not use `format' in `tramp-message'.
15880
15881 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
15882 <file-notify-rm-watch, set-visited-file-modtime>:
15883 <verify-visited-file-modtime>: Add handler.
15884 (tramp-smb-call-winexe): Do not bind `default-directory'.
15885
15886 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
15887
15888 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
15889
15890 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
15891
15892 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
15893 use it.
15894 (log-view-diff-changeset): Same.
15895 (log-view-diff-common): Call backend command `previous-revision'
15896 to find out the previous revision, in both cases. Swap the
15897 variables `to' and `fr', so that `fr' usually refers to the
15898 earlier revision (Bug#14989).
15899
15900 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
15901
15902 * ibuf-ext.el (ibuffer-filter-by-filename):
15903 Make it work with dired buffers too.
15904
15905 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
15906
15907 * emacs-lisp/re-builder.el (reb-color-display-p):
15908 * files.el (save-buffers-kill-terminal):
15909 * net/browse-url.el (browse-url):
15910 * server.el (server-save-buffers-kill-terminal):
15911 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
15912 Prefer nil to selected-frame for the first arg of frame-parameter.
15913
15914 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
15915
15916 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
15917
15918 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
15919
15920 * minibuffer.el (completion--twq-all): Try and preserve each
15921 completion's case choice (bug#14907).
15922
15923 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15924
15925 * net/network-stream.el (open-network-stream): Mention the new
15926 :nogreeting parameter.
15927 (network-stream-open-starttls): Use the :nogreeting parameter
15928 (bug#14938).
15929
15930 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
15931
15932 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
15933 more natural than popping.
15934
15935 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
15936 (shr-urlify): Highlight under mouse.
15937
15938 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
15939
15940 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
15941
15942 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
15943
15944 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
15945 buffer for output.
15946
15947 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
15948 point-min==1. Fix search string. Fix parentheses missing.
15949
15950 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
15951 assume point-min==1. Fix search string. Fix parentheses missing.
15952
15953 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
15954
15955 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
15956 buffer for output.
15957
15958 2013-07-29 Eli Zaretskii <eliz@gnu.org>
15959
15960 * frame.el (frame-notice-user-settings): Avoid inflooping when the
15961 initial frame is minibuffer-less. (Bug#14841)
15962
15963 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
15964
15965 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
15966 option.
15967
15968 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15969 (tramp-maybe-open-connection): Use it.
15970
15971 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15972
15973 * desktop.el (desktop--make-frame): Include `minibuffer' in the
15974 minimal set of parameters passed when creating a frame, because
15975 the minibuffer status of a frame cannot be changed later.
15976
15977 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
15978
15979 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
15980 replace-regexp-in-string and inadvertent omissions in previous change.
15981 (todo-filter-items): Ensure only file names are comma-separated in
15982 name of filtered items buffer.
15983
15984 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15985
15986 * desktop.el: Optionally force offscreen frames back onscreen.
15987 (desktop-restoring-reuses-frames): New option.
15988 (desktop--compute-pos, desktop--move-onscreen): New functions.
15989 (desktop--make-frame): Use desktop--move-onscreen.
15990
15991 2013-07-27 Alan Mackenzie <acm@muc.de>
15992
15993 Fontify a Java generic method as a function.
15994 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
15995 value to t.
15996
15997 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
15998
15999 * calendar/todo-mode.el: Add command to rename todo files.
16000 (todo-rename-file): New command.
16001 (todo-key-bindings-t): Add key binding for it. Change the
16002 bindings of todo-filter-regexp-items(-multifile) to use `x'
16003 instead of `r', since the latter is better suited to the new
16004 renaming command.
16005
16006 2013-07-27 Alan Mackenzie <acm@muc.de>
16007
16008 Make Java try-with-resources statement parse properly.
16009 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
16010 (c-block-stmt-1-2-key): New language constants/variables.
16011 * progmodes/cc-engine.el (c-beginning-of-statement-1)
16012 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
16013 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
16014 with c-block-stmt-1-2-key.
16015
16016 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
16017
16018 * desktop.el (desktop--make-frame): Apply most frame parameters after
16019 creating the frame to force (partially or totally) offscreen frames to
16020 be restored as such.
16021
16022 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
16023
16024 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
16025 (Bug#14948)
16026
16027 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
16028
16029 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
16030 `base' arg of backtrace-frame.
16031
16032 2013-07-26 Eli Zaretskii <eliz@gnu.org>
16033
16034 * simple.el (list-processes): Doc fix.
16035
16036 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
16037
16038 * desktop.el (desktop--select-frame):
16039 Try harder to reuse existing frames.
16040
16041 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
16042
16043 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
16044 (edebug-eval): Use backtrace-eval.
16045 (edebug--display, edebug--recursive-edit): Don't let-bind the
16046 edebug-outer-* vars that keep track of variables we locally let-bind.
16047 (edebug-outside-excursion): Don't restore outside values of locally
16048 let-bound vars.
16049 (edebug--display): Use user-error.
16050 (cl-lexical-debug, cl-debug-env): Remove.
16051
16052 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
16053
16054 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
16055 are restored to be sure that they are visible before deleting any
16056 remaining ones.
16057
16058 2013-07-26 Matthias Meulien <orontee@gmail.com>
16059
16060 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
16061 vc-print-root-log. (Bug#14948)
16062
16063 2013-07-26 Richard Stallman <rms@gnu.org>
16064
16065 Add aliases for encrypting mail.
16066 * epa.el (epa-mail-aliases): New option.
16067 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
16068 Bind inhibit-read-only so read-only text doesn't ruin everything.
16069 (epa-mail-default-recipients): New subroutine broken out.
16070 Handle epa-mail-aliases.
16071
16072 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
16073
16074 Add support for lexical variables to the debugger's `e' command.
16075 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
16076 vars, except for debugger-outer-match-data.
16077 (debugger-frame-number): Move check for "on a function call" from
16078 callers into it. Add `skip-base' argument.
16079 (debugger-frame, debugger-frame-clear): Simplify accordingly.
16080 (debugger-env-macro): Only reset the state stored in non-variables,
16081 i.e. current-buffer and match-data.
16082 (debugger-eval-expression): Rewrite using backtrace-eval.
16083 * subr.el (internal--called-interactively-p--get-frame): Remove.
16084 (called-interactively-p):
16085 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
16086 `base' arg of backtrace-frame instead.
16087
16088 2013-07-26 Glenn Morris <rgm@gnu.org>
16089
16090 * align.el (align-regexp): Doc fix. (Bug#14857)
16091 (align-region): Explicit error if subexpression missing/does not match.
16092
16093 * simple.el (global-visual-line-mode):
16094 Do not duplicate the mode lighter. (Bug#14858)
16095
16096 2013-07-25 Martin Rudalics <rudalics@gmx.at>
16097
16098 * window.el (display-buffer): In display-buffer bind
16099 split-window-keep-point to t, bug#14829.
16100
16101 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
16102
16103 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
16104 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
16105 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
16106 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
16107 Change accordingly.
16108 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
16109 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
16110
16111 2013-07-25 Glenn Morris <rgm@gnu.org>
16112
16113 * dired-x.el (dired-mark-extension): Convert comment to doc string.
16114
16115 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
16116
16117 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
16118 parameter to modify-frame-parameters if the value has not changed;
16119 this is a workaround for bug#14949.
16120 (desktop--make-frame): On cl-delete-if call, check parameter name,
16121 not full parameter.
16122
16123 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
16124
16125 * vc/vc.el (vc-ignore): New function.
16126
16127 * vc/vc-svn.el (vc-svn-ignore): New function.
16128
16129 * vc/vc-hg.el (vc-hg-ignore): New function.
16130
16131 * vc/vc-git.el (vc-git-ignore): New function.
16132
16133 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
16134 (vc-dir-ignore): New function.
16135
16136 * vc/vc-cvs.el (vc-cvs-ignore): New function.
16137 (cvs-append-to-ignore): Move here from pcvs.el.
16138
16139 * vc/vc-bzr.el (vc-bzr-ignore): New function.
16140
16141 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
16142
16143 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
16144
16145 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
16146 (desktop-restore-frames): Warn when deleting an existing frame failed.
16147
16148 2013-07-24 Glenn Morris <rgm@gnu.org>
16149
16150 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
16151
16152 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
16153
16154 * filenotify.el (file-notify-supported-p):
16155 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16156 Remove functions.
16157
16158 * autorevert.el (auto-revert-use-notify)
16159 (auto-revert-notify-add-watch):
16160 * net/tramp.el (tramp-file-name-for-operation):
16161 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16162 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16163 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16164 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16165 Remove `file-notify-supported-p' entry.
16166
16167 2013-07-24 Glenn Morris <rgm@gnu.org>
16168
16169 * printing.el: Replace all uses of deleted ps-windows-system,
16170 ps-lp-system, ps-flatten-list with lpr- versions.
16171
16172 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
16173
16174 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
16175 checked with memq (bug#14935).
16176
16177 * files.el (revert-buffer-function): Use a non-nil default.
16178 (revert-buffer-preserve-modes): Declare var to
16179 provide access to the `preserve-modes' argument.
16180 (revert-buffer): Let-bind it.
16181 (revert-buffer--default): New function, extracted from revert-buffer.
16182
16183 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
16184
16185 * lpr.el: Signal print errors more prominently.
16186 (print-region-function): Don't default to nil.
16187 (lpr-print-region): New function, extracted from print-region-1.
16188 Check lpr's return value and signal an error in case of problem.
16189 (print-region-1): Use it.
16190 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
16191 versions instead.
16192 (ps-printer-name): Default to nil.
16193 (ps-printer-name-option): Default to lpr-printer-switch.
16194 (ps-print-region-function): Don't default to nil.
16195 (ps-postscript-code-directory): Simplify default.
16196 (ps-do-despool): Use lpr-print-region to properly check the outcome.
16197 (ps-string-list, ps-eval-switch, ps-flatten-list)
16198 (ps-flatten-list-1): Remove.
16199 (ps-multibyte-buffer): Avoid setq.
16200 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
16201 (print-region-function, ps-print-region-function): Don't set them here.
16202
16203 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
16204
16205 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
16206 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
16207 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
16208 (ido-decorations): Doc fix.
16209
16210 * ansi-color.el: Fix old URL.
16211
16212 2013-07-23 Michael R. Mauger <michael@mauger.com>
16213
16214 * progmodes/sql.el: Version 3.3
16215 (sql-product-alist): Improve oracle :prompt-cont-regexp.
16216 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
16217 (sql-interactive-remove-continuation-prompt): Rewrite, use
16218 functions above. Fix continuation prompt and complete output line
16219 handling.
16220 (sql-redirect-one, sql-execute): Use `read-only-mode' on
16221 redirected output buffer.
16222 (sql-mode): Restore deleted code (Bug#13591).
16223
16224 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
16225
16226 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
16227
16228 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
16229
16230 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
16231
16232 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16233 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16234 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
16235
16236 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
16237
16238 * desktop.el (desktop-clear): Simplify; remove useless checks
16239 against invalid buffer names.
16240 (desktop-list*): Use cl-list*.
16241 (desktop-buffer-info, desktop-create-buffer): Simplify.
16242
16243 2013-07-23 Leo Liu <sdl.web@gmail.com>
16244
16245 * bookmark.el (bookmark-make-record): Restore NAME as a default
16246 value. (Bug#14933)
16247
16248 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
16249
16250 * emacs-lisp/autoload.el (autoload--setup-output): New function,
16251 extracted from autoload--insert-text.
16252 (autoload--insert-text): Remove.
16253 (autoload--print-cookie-text): New function, extracted from
16254 autoload--insert-cookie-text.
16255 (autoload--insert-cookie-text): Remove.
16256 (autoload-generate-file-autoloads): Adjust calls accordingly.
16257
16258 * winner.el (winner-hook-installed-p): Remove.
16259 (winner-mode): Simplify accordingly.
16260
16261 * subr.el (add-to-list): Fix compiler-macro when `append' is
16262 not constant. Don't use `cl-member' for the base case.
16263
16264 * progmodes/subword.el: Fix boundary case (bug#13758).
16265 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
16266 own group.
16267 (subword-backward-regexp): Make it a constant.
16268 (subword-forward-internal): Don't treat a trailing capital as the
16269 beginning of a word.
16270
16271 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
16272
16273 * emacs-lisp/package.el (package-menu-mode): Don't modify the
16274 global value of tabulated-list-revert-hook (bug#14930).
16275
16276 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
16277
16278 * desktop.el: Require 'cl-lib.
16279 (desktop-before-saving-frames-functions): New hook.
16280 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
16281 for frames being saved. Rename from desktop--save-minibuffer-frames.
16282 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
16283 Do not save frames with non-nil `desktop-dont-save' parameter.
16284 Filter out deleted frames.
16285 (desktop--find-frame): Use cl-find-if.
16286 (desktop--select-frame): Use cl-(first|second|third) to access values
16287 of desktop-mini.
16288 (desktop--make-frame): Use cl-delete-if.
16289 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
16290 (desktop-restore-frames): Use cl-(first|second|third) to access values
16291 of desktop-mini. Look for visible frame at the end, not while
16292 restoring frames.
16293
16294 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
16295 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
16296 Use string-match-p, looking-at-p (bug#14927).
16297
16298 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
16299
16300 * desktop.el (desktop-saved-frame-states):
16301 Rename from desktop--saved-states; all users changed.
16302 (desktop-save-frames): Rename from desktop--save-frames.
16303 Do not save state to desktop file.
16304 (desktop-save): Save desktop-saved-frame-states to desktop file
16305 and reset to nil.
16306 (desktop-restoring-frames-p): New function.
16307 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
16308 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
16309 buffer-lists when restoring frames. Suggested by Martin Rudalics.
16310
16311 * desktop.el: Correctly restore iconified frames.
16312 (desktop--filter-iconified-position): New function.
16313 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
16314
16315 2013-07-20 Glenn Morris <rgm@gnu.org>
16316
16317 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
16318 Let `message' do the formatting.
16319 (def-gdb-preempt-display-buffer): Add explicit format.
16320
16321 * image-dired.el (image-dired-track-original-file):
16322 Use with-current-buffer.
16323 (image-dired-track-thumbnail): Use with-current-buffer.
16324 Avoid changing point of wrong window.
16325
16326 * image-dired.el (image-dired-track-original-file):
16327 Avoid changing point of wrong window. (Bug#14909)
16328
16329 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
16330
16331 * progmodes/gdb-mi.el (gdb-done-or-error):
16332 Guard against "%" in gdb output. (Bug#14127)
16333
16334 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
16335
16336 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
16337 (Bug#14826)
16338
16339 * international/mule.el (coding-system-iso-2022-flags): Fix last
16340 change.
16341
16342 2013-07-20 Kenichi Handa <handa@gnu.org>
16343
16344 * international/mule.el (coding-system-iso-2022-flags):
16345 Add `8-bit-level-4'. (Bug#8522)
16346
16347 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16348
16349 * net/shr.el (shr-mouse-browse-url): New command and keystroke
16350 (bug#14815).
16351
16352 * net/eww.el (eww-process-text-input): Allow inputting when the
16353 point is at the start of the line, as the properties aren't
16354 front-sticky.
16355
16356 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
16357 degenerate widths.
16358
16359 2013-07-19 Richard Stallman <rms@gnu.org>
16360
16361 * epa.el (epa-popup-info-window): Doc fix.
16362
16363 * subr.el (split-string): New arg TRIM.
16364
16365 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
16366
16367 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
16368 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
16369
16370 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
16371
16372 * filenotify.el (file-notify--library): Rename from
16373 `file-notify-support'. Do not autoload. Adapt all uses.
16374 (file-notify-supported-p): New defun.
16375
16376 * autorevert.el (auto-revert-use-notify):
16377 Use `file-notify-supported-p' instead of `file-notify-support'.
16378 Adapt docstring.
16379 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
16380
16381 * net/tramp.el (tramp-file-name-for-operation):
16382 Add `file-notify-supported-p'.
16383
16384 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16385 New defun.
16386 (tramp-sh-file-name-handler-alist): Add it as handler for
16387 `file-notify-supported-p '.
16388
16389 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16390 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16391 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16392 Add `ignore' as handler for `file-notify-*' functions.
16393
16394 2013-07-17 Eli Zaretskii <eliz@gnu.org>
16395
16396 * simple.el (line-move-partial, line-move): Don't start vscroll or
16397 scroll-up if the current line is not taller than the window.
16398 (Bug#14881)
16399
16400 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
16401
16402 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
16403 highlight question marks in the method names as strings.
16404 (ruby-block-beg-keywords): Inline.
16405 (ruby-font-lock-keyword-beg-re): Extract from
16406 `ruby-font-lock-keywords'.
16407
16408 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
16409
16410 * frame.el (blink-cursor-blinks): New defcustom.
16411 (blink-cursor-blinks-done): New defvar.
16412 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
16413 (blink-cursor-timer-function): Check if number of blinks has been
16414 done on X and NS.
16415 (blink-cursor-suspend, blink-cursor-check): New defuns.
16416
16417 2013-07-15 Glenn Morris <rgm@gnu.org>
16418
16419 * edmacro.el (edmacro-format-keys): Fix previous change.
16420
16421 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
16422
16423 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
16424 The hack didn't work outside English locales anyway.
16425
16426 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
16427
16428 * simple.el (define-alternatives): Rename from alternatives-define,
16429 per RMS' suggestion.
16430
16431 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
16432
16433 * desktop.el (desktop-restore-frames): Change default to t.
16434 (desktop-restore-in-current-display): Now offer more options.
16435 (desktop-restoring-reuses-frames): New customization option.
16436 (desktop--saved-states): Doc fix.
16437 (desktop-filter-parameters-alist): New variable, renamed and expanded
16438 from desktop--excluded-frame-parameters.
16439 (desktop--target-display): New variable.
16440 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
16441 (desktop--filter-tty*, desktop--filter-*-color)
16442 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16443 (desktop--filter-save-desktop-parm)
16444 (desktop-restore-in-original-display-p): New functions.
16445 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
16446 (desktop--save-minibuffer-frames): New function, inspired by a similar
16447 function from Martin Rudalics.
16448 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
16449 (desktop--restore-in-this-display-p): Remove.
16450 (desktop--find-frame): Rename from desktop--find-frame-in-display
16451 and add predicate argument.
16452 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
16453 (desktop--reuse-list): New variable.
16454 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
16455 New functions.
16456 (desktop--restore-frames): Add support for "minibuffer-special" frames.
16457
16458 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
16459
16460 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
16461
16462 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
16463
16464 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16465 Highlight conversion methods on Kernel.
16466
16467 2013-07-13 Alan Mackenzie <acm@muc.de>
16468
16469 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
16470 and comment it out. This out-commenting enables certain C++
16471 declarations to be parsed correctly.
16472
16473 2013-07-13 Eli Zaretskii <eliz@gnu.org>
16474
16475 * international/mule.el (define-coding-system): Doc fix.
16476
16477 * simple.el (default-font-height): Don't call font-info if the
16478 frame's default font didn't change since the frame was created.
16479 (Bug#14838)
16480
16481 2013-07-13 Leo Liu <sdl.web@gmail.com>
16482
16483 * ido.el (ido-read-file-name): Guard against non-symbol value.
16484
16485 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
16486
16487 * progmodes/python.el (python-imenu--build-tree): Fix corner case
16488 in nested defuns.
16489
16490 2013-07-13 Leo Liu <sdl.web@gmail.com>
16491
16492 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
16493 ido-set-matches call. (Bug#6852)
16494
16495 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
16496
16497 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
16498 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
16499 Ruby 2.0.
16500 (ruby-font-lock-keywords): Distinguish calls to functions with
16501 module-like names from module references. Highlight character
16502 literals.
16503
16504 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
16505
16506 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
16507 (gdb-send): Handle continued commands. (Bug#14847)
16508
16509 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16510
16511 * desktop.el (desktop--v2s): Remove unused local variable.
16512 (desktop-save-buffer): Make defvar-local; adjust docstring.
16513 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
16514 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
16515
16516 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
16517
16518 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
16519
16520 2013-07-12 Eli Zaretskii <eliz@gnu.org>
16521
16522 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
16523 (Bug#14842)
16524
16525 2013-07-12 Glenn Morris <rgm@gnu.org>
16526
16527 * doc-view.el: Require cl-lib at runtime too.
16528 (doc-view-remove-if): Remove.
16529 (doc-view-search-next-match, doc-view-search-previous-match):
16530 Use cl-remove-if.
16531
16532 * edmacro.el: Require cl-lib at runtime too.
16533 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
16534 (edmacro-mismatch, edmacro-subseq): Remove.
16535
16536 * shadowfile.el: Require cl-lib.
16537 (shadow-remove-if): Remove.
16538 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
16539 Use cl-remove-if.
16540
16541 * wid-edit.el: Require cl-lib.
16542 (widget-choose): Use cl-remove-if.
16543 (widget-remove-if): Remove.
16544
16545 * progmodes/ebrowse.el: Require cl-lib at runtime too.
16546 (ebrowse-delete-if-not): Remove.
16547 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
16548 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
16549 Use cl-delete-if-not.
16550
16551 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16552
16553 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
16554 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
16555
16556 2013-07-12 Leo Liu <sdl.web@gmail.com>
16557
16558 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
16559
16560 2013-07-11 Glenn Morris <rgm@gnu.org>
16561
16562 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
16563 (edebug-gensym-index, edebug-gensym):
16564 Remove reimplementation of cl-gensym.
16565 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
16566
16567 * thumbs.el: Require cl-lib at run-time too.
16568 (thumbs-gensym-counter, thumbs-gensym):
16569 Remove reimplementation of cl-gensym.
16570 (thumbs-temp-file): Use cl-gensym.
16571
16572 * emacs-lisp/ert.el: Require cl-lib at runtime too.
16573 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
16574 (ert--intersection, ert--set-difference, ert--set-difference-eq)
16575 (ert--union, ert--gensym-counter, ert--gensym-counter)
16576 (ert--coerce-to-vector, ert--remove*, ert--string-position)
16577 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
16578 (ert-make-test-unbound, ert--expand-should-1)
16579 (ert--expand-should, ert--should-error-handle-error)
16580 (should-error, ert--explain-equal-rec)
16581 (ert--plist-difference-explanation, ert-select-tests)
16582 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
16583 Use cl-lib functions rather than reimplementations.
16584
16585 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
16586
16587 * net/tramp.el (tramp-methods): Extend docstring.
16588 (tramp-connection-timeout): New defcustom.
16589 (tramp-error-with-buffer): Reset timestamp only when appropriate.
16590 (with-tramp-progress-reporter): Simplify.
16591 (tramp-process-actions): Improve messages.
16592
16593 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16594 * net/tramp-sh.el (tramp-maybe-open-connection):
16595 Use `tramp-connection-timeout'.
16596 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
16597 (Bug#14808)
16598
16599 2013-07-11 Leo Liu <sdl.web@gmail.com>
16600
16601 * ido.el (ido-read-file-name): Conform to the requirements of
16602 read-file-name. (Bug#11861)
16603 (ido-read-directory-name): Conform to the requirements of
16604 read-directory-name.
16605
16606 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
16607
16608 * subr.el (delay-warning): New function.
16609
16610 2013-07-10 Eli Zaretskii <eliz@gnu.org>
16611
16612 * simple.el (default-line-height): New function.
16613 (line-move-partial, line-move): Use it instead of computing the
16614 line height inline.
16615 (line-move-partial): Always compute ROWH. If the last line is
16616 partially-visible, but its text is completely visible, allow
16617 cursor to enter such a partially-visible line.
16618
16619 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
16620
16621 Improve error messages. (Bug#14808)
16622
16623 * net/tramp.el (tramp-current-connection): New defvar, moved from
16624 tramp-sh.el.
16625 (tramp-message-show-progress-reporter-message): Remove, not
16626 needed anymore.
16627 (tramp-error-with-buffer): Show message in minibuffer.
16628 Discard input before waiting. Reset connection timestamp.
16629 (with-tramp-progress-reporter): Improve messages.
16630 (tramp-process-actions): Use progress reporter. Delete process in
16631 case of error. Improve messages.
16632
16633 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
16634 Call `tramp-error-with-buffer' with vector and buffer.
16635 (tramp-current-connection): Remove.
16636 (tramp-maybe-open-connection): The car of
16637 `tramp-current-connection' are the first 3 slots of the vector.
16638
16639 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
16640
16641 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
16642 inside continued strings.
16643
16644 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
16645
16646 Timestamp fixes for undo (Bug#14824).
16647 * files.el (clear-visited-file-modtime): Move here from fileio.c.
16648
16649 2013-07-10 Leo Liu <sdl.web@gmail.com>
16650
16651 * files.el (require-final-newline): Allow safe local value.
16652 (Bug#14834)
16653
16654 2013-07-09 Leo Liu <sdl.web@gmail.com>
16655
16656 * ido.el (ido-read-directory-name): Handle fallback.
16657 (ido-read-file-name): Update DIR to ido-current-directory.
16658 (Bug#1516)
16659 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
16660
16661 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
16662
16663 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
16664 "autoload". Remove "warn lower camel case" section, previously
16665 commented out. Highlight negation char. Do not highlight the
16666 target in singleton method definitions.
16667
16668 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16669
16670 * faces.el (tty-setup-hook): Declare the hook.
16671
16672 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
16673 and detect when a guard/pred depends on local vars (bug#14773).
16674 (pcase--u1): Adjust caller.
16675
16676 2013-07-08 Eli Zaretskii <eliz@gnu.org>
16677
16678 * simple.el (line-move-partial, line-move): Account for
16679 line-spacing.
16680 (line-move-partial): Avoid setting vscroll when the last
16681 partially-visible line in window is of default height.
16682
16683 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16684
16685 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
16686 been used a while.
16687
16688 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
16689
16690 * subr.el (read-quoted-char): Remove unused local variable `char'.
16691
16692 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
16693
16694 * vc/ediff.el (ediff-version): Version update.
16695 (ediff-files-command, ediff3-files-command, ediff-merge-command)
16696 (ediff-merge-with-ancestor-command, ediff-directories-command)
16697 (ediff-directories3-command, ediff-merge-directories-command)
16698 (ediff-merge-directories-with-ancestor-command): New functions.
16699 All are command-line interfaces to ediff: to facilitate calling
16700 Emacs with the appropriate ediff functions invoked.
16701
16702 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
16703 New function.
16704 (viper-save-kill-buffer): Check if buffer is modified.
16705
16706 * emulation/viper.el (viper-version): Version update.
16707 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
16708
16709 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
16710
16711 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
16712 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
16713 (viper-intercept-ESC-key): Simplify.
16714 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
16715 don't use kbd.
16716 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
16717 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
16718 (viper-setup-ESC-to-escape): New functions.
16719 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
16720 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
16721
16722 2013-07-07 Eli Zaretskii <eliz@gnu.org>
16723
16724 * simple.el (default-font-height, window-screen-lines):
16725 New functions.
16726 (line-move, line-move-partial): Use them instead of
16727 frame-char-height and window-text-height. This makes scrolling
16728 text smoother when the buffer's default face uses a font that is
16729 different from the frame's default font.
16730
16731 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
16732
16733 * files.el (write-file): Do not display confirm dialog for NS,
16734 it does its own dialog, which can't be canceled (Bug#14578).
16735
16736 2013-07-06 Eli Zaretskii <eliz@gnu.org>
16737
16738 * simple.el (line-move-partial): Adjust the row returned by
16739 posn-at-point for the current window-vscroll. (Bug#14567)
16740
16741 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
16742
16743 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
16744 (tramp-sh-file-inotifywait-process-filter): Handle file names with
16745 spaces.
16746
16747 2013-07-06 Martin Rudalics <rudalics@gmx.at>
16748
16749 * window.el (window-state-put-stale-windows): New variable.
16750 (window--state-put-2): Save list of windows without matching buffer.
16751 (window-state-put): Remove "bufferless" windows if possible.
16752
16753 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16754
16755 * simple.el (alternatives-define): Remove leftover :group keyword.
16756 Tweak docstring.
16757
16758 2013-07-06 Leo Liu <sdl.web@gmail.com>
16759
16760 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
16761 (ido-enable-virtual-buffers): New variable.
16762 (ido-buffer-internal, ido-toggle-virtual-buffers)
16763 (ido-make-buffer-list): Use it.
16764 (ido-exhibit): Support turning on and off virtual buffers
16765 automatically.
16766
16767 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16768
16769 * simple.el (alternatives-define): New macro.
16770
16771 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
16772
16773 * subr.el (read-quoted-char): Use read-key.
16774 (sit-for): Let read-event decode tty input (bug#14782).
16775
16776 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
16777
16778 * calendar/todo-mode.el: Add handling of file deletion, both by
16779 mode command and externally. Fix various related bugs.
16780 Clarify Commentary and improve some documentation strings and code.
16781 (todo-delete-file): New command.
16782 (todo-check-file): New function.
16783 (todo-show): Handle external deletion of the file we're trying to
16784 show (bug#14688). Replace called-interactively-p by an optional
16785 prefix argument to avoid problematic interaction with catch form
16786 when byte compiled (bug#14702).
16787 (todo-quit): Handle external deletion of the archive's todo file.
16788 Make sure the buffer that was visiting the archive file is still
16789 live before trying to bury it.
16790 (todo-category-completions): Handle external deletion of any
16791 category completion files.
16792 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
16793 of todo files, in case of external deletion.
16794 (todo-add-file): Replace unnecessary setq by let-binding.
16795 (todo-find-archive): Check whether there are any archives.
16796 Replace unnecessary setq by let-binding.
16797 (todo-archive-done-item): Use find-file-noselect to get the
16798 archive buffer whether or not the archive already exists.
16799 Remove superfluous code. Use file size instead of buffer-file-name to
16800 check if the archive is new; if it is, update list of archives.
16801 (todo-default-todo-file): Allow nil to be a valid value for when
16802 there are no todo files.
16803 (todo-reevaluate-default-file-defcustom): Use corrected definition
16804 of todo-default-todo-file.
16805 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
16806 (todo-delete-category, todo-show-categories-table)
16807 (todo-category-number): Clarify comment.
16808 (todo-filter-items): Clarify documentation string.
16809 (todo-show-current-file, todo-display-as-todo-file)
16810 (todo-reset-and-enable-done-separator): Tweak documentation string.
16811 (todo-done-separator): Make separator length window-width, since
16812 bug#2749 is now fixed.
16813
16814 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
16815
16816 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16817 Support both "gvfs-monitor-dir" and "inotifywait".
16818 (tramp-sh-file-inotifywait-process-filter): Rename from
16819 `tramp-sh-file-notify-process-filter'.
16820 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16821 (tramp-get-remote-gvfs-monitor-dir): New defuns.
16822
16823 2013-07-05 Leo Liu <sdl.web@gmail.com>
16824
16825 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
16826
16827 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16828
16829 * frame.el (display-pixel-height, display-pixel-width)
16830 (display-mm-height, display-mm-width): Mention behavior on
16831 multi-monitor setups in docstrings.
16832 (w32-display-monitor-attributes-list): Declare function.
16833 (display-monitor-attributes-list): Use it.
16834
16835 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
16836
16837 * filenotify.el: New package.
16838
16839 * autorevert.el (top): Require filenotify.el.
16840 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
16841 instead.
16842 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16843 (auto-revert-notify-handler): Use `file-notify-*' functions.
16844
16845 * subr.el (file-notify-handle-event): Move function to filenotify.el.
16846
16847 * net/tramp.el (tramp-file-name-for-operation):
16848 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
16849
16850 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
16851 for `file-notify-add-watch' and `file-notify-rm-watch'.
16852 (tramp-process-sentinel): Improve trace.
16853 (tramp-sh-handle-file-notify-add-watch)
16854 (tramp-sh-file-notify-process-filter)
16855 (tramp-sh-handle-file-notify-rm-watch)
16856 (tramp-get-remote-inotifywait): New defuns.
16857
16858 2013-07-03 Juri Linkov <juri@jurta.org>
16859
16860 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
16861 call of `occur-read-primary-args' to interactive spec.
16862
16863 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
16864 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
16865
16866 2013-07-03 Matthias Meulien <orontee@gmail.com>
16867
16868 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
16869 `Buffer-menu-multi-occur'. Add it to the menu.
16870 (Buffer-menu-mode): Document it in docstring.
16871 (Buffer-menu-multi-occur): New command. (Bug#14673)
16872
16873 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16874
16875 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
16876 keywords and built-ins.
16877
16878 2013-07-03 Glenn Morris <rgm@gnu.org>
16879
16880 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
16881
16882 Make info-xref checks case-sensitive by default
16883 * info.el (Info-find-node, Info-find-in-tag-table)
16884 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
16885 Add option for exact case matching of nodes.
16886 * info-xref.el (info-xref): New custom group.
16887 (info-xref-case-fold): New option.
16888 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
16889
16890 2013-07-03 Leo Liu <sdl.web@gmail.com>
16891
16892 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
16893
16894 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16895
16896 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
16897 middle of block statement initially, lower the depth. Remove
16898 FIXME comment, not longer valid. Remove middle of block statement
16899 detection, no need to do that anymore since we've been using
16900 `ruby-parse-region' here.
16901
16902 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
16903
16904 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
16905
16906 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
16907
16908 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
16909
16910 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
16911
16912 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
16913 (desktop-restore-in-current-display): New customization option.
16914 (desktop--excluded-frame-parameters): Add `font'.
16915 (desktop--save-frames): Rename from desktop--save-windows.
16916 (desktop--restore-in-this-display-p): New function.
16917 (desktop--make-full-frame): Remove unwanted width/height from
16918 full(width|height) frames.
16919 (desktop--restore-frames): Rename from desktop--restore-windows.
16920 Obey desktop-restore-current-display. Do not delete old frames or
16921 select a new frame unless we were able to restore at least one frame.
16922
16923 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
16924
16925 * files.el (find-file-noselect): Simplify conditional expression.
16926
16927 * textmodes/remember.el (remember-append-to-file):
16928 Don't mix `find-buffer-visiting' and `get-file-buffer'.
16929
16930 Add `remember-notes' function to store random notes across Emacs
16931 restarts.
16932 * textmodes/remember.el (remember-data-file): Add :set callback to
16933 affect notes buffer (if any).
16934 (remember-notes): New command.
16935 (remember-notes-buffer-name, bury-remember-notes-on-kill):
16936 New defcustoms for the `remember-notes' function.
16937 (remember-notes-save-and-bury-buffer): New command.
16938 (remember-notes-mode-map): New variable.
16939 (remember-mode): New minor mode.
16940 (remember-notes--kill-buffer-query): New function.
16941 * startup.el (initial-buffer-choice): Add notes to custom type.
16942
16943 2013-06-30 Eli Zaretskii <eliz@gnu.org>
16944
16945 * bindings.el (right-char, left-char): Don't call sit-for, this is
16946 no longer needed. Use arithmetic comparison only for numerical
16947 arguments.
16948
16949 * international/mule-cmds.el (select-safe-coding-system):
16950 Handle the case of FROM being a string correctly. (Bug#14755)
16951
16952 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16953
16954 * net/shr.el (shr-make-table-1): Add a sanity check that allows
16955 progression on degenerate tables.
16956 (shr-rescale-image): ImageMagick animated images currently don't work.
16957
16958 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
16959
16960 Some fixes and improvements for desktop frame restoration.
16961 It is still experimental and disabled by default.
16962 * desktop.el (desktop--save-windows): Put the selected frame at
16963 the head of the list.
16964 (desktop--make-full-frame): New function.
16965 (desktop--restore-windows): Try to re-select the frame that was
16966 selected upon saving. Do not abort if some frames fail to restore,
16967 just show an error message and continue. Set up maximized frames
16968 so they have default non-maximized dimensions.
16969
16970 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
16971
16972 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
16973 Don't start heredoc inside a string or comment.
16974
16975 2013-06-29 Eli Zaretskii <eliz@gnu.org>
16976
16977 * bindings.el (visual-order-cursor-movement): New defcustom.
16978 (right-char, left-char): Provide visual-order cursor motion by
16979 calling move-point-visually. Update the doc strings.
16980
16981 2013-06-28 Kenichi Handa <handa@gnu.org>
16982
16983 * international/mule.el (define-coding-system): New coding system
16984 properties :inhibit-null-byte-detection,
16985 :inhibit-iso-escape-detection, and :prefer-utf-8.
16986 (set-buffer-file-coding-system): If :charset-list property of
16987 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
16988 appropriate for setting.
16989
16990 * international/mule-cmds.el (select-safe-coding-system):
16991 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
16992 multibyte characters, return utf-8 (or one of its siblings).
16993
16994 * international/mule-conf.el (prefer-utf-8): New coding system.
16995 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
16996 files.
16997
16998 2013-06-28 Ivan Kanis <ivan@kanis.fr>
16999
17000 * net/shr.el (shr-render-region): New function.
17001
17002 * net/eww.el: Autoload `eww-browse-url'.
17003
17004 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
17005
17006 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17007 Adapt to `package-desc-version' being a list.
17008 Use `package--ac-desc-version' to retrieve version from a package
17009 archive element.
17010
17011 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
17012
17013 New experimental feature to save&restore window and frame setup.
17014 * desktop.el (desktop-save-windows): New defcustom.
17015 (desktop--saved-states): New var.
17016 (desktop--excluded-frame-parameters): New defconst.
17017 (desktop--filter-frame-parms, desktop--find-frame-in-display)
17018 (desktop--restore-windows, desktop--save-windows): New functions.
17019 (desktop-save): Call `desktop--save-windows'.
17020 (desktop-read): Call `desktop--restore-windows'.
17021
17022 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17023
17024 * net/shr.el (add-face-text-property): Remove compat definition.
17025
17026 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
17027
17028 * info.el (Info-try-follow-nearest-node): Move search for footnote
17029 above search for node name to prevent missing a footnote (bug#14717).
17030
17031 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
17032
17033 * obsolete/otodo-mode.el: Add obsolescence info to file header.
17034
17035 2013-06-27 Leo Liu <sdl.web@gmail.com>
17036
17037 * net/eww.el (eww-read-bookmarks): Check file size.
17038
17039 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
17040
17041 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
17042 advice--pending if newdef is nil or an autoload (bug#13820).
17043 (advice-mapc): New function.
17044
17045 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17046
17047 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
17048 probably.
17049 (eww-mode-map): Add a menu bar.
17050 (eww-add-bookmark): New command.
17051 (eww-bookmark-mode): New mode and commands.
17052 (eww-add-bookmark): Remove newlines from the title.
17053 (eww-bookmark-browse): Don't bug out if it's the only window.
17054
17055 2013-06-26 Glenn Morris <rgm@gnu.org>
17056
17057 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
17058 (hfy-size): Handle ttys. (Bug#14668)
17059
17060 * info-xref.el: Update for Texinfo 5 change in *note format.
17061 (info-xref-node-re, info-xref-note-re): New constants.
17062 (info-xref-check-buffer): Use info-xref-note-re.
17063
17064 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
17065
17066 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
17067
17068 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
17069 nil terminate the loop (bug#14718).
17070
17071 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
17072
17073 * net/eww.el: Rework history traversal. When going forward/back,
17074 put these actions into the history, too, so that they can be
17075 replayed.
17076 (eww-render): Move the history reset to the correct buffer.
17077
17078 2013-06-25 Juri Linkov <juri@jurta.org>
17079
17080 * files-x.el (modify-dir-local-variable): Change the header comment
17081 in the file with directory local variables. (Bug#14692)
17082
17083 * files-x.el (read-file-local-variable-value): Add `default'.
17084 (Bug#14710)
17085
17086 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
17087
17088 * net/eww.el (eww-make-unique-file-name): Create a unique file
17089 name before saving to entering `y' accidentally asynchronously.
17090
17091 2013-06-25 Ivan Kanis <ivan@kanis.fr>
17092
17093 * net/eww.el (eww-download): New command and keystroke.
17094
17095 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
17096
17097 * net/eww.el (eww-copy-page-url): Change name of command.
17098
17099 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
17100 be more consistent with Info and dired.
17101
17102 * net/eww.el (eww-mode-map): Ditto.
17103
17104 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17105
17106 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
17107 packages from archives.
17108 (package-archive-contents): Change format; include obsolete packages.
17109 (package-desc): Use `dir' to mark builtin packages.
17110 (package--from-builtin): Set the `dir' field to `builtin'.
17111 (generated-autoload-file, version-control): Declare.
17112 (package-compute-transaction): Change first arg and return value to be
17113 lists of package-descs. Adjust to new package-archive-contents format.
17114 (package--add-to-archive-contents): Adjust to new
17115 package-archive-contents format.
17116 (package-download-transaction): Arg is now a list of package-descs.
17117 (package-install): If `pkg' is a package name, pass it as
17118 a requirement, so it is subject to the usual (e.g. disabled) checks.
17119 (describe-package): Accept package-desc as well.
17120 (describe-package-1): Describe a specific package-desc. Add links to
17121 other package-descs for the same package name.
17122 (package-menu-describe-package): Pass the actual package-desc.
17123 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
17124 works correctly.
17125 (package-desc-status): New function.
17126 (package-menu--refresh): New function, extracted
17127 from package-menu--generate.
17128 (package-menu--generate): Use it.
17129 (package-delete): Update package-alist.
17130 (package-menu-execute): Don't call package-initialize.
17131
17132 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
17133 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
17134 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
17135 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
17136 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
17137 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
17138
17139 2013-06-25 Martin Rudalics <rudalics@gmx.at>
17140
17141 * window.el (window--state-get-1): Workaround for bug#14527.
17142 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
17143
17144 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
17145
17146 * net/eww.el (eww-back-url): Implement the history by stashing all
17147 the data into a list.
17148 (eww-forward-url): Allow going forward in the history, too.
17149
17150 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17151
17152 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
17153 for values and use read--expression for expressions (bug#14710).
17154 (read-file-local-variable): Avoid setq.
17155 (read-file-local-variable-mode): Use minor-mode-list.
17156
17157 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17158
17159 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
17160 for DOI URLs.
17161
17162 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17163
17164 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
17165 Update imenu-support when dialect changes.
17166
17167 2013-06-25 Leo Liu <sdl.web@gmail.com>
17168
17169 * ido.el (ido-read-internal): Allow forward slash on windows.
17170
17171 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
17172
17173 * net/eww.el (eww): Start of strings is \\`, not ^.
17174
17175 2013-06-24 Ivan Kanis <ivan@kanis.fr>
17176
17177 * net/shr.el (shr-browse-url): Fix interactive spec.
17178
17179 * net/eww.el (eww): Add a trailing slash to domain names.
17180
17181 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
17182
17183 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
17184
17185 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
17186
17187 * net/shr.el (shr-browse-url): Use an external browser if given a
17188 prefix.
17189
17190 * net/eww.el (eww-external-browser): Move to shr.
17191
17192 2013-06-24 Ivan Kanis <ivan@kanis.fr>
17193
17194 * net/eww.el (eww): Work more correctly for file: URLs.
17195 (eww-detect-charset): Allow quoted charsets.
17196 (eww-yank-page-url): New command and keystroke.
17197
17198 2013-06-24 Daiki Ueno <ueno@gnu.org>
17199
17200 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
17201 file name of gpg executable.
17202 (epg-context-program): New function.
17203 (epg-context-home-directory): New function.
17204 (epg-context-set-program): New function.
17205 (epg-context-set-home-directory): New function.
17206 (epg--start): Use `epg-context-program' instead of
17207 'epg-gpg-program'.
17208 (epg--list-keys-1): Likewise.
17209
17210 2013-06-24 Leo Liu <sdl.web@gmail.com>
17211
17212 * ido.el (ido-read-internal): Fix bug#14620.
17213
17214 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
17215
17216 * faces.el (face-documentation): Simplify.
17217 (read-face-attribute, tty-find-type, x-resolve-font-name):
17218 Use `string-match-p'.
17219 (list-faces-display): Use `string-match-p'. Simplify.
17220 (face-spec-recalc): Check face to avoid face alias loops.
17221 (read-color): Use `string-match-p' and non-capturing parenthesis.
17222
17223 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17224
17225 * net/shr.el (shr-rescale-image): Use the new
17226 :max-width/:max-height functionality.
17227
17228 2013-06-23 Ivan Kanis <ivan@kanis.fr>
17229
17230 * net/eww.el (eww-search-prefix): New variable.
17231 (eww): Use it.
17232 (eww-external-browser): New variable.
17233 (eww-mode-map): New keystroke.
17234 (eww-browse-with-external-browser): New command.
17235
17236 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
17237
17238 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
17239
17240 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
17241 Don't skip aligning the next header field when padding is 0;
17242 otherwise, field width is not respected unless the title is as
17243 wide as the field.
17244
17245 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
17246
17247 * emacs-lisp/package.el (package-el-version): Remove.
17248 (package-process-define-package): Fix inf-loop.
17249 (package-install): Allow symbols as arguments again.
17250
17251 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
17252
17253 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
17254 add some more keyword-like methods.
17255 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
17256
17257 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
17258
17259 * bs.el (bs-buffer-show-mark): Make defvar-local.
17260 (bs-mode): Use setq-local.
17261
17262 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
17263 (emacs-lock--try-unlocking): Make defvar-local.
17264
17265 2013-06-22 Glenn Morris <rgm@gnu.org>
17266
17267 * play/cookie1.el (cookie-apropos): Minor simplification.
17268
17269 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
17270
17271 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
17272
17273 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
17274 `regexp-opt', it breaks the build during dumping.
17275
17276 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
17277
17278 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17279 Highlight keyword-like methods on Kernel and Module with
17280 font-lock-builtin-face.
17281 (auto-mode-alist): Consolidate different entries into one regexp
17282 and add more *file-s.
17283
17284 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
17285
17286 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
17287
17288 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
17289 (diary-entry): Use it in the action of this button type instead of
17290 diary-goto-entry.
17291
17292 * calendar/todo-mode.el: New version.
17293 (todo-add-category): Append new category to end of file and give
17294 it the highest number, instead of putting it at the beginning and
17295 giving it 0. Incorporate noninteractive functionality.
17296 (todo-forward-category): Adapt to 1-based category numbering.
17297 Allow skipping over archived categories.
17298 (todo-backward-category): Derive from todo-forward-category.
17299 (todo-backward-item, todo-forward-item): Make noninteractive and
17300 delegate interactive part to new commands. Make sensitive to done items.
17301 (todo-categories): Make value an alist of category names and
17302 vectors of item counts.
17303 (todo-category-beg): Make a defconst.
17304 (todo-category-number): Use 1 instead of 0 as initial value.
17305 (todo-category-select): Make sensitive to overlays, optional item
17306 highlighting and done items.
17307 (todo-delete-item): Make sensitive to overlays and marked and done items.
17308 (todo-edit-item): Make sensitive to overlays and editing of
17309 date/time header optional. Add format checks.
17310 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
17311 no-op if point is not on an item. Advertise using todo-edit-quit.
17312 (todo-edit-mode): Make sensitive to new format, font-locking, and
17313 multiple todo files.
17314 (todo-insert-item, todo-insert-item-here): Derive from
17315 todo-basic-insert-item and extend functionality.
17316 (todo-item-end, todo-item-start): Make sensitive to done items.
17317 (todo-item-string): Don't return text properties. Restore point.
17318 (todo-jump-to-category): Make sensitive to multiple todo files and
17319 todo archives. Use extended category completion.
17320 (todo-lower-item, todo-raise-item): Rename to *-priority and
17321 derive from todo-set-item-priority.
17322 (todo-mode): Derive from special-mode. Make sensitive to new
17323 format, font-locking and multiple todo files. Make read-only.
17324 (todo-mode-map): Don't suppress digit keys, so they can supply
17325 prefix arguments. Add many new key bindings.
17326 (todo-prefix): Insert as an overlay instead of file text.
17327 Change semantics from diary date expression to purely visual mark.
17328 (todo-print): Rename to todo-print-buffer. Make buffer display
17329 features printable. Remove option to restrict number of items
17330 printed. Add option to print to file.
17331 (todo-print-function): Rename to todo-print-buffer-function.
17332 (todo-quit): Extend to handle exiting new todo modes.
17333 (todo-remove-item): Make sensitive to overlays.
17334 (todo-save): Extend to buffers of filtered items.
17335 (todo-show): Make sensitive to done items, multiple todo files and
17336 new todo modes. Offer to convert legacy todo file before creating
17337 first new todo file.
17338 (todo-show-priorities): Rename to todo-top-priorities.
17339 Change semantics of value 0.
17340 (todo-top-priorities): Rename to todo-filter-top-priorities,
17341 derive from todo-filter-items and extend functionality.
17342 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
17343 and extend functionality to other types of filtered items.
17344 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
17345 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
17346 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
17347 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
17348 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
17349 (todo-edit-mode-hook, todo-entry-prefix-function)
17350 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
17351 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
17352 (todo-initials, todo-insert-threshold, todo-item-string-start)
17353 (todo-line-string, todo-menu, todo-mode-hook)
17354 (todo-more-important-p, todo-previous-answer, todo-previous-line)
17355 (todo-print-priorities, todo-remove-separator)
17356 (todo-save-top-priorities-too, todo-string-count-lines)
17357 (todo-string-multiline-p, todo-time-string-format)
17358 (todo-tmp-buffer-name): Remove.
17359 (todo-add-file, todo-archive-done-item, todo-choose-archive)
17360 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
17361 (todo-edit-category-diary-inclusion)
17362 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
17363 (todo-edit-file, todo-edit-item-date-day)
17364 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
17365 (todo-edit-item-date-month, todo-edit-item-date-to-today)
17366 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
17367 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
17368 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
17369 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
17370 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
17371 (todo-filter-top-priorities-multifile, todo-find-archive)
17372 (todo-find-filtered-items-file, todo-go-to-source-item)
17373 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
17374 (todo-jump-to-archive-category, todo-lower-category)
17375 (todo-mark-category, todo-marked-item-p, todo-merge-category)
17376 (todo-move-category, todo-move-item, todo-next-button)
17377 (todo-next-item, todo-padded-string, todo-powerset)
17378 (todo-previous-button, todo-previous-item)
17379 (todo-print-buffer-to-file, todo-raise-category)
17380 (todo-rename-category, todo-repair-categories-sexp, todo-search)
17381 (todo-set-category-number, todo-set-item-priority)
17382 (todo-set-top-priorities-in-category)
17383 (todo-set-top-priorities-in-file, todo-show-categories-table)
17384 (todo-sort-categories-alphabetically-or-numerically)
17385 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
17386 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
17387 (todo-toggle-item-header, todo-toggle-item-highlighting)
17388 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
17389 (todo-toggle-view-done-items, todo-toggle-view-done-only)
17390 (todo-unarchive-items, todo-unmark-category): New commands.
17391 (todo-absolute-file-name, todo-add-to-buffer-list)
17392 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
17393 (todo-basic-insert-item, todo-category-completions)
17394 (todo-category-number, todo-category-string-matcher-1)
17395 (todo-category-string-matcher-2, todo-check-filtered-items-file)
17396 (todo-check-format, todo-clear-matches)
17397 (todo-comment-string-matcher, todo-convert-legacy-date-time)
17398 (todo-current-category, todo-date-string-matcher)
17399 (todo-define-insertion-command, todo-diary-expired-matcher)
17400 (todo-diary-goto-entry, todo-diary-item-p)
17401 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
17402 (todo-display-categories, todo-display-sorted, todo-done-item-p)
17403 (todo-done-item-section-p, todo-done-separator)
17404 (todo-done-string-matcher, todo-files, todo-filter-items)
17405 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
17406 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
17407 (todo-insert-category-line, todo-insert-item-from-calendar)
17408 (todo-insert-sort-button, todo-insert-with-overlays)
17409 (todo-insertion-command-name, todo-insertion-key-bindings)
17410 (todo-label-to-key, todo-longest-category-name-length)
17411 (todo-make-categories-list, todo-mode-external-set)
17412 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
17413 (todo-modes-set-3, todo-multiple-filter-files)
17414 (todo-nondiary-marker-matcher, todo-prefix-overlays)
17415 (todo-read-category, todo-read-date, todo-read-dayname)
17416 (todo-read-file-name, todo-read-time)
17417 (todo-reevaluate-category-completions-files-defcustom)
17418 (todo-reevaluate-default-file-defcustom)
17419 (todo-reevaluate-filelist-defcustoms)
17420 (todo-reevaluate-filter-files-defcustom)
17421 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
17422 (todo-reset-done-separator, todo-reset-done-separator-string)
17423 (todo-reset-done-string, todo-reset-global-current-todo-file)
17424 (todo-reset-highlight-item, todo-reset-nondiary-marker)
17425 (todo-reset-prefix, todo-set-categories)
17426 (todo-set-date-from-calendar, todo-set-show-current-file)
17427 (todo-set-top-priorities, todo-short-file-name)
17428 (todo-show-current-file, todo-sort, todo-time-string-matcher)
17429 (todo-total-item-counts, todo-update-buffer-list)
17430 (todo-update-categories-display, todo-update-categories-sexp)
17431 (todo-update-count, todo-validate-name, todo-y-or-n-p):
17432 New functions.
17433 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
17434 New major modes.
17435 (todo-categories, todo-display, todo-edit, todo-faces)
17436 (todo-filtered): New defgroups.
17437 (todo-archived-only, todo-button, todo-category-string, todo-date)
17438 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
17439 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
17440 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
17441 (todo-add-item-if-new-category, todo-always-add-time-string)
17442 (todo-categories-align, todo-categories-archived-label)
17443 (todo-categories-category-label, todo-categories-diary-label)
17444 (todo-categories-done-label, todo-categories-number-separator)
17445 (todo-categories-todo-label, todo-categories-totals-label)
17446 (todo-category-completions-files, todo-completion-ignore-case)
17447 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
17448 (todo-done-separator-string, todo-done-string)
17449 (todo-files-function, todo-filter-done-items, todo-filter-files)
17450 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
17451 (todo-initial-category, todo-initial-file, todo-item-mark)
17452 (todo-legacy-date-time-regexp, todo-mode-line-function)
17453 (todo-nondiary-marker, todo-number-prefix)
17454 (todo-print-buffer-function, todo-show-current-file)
17455 (todo-show-done-only, todo-show-first, todo-show-with-done)
17456 (todo-skip-archived-categories, todo-top-priorities-overrides)
17457 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
17458 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
17459 New defcustoms.
17460 (todo-category-done, todo-date-pattern, todo-date-string-start)
17461 (todo-diary-items-buffer, todo-done-string-start)
17462 (todo-filtered-items-buffer, todo-item-start)
17463 (todo-month-abbrev-array, todo-month-name-array)
17464 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
17465 (todo-top-priorities-buffer): New defconsts.
17466 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
17467 (todo-categories-with-marks, todo-category-string-face)
17468 (todo-comment-face, todo-comment-string, todo-current-todo-file)
17469 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
17470 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
17471 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
17472 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
17473 (todo-font-lock-keywords, todo-global-current-todo-file)
17474 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
17475 (todo-insertion-commands-args)
17476 (todo-insertion-commands-args-genlist)
17477 (todo-insertion-commands-names, todo-insertion-map)
17478 (todo-key-bindings-t, todo-key-bindings-t+a)
17479 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
17480 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
17481 (todo-nondiary-face, todo-print-buffer, todo-time-face)
17482 (todo-visited): New variables.
17483
17484 2013-06-21 Glenn Morris <rgm@gnu.org>
17485
17486 * play/cookie1.el (cookie-apropos): Add optional display argument.
17487 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
17488 (psychoanalyze-pinhead): Use cookie-doctor.
17489
17490 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17491
17492 * emacs-lisp/package.el (tar-get-file-descriptor)
17493 (tar--extract): Declare.
17494
17495 2013-06-21 Eduard Wiebe <usenet@pusto.de>
17496
17497 Extend flymake's warning predicate to be a function (bug#14217).
17498 * progmodes/flymake.el (flymake-warning-predicate): New.
17499 (flymake-parse-line): Use it.
17500 (flymake-warning-re): Make obsolete alias to
17501 `flymake-warning-predicate'.
17502
17503 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17504
17505 * emacs-lisp/package.el (package-alist): Include obsolete packages.
17506 (package-obsolete-list): Remove.
17507 (package-activate): Remove min-version argument. Add `force' argument.
17508 Adjust to new package-alist format.
17509 (package-mark-obsolete): Remove.
17510 (package-unpack): Force reload of the package's autoloads.
17511 (package-installed-p): Check builtins if the installed package is not
17512 recent enough.
17513 (package-initialize): Don't reset package-obsolete-list.
17514 Don't specify which package version to activate.
17515 (package-process-define-package, describe-package-1)
17516 (package-menu--generate): Adjust to new package-alist format.
17517
17518 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17519
17520 * allout-widgets.el (allout-widgets-mode-off)
17521 (allout-widgets-mode-on, allout-widgets-pre-command-business)
17522 (allout-widgets-post-command-business)
17523 (allout-widgets-after-copy-or-kill-function)
17524 (allout-widgets-after-undo-function, allout-test-range-overlaps)
17525 (allout-decorate-item-and-context)
17526 (allout-graphics-modification-handler): Fix typos in docstrings.
17527 (allout-get-or-create-parent-widget): Use `looking-at-p'.
17528
17529 * cmuscheme.el (scheme-start-file): Doc fix.
17530 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
17531 (scheme-input-filter): Use `string-match-p'.
17532
17533 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
17534
17535 * dired-x.el: Use Dired consistently in docstrings.
17536
17537 * dired.el: Use Dired consistently in docstrings.
17538 (dired-readin, dired-mode): Use `setq-local'.
17539 (dired-switches-alist): Make defvar-local.
17540 (dired-buffers-for-dir): Use `zerop'.
17541 (dired-safe-switches-p, dired-switches-escape-p)
17542 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
17543 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
17544 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
17545 (dired-goto-next-nontrivial-file): Use `string-match-p'.
17546 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
17547 (dired-toggle-marks, dired-mark-files-containing-regexp)
17548 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
17549 (dired-flag-auto-save-files, dired-flag-backup-files):
17550 Use `looking-at-p'.
17551 (dired-mark-files-regexp, dired-build-subdir-alist):
17552 Use `string-match-p', `looking-at-p'.
17553
17554 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
17555 (direct-print-region-helper): Use `string-match-p'.
17556
17557 2013-06-21 Leo Liu <sdl.web@gmail.com>
17558
17559 * comint.el (comint-redirect-results-list-from-process):
17560 Fix infinite loop.
17561
17562 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17563
17564 * net/eww.el (eww-update-header-line-format): Quote % characters.
17565
17566 2013-06-21 Glenn Morris <rgm@gnu.org>
17567
17568 * play/cookie1.el (cookie): New custom group.
17569 (cookie-file): New option.
17570 (cookie-check-file): New function.
17571 (cookie): Make it interactive. Make start and end messages optional.
17572 Interactively, display the result. Default to cookie-file.
17573 (cookie-insert): Default to cookie-file.
17574 (cookie-snarf): Make start and end messages optional.
17575 Default to cookie-file. Use with-temp-buffer.
17576 (cookie-read): Rename from read-cookie.
17577 Make start and end messages optional. Default to cookie-file.
17578 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
17579 Do not autoload it.
17580 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
17581 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
17582
17583 2013-06-21 Leo Liu <sdl.web@gmail.com>
17584
17585 * progmodes/octave.el (octave-mode): Backward compatibility fix.
17586
17587 2013-06-21 Glenn Morris <rgm@gnu.org>
17588
17589 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
17590
17591 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17592 Daniel Hackney <dan@haxney.org>
17593
17594 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
17595 Consolidate the single-file vs tarball code.
17596 (package-desc-suffix): New function.
17597 (package-desc-full-name): Don't bother inlining it.
17598 (package-load-descriptor): Return the new package-desc.
17599 (package-mark-obsolete): Remove unused arg `package'.
17600 (package-unpack): Make it work for single files as well.
17601 Make it update package-alist.
17602 (package--make-autoloads-and-stuff): Rename from
17603 package--make-autoloads-and-compile. Don't compile any more.
17604 (package--compile): New function.
17605 (package-generate-description-file): New function, extracted from
17606 package-unpack-single.
17607 (package-unpack-single): Remove.
17608 (package--with-work-buffer): Add indentation and debugging info.
17609 (package-download-single): Remove.
17610 (package-install-from-archive): Rename from package-download-tar, make
17611 it take a pkg-desc, and make it work for single files as well.
17612 (package-download-transaction): Simplify.
17613 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
17614 external tar program.
17615 (package-install-from-buffer): Remove `pkg-desc' argument.
17616 Use package-tar-file-info for tar-mode buffers.
17617 (package-install-file): Simplify accordingly.
17618 (package-archive-base): Change to take a pkg-desc.
17619 * tar-mode.el (tar--check-descriptor): New function, extracted from
17620 tar-get-descriptor.
17621 (tar-get-descriptor): Use it.
17622 (tar-get-file-descriptor): New function.
17623 (tar--extract): New function, extracted from tar-extract.
17624 (tar--extract): Use it.
17625 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
17626 case the summary uses non-ascii. Adjust to new calling convention of
17627 package-tar-file-info.
17628
17629 2013-06-21 Leo Liu <sdl.web@gmail.com>
17630
17631 * comint.el (comint-redirect-results-list-from-process):
17632 Fix random delay. (Bug#14681)
17633
17634 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17635
17636 * profiler.el (profiler-format-number): Use log, not log10.
17637
17638 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17639
17640 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
17641
17642 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17643
17644 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
17645 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
17646 yet available.
17647 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
17648 (AUTOGENEL): ... here.
17649 * emacs-lisp/cl-macs.el (cl--sublis): New function.
17650 (cl--defsubst-expand): Use it.
17651
17652 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
17653
17654 * subr.el (log10): Move here from C code, and declare as obsolete.
17655 All uses of (log10 X) replaced with (log X 10).
17656
17657 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17658
17659 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
17660 Declare with `defvar-local'.
17661 (tabulated-list-use-header-line, tabulated-list-entries)
17662 (tabulated-list-padding, tabulated-list-printer)
17663 (tabulated-list-sort-key): Declare with `defvar-local'.
17664 (tabulated-list-init-header, tabulated-list-print-fake-header):
17665 Use `setq-local'.
17666
17667 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
17668
17669 * arc-mode.el (archive-mode): Add `archive-write-file' to
17670 `write-contents-functions' also for remote files. (Bug#14652)
17671
17672 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17673
17674 * cus-edit.el (custom-commands): Fix typos.
17675 (custom-display): Fix tooltip text.
17676 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
17677 Fix typos in docstrings.
17678 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
17679 (custom-unlispify-menu-entry, custom-magic-value-create)
17680 (custom-add-see-also, custom-group-value-create): Use ?\s.
17681 (custom-guess-type, customize-apropos, editable-field)
17682 (custom-face-value-create): Use `string-match-p'.
17683 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
17684
17685 * custom.el (custom-load-symbol): Use `string-match-p'.
17686
17687 * ansi-color.el: Convert to lexical binding.
17688 (ansi-colors): Fix URL.
17689 (ansi-color-context, ansi-color-context-region): Use defvar-local.
17690 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
17691 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
17692
17693 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17694
17695 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
17696
17697 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
17698
17699 2013-06-19 Tom Tromey <tromey@redhat.com>
17700
17701 * net/eww.el (eww-top-url): Remove.
17702 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
17703 (eww-render): Set new variables. Don't set eww-top-url.
17704 (eww-handle-link): Handle "prev", "home", and "contents".
17705 Downcase the rel text.
17706 (eww-top-url): Choose best top URL.
17707
17708 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17709
17710 * net/eww.el: Rewrite to implement form elements "by hand" instead of
17711 relying in widget.el. Using widget.el leads to too many
17712 user interface inconsistencies.
17713 (eww-self-insert): Implement entering commands in text fields.
17714 (eww-process-text-input): New function to make text input field editing
17715 work.
17716 (eww-submit): Rewrite to use the new-style form methods.
17717 (eww-select-display): Display the correct selected item.
17718 (eww-change-select): Implement changing the select value.
17719 (eww-toggle-checkbox): Implement radio/checkboxes.
17720 (eww-update-field): Fix compilation error.
17721 (eww-tag-textarea): Implement <textarea>.
17722
17723 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
17724 we don't shadow mode-specific bindings.
17725
17726 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
17727 nothing to push.
17728
17729 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
17730
17731 2013-06-19 Glenn Morris <rgm@gnu.org>
17732
17733 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
17734
17735 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17736
17737 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
17738 not needed.
17739
17740 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
17741
17742 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17743
17744 * net/browse-url.el (browse-url-browser-function):
17745 `eww-browse-url' has the right calling signature, `eww' does not.
17746
17747 2013-06-19 Glenn Morris <rgm@gnu.org>
17748
17749 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17750 Only eval autoloaded macros.
17751 (byte-compile-autoload): Only give the macro warning for macros.
17752
17753 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
17754 (ps-underlined-faces): Declare.
17755
17756 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
17757 (speedbar-add-supported-extension): Declare.
17758
17759 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
17760 Don't include a date stamp in the header of the generated file;
17761 it leads to needless differences between output files.
17762
17763 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17764
17765 * net/secrets.el (secrets-struct-secret-content-type):
17766 Replace check of introspection data by a test call of "CreateItem".
17767 Some servers do not offer introspection.
17768
17769 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
17770
17771 * electric.el (electric-pair-mode): Improve interaction with
17772 electric-layout-mode.
17773 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
17774 (electric-pair-syntax): Use text-mode-syntax-table in comments
17775 and strings.
17776 (electric-pair--insert): New function.
17777 (electric-pair-post-self-insert-function): Use it and
17778 electric--after-char-pos.
17779
17780 2013-06-19 Leo Liu <sdl.web@gmail.com>
17781
17782 * progmodes/octave.el (octave-help): Fix regexp.
17783
17784 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17785
17786 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
17787 (shr-table-horizontal-line): Allow nil as a value, and change the
17788 default.
17789 (shr-insert-table-ruler): Respect the nil value.
17790
17791 2013-06-18 Tom Tromey <tromey@barimba>
17792
17793 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17794 New defvars.
17795 (eww-open-file): New defun.
17796 (eww-render): Initialize new variables.
17797 (eww-display-html): Handle "link" and "a".
17798 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
17799 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
17800 (eww-back-url): Rename from eww-previous-url.
17801 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17802 New defuns.
17803
17804 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
17805
17806 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
17807 Distinguish ternary operator tokens from slash symbol and slash
17808 char literal.
17809
17810 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17811
17812 Convert symbol prettification into minor mode and global minor mode.
17813
17814 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
17815 `prog-prettify-symbols', and make a local defvar instead of defcustom.
17816 (prettify-symbols--keywords): Rename from
17817 `prog-prettify-symbols-alist' and make a local defvar.
17818 (prettify-symbols--compose-symbol): Rename from
17819 `prog--prettify-font-lock-compose-symbol'.
17820 (prettify-symbols--make-keywords): Rename from
17821 `prog-prettify-font-lock-symbols-keywords' and simplify.
17822 (prog-prettify-install): Remove.
17823 (prettify-symbols-mode): New minor mode, based on
17824 `prog-prettify-install'.
17825 (turn-on-prettify-symbols-mode): New function.
17826 (global-prettify-symbols-mode): New globalized minor mode.
17827
17828 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
17829 * progmodes/cfengine.el (cfengine3-mode):
17830 * progmodes/perl-mode.el (perl-mode): Don't call
17831 `prog-prettify-install'; set `prettify-symbols-alist' instead.
17832
17833 2013-06-18 Juri Linkov <juri@jurta.org>
17834
17835 * files-x.el (modify-file-local-variable-message): New function.
17836 (modify-file-local-variable)
17837 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
17838 and call `modify-file-local-variable-message' when it's non-nil.
17839 (add-file-local-variable, delete-file-local-variable)
17840 (add-file-local-variable-prop-line)
17841 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
17842 and use it. (Bug#9820)
17843
17844 2013-06-18 Juri Linkov <juri@jurta.org>
17845
17846 * emulation/vi.el (vi-shell-op):
17847 * emulation/vip.el (vip-execute-com, ex-command):
17848 * emulation/viper-cmd.el (viper-exec-bang):
17849 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
17850 the call of `shell-command-on-region'. (Bug#14637)
17851
17852 * simple.el (shell-command-on-region): Doc fix.
17853
17854 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17855
17856 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
17857 (bug#14633).
17858
17859 2013-06-18 Glenn Morris <rgm@gnu.org>
17860
17861 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
17862
17863 * newcomment.el (comment-search-forward, comment-search-backward):
17864 Doc fix. (Bug#14376)
17865
17866 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17867
17868 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
17869 (buffer-face-mode-invoke): Doc fix.
17870
17871 2013-06-18 Matthias Meulien <orontee@gmail.com>
17872
17873 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
17874 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
17875
17876 2013-06-18 Glenn Morris <rgm@gnu.org>
17877
17878 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
17879 Replace obsolete function generic-make-keywords with its expansion.
17880
17881 * progmodes/python.el (ffap-alist): Declare.
17882
17883 * textmodes/reftex.el (bibtex-mode-map): Declare.
17884
17885 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17886
17887 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
17888 (package-unpack, package-unpack-single): Return the pkg-dir.
17889 (package-download-transaction): Use it to update package-alist.
17890
17891 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17892
17893 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
17894 possible choice.
17895
17896 2013-06-17 Juri Linkov <juri@jurta.org>
17897
17898 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
17899
17900 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17901
17902 * emacs-lisp/package.el (package-load-descriptor):
17903 Remove `with-syntax-table' call, `read' doesn't need it.
17904 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
17905
17906 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17907
17908 * startup.el (command-line): Expand package name returned by
17909 `package--description-file' (bug#14639).
17910
17911 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17912
17913 * emacs-lisp/package.el (package-load-descriptor): Do not call
17914 `emacs-lisp-mode', just use its syntax table.
17915
17916 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17917
17918 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
17919 `font-lock-extra-managed-props' if any prettifying keyword is added.
17920 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
17921 (prog-mode): Use `setq-local'.
17922
17923 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17924
17925 * international/characters.el (standard-case-table): Set syntax of ?»
17926 and ?« to punctuation.
17927
17928 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
17929
17930 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
17931 Save relevant match data before calling `syntax-ppss' (bug#14595).
17932
17933 2013-06-15 Juri Linkov <juri@jurta.org>
17934
17935 * files-x.el (modify-file-local-variable-prop-line): Add local
17936 variables to the end of the existing comment on the first line.
17937 Use `file-auto-mode-skip' to skip interpreter magic line,
17938 and also skip XML declaration.
17939
17940 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17941
17942 * startup.el (package--builtin-versions): New var.
17943 (package-subdirectory-regexp): Remove.
17944 (package--description-file): Hard code its value instead.
17945
17946 * emacs-lisp/package.el: Don't activate packages older than builtin.
17947 (package-obsolete-list): Rename from package-obsolete-alist, and make
17948 it into a simple list of package-desc.
17949 (package-strip-version): Remove.
17950 (package-built-in-p): Use package--builtin-versions.
17951 (package-mark-obsolete): Simplify.
17952 (package-process-define-package): Mark it obsolete if older than the
17953 builtin version.
17954 (package-handle-response): Use line-end-position.
17955 (package-read-archive-contents, package--download-one-archive):
17956 Simplify.
17957 (package--add-to-archive-contents): Skip if older than the builtin or
17958 installed version.
17959 (package-menu-describe-package): Fix last change.
17960 (package-list-unversioned): New var.
17961 (package-menu--generate): Use it.
17962
17963 * emacs-lisp/autoload.el: Manage package--builtin-versions.
17964 (autoload--insert-text, autoload--insert-cookie-text): New functions.
17965 (autoload-builtin-package-versions): New variable.
17966 (autoload-generate-file-autoloads): Use them.
17967 Remove the list of autoloaded functions/macros from the
17968 (autoload...) comments.
17969
17970 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
17971
17972 2013-06-15 Eli Zaretskii <eliz@gnu.org>
17973
17974 * simple.el (line-move-partial): Don't jump to the next screen
17975 line as soon as it becomes visible. Instead, continue enlarging
17976 the vscroll until the portion of a tall screen line that's left on
17977 display is about the height of the frame's default font.
17978 (Bug#14567)
17979
17980 2013-06-15 Glenn Morris <rgm@gnu.org>
17981
17982 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
17983 compilation-error-regexp-alist void, or local while let-bound.
17984
17985 * progmodes/make-mode.el (makefile-mode-syntax-table):
17986 Treat "=" as punctuation. (Bug#14614)
17987
17988 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
17989
17990 * help-fns.el (describe-variable):
17991 Add extra line for permanent-local variables.
17992
17993 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
17994
17995 * progmodes/scheme.el (scheme-font-lock-keywords-2):
17996 Add export, import, library. (Bug#9164)
17997 (library): Set indent function.
17998
17999 2013-06-14 Glenn Morris <rgm@gnu.org>
18000
18001 * term/xterm.el (xterm--query):
18002 Stop after first matching handler. (Bug#14615)
18003
18004 2013-06-14 Ivan Kanis <ivan@kanis.fr>
18005
18006 Add support for dired in saveplace.
18007 * dired.el (dired-initial-position-hook): New variable.
18008 (dired-initial-position): Call hook to place cursor position.
18009 * saveplace.el (save-place-to-alist): Add dired position.
18010 (save-place-dired-hook): New function.
18011
18012 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
18013
18014 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
18015 through a symbol rather than letrec.
18016
18017 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
18018 (package-desc): Add `dir' field.
18019 (package-desc-full-name): New function.
18020 (package-load-descriptor): Combine the two arguments. Don't use `load'.
18021 (package-maybe-load-descriptor): Remove.
18022 (package-load-all-descriptors): Just call package-load-descriptor.
18023 (package--disabled-p): New function.
18024 (package-desc-vers, package-desc-doc): Remove aliases.
18025 (package--dir): Remove function.
18026 (package-activate): Check if a package is disabled.
18027 (package-process-define-package): New function, extracted from
18028 define-package.
18029 (define-package): Turn into a place holder.
18030 (package-unpack-single, package-tar-file-info):
18031 Use package--description-file.
18032 (package-compute-transaction): Use package--disabled-p.
18033 (package-download-transaction): Don't call
18034 package-maybe-load-descriptor since they're all loaded anyway.
18035 (package-install): Change argument to be a pkg-desc.
18036 (package-delete): Use a single pkg-desc argument.
18037 (describe-package-1): Use package-desc-dir instead of package--dir.
18038 Use package-desc property instead of package-symbol.
18039 (package-install-button-action): Adjust accordingly.
18040 (package--push): Rewrite.
18041 (package-menu--print-info): Adjust accordingly. Change the ID format
18042 to be a pkg-desc.
18043 (package-menu-describe-package, package-menu-get-status)
18044 (package-menu--find-upgrades, package-menu-mark-upgrades)
18045 (package-menu-execute, package-menu--name-predicate):
18046 Adjust accordingly.
18047 * startup.el (package--description-file): New function.
18048 (command-line): Use it.
18049 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18050 Use package-desc-version.
18051
18052 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
18053 (byte-compile-preprocess): Use it.
18054 (byte-compile-file-form-defalias): Try a bit harder to use macros we
18055 can't quite recognize.
18056 (byte-compile-add-to-list): Remove.
18057 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
18058 (cconv-closure-convert): Add assertion.
18059
18060 * emacs-lisp/map-ynp.el: Use lexical-binding.
18061 (map-y-or-n-p): Remove unused vars `tail' and `object'.
18062 Factor out some repeated code.
18063
18064 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
18065
18066 * subr.el (with-eval-after-load): New macro.
18067 (eval-after-load): Allow form to be a function.
18068 take advantage of lexical-binding.
18069 (do-after-load-evaluation): Use dolist and adjust to new format.
18070 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
18071
18072 2013-06-13 Juri Linkov <juri@jurta.org>
18073
18074 * replace.el (perform-replace): Display "symbol " and other search
18075 modes from `isearch-message-prefix' in the *Help* buffer.
18076
18077 * isearch.el (isearch-query-replace): Add " symbol" and other
18078 possible search modes from `isearch-message-prefix' to the prompt.
18079 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
18080 when reading a regexp to collect.
18081
18082 2013-06-13 Juri Linkov <juri@jurta.org>
18083
18084 * isearch.el (word-search-regexp): Match whitespace if the search
18085 string begins or ends in whitespace. The LAX arg is applied to
18086 both ends of the search string. Use `regexp-quote' and explicit
18087 \< and \> instead of \b. Use \` and \' instead of ^ and $.
18088 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
18089 boundaries are replaced with symbol boundaries, and characters
18090 between symbols match non-word non-symbol syntax. (Bug#14602)
18091
18092 2013-06-13 Juri Linkov <juri@jurta.org>
18093
18094 * isearch.el (isearch-del-char): Don't exceed the length of
18095 `isearch-string' by the prefix arg. (Bug#14563)
18096
18097 2013-06-13 Juri Linkov <juri@jurta.org>
18098
18099 * isearch.el (isearch-yank-word, isearch-yank-line)
18100 (isearch-char-by-name, isearch-quote-char)
18101 (isearch-printing-char, isearch-process-search-char):
18102 Add optional count prefix arg. (Bug#14563)
18103
18104 * international/isearch-x.el
18105 (isearch-process-search-multibyte-characters):
18106 Add optional count prefix arg.
18107
18108 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
18109
18110 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
18111 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
18112 lexical-binding.
18113
18114 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
18115
18116 * subr.el (set-temporary-overlay-map): Add on-exit argument.
18117
18118 2013-06-13 Glenn Morris <rgm@gnu.org>
18119
18120 * startup.el (tty-handle-args):
18121 Don't just discard "--" and anything after. (Bug#14608)
18122
18123 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
18124
18125 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
18126
18127 Implement changes in Secret Service API. Make it backward compatible.
18128 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
18129 (secrets-create-item): Use it. Prefix properties with interface.
18130
18131 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
18132
18133 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
18134 (term-emulate-terminal): Respect term-suppress-hard-newline.
18135
18136 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
18137
18138 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
18139 Only remove a `thumb-file' overlay. (Bug#14548)
18140
18141 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
18142
18143 * mail/reporter.el (reporter-submit-bug-report):
18144 Handle missing package-name. (Bug#14600)
18145
18146 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18147
18148 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
18149 (reftex-citation-prompt, reftex-default-bibliography)
18150 (reftex-bib-or-thebib, reftex-get-bibfile-list)
18151 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
18152 (reftex-bib-sort-author, reftex-bib-sort-year)
18153 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
18154 (reftex-extract-bib-entries-from-thebibliography)
18155 (reftex-get-bibkey-default, reftex-get-bib-names)
18156 (reftex-parse-bibtex-entry, reftex-get-bib-field)
18157 (reftex-format-bib-entry, reftex-parse-bibitem)
18158 (reftex-format-bibitem, reftex-do-citation)
18159 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
18160 (reftex-restrict-bib-matches, reftex-extract-bib-file)
18161 (reftex-insert-bib-matches, reftex-format-citation)
18162 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
18163 (reftex-create-bibtex-file): Add docstrings, mostly by converting
18164 existing comments into docstrings.
18165
18166 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
18167
18168 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
18169
18170 2013-06-12 Andreas Schwab <schwab@suse.de>
18171
18172 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
18173 for auto-save files.
18174
18175 2013-06-12 Glenn Morris <rgm@gnu.org>
18176
18177 * ido.el (ido-delete-ignored-files): Remove.
18178 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
18179 Go back to calling ido-ignore-item-p directly.
18180
18181 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
18182
18183 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
18184
18185 * ido.el (ido-delete-ignored-files): New function,
18186 split from ido-make-file-list-1.
18187 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
18188 (ido-make-file-list-1): Use ido-delete-ignored-files.
18189
18190 2013-06-12 Leo Liu <sdl.web@gmail.com>
18191
18192 * progmodes/octave.el (inferior-octave-startup)
18193 (inferior-octave-completion-table)
18194 (inferior-octave-track-window-width-change)
18195 (octave-eldoc-function-signatures, octave-help)
18196 (octave-find-definition): Use single quoted strings.
18197 (inferior-octave-startup-args): Change default value.
18198 (inferior-octave-startup): Do not hard code "-i" and
18199 "--no-line-editing".
18200 (inferior-octave-resync-dirs): Add optional arg NOERROR.
18201 (inferior-octave-directory-tracker): Use it.
18202 (octave-goto-function-definition): Robustify.
18203 (octave-help): Support highlighting operators in 'See also'.
18204 (octave-find-definition): Find subfunctions only in Octave mode.
18205
18206 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
18207
18208 * help-fns.el (help-fns--compiler-macro): If the handler function is
18209 named, then put a link to it.
18210 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
18211 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
18212 (cl-typep): Use it.
18213 (cl-eval-when): Simplify debug spec.
18214 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
18215 compiler-macro function instead of setting `compiler-macro-file'.
18216
18217 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
18218
18219 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
18220 * vc/vc-hooks.el (vc-stay-local): Doc fix.
18221
18222 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
18223 Daniel Hackney <dan@haxney.org>
18224
18225 First part of Daniel Hackney's patch to package.el.
18226 * emacs-lisp/package.el: Use defstruct.
18227 (package-desc): New, main struct.
18228 (package--bi-desc, package--ac-desc): New structs, used to describe the
18229 format in external files.
18230 (package-desc-vers): Replace with package-desc-version accessor.
18231 (package-desc-doc): Replace with package-desc-summary accessor.
18232 (package-activate-1): Remove `package' arg since the pkg-vec now
18233 includes the name.
18234 (define-package): Use package-desc-from-define.
18235 (package-unpack-single): Change file-name arg to be a symbol.
18236 (package--add-to-archive-contents): Use package-desc-create and new
18237 accessor functions to package--ac-desc.
18238 (package-buffer-info, package-tar-file-info): Return a package-desc.
18239 (package-install-from-buffer): Remove `type' argument. Change pkg-info
18240 arg to be a package-desc.
18241 (package-install-file): Adjust accordingly. Use \' to match EOS.
18242 (package--from-builtin): New function.
18243 (describe-package-1, package-menu--generate): Use it.
18244 (package--make-autoloads-and-compile): Change name arg to be a symbol.
18245 (package-generate-autoloads): Idem and return the name of the file.
18246 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18247 Change pkg-info arg to be a package-desc.
18248 Use package-make-ac-desc.
18249 (package-upload-file): Use \' to match EOS.
18250 * finder.el (finder-compile-keywords): Use package-make-builtin.
18251
18252 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
18253
18254 * vc/vc.el (vc-deduce-fileset): Change error message.
18255 (vc-read-backend): New function.
18256 (vc-next-action): Use it.
18257
18258 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
18259
18260 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
18261 (prolog-font-lock-keywords): Use regexp-opt instead.
18262 Don't manually highlight strings.
18263 (prolog-mode-variables): Simplify comment-start-skip.
18264 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
18265
18266 * emacs-lisp/generic.el (generic--normalise-comments)
18267 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
18268 (generic-mode-set-comments): Use them.
18269 (generic-bracket-support): Use setq-local.
18270 (generic-make-keywords-list): Declare obsolete.
18271
18272 2013-06-11 Glenn Morris <rgm@gnu.org>
18273
18274 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
18275 Prettify after setting font-lock-defaults. (Bug#14574)
18276
18277 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
18278
18279 * replace.el (query-replace, occur-read-regexp-defaults-function)
18280 (replace-search):
18281 * subr.el (declare-function, number-sequence, local-set-key)
18282 (substitute-key-definition, locate-user-emacs-file)
18283 (with-silent-modifications, split-string, eval-after-load):
18284 Fix typos, remove unneeded backslashes and reflow some docstrings.
18285
18286 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
18287
18288 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
18289 default for Elisp files.
18290
18291 2013-06-11 Glenn Morris <rgm@gnu.org>
18292
18293 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
18294 although define-derived-mode was doing this anyway. (Bug#14583)
18295
18296 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
18297
18298 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18299 Fix make-variable-buffer-local call to refer to the correct variable.
18300
18301 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
18302
18303 * eshell/em-term.el (eshell-visual-commands)
18304 (eshell-visual-subcommands, eshell-visual-options):
18305 Add summary line to docstrings. Add cross-references.
18306
18307 2013-06-10 Glenn Morris <rgm@gnu.org>
18308
18309 * epa.el (epa-read-file-name): New function. (Bug#14510)
18310 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
18311
18312 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
18313
18314 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
18315 output redirection to be ignored with visual commands.
18316
18317 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
18318
18319 * eshell/em-term.el (eshell-visual-command-p): New function.
18320 (eshell-term-initialize): Move long lambda to separate function
18321 eshell-visual-command-p.
18322 * eshell/em-dirs.el (eshell-dirs-initialize):
18323 * eshell/em-script.el (eshell-script-initialize):
18324 Add missing #' to lambda.
18325
18326 2013-06-08 Leo Liu <sdl.web@gmail.com>
18327
18328 * progmodes/octave.el (octave-add-log-current-defun): New function.
18329 (octave-mode): Set add-log-current-defun-function.
18330 (octave-goto-function-definition): Do not move point if not found.
18331 (octave-find-definition): Enhance to try subfunctions first.
18332
18333 2013-06-08 Glenn Morris <rgm@gnu.org>
18334
18335 * emacs-lisp/bytecomp.el (byte-compile-char-before)
18336 (byte-compile-backward-char, byte-compile-backward-word):
18337 Improve previous change, to handle non-explicit nil.
18338
18339 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
18340
18341 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
18342 (smie--opener/closer-at-point): New function.
18343 (smie--matching-block-data): Use it. Don't match from right after an
18344 opener or right before a closer. Obey smie-blink-matching-inners.
18345 Don't signal a mismatch for repeated inners like "switch..case..case".
18346
18347 2013-06-07 Leo Liu <sdl.web@gmail.com>
18348
18349 * progmodes/octave.el (octave-mode): Set comment-use-global-state
18350 to t. (Bug#14303)
18351 (octave-function-header-regexp): Fix. (Bug#14570)
18352 (octave-help-mode-finish-hook, octave-help-mode-finish):
18353 Remove. Just use temp-buffer-show-hook.
18354
18355 * newcomment.el (comment-search-backward): Revert last change.
18356 (Bug#14434)
18357
18358 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
18359
18360 2013-06-07 Eli Zaretskii <eliz@gnu.org>
18361
18362 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
18363 through xargs, to avoid failure due to MS-Windows limitations on
18364 command-line length.
18365
18366 2013-06-06 Glenn Morris <rgm@gnu.org>
18367
18368 * font-lock.el (lisp-font-lock-keywords-2):
18369 Treat user-error like error.
18370
18371 * emacs-lisp/bytecomp.el (byte-compile-char-before)
18372 (byte-compile-backward-char, byte-compile-backward-word):
18373 Handle explicit nil arguments. (Bug#14565)
18374
18375 2013-06-05 Alan Mackenzie <acm@muc.de>
18376
18377 * isearch.el (isearch-allow-prefix): New user option.
18378 (isearch-other-meta-char): Don't exit isearch when a prefix
18379 argument is typed whilst `isearch-allow-prefix' is non-nil.
18380 (Bug#9706)
18381
18382 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18383
18384 * autorevert.el (auto-revert-notify-handler): Use memq.
18385 Hide assertion failure.
18386
18387 * skeleton.el: Use cl-lib.
18388 (skeleton-further-elements): Use defvar-local.
18389 (skeleton-insert): Use cl-progv.
18390
18391 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18392
18393 * progmodes/prog-mode.el (prog-prettify-symbols)
18394 (prog-prettify-install): Update docstrings.
18395
18396 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18397
18398 * simple.el: Move all the prog-mode code to prog-mode.el.
18399 * progmodes/prog-mode.el: New file.
18400 * loadup.el: Add prog-mode.el.
18401
18402 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18403
18404 * simple.el (prog-prettify-symbols): Add version.
18405 (prog-prettify-install): Add convenience function to prettify symbols.
18406
18407 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
18408 (perl--augmented-font-lock-keywords-1)
18409 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
18410 variables and use it.
18411
18412 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18413 (cfengine3-mode): Remove unneeded variable and use it.
18414
18415 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18416 (lisp--augmented-font-lock-keywords-1)
18417 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
18418 Remove unneeded variables and use it.
18419
18420 2013-06-05 João Távora <joaotavora@gmail.com>
18421
18422 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
18423 to point when opening the connection. (Bug#14380)
18424
18425 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18426
18427 * subr.el (load-history-regexp, load-history-filename-element)
18428 (eval-after-load, after-load-functions, do-after-load-evaluation)
18429 (eval-next-after-load, display-delayed-warnings)
18430 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
18431 definition of save-match-data.
18432 (overriding-local-map): Remove accidental obsolescence declaration.
18433
18434 * emacs-lisp/edebug.el (edebug-result): Move before first use.
18435
18436 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18437
18438 Generalize symbol prettify support to prog-mode and implement it
18439 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
18440 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
18441 (prog--prettify-font-lock-compose-symbol)
18442 (prog-prettify-font-lock-symbols-keywords): New variables and
18443 functions to support symbol prettification.
18444 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18445 (lisp--augmented-font-lock-keywords-1)
18446 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
18447 (lisp--prettify-symbols-alist): Implement prettify of lambda.
18448 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18449 (cfengine3--prettify-symbols-alist, cfengine3-mode):
18450 Implement prettify of -> => :: strings.
18451 * progmodes/perl-mode.el (perl-prettify-symbols)
18452 (perl--font-lock-compose-symbol)
18453 (perl--font-lock-symbols-keywords): Move to prog-mode.
18454 (perl--prettify-symbols-alist): Prettify -> => :: strings.
18455 (perl-font-lock-keywords-1)
18456 (perl-font-lock-keywords-2): Remove explicit prettify support.
18457 (perl--augmented-font-lock-keywords)
18458 (perl--augmented-font-lock-keywords-1)
18459 (perl--augmented-font-lock-keywords-2, perl-mode):
18460 Implement prettify support.
18461
18462 2013-06-05 Leo Liu <sdl.web@gmail.com>
18463
18464 Re-implement SMIE matching block highlight using
18465 show-paren-data-function. (Bug#14395)
18466 * emacs-lisp/smie.el (smie-matching-block-highlight)
18467 (smie--highlight-matching-block-overlay)
18468 (smie--highlight-matching-block-lastpos)
18469 (smie-highlight-matching-block)
18470 (smie-highlight-matching-block-mode): Remove.
18471 (smie--matching-block-data-cache): New variable.
18472 (smie--matching-block-data): New function.
18473 (smie-setup): Use smie--matching-block-data for
18474 show-paren-data-function.
18475
18476 * progmodes/octave.el (octave-mode-menu): Fix.
18477 (octave-find-definition): Skip garbage lines.
18478
18479 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18480
18481 Fix compilation error with simultaneous dynamic+lexical scoping.
18482 Add warning when a defvar appears after the first let-binding.
18483 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
18484 (byte-compile-close-variables): Initialize it.
18485 (byte-compile--declare-var): New function.
18486 (byte-compile-file-form-defvar)
18487 (byte-compile-file-form-define-abbrev-table)
18488 (byte-compile-file-form-custom-declare-variable): Use it.
18489 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
18490 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
18491 (byte-compile-bind): Handle dynamic bindings that shadow
18492 lexical bindings.
18493 (byte-compile-unbind): Make arg non-optional.
18494 (byte-compile-let): Simplify.
18495 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
18496 (cconv--analyse-function, cconv-analyse-form): Populate it.
18497 Protect byte-compile-bound-variables to limit the scope of defvars.
18498 (cconv-analyse-form): Add missing rule for (defvar <foo>).
18499 Remove unneeded rule for `declare'.
18500
18501 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
18502 so as to avoid depending on cl-adjoin at run-time.
18503 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
18504
18505 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
18506 (macroexp--warn-and-return): Use it.
18507
18508 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18509
18510 * subr.el: Convert to lexical binding.
18511 (overriding-local-map): Make obsolete.
18512 (add-to-list): Doc fix. Add compiler macro.
18513 (read-key): Swap values of local maps.
18514
18515 2013-06-05 Leo Liu <sdl.web@gmail.com>
18516
18517 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
18518
18519 2013-06-04 Leo Liu <sdl.web@gmail.com>
18520
18521 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
18522 (compilation-auto-jump): Suppress the "Mark set" message to give
18523 way to exit message.
18524
18525 2013-06-04 Alan Mackenzie <acm@muc.de>
18526
18527 Remove faulty optimization from indentation calculation.
18528 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
18529 search limit based on 2000 characters back from indent-point.
18530
18531 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18532
18533 * eshell/em-term.el (cl-lib): Require `cl-lib'.
18534
18535 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
18536
18537 * emacs-lisp/lisp.el: Use lexical-binding.
18538 (lisp--local-variables-1, lisp--local-variables): New functions.
18539 (lisp--local-variables-completion-table): New var.
18540 (lisp-completion-at-point): Use it complete let-bound vars.
18541
18542 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
18543 eagerly (bug#14422).
18544
18545 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
18546
18547 * autorevert.el (auto-revert-notify-enabled)
18548 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18549 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
18550 (auto-revert-notify-handler): Handle also gfilenotify.
18551
18552 * subr.el (file-notify-handle-event): New defun. Replacing ...
18553 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
18554 Remove.
18555
18556 2013-06-03 Juri Linkov <juri@jurta.org>
18557
18558 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
18559 `M-s h .'. (Bug#14427)
18560
18561 * hi-lock.el (highlight-symbol-at-point): New alias for the new
18562 command `hi-lock-face-symbol-at-point'.
18563 (hi-lock-face-symbol-at-point): New command.
18564 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
18565 (hi-lock-menu): Add `highlight-symbol-at-point'.
18566 (hi-lock-mode): Doc fix.
18567
18568 * isearch.el (isearch-forward-symbol-at-point): New command.
18569 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
18570 (isearch-highlight-regexp): Add a regexp which matches
18571 words/symbols for word/symbol mode.
18572
18573 * subr.el (find-tag-default-bounds): New function with the body
18574 mostly moved from `find-tag-default'.
18575 (find-tag-default): Move most code to `find-tag-default-bounds',
18576 call it and apply `buffer-substring-no-properties' afterwards.
18577
18578 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18579
18580 * eshell/em-term.el (eshell-term-initialize):
18581 Use `cl-intersection' rather than `intersection'.
18582
18583 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
18584
18585 * vc/log-view.el: Doc fix.
18586 (log-view-mode-map): Copy keymap from `special-mode-map'.
18587
18588 2013-06-02 Eric Ludlam <zappo@gnu.org>
18589
18590 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
18591 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
18592 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
18593 (eieio-unbound, eieio-default-superclass)
18594 (eieio--define-field-accessors, method-static, method-before)
18595 (method-primary, method-after, method-num-lists)
18596 (method-generic-before, method-generic-primary)
18597 (method-generic-after, method-num-slots)
18598 (eieio-specialized-key-to-generic-key)
18599 (eieio--check-type, class-v, class-p)
18600 (eieio-class-name, define-obsolete-function-alias)
18601 (eieio-class-parents-fast, eieio-class-children-fast)
18602 (same-class-fast-p, class-constructor, generic-p)
18603 (generic-primary-only-p, generic-primary-only-one-p)
18604 (class-option-assoc, class-option, eieio-object-p)
18605 (class-abstract-p, class-method-invocation-order)
18606 (eieio-defclass-autoload-map, eieio-defclass-autoload)
18607 (eieio-class-un-autoload, eieio-defclass)
18608 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
18609 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
18610 (eieio--defgeneric-init-form, eieio-defgeneric-form)
18611 (eieio-defgeneric-reset-generic-form)
18612 (eieio-defgeneric-form-primary-only)
18613 (eieio-defgeneric-reset-generic-form-primary-only)
18614 (eieio-defgeneric-form-primary-only-one)
18615 (eieio-defgeneric-reset-generic-form-primary-only-one)
18616 (eieio-unbind-method-implementations)
18617 (eieio--defmethod, eieio--typep)
18618 (eieio-perform-slot-validation, eieio-validate-slot-value)
18619 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
18620 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
18621 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
18622 (eieio-slot-name-index, eieio-class-slot-name-index)
18623 (eieio-set-defaults, eieio-initarg-to-attribute)
18624 (eieio-attribute-to-initarg, eieio-c3-candidate)
18625 (eieio-c3-merge-lists, eieio-class-precedence-c3)
18626 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
18627 (eieio-class-precedence-list, eieio-generic-call-methodname)
18628 (eieio-generic-call-arglst, eieio-generic-call-key)
18629 (eieio-generic-call-next-method-list)
18630 (eieio-pre-method-execution-functions, eieio-generic-call)
18631 (eieio-generic-call-primary-only, eieiomt-method-list)
18632 (eieiomt-optimizing-obarray, eieiomt-install)
18633 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
18634 (eieio-generic-form, eieio-defmethod, make-obsolete)
18635 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
18636 (defclass): Remove `eval-and-compile' from macro.
18637 (call-next-method, shared-initialize): Instead of using
18638 `scoped-class' variable, use new eieio--scoped-class, and
18639 eieio--with-scoped-class.
18640 (initialize-instance): Rename local variable 'scoped-class' to
18641 'this-class' to remove ambiguitity from old global.
18642
18643 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
18644 eieio.el.
18645 (eieio--scoped-class-stack): New variable.
18646 (eieio--scoped-class): New fcn.
18647 (eieio--with-scoped-class): New scoping macro.
18648 (eieio-defclass): Use pushnew instead of add-to-list.
18649 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
18650 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
18651 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
18652 `scoped-class' variable, use new eieio--scoped-class, and
18653 eieio--with-scoped-class.
18654
18655 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
18656
18657 2013-06-02 Tassilo Horn <tsdh@gnu.org>
18658
18659 * eshell/esh-ext.el (eshell-external-command): Pass args to
18660 `eshell-find-interpreter'.
18661 (eshell-find-interpreter): Add new second parameter ARGS.
18662
18663 * eshell/em-script.el (eshell-script-initialize): Add second arg
18664 to the function added as MATCH to `eshell-interpreter-alist'.
18665
18666 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
18667 the function added as MATCH to `eshell-interpreter-alist'.
18668
18669 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
18670 (eshell-visual-options): New defcustom.
18671 (eshell-escape-control-x): Adapt docstring.
18672 (eshell-term-initialize): Test `eshell-visual-subcommands' and
18673 `eshell-visual-options' in addition to `eshell-visual-commands'.
18674 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
18675
18676 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
18677
18678 * progmodes/python.el (python-indent-block-enders): Add break,
18679 continue and raise keywords.
18680
18681 2013-06-01 Glenn Morris <rgm@gnu.org>
18682
18683 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
18684
18685 Plain (f)boundp silences compilation warnings since Emacs 22.1.
18686 * progmodes/cc-cmds.el (delete-forward-p):
18687 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
18688 * progmodes/cc-engine.el (buffer-syntactic-context):
18689 * progmodes/cc-fonts.el (face-property-instance):
18690 * progmodes/cc-mode.el (set-keymap-parents):
18691 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
18692 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
18693 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
18694 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
18695 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
18696
18697 * progmodes/cc-vars.el (other): Emacs has this widget since
18698 at least 21.1, so don't (re)define it.
18699
18700 * eshell/em-cmpl.el (eshell-cmpl-initialize):
18701 Replace the obsolete alias pcomplete-arg-quote-list.
18702
18703 2013-06-01 Leo Liu <sdl.web@gmail.com>
18704
18705 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
18706 punctuation syntax.
18707 (inferior-octave-minimal-columns)
18708 (inferior-octave-last-column-width): New variables.
18709 (inferior-octave-track-window-width-change): New function.
18710 (inferior-octave-mode): Adjust column width so that Octave output,
18711 for example from 'ls', can fit into the window nicely.
18712
18713 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18714
18715 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18716 Highlight expansions inside regexp literals.
18717
18718 2013-05-31 Glenn Morris <rgm@gnu.org>
18719
18720 * obsolete/sym-comp.el (symbol-complete):
18721 Replace obsolete completion-annotate-function.
18722
18723 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
18724
18725 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18726
18727 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18728 New function, checks if point is inside a literal that allows
18729 expression expansion.
18730 (ruby-syntax-propertize-expansion): Use it.
18731 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
18732 around the body.
18733
18734 2013-05-30 Juri Linkov <juri@jurta.org>
18735
18736 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
18737 to "\M-si".
18738 (isearch-invisible): New variable.
18739 (isearch-forward): Doc fix.
18740 (isearch-mode): Set `isearch-invisible'
18741 to the value of `search-invisible'.
18742 (isearch-toggle-case-fold): Doc fix.
18743 (isearch-toggle-invisible): New command.
18744 (isearch-query-replace): Let-bind `search-invisible'
18745 to the value of `isearch-invisible'.
18746 (isearch-search): Use `isearch-invisible' instead of
18747 `search-invisible'. Let-bind `search-invisible'
18748 to the value of `isearch-invisible'. (Bug#11378)
18749
18750 2013-05-30 Juri Linkov <juri@jurta.org>
18751
18752 * replace.el (perform-replace): Avoid `isearch-range-invisible'
18753 call when `query-flag' is nil and `search-invisible' is non-nil.
18754 (Bug#11746)
18755
18756 2013-05-30 Glenn Morris <rgm@gnu.org>
18757
18758 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
18759
18760 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
18761 (cc-require): Suppress spurious "noruntime" warnings.
18762 (cc-require-when-compile): Use fboundp, for sake of compiler.
18763
18764 * progmodes/cc-mode.el: Move load of cc-vars before that of
18765 cc-langs (which in turn loads cc-vars), to quieten compiler.
18766
18767 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18768
18769 * paren.el: Simplify the code.
18770 (show-paren-mode): Always start the timer.
18771 (show-paren--idle-timer): Rename from show-paren-idle-timer.
18772 (show-paren--overlay, show-paren--overlay-1): Rename from
18773 show-paren-overlay and show-paren-overlay-1, and initialize to an
18774 overlay rather than to nil.
18775 (show-paren-function): Misc cleanup and simplifications.
18776
18777 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18778
18779 * paren.el (show-paren-data-function): New hook.
18780 (show-paren--default): New function, extracted from show-paren-function.
18781 (show-paren-function): Use show-paren-data-function.
18782
18783 2013-05-30 Glenn Morris <rgm@gnu.org>
18784
18785 * ielm.el (ielm-map, ielm-complete-symbol):
18786 Use completion-at-point rather than obsolete functions.
18787 (inferior-emacs-lisp-mode): Doc fix.
18788 Set completion-at-point-functions, rather than
18789 comint-dynamic-complete-functions.
18790
18791 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
18792 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
18793 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
18794
18795 * image.el (image-animated-p): Tweak definition.
18796
18797 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
18798 (rlogin-process-connection-type): Tweak default. Add set-after.
18799 (rlogin-host): Doc fix.
18800 (rlogin): Tweak prompt.
18801 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
18802
18803 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
18804 * progmodes/tcl.el (inferior-tcl-mode-map):
18805 Use completion-at-point rather than obsolete alias.
18806
18807 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
18808
18809 * minibuffer.el (read-file-name-completion-ignore-case):
18810 Move before completion--in-region, for eager macro expansion.
18811
18812 2013-05-29 Juri Linkov <juri@jurta.org>
18813
18814 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
18815 for total count of matching lines. Add `global-matches' for total
18816 count of matches. Rename `matches' to `lines' for count of
18817 matching lines. Add `matches' for count of matches.
18818 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
18819 to `prev-line' for line number of prev match endpt.
18820 Increment `matches' for every match. Print the number of
18821 matching lines in the header.
18822 (occur-context-lines): Rename `lines' to `curr-line'.
18823 Rename `prev-lines' to `prev-line'. (Bug#14017)
18824
18825 2013-05-29 Juri Linkov <juri@jurta.org>
18826
18827 * replace.el (perform-replace): Add `skip-read-only-count',
18828 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
18829 Increment them for corresponding conditions and report the number
18830 of skipped occurrences in the final message. (Bug#11746)
18831 (query-replace, query-replace-regexp, query-replace-regexp-eval)
18832 (replace-string, replace-regexp): Doc fix.
18833
18834 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
18835
18836 * emacs-lisp/trace.el (trace--read-args): Provide a default.
18837
18838 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
18839 prog-mode-map (bug#14504).
18840
18841 2013-05-29 Leo Liu <sdl.web@gmail.com>
18842
18843 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
18844 (octave-help): Small simplification.
18845
18846 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
18847 off the highlight first.
18848
18849 2013-05-29 Glenn Morris <rgm@gnu.org>
18850
18851 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
18852 Handle idlwave-last-system-routine-info-cons-cell being nil.
18853
18854 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
18855 (idlwave-write-paths): Simplify via with-temp-buffer.
18856
18857 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
18858 * emulation/cua-rect.el: Also load cua-base at run time.
18859
18860 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
18861 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
18862 (cperl-imenu-on-info): Require imenu.
18863
18864 2013-05-28 Alan Mackenzie <acm@muc.de>
18865
18866 Handle "capitalised keywords" correctly.
18867 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
18868
18869 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
18870
18871 * eshell/em-unix.el: Add -r option to cp.
18872
18873 2013-05-28 Glenn Morris <rgm@gnu.org>
18874
18875 * vc/vc-arch.el (vc-exec-after): Declare.
18876 (vc-switches): Autoload.
18877 * vc/vc-bzr.el: No need to require vc when compiling.
18878 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
18879 (vc-resynch-buffer, vc-dir-refresh): Declare.
18880 (vc-setup-buffer, vc-switches): Autoload.
18881 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
18882 (vc-resynch-buffer): Declare.
18883 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
18884 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
18885 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
18886 (grep-read-regexp, grep-read-files, grep-expand-template)
18887 (vc-dir-refresh): Declare.
18888 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
18889 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
18890 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
18891 * vc/vc-mtn.el (vc-exec-after): Declare.
18892 (vc-switches): Autoload.
18893 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
18894 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
18895 (vc-file-tree-walk): Declare.
18896 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
18897 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
18898 (vc-tag-precondition, vc-rename-master): Autoload.
18899 * vc/vc-svn.el (vc-exec-after): Declare.
18900 (vc-switches, vc-setup-buffer): Autoload.
18901 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
18902 Autoload.
18903 (vc-resynch-buffer): Declare.
18904
18905 * obsolete/fast-lock.el (byte-compile-warnings):
18906 Don't warn about obsolete features in this obsolete file.
18907
18908 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
18909 Move definition before use.
18910
18911 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
18912 (dun-unix-verbs): Remove dun-zippy.
18913 (dun-zippy): Remove function.
18914
18915 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
18916
18917 2013-05-27 Juri Linkov <juri@jurta.org>
18918
18919 * replace.el (replace-search): New function with code moved out
18920 from `perform-replace'.
18921 (replace-highlight, replace-dehighlight): Move function definitions
18922 up closer to `replace-search'. (Bug#11746)
18923
18924 2013-05-27 Juri Linkov <juri@jurta.org>
18925
18926 * replace.el (perform-replace): Ignore invisible matches.
18927 In addition to checking `query-replace-skip-read-only', also
18928 filter out matches by calling `run-hook-with-args-until-failure'
18929 on `isearch-filter-predicates', and also check `search-invisible'
18930 for t or call `isearch-range-invisible'.
18931 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
18932
18933 2013-05-27 Juri Linkov <juri@jurta.org>
18934
18935 * isearch.el (isearch-filter-predicates): Rename from
18936 `isearch-filter-predicate'. Doc fix. (Bug#11378)
18937 (isearch-message-prefix): Display text from the property
18938 `isearch-message-prefix' of the currently active filters.
18939 (isearch-search): Don't compare `isearch-filter-predicate' with
18940 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
18941 on `isearch-filter-predicates'. Also check `search-invisible' for t
18942 or call `isearch-range-invisible'.
18943 (isearch-filter-visible): Make obsolete.
18944 (isearch-lazy-highlight-search):
18945 Call `run-hook-with-args-until-failure' on
18946 `isearch-filter-predicates' and use `isearch-range-invisible'.
18947
18948 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
18949 `isearch-filter-predicates' instead of `funcall'ing
18950 `isearch-filter-predicate'.
18951 (Info-mode): Set `Info-isearch-filter' to
18952 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
18953
18954 * dired-aux.el (dired-isearch-filter-predicate-orig):
18955 Remove variable.
18956 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
18957 (dired-isearch-filenames-end): Add and remove
18958 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
18959 instead of changing the value of `isearch-filter-predicate'.
18960 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
18961 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
18962 Put property `isearch-message-prefix' to "filename " on
18963 `dired-isearch-filter-filenames'.
18964
18965 * wdired.el (wdired-change-to-wdired-mode):
18966 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
18967 locally instead of changing `isearch-filter-predicate'.
18968 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
18969
18970 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
18971
18972 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
18973 return the commit hash (Bug#14459). Also set the
18974 `vc-git-detached' property.
18975 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
18976 (vc-git-mode-line-string): Use the same help-echo format whether
18977 in detached mode or not, because we know the actual revision now.
18978 When in detached mode, shorten the revision to 7 chars.
18979
18980 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
18981
18982 * emacs-lisp/easy-mmode.el (define-minor-mode):
18983 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
18984 mode hook and provide a docstring.
18985
18986 2013-05-27 Alan Mackenzie <acm@muc.de>
18987
18988 Remove spurious syntax-table text properties inserted by C-y.
18989 * progmodes/cc-mode.el (c-after-change): Also clear hard
18990 syntax-table property with value nil.
18991
18992 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
18993
18994 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
18995 when reading the events; the buffer layout shall not be changed.
18996
18997 2013-05-27 Leo Liu <sdl.web@gmail.com>
18998
18999 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
19000 New variable.
19001 (inferior-octave-directory-tracker): Automatically re-sync
19002 default-directory.
19003 (octave-help): Improve handling of 'See also'.
19004
19005 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
19006
19007 * doc-view.el: Minor naming convention tweaks.
19008 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
19009
19010 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
19011 even if there's no `display' property yet (bug#14435).
19012
19013 2013-05-25 Eli Zaretskii <eliz@gnu.org>
19014
19015 * subr.el (unmsys--file-name): Rename from reveal-filename.
19016
19017 * Makefile.in (custom-deps, finder-data, autoloads)
19018 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19019 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19020 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
19021
19022 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
19023
19024 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
19025 error-completion on the first 2 args of condition-case (bug#14446).
19026 Don't burp at EOB.
19027
19028 2013-05-25 Leo Liu <sdl.web@gmail.com>
19029
19030 * comint.el (comint-previous-matching-input): Do not flood the
19031 *Messages* buffer with trivial messages.
19032
19033 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
19034
19035 * progmodes/flymake.el (flymake-nop): Don't return a string.
19036 (flymake-set-at): Fix typo.
19037
19038 * simple.el (read--expression): New function, extracted from
19039 eval-expression. Set completion-at-point-functions (bug#14465).
19040 (eval-expression, eval-minibuffer): Use it.
19041
19042 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
19043
19044 * progmodes/flymake.el (flymake-save-buffer-in-file)
19045 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
19046 (flymake-selected-frame, flymake-log, flymake-ins-after)
19047 (flymake-set-at, flymake-get-buildfile-from-cache)
19048 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
19049 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
19050 Refine the doc string.
19051 (flymake-get-file-name-mode-and-masks): Reformat.
19052 (flymake-get-real-file-name-function): Fix a minor bug.
19053
19054 2013-05-24 Juri Linkov <juri@jurta.org>
19055
19056 * progmodes/grep.el (grep-mode-font-lock-keywords):
19057 Support =linenumber= format used by git-grep for lines with
19058 function names. (Bug#13549)
19059
19060 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19061
19062 * progmodes/octave.el (octave-smie-rules): Return nil rather than
19063 0 after a semi-colon; it works better for smie-auto-fill.
19064 (octave--indent-new-comment-line): New function.
19065 (octave-indent-new-comment-line): Use it (indirectly).
19066 (octave-mode): Don't disable smie-auto-fill. Use add-function to
19067 modify comment-line-break-function.
19068
19069 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
19070 (smie-setup): Use add-function to set it.
19071
19072 2013-05-24 Sam Steingold <sds@gnu.org>
19073
19074 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
19075 argument (before the `interactive' argument).
19076
19077 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19078
19079 * image-mode.el (image-mode-winprops): Add winprops to
19080 image-mode-winprops-alist before running
19081 image-mode-new-window-functions.
19082 * doc-view.el (doc-view-new-window-function): Don't delay
19083 doc-view-goto-page via timers (bug#14435).
19084
19085 2013-05-24 Tassilo Horn <tsdh@gnu.org>
19086
19087 * doc-view.el: Integrate with desktop.el. (Bug#14435)
19088 (doc-view-desktop-save-buffer): New function.
19089 (doc-view-restore-desktop-buffer): New function.
19090 (desktop-buffer-mode-handlers):
19091 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
19092 handler.
19093 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
19094 `desktop-save-buffer' function.
19095
19096 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
19097
19098 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
19099 (tramp-gvfs-file-name-handler): Raise a user error when
19100 `tramp-gvfs-enabled' is nil.
19101 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
19102 Do not raise a user error when loading package. (Bug#14447)
19103
19104 * net/xesam.el: Move to obsolete/.
19105
19106 2013-05-24 Glenn Morris <rgm@gnu.org>
19107
19108 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
19109
19110 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
19111
19112 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
19113 (Info-find-node, Man-getpage-in-background): Declare.
19114
19115 * mail/unrmail.el (unrmail):
19116 Replace obsolete detect-coding-with-priority.
19117
19118 * net/socks.el (socks-split-string): Use this rather than split-string.
19119 (socks-nslookup-host): Update for above change.
19120 (dynamic-choice, s5-dynamic-choice-match)
19121 (s5-dynamic-choice-match-inline, s5-widget-value-create):
19122 Comment out unused code.
19123
19124 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
19125 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
19126 (gud-tooltip-echo-area): Make obsolete.
19127 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
19128
19129 * progmodes/js.el (js--optimize-arglist): Declare.
19130
19131 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
19132
19133 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
19134 (ediff-window-C): Declare.
19135
19136 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
19137 Tweak requires to silence compiler.
19138
19139 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
19140 (he-search-string, he-tried-table, he-expand-list)
19141 (he-init-string, he-string-member, he-substitute-string)
19142 (he-reset-string): Declare.
19143
19144 * obsolete/options.el (list-options): Use custom-variable-p,
19145 rather than obsolete alias.
19146
19147 2013-05-23 Sam Steingold <sds@gnu.org>
19148
19149 * simple.el (shell-command-on-region): Pass the `replace' argument
19150 down to `call-process-region' to comply with the doc as reported on
19151 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
19152
19153 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19154
19155 * emacs-lisp/smie.el (smie-indent-forward-token)
19156 (smie-indent-backward-token): Handle string tokens (bug#14381).
19157
19158 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19159
19160 * ielm.el (ielm-menu): New menu.
19161 (inferior-emacs-lisp-mode): Set comment-start.
19162
19163 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19164
19165 * textmodes/reftex.el (reftex-ref-style-toggle):
19166 Fix deactivate action.
19167
19168 * textmodes/reftex-vars.el (reftex-ref-style-alist):
19169 Add cleveref macros.
19170
19171 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
19172 Accept options for bibliography commands.
19173 * textmodes/reftex-vars.el (reftex-bibliography-commands):
19174 Add addbibresource. Basic Biblatex support.
19175
19176 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
19177
19178 * net/tramp-gvfs.el (top):
19179 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
19180 when loading package. (Bug#14447)
19181
19182 2013-05-23 Glenn Morris <rgm@gnu.org>
19183
19184 * progmodes/js.el: No need to load comint when compiling.
19185 (ring-insert, comint-send-string, comint-send-input)
19186 (comint-last-input-end, ido-chop): Declare.
19187
19188 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
19189 * vc/ediff-mult.el: Adjust requires.
19190 (ediff-directories-internal, ediff-directory-revisions-internal)
19191 (ediff-patch-file-internal): Declare.
19192 * vc/ediff-ptch.el: Adjust requires.
19193 (ediff-use-last-dir, ediff-buffers-internal): Declare.
19194 (ediff-find-file): Autoload.
19195 * vc/ediff-util.el: No need to load ediff when compiling.
19196 (ediff-regions-internal): Declare.
19197 * vc/ediff-wind.el: Adjust requires.
19198 (ediff-compute-toolbar-width): Define when compiling.
19199 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
19200 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
19201 (dired-get-filename, dired-get-marked-files)
19202 (ediff-last-dir-patch, ediff-patch-default-directory)
19203 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
19204 (ediff-patch-buffer-internal): Declare.
19205
19206 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
19207 (ispell-process, ispell-buffer-local-words, lm-summary)
19208 (lm-section-start, lm-section-end): Declare.
19209 (checkdoc-ispell-init): Simplify.
19210
19211 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
19212 (he-string-member, he-reset-string, he-substitute-string): Declare.
19213
19214 * eshell/em-ls.el: Adjust requires.
19215 (eshell-glob-regexp): Declare.
19216 * eshell/em-tramp.el: Adjust requires.
19217 (eshell-parse-command): Autoload.
19218 * eshell/em-xtra.el: Adjust requires.
19219 (eshell-parse-command): Autoload.
19220 * eshell/esh-ext.el: Adjust requires.
19221 (eshell-parse-command, eshell-close-handles): Autoload.
19222 * eshell/esh-io.el: Adjust requires.
19223 (eshell-output-filter): Autoload.
19224 * eshell/esh-util.el: No need to load tramp when compiling.
19225 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
19226 Declare.
19227 (eshell-parse-ange-ls): Require ange-ftp and tramp.
19228 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
19229 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
19230 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
19231 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
19232 * eshell/esh-opt.el, eshell/esh-proc.el:
19233 * eshell/esh-var.el: Adjust requires.
19234 * eshell/eshell.el: Do not require esh-util twice.
19235 (eshell-add-input-to-history): Declare.
19236 (eshell-command): Check history module is active before using it.
19237
19238 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
19239
19240 2013-05-22 Leo Liu <sdl.web@gmail.com>
19241
19242 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
19243
19244 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
19245
19246 * autorevert.el (auto-revert-notify-add-watch)
19247 (auto-revert-notify-handler): Add `attrib' for the inotify case,
19248 it indicates changes in file modification time.
19249
19250 2013-05-22 Glenn Morris <rgm@gnu.org>
19251
19252 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
19253 Always delete the autoloaded function from the noruntime and
19254 unresolved functions lists.
19255
19256 * allout.el: No need to load epa, epg, overlay when compiling.
19257 (epg-context-set-passphrase-callback, epg-list-keys)
19258 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
19259 (epg-key-user-id-list): Declare.
19260
19261 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19262 (viper-set-parsing-style-toggling-macro)
19263 (viper-set-emacs-state-searchstyle-macros):
19264 Use called-interactively-p on Emacs.
19265 (viper-looking-back): Make it an obsolete alias. Update callers.
19266 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
19267 Use looking-back rather than viper-looking-back.
19268 (viper-tmp-insert-at-eob, viper-enlarge-region)
19269 (viper-read-string-with-history, viper-register-to-point)
19270 (viper-append-to-register, viper-change-state-to-vi)
19271 (viper-backward-char-carefully, viper-forward-char-carefully)
19272 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
19273 (viper-change-state-to-emacs): Declare.
19274 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
19275 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
19276 * emulation/viper-mous.el: Do not load viper-cmd.
19277 (viper-backward-char-carefully, viper-forward-char-carefully)
19278 (viper-forward-word, viper-adjust-window): Declare.
19279
19280 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
19281
19282 * progmodes/idlw-help.el (idlwave-help-fontify):
19283 Use called-interactively-p.
19284
19285 * term/w32console.el (w32-get-console-codepage)
19286 (w32-get-console-output-codepage): Declare.
19287
19288 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
19289 Remove unnecessary declarations.
19290 (dframe-message): Doc fix.
19291
19292 * info.el (dframe-select-attached-frame, dframe-current-frame):
19293 Declare.
19294
19295 * speedbar.el (speedbar-message): Make it an obsolete alias.
19296 Update all callers.
19297 (speedbar-with-attached-buffer)
19298 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
19299 (speedbar-with-writable): Use backquote.
19300 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
19301 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
19302 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
19303 rather than speedbar- aliases.
19304 * mail/rmail.el: Load dframe rather than speedbar when compiling.
19305 (speedbar-make-specialized-keymap, speedbar-insert-button)
19306 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
19307 (speedbar-do-function-pointer): Declare.
19308 (rmail-speedbar-button, rmail-speedbar-find-file)
19309 (rmail-speedbar-move-message):
19310 Use dframe-with-attached-buffer rather than speedbar- alias.
19311 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
19312 (dframe-message, speedbar-make-specialized-keymap)
19313 (speedbar-add-expansion-list, speedbar-mode-functions-list)
19314 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
19315 (speedbar-insert-button, dframe-select-attached-frame)
19316 (dframe-maybee-jump-to-attached-frame)
19317 (speedbar-change-initial-expansion-list)
19318 (speedbar-previously-used-expansion-list-name): Declare.
19319 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
19320 Use dframe-message, dframe-with-attached-buffer rather than
19321 speedbar- aliases.
19322 (gud-sentinel): Silence compiler.
19323 * progmodes/vhdl-mode.el (speedbar-refresh)
19324 (speedbar-do-function-pointer, speedbar-add-supported-extension)
19325 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
19326 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
19327 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
19328 (speedbar-file-lists, speedbar-make-tag-line)
19329 (speedbar-line-directory, speedbar-goto-this-file)
19330 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
19331 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
19332 (speedbar-make-button, speedbar-reset-scanners)
19333 (speedbar-files-item-info, speedbar-line-text)
19334 (speedbar-find-file-in-frame, speedbar-set-timer)
19335 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
19336 (speedbar-with-writable): Do not (re)define it.
19337 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
19338 rather than speedbar- alias.
19339
19340 2013-05-21 Leo Liu <sdl.web@gmail.com>
19341
19342 * progmodes/octave.el (octave-mode-menu): Update and re-organize
19343 menu items.
19344 (octave-mode): Tweak fill-nobreak-predicate.
19345 (inferior-octave-startup): Check process to avoid infinite loop.
19346 (inferior-octave): Pop to buffer first to show abornmal process
19347 exit information.
19348
19349 2013-05-21 Glenn Morris <rgm@gnu.org>
19350
19351 * printing.el (pr-menu-bar): Define when compiling.
19352
19353 2013-05-21 Leo Liu <sdl.web@gmail.com>
19354
19355 * progmodes/octave.el (octave-auto-fill): Remove.
19356 (octave-indent-new-comment-line): Improve.
19357 (octave-mode): Use auto fill mode through
19358 comment-line-break-function and fill-nobreak-predicate.
19359 (octave-goto-function-definition): Support DEFUN_DLD.
19360 (octave-beginning-of-defun): Small tweak.
19361 (octave-help): Show parent directory.
19362
19363 2013-05-21 Glenn Morris <rgm@gnu.org>
19364
19365 * files.el (dired-unmark):
19366 * progmodes/gud.el (gdb-input): Update declarations.
19367
19368 * calculator.el (electric, ehelp): No need to load when compiling.
19369 (Electric-command-loop, electric-describe-mode): Declare.
19370
19371 * doc-view.el (doc-view-current-converter-processes): Move before use.
19372
19373 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19374 Move MODE-set-explicitly definition before use.
19375
19376 * international/mule-diag.el (mule-diag):
19377 Don't use obsolete window-system-version.
19378
19379 * mail/feedmail.el (smtpmail): No need to load when compiling.
19380 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
19381
19382 * mail/mail-utils.el (rfc822): No need to load when compiling.
19383 (rfc822-addresses): Autoload it.
19384 (mail-strip-quoted-names): Trivial simplification.
19385
19386 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
19387 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
19388
19389 * net/snmp-mode.el (tempo): Don't duplicate requires.
19390
19391 * progmodes/prolog.el (info): No need to load when compiling.
19392 (comint): Require before shell requires it.
19393 (Info-goto-node): Autoload it.
19394 (Info-follow-nearest-node): Declare.
19395 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
19396
19397 * textmodes/artist.el (picture-mode-exit): Declare.
19398
19399 * textmodes/reftex-parse.el (reftex-parse-from-file):
19400 Trivial rewrite so the compiler can parse it better.
19401
19402 2013-05-20 Leo Liu <sdl.web@gmail.com>
19403
19404 * progmodes/octave.el (octave-help-mode-map)
19405 (octave-help-mode-finish-hook): New variables.
19406 (octave-help-mode, octave-help-mode-finish): New functions.
19407 (octave-help): Use octave-help-mode.
19408
19409 2013-05-20 Glenn Morris <rgm@gnu.org>
19410
19411 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
19412
19413 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
19414
19415 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
19416 start at point, so that expansion starting right after opening
19417 slash in a regexp is recognized.
19418 (ruby-syntax-before-regexp-re): New defvar, extracted from
19419 ruby-syntax-propertize-function. Since the value of this regexp
19420 is looked up at runtime now, we should be able to turn
19421 `ruby-syntax-methods-before-regexp' into a defcustom later.
19422 (ruby-syntax-propertize-function): Split regexp matching into two
19423 parts, for opening and closing slashes. That allows us to skip
19424 over string interpolations and support multiline regexps.
19425 Don't call `ruby-syntax-propertize-expansions', instead use another rule
19426 for them, which calls `ruby-syntax-propertize-expansion'.
19427 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
19428 call to `ruby-syntax-propertize-function'.
19429 (ruby-syntax-propertize-expansion): Extracted from
19430 `ruby-syntax-propertize-expansions'. Handles one expansion.
19431 (ruby-syntax-propertize-percent-literal): Leave point right after
19432 the percent symbol, so that the expression expansion rule can
19433 propertize the contents.
19434 (ruby-syntax-propertize-heredoc): Leave point at bol following the
19435 heredoc openers.
19436 (ruby-syntax-propertize-expansions): Remove.
19437
19438 2013-05-18 Juri Linkov <juri@jurta.org>
19439
19440 * man.el (Man-default-man-entry): Remove `-' from the end
19441 of the default value. (Bug#14400)
19442
19443 2013-05-18 Glenn Morris <rgm@gnu.org>
19444
19445 * comint.el (comint-password-prompt-regexp):
19446 Allow "password for XXX" where XXX contains colons (eg https://...).
19447
19448 2013-05-18 Leo Liu <sdl.web@gmail.com>
19449
19450 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
19451 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
19452 (octave-source-directories): Don't check process.
19453 (octave-source-directories, octave-find-definition): Doc fix.
19454
19455 2013-05-18 Glenn Morris <rgm@gnu.org>
19456
19457 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
19458 Remove backspace/delete bindings. (Bug#14392)
19459
19460 * cus-dep.el (custom-make-dependencies): Sort the output.
19461 (custom-versions-load-alist): Convert comment to doc.
19462
19463 2013-05-17 Leo Liu <sdl.web@gmail.com>
19464
19465 * newcomment.el (comment-search-backward): Stricter in finding
19466 comment start. (Bug#14303)
19467
19468 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
19469 (octave-comment-start-skip): Properly anchored.
19470
19471 2013-05-17 Leo Liu <sdl.web@gmail.com>
19472
19473 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
19474 Clean up when turned off. (Bug#14395)
19475 (smie--highlight-matching-block-overlay): No longer buffer-local.
19476 (smie-highlight-matching-block): Adjust.
19477
19478 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
19479
19480 Doc string fix for "nanoseconds" (Bug#14406).
19481 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
19482 Fix doc string typo that had "nanoseconds" instead of "microseconds".
19483
19484 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
19485
19486 * calc/calc-units.el (math-extract-units): Preserve powers
19487 of units.
19488
19489 2013-05-17 Leo Liu <sdl.web@gmail.com>
19490
19491 * subr.el (delete-consecutive-dups): New function.
19492 * ido.el (ido-set-matches-1): Use it.
19493 * progmodes/octave.el (inferior-octave-completion-table): Use it.
19494 * ido.el (ido-remove-consecutive-dups): Remove.
19495
19496 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19497
19498 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19499 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
19500 regexp-opt's `words'.
19501
19502 2013-05-16 Leo Liu <sdl.web@gmail.com>
19503
19504 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
19505 (smie--highlight-matching-block-overlay)
19506 (smie--highlight-matching-block-lastpos)
19507 (smie--highlight-matching-block-timer): New variables.
19508 (smie-highlight-matching-block): New function.
19509 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
19510 (smie-setup): Conditionally enable smie-blink-matching-open.
19511
19512 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
19513
19514 Sync with upstream verilog-mode r840.
19515 * progmodes/verilog-mode.el (verilog-mode-version)
19516 (verilog-mode-release-date): Update.
19517 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
19518 (verilog-sig-tieoff): Fix string error on
19519 AUTORESET with colon define, bug594. Reported by Andrew Hou.
19520 (verilog-read-decls): Fix parameters confusing
19521 AUTOINST interfaces, bug565. Reported by Leith Johnson.
19522
19523 2013-05-16 Eli Zaretskii <eliz@gnu.org>
19524
19525 * subr.el (reveal-filename): New function.
19526
19527 * loadup.el: Compute Emacs executable versions on MS-Windows,
19528 where executables have the .exe extension. Add a hard link
19529 emacs-XX.YY.ZZ.exe on MS-Windows.
19530
19531 * Makefile.in (XARGS_LIMIT): New variable.
19532 (custom-deps, finder-data, autoloads)
19533 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19534 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19535 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
19536 (compile-main): Limit xargs according to $(XARGS_LIMIT).
19537
19538 2013-05-16 Leo Liu <sdl.web@gmail.com>
19539
19540 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
19541 (octave-mode-menu, octave-mode-map): Remove its uses.
19542
19543 2013-05-16 Reto Zimmermann <reto@gnu.org>
19544
19545 Sync with upstream vhdl mode v3.34.2.
19546 * progmodes/vhdl-mode.el: Use `push' throughout.
19547 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
19548 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
19549 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
19550 (vhdl-actual-generic-name): New option to derive actual generic name.
19551 (vhdl-port-paste-signals): Replace formal by actual generics.
19552 (vhdl-beautify): New name for old group vhdl-align. Update users.
19553 (vhdl-beautify-options): New option.
19554 (vhdl-last-input-event): New compat alias. Use throughout.
19555 (vhdl-goto-line): Replace user level function `goto-line'.
19556 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
19557 vhdl-fix-statement-buffer.
19558 (vhdl-create-mode-menu): Add some entries.
19559 (vhdl-align-region-groups): Respect vhdl-beautify-options.
19560 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
19561 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
19562 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
19563 to force statements on one line.
19564 (vhdl-remove-trailing-spaces-region):
19565 New, split from vhdl-remove-trailing-spaces.
19566 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
19567 Respect vhdl-beautify-options.
19568 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
19569 (vhdl-update-sensitivity-list): Not add with index if exists without.
19570 Not include array index with signal. Ignore keywords in comments.
19571 (vhdl-get-visible-signals): Regexp tweaks.
19572 (vhdl-template-component-inst): Handle empty library.
19573 (vhdl-template-type): Add template for 'enum' type.
19574 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
19575 Use vhdl-replace-string.
19576 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
19577 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
19578 (vhdl-speedbar-initialize): Update for above name change.
19579 (vhdl-compose-wire-components): Fix in handling of constants.
19580 (vhdl-error-regexp-emacs-alist): New variable.
19581 (vhdl-error-regexp-add-emacs): New function;
19582 adds support for new compile.el (Emacs 22+)
19583 (vhdl-generate-makefile-1): Change target order for single lib. units.
19584 Allow use of absolute file names.
19585
19586 2013-05-16 Leo Liu <sdl.web@gmail.com>
19587
19588 * simple.el (prog-indent-sexp): Indent enclosing defun.
19589
19590 2013-05-15 Glenn Morris <rgm@gnu.org>
19591
19592 * cus-start.el (show-trailing-whitespace): Move to editing basics.
19593 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
19594 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
19595 (whitespace-highlight): Move to whitespace group.
19596
19597 * comint.el (comint-source):
19598 * pcmpl-linux.el (pcmpl-linux):
19599 * shell.el (shell-faces):
19600 * eshell/esh-opt.el (eshell-opt):
19601 * international/ccl.el (ccl): Remove empty custom groups.
19602
19603 * completion.el (dynamic-completion-mode):
19604 * jit-lock.el (jit-lock-debug-mode):
19605 * minibuffer.el (completion-in-region-mode):
19606 * type-break.el (type-break-mode-line-message-mode)
19607 (type-break-query-mode):
19608 * emulation/tpu-edt.el (tpu-edt-mode):
19609 * progmodes/subword.el (global-subword-mode, global-superword-mode):
19610 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19611 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
19612
19613 * term/xterm.el (xterm): Change parent group to terminals.
19614
19615 * master.el (master): Remove empty custom group.
19616 (master-mode): Remove unused :group argument.
19617 * textmodes/refill.el (refill): Remove empty custom group.
19618 (refill-mode): Remove unused :group argument.
19619
19620 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
19621
19622 * cus-dep.el: Provide a feature.
19623 (custom-make-dependencies): Ignore dotfiles (dir-locals).
19624 Don't mistakenly ignore files whose basenames match a basename
19625 from preloaded-file-list (eg cedet/ede/simple.el).
19626 Add a fallback method for getting :group.
19627
19628 2013-05-15 Juri Linkov <juri@jurta.org>
19629
19630 * isearch.el (isearch-char-by-name): Rename from
19631 `isearch-insert-char-by-name'. Doc fix.
19632 (isearch-forward): Mention `isearch-char-by-name' in
19633 the docstring. (Bug#13348)
19634
19635 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
19636 `exit-minibuffer' instead of
19637 `isearch-nonincremental-exit-minibuffer'.
19638 (isearch-edit-string): Remove mention of
19639 `isearch-nonincremental-exit-minibuffer' from docstring.
19640 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
19641 (isearch-forward-exit-minibuffer)
19642 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
19643
19644 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19645
19646 * loadup.el: Just use unversioned DOC.
19647
19648 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
19649 literals as extending to EOB.
19650 (nxml-last-fontify-end): Remove unused variable.
19651 (nxml-after-change1): Use with-silent-modifications.
19652 (nxml-extend-after-change-region): Simplify.
19653 (nxml-extend-after-change-region1): Remove function.
19654 (nxml-after-change1): Don't adjust for dependent regions.
19655 (nxml-fontify-matcher): Simplify.
19656 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
19657 (xmltok-add-dependent): Remove function.
19658 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
19659 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
19660 (xmltok-scan-prolog-after-processing-instruction-open): Treat
19661 unclosed <[[, <?, comment, and other literals as extending to EOB.
19662 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
19663 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
19664 Remove functions.
19665 (rng-do-some-validation-1): Don't mark dependent regions.
19666 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
19667 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
19668 (nxml-clear-dependent-regions): Remove functions.
19669 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
19670 (nxml-ensure-scan-up-to-date):
19671 Don't clear&mark dependent regions.
19672
19673 2013-05-15 Leo Liu <sdl.web@gmail.com>
19674
19675 * progmodes/octave.el (octave-goto-function-definition):
19676 Improve and fix callers.
19677
19678 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19679
19680 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
19681 the setter (bug#14387).
19682
19683 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
19684 surrounding group (bug#14402).
19685
19686 2013-05-14 Juri Linkov <juri@jurta.org>
19687
19688 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
19689 (Bug#14390)
19690
19691 2013-05-14 Glenn Morris <rgm@gnu.org>
19692
19693 * progmodes/f90.el (f90-imenu-generic-expression):
19694 Fix typo in 2013-05-08 change. (Bug#14402)
19695
19696 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19697
19698 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
19699 Remove signals for which replies are never received.
19700
19701 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19702
19703 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
19704 (gdb-handler-alist, gdb-handler-number): Remove variables.
19705 (gdb-handler-list): New variable.
19706 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
19707 (gdb-pending-handler-p, gdb-handle-reply)
19708 (gdb-remove-all-pending-triggers): New functions.
19709 (gdb-discard-unordered-replies): New defcustom.
19710 (gdb-handler): New defstruct.
19711 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
19712 instead of gdb-pending-triggers. Update docstring.
19713 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
19714 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
19715 (gdb-var-update-handler, def-gdb-auto-update-trigger)
19716 (def-gdb-auto-update-handler, gdb-get-changed-registers)
19717 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
19718 (gdb-frame-handler): Pending triggers are now automatically managed.
19719 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
19720 Remove argument.
19721 (gdb-input): Automatically handles pending triggers. Update docstring.
19722 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
19723 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
19724 Update comments.
19725 (gdb-done-or-error): Now use gdb-handle-reply.
19726
19727 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19728
19729 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
19730 gdb-debug-log.
19731
19732 2013-05-14 Glenn Morris <rgm@gnu.org>
19733
19734 * subr.el (user-emacs-directory-warning): New option.
19735 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
19736
19737 2013-05-14 Leo Liu <sdl.web@gmail.com>
19738
19739 * progmodes/octave.el (octave-font-lock-keywords): Fix error
19740 during redisplay.
19741 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
19742 (octave-font-lock-texinfo-comment): Fix invalid search bound
19743 error: wrong side of point.
19744
19745 2013-05-14 Glenn Morris <rgm@gnu.org>
19746
19747 * progmodes/flymake.el (flymake-xml-program): New option.
19748 (flymake-xml-init): Use it.
19749
19750 * term/xterm.el: Provide a feature.
19751
19752 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
19753
19754 2013-05-13 Glenn Morris <rgm@gnu.org>
19755
19756 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
19757 Add compat aliases as a hack workaround. (Bug#14384)
19758
19759 2013-05-13 Leo Liu <sdl.web@gmail.com>
19760
19761 * progmodes/octave.el (octave-indent-comment): Fix indentation for
19762 ###, and %!.
19763 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
19764 C-M-q.
19765 (octave-comment-start-skip): Include %!.
19766 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
19767
19768 2013-05-12 Leo Liu <sdl.web@gmail.com>
19769
19770 * progmodes/octave.el (inferior-octave-startup): Store the value
19771 of __octave_srcdir__ for octave-source-directories.
19772 (inferior-octave-check-process): New function refactored out of
19773 inferior-octave-send-list-and-digest.
19774 (octave-source-directories)
19775 (octave-find-definition-filename-function): New variables.
19776 (octave-source-directories)
19777 (octave-find-definition-default-filename): New functions.
19778 (octave-find-definition): Improve to find functions implemented in C++.
19779
19780 2013-05-12 Glenn Morris <rgm@gnu.org>
19781
19782 * calendar/diary-lib.el (diary-outlook-format-1):
19783 Don't include dayname in the output. (Bug#14349)
19784
19785 2013-05-11 Glenn Morris <rgm@gnu.org>
19786
19787 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
19788
19789 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
19790 Treat cc-provide like provide.
19791
19792 2013-05-11 Kevin Ryde <user42@zip.com.au>
19793
19794 * cus-dep.el (custom-make-dependencies):
19795 Use generated-autoload-load-name for the sake of files such
19796 such cedet/semantic/bovine/c.el, where the base file name
19797 is not in load-path. (Bug#5277)
19798
19799 2013-05-11 Glenn Morris <rgm@gnu.org>
19800
19801 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
19802 Provide features.
19803
19804 2013-05-11 Leo Liu <sdl.web@gmail.com>
19805
19806 * progmodes/octave.el (octave-indent-comment): Improve.
19807 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
19808 (octave-eldoc-function-signatures, octave-eldoc-function):
19809 New functions.
19810 (octave-mode, inferior-octave-mode): Add eldoc support.
19811
19812 2013-05-11 Richard Stallman <rms@gnu.org>
19813
19814 * epa.el (epa-decrypt-file): Take output file name as argument
19815 and read it using `interactive'.
19816
19817 2013-05-11 Leo Liu <sdl.web@gmail.com>
19818
19819 * progmodes/octave.el (octave-beginning-of-line)
19820 (octave-end-of-line): Check before using up-list because it jumps
19821 out of more syntactic contructs since moving to smie.
19822 (octave-indent-comment): New function.
19823 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
19824 (octave-begin-keywords, octave-end-keywords)
19825 (octave-reserved-words, octave-smie-bnf-table)
19826 (octave-smie-rules): Add new keywords from Octave 3.6.4.
19827
19828 2013-05-11 Glenn Morris <rgm@gnu.org>
19829
19830 * faces.el (internal-face-x-get-resource):
19831 * frame.el (ns-display-monitor-attributes-list):
19832 * calc/calc-aent.el (math-to-radians-2):
19833 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
19834 Fix declarations.
19835
19836 * calc/calc-menu.el: Make it loadable in isolation.
19837
19838 * net/eudcb-bbdb.el: Make it loadable without bbdb.
19839 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
19840 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
19841 (eudc-bbdb-query-internal): Require 'bbdb.
19842
19843 * lpr.el (lpr-headers-switches):
19844 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
19845
19846 * progmodes/sql.el (sql-login-params): Fix and improve :type.
19847
19848 * emulation/edt-mapper.el: In batch mode, error rather than hang.
19849
19850 * term.el (term-set-escape-char): Make it idempotent.
19851
19852 2013-05-10 Leo Liu <sdl.web@gmail.com>
19853
19854 * progmodes/octave.el (inferior-octave-completion-table):
19855 No longer a function and all uses changed. Use cache to speed up
19856 completion due to bug#11906.
19857 (octave-beginning-of-defun): Re-write to be more general.
19858
19859 2013-05-10 Glenn Morris <rgm@gnu.org>
19860
19861 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
19862
19863 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
19864
19865 * comint.el (comint-redirect-send-command-to-process): Use :around
19866 rather than :override for comint-redirect-filter.
19867 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
19868 Call it instead of comint-redirect-original-filter-function (which
19869 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
19870
19871 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
19872
19873 * frame.el (display-monitor-attributes-list): Add NS case.
19874 (ns-display-monitor-attributes-list): Declare.
19875
19876 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
19877
19878 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
19879
19880 2013-05-09 Glenn Morris <rgm@gnu.org>
19881
19882 * international/fontset.el (vertical-centering-font-regexp):
19883 Set standard-value.
19884
19885 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
19886
19887 * bookmark.el (bookmark-search-delay):
19888 * cus-start.el (vertical-centering-font-regexp):
19889 * ps-mule.el (ps-mule-font-info-database-default):
19890 * ps-print.el (ps-default-fg, ps-default-bg):
19891 * type-break.el (type-break-good-break-interval):
19892 * whitespace.el (whitespace-indentation-regexp)
19893 (whitespace-space-after-tab-regexp):
19894 * emacs-lisp/testcover.el (testcover-1value-functions)
19895 (testcover-noreturn-functions, testcover-progn-functions)
19896 (testcover-prog1-functions):
19897 * emulation/viper-init.el (viper-emacs-state-cursor-color):
19898 * eshell/em-glob.el (eshell-glob-translate-alist):
19899 * play/tetris.el (tetris-tty-colors):
19900 * progmodes/cpp.el (cpp-face-default-list):
19901 * progmodes/flymake.el (flymake-allowed-file-name-masks):
19902 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
19903 (idlwave-help-browser-generic-args):
19904 * progmodes/make-mode.el (makefile-special-targets-list):
19905 * progmodes/python.el (python-shell-virtualenv-path):
19906 * progmodes/verilog-mode.el (verilog-active-low-regexp)
19907 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
19908 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
19909 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
19910 * textmodes/reftex-vars.el (reftex-format-label-function):
19911 * textmodes/remember.el (remember-diary-file): Fix custom types.
19912
19913 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
19914 Add :version.
19915
19916 2013-05-09 Leo Liu <sdl.web@gmail.com>
19917
19918 * progmodes/octave.el (inferior-octave-completion-at-point):
19919 Restore file completion. (Bug#14300)
19920 (inferior-octave-startup): Fix incorrect highlighting for the
19921 first prompt.
19922
19923 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19924
19925 * progmodes/ruby-mode.el: First cut at SMIE support.
19926 (ruby-use-smie): New var.
19927 (ruby-smie-grammar): New constant.
19928 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
19929 (ruby-smie--forward-token, ruby-smie--backward-token)
19930 (ruby-smie-rules): New functions.
19931 (ruby-mode-variables): Setup SMIE if applicable.
19932
19933 2013-05-08 Eli Zaretskii <eliz@gnu.org>
19934
19935 * simple.el (line-move-visual): Signal beginning/end of buffer
19936 only if vertical-motion moved less than it was requested. Avoids
19937 silly incorrect error messages when there are display strings with
19938 multiple newlines at EOL.
19939
19940 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19941
19942 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
19943 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
19944 (prolog-char-quote-workaround):
19945 * progmodes/cperl-mode.el (cperl-under-as-char):
19946 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
19947 Mark as obsolete.
19948 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
19949 their declaration.
19950 (vhdl-mode-syntax-table-init): Remove.
19951
19952 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
19953 last change.
19954
19955 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
19956 syntax for "_".
19957 (ld-script-font-lock-keywords):
19958 Change regexps to use things like \_< and \_>.
19959
19960 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
19961 Change all regexps to use things like \_< and \_>.
19962
19963 * progmodes/autoconf.el (autoconf-definition-regexp)
19964 (autoconf-font-lock-keywords, autoconf-current-defun-function):
19965 Handle a _ with symbol syntax.
19966 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
19967
19968 * progmodes/ada-mode.el (ada-mode-abbrev-table):
19969 Consolidate declaration.
19970 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
19971 the declaration.
19972 (ada-create-syntax-table): Remove.
19973 (ada-capitalize-word): Don't mess with the syntax of "_" since it
19974 already has the right syntax nowadays.
19975 (ada-goto-next-word): Don't change the syntax of "_".
19976
19977 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
19978 with-wrapper-hook.
19979
19980 2013-05-08 Sam Steingold <sds@gnu.org>
19981
19982 * thingatpt.el (thing-at-point): Accept optional second argument
19983 NO-PROPERTIES to strip the text properties from the return value.
19984 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
19985 to `thing-at-point' instead of stripping the properties ourselves.
19986 Also, when `thing-at-point' fails to find a url, prepend "http://"
19987 to the filename at point on the assumption that the user is
19988 pointing at something like gnu.org/gnu.
19989
19990 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
19991
19992 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
19993 * faces.el (crm-separator):
19994 Silence byte-compiler.
19995
19996 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
19997 (tool-bar-map): Remove unneeded defvars.
19998
19999 2013-05-08 Leo Liu <sdl.web@gmail.com>
20000
20001 Re-work a fix for bug#10994 based on Le Wang's patch.
20002 * ido.el (ido-remove-consecutive-dups): New helper.
20003 (ido-completing-read): Use it.
20004 (ido-chop): Revert fix for bug#10994.
20005
20006 2013-05-08 Adam Spiers <emacs@adamspiers.org>
20007
20008 * cus-edit.el (custom-save-variables):
20009 Pretty-print long values. (Bug#14187)
20010
20011 2013-05-08 Glenn Morris <rgm@gnu.org>
20012
20013 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
20014 (m4-mode-syntax-table): Init in the defvar.
20015 (m4-mode-abbrev-table): Let define-derived-mode define it.
20016
20017 2013-05-08 Tom Tromey <tromey@redhat.com>
20018
20019 * progmodes/m4-mode.el (m4-mode-syntax-table):
20020 Do not treat "_" as word constituent. (Bug#14167)
20021
20022 2013-05-07 Glenn Morris <rgm@gnu.org>
20023
20024 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
20025 Remove explicit eshell-isearch-cancel-map.
20026
20027 * progmodes/f90.el (f90-smart-end-names): New option.
20028 (f90-smart-end): Doc fix.
20029 (f90-end-block-optional-name): New constant.
20030 (f90-block-match): Respect f90-smart-end-names.
20031
20032 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20033
20034 * progmodes/octave.el (octave-smie-forward-token): Be more careful
20035 about implicit semi-colons (bug#14218).
20036
20037 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20038
20039 * frame.el (display-monitor-attributes-list)
20040 (frame-monitor-attributes): New functions.
20041
20042 2013-05-06 Leo Liu <sdl.web@gmail.com>
20043
20044 * progmodes/octave.el (octave-syntax-propertize-function): Change
20045 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
20046 (octave-font-lock-keywords): Use octave-operator-regexp.
20047 (octave-completion-at-point): Rename from
20048 octave-completion-at-point-function.
20049 (inferior-octave-directory-tracker): Robustify.
20050 (octave-text-functions): Remove and fix its uses. No such things
20051 any more.
20052
20053 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20054
20055 * emacs-lisp/trace.el (trace--display-buffer): New function.
20056 (trace-make-advice): Use it.
20057
20058 2013-05-06 Juri Linkov <juri@jurta.org>
20059
20060 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
20061 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
20062 Doc fix.
20063 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
20064 in the help string. (Bug#12985)
20065
20066 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
20067
20068 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
20069
20070 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20071
20072 * progmodes/perl-mode.el: Add support for here documents.
20073 (perl-syntax-propertize-function): Match here-doc markers.
20074 (perl-syntax-propertize-special-constructs): Find their end.
20075 (perl-imenu-generic-expression): Use [:alnum:].
20076
20077 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
20078 (advice--add-function): Refresh the advice if already present
20079 (bug#14317).
20080
20081 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
20082
20083 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
20084
20085 2013-05-06 Glenn Morris <rgm@gnu.org>
20086
20087 * w32-fns.el (w32-charset-info-alist): Declare.
20088
20089 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
20090 of its defcustom properties.
20091 (eshell-cmpl-initialize): No need to load pcomplete.
20092
20093 * generic-x.el: No need to require comint when compiling.
20094
20095 * net/eudc-export.el: Make it loadable without bbdb.
20096 (top-level): Use require rather than load-library.
20097 (eudc-create-bbdb-record, eudc-bbdbify-phone)
20098 (eudc-batch-export-records-to-bbdb)
20099 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
20100 Require bbdb.
20101
20102 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20103
20104 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
20105 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
20106 some tweaks, instead.
20107
20108 2013-05-05 Leo Liu <sdl.web@gmail.com>
20109
20110 * progmodes/octave.el (octave-font-lock-keywords)
20111 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
20112 (inferior-octave-send-list-and-digest): Improve error message.
20113 (octave-mode, inferior-octave-mode): Use setq-local.
20114 (octave-help): Set info-lookup-mode.
20115
20116 2013-05-05 Richard Stallman <rms@gnu.org>
20117
20118 * vc/compare-w.el (compare-windows-whitespace):
20119 Treat no-break space as whitespace.
20120
20121 * mail/rmailsum.el (rmail-summary-rmail-update):
20122 Detect empty summary and don't change selected message.
20123 (rmail-summary-goto-msg): Likewise.
20124
20125 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
20126 Doc fixes, rename args.
20127
20128 2013-05-05 Alan Mackenzie <acm@muc.de>
20129
20130 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
20131
20132 2013-05-05 Juri Linkov <juri@jurta.org>
20133
20134 * info.el (Info-read-subfile): Use (point-min) instead of (point)
20135 to not add the length of the summary segment to the return value.
20136 (Bug#14125)
20137
20138 2013-05-05 Leo Liu <sdl.web@gmail.com>
20139
20140 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
20141 (inferior-octave-output-filter): Remove.
20142 (octave-send-region, inferior-octave-startup): Fix callers.
20143 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
20144 (octave-binary-file-extensions): New user variable.
20145 (octave-find-definition): Confirm if opening binary files.
20146 (octave-help-file): Use octave-find-definition to get the binary
20147 confirmation.
20148 (octave-help): Adjust for octave-help-file change.
20149
20150 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20151
20152 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
20153 Merge the two entries that handle function definitions.
20154 (pascal--syntax-propertize): New const.
20155 (pascal-mode): Use it. Use setq-local.
20156
20157 2013-05-04 Glenn Morris <rgm@gnu.org>
20158
20159 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
20160 (diary-from-outlook): Respect diary-from-outlook-function.
20161
20162 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20163
20164 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
20165 Move the declaration from C.
20166 (read-minibuffer, eval-minibuffer): Move from C.
20167 (completion-setup-function): Avoid minibuffer-completion-contents.
20168
20169 2013-05-03 Leo Liu <sdl.web@gmail.com>
20170
20171 * progmodes/octave.el (octave-font-lock-keywords): Do not
20172 dehighlight 'end' in comments or strings.
20173 (octave-completing-read, octave-goto-function-definition):
20174 New helpers.
20175 (octave-help-buffer): New user variable.
20176 (octave-help-file, octave-help-function): New button types.
20177 (octave-help): New command and bind it to C-h ;.
20178 (octave-find-definition): New command and bind it to M-.
20179 (user-error): Alias to error if not defined.
20180
20181 2013-05-02 Leo Liu <sdl.web@gmail.com>
20182
20183 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
20184 for \. (bug#14332)
20185 (octave-font-lock-keywords): Include [ and {.
20186
20187 2013-05-02 Leo Liu <sdl.web@gmail.com>
20188
20189 * progmodes/octave.el (inferior-octave-startup-file): Change default.
20190 (inferior-octave): Remove calling comint-mode and return the buffer.
20191 (inferior-octave-startup): Cosmetic changes.
20192
20193 2013-05-02 Leo Liu <sdl.web@gmail.com>
20194
20195 * progmodes/octave.el (octave-syntax-propertize-function):
20196 Include the case when ' is at line beginning. (Bug#14336)
20197
20198 2013-05-02 Glenn Morris <rgm@gnu.org>
20199
20200 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
20201 * desktop.el (vc-dir-mode): Just autoload it here.
20202
20203 2013-05-02 Alan Mackenzie <acm@muc.de>
20204
20205 Eliminate variable c-standard-font-lock-fontify-region-function.
20206 * progmodes/cc-mode.el
20207 (c-standard-font-lock-fontify-region-function): Remove.
20208 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
20209
20210 2013-05-01 Leo Liu <sdl.web@gmail.com>
20211
20212 * progmodes/octave.el: Compatible with older emacs-24 releases.
20213 (inferior-octave-has-built-in-variables): Remove. Built-in
20214 variables were removed from Octave in 2007.
20215 (inferior-octave-startup): Fix uses.
20216 (comint-line-beginning-position): Remove compatibility code for
20217 emacs 21.
20218
20219 2013-05-01 Juri Linkov <juri@jurta.org>
20220
20221 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
20222
20223 2013-05-01 Juri Linkov <juri@jurta.org>
20224
20225 * comint.el (comint-previous-matching-input): Don't print message
20226 "History item: %d" when `isearch-mode' is active.
20227 (comint-history-isearch-message): Print message "History item: %d"
20228 when `comint-input-ring-index' is not empty and this function is
20229 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
20230
20231 2013-05-01 Leo Liu <sdl.web@gmail.com>
20232
20233 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
20234 definitions. Use completion-at-point to insert keywords.
20235 (octave-abbrev-start): Remove.
20236 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
20237
20238 2013-04-30 Leo Liu <sdl.web@gmail.com>
20239
20240 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
20241 change.
20242
20243 2013-04-30 Alan Mackenzie <acm@muc.de>
20244
20245 Handle arbitrarily long C++ member initialisation lists.
20246 * progmodes/cc-engine.el (c-back-over-member-initializers):
20247 new function.
20248 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
20249 (most) member init lists.
20250
20251 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20252
20253 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
20254 variable.
20255
20256 2013-04-30 Leo Liu <sdl.web@gmail.com>
20257
20258 * progmodes/octave.el (octave-variables): Remove. No builtin
20259 variables any more. All converted to functions.
20260 (octave-font-lock-keywords, octave-completion-at-point-function):
20261 Fix uses.
20262 (octave-font-lock-texinfo-comment): New user variable.
20263 (octave-texinfo-font-lock-keywords): New variable for texinfo
20264 comment block.
20265 (octave-function-comment-block): New face.
20266 (octave-font-lock-texinfo-comment): New function.
20267 (octave-mode): Font lock texinfo comment block.
20268
20269 2013-04-29 Leo Liu <sdl.web@gmail.com>
20270
20271 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
20272 indexing expression.
20273 (octave-continuation-string): Do not use \.
20274 (inferior-octave-complete-impossible): Remove.
20275 (inferior-octave-completion-table)
20276 (inferior-octave-completion-at-point): Remove its uses.
20277 (inferior-octave-startup): completion_matches was introduced to
20278 Octave in 1996 so safe to assume it.
20279 (octave-function-file-comment): Improve to follow how Octave does it.
20280 (octave-update-function-file-comment): Tweak.
20281
20282 2013-04-29 Leo Liu <sdl.web@gmail.com>
20283
20284 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
20285 (inferior-octave-startup): Remove inferior-octave-startup-hook.
20286 (octave-function-file-comment): Fix typo.
20287 (octave-sync-function-file-names): Use read-char-choice.
20288
20289 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
20290
20291 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
20292 to t for the less important warnings.
20293
20294 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
20295
20296 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
20297
20298 2013-04-27 Glenn Morris <rgm@gnu.org>
20299
20300 * vc/log-view.el (log-view-current-entry):
20301 Treat "---" separator lines as part of the following rev. (Bug#14169)
20302
20303 2013-04-27 Juri Linkov <juri@jurta.org>
20304
20305 * subr.el (read-number): Doc fix about using it by interactive
20306 code letter `n'. (Bug#14254)
20307
20308 2013-04-27 Juri Linkov <juri@jurta.org>
20309
20310 * desktop.el (desktop-auto-save-timeout): New option.
20311 (desktop-file-checksum): New variable.
20312 (desktop-save): Add optional arg `auto-save' and don't auto-save
20313 if nothing changed.
20314 (desktop-auto-save-timer): New variable.
20315 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
20316 (after-init-hook): Call `desktop-auto-save-set-timer'.
20317 Suggested by Reuben Thomas <rrt@sc3d.org> in
20318 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
20319
20320 2013-04-27 Leo Liu <sdl.web@gmail.com>
20321
20322 * progmodes/octave.el (octave-function-file-p)
20323 (octave-skip-comment-forward, octave-function-file-comment)
20324 (octave-update-function-file-comment): New functions.
20325 (octave-mode-map): Bind C-c ; to
20326 octave-update-function-file-comment.
20327 (octave-mode-menu): Add octave-update-function-file-comment.
20328 (octave-mode, inferior-octave-mode): Fix doc-string.
20329 (octave-insert-defun): Conform to Octave's coding convention.
20330 (Bug#14285)
20331
20332 * files.el (basic-save-buffer): Don't let errors in
20333 before-save-hook prevent saving buffer.
20334
20335 2013-04-20 Roland Winkler <winkler@gnu.org>
20336
20337 * faces.el (read-face-name): Use completing-read if arg multiple
20338 is nil.
20339
20340 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
20341
20342 * ls-lisp.el (ls-lisp-insert-directory): If no files are
20343 displayed, move point to after the totals line.
20344 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
20345 for the details.
20346
20347 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
20348
20349 * emacs-lisp/package.el (package-autoload-ensure-default-file):
20350 Add current dir to the load-path.
20351 (package-generate-autoloads): Don't rely on
20352 autoload-ensure-default-file.
20353
20354 2013-04-26 Reuben Thomas <rrt@sc3d.org>
20355
20356 * textmodes/remember.el (remember-store-in-files): Document that
20357 the file name format is passed to `format-time-string'.
20358
20359 2013-04-26 Leo Liu <sdl.web@gmail.com>
20360
20361 * progmodes/octave.el (octave-sync-function-file-names): New function.
20362 (octave-mode): Use it in before-save-hook.
20363
20364 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
20365
20366 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
20367 (bug#14274).
20368
20369 * progmodes/octave.el (octave-smie-forward-token): Properly skip
20370 \n and comment, even if it's not an implicit ; (bug#14218).
20371
20372 2013-04-26 Glenn Morris <rgm@gnu.org>
20373
20374 * subr.el (read-number): Once more use `read' rather than
20375 `string-to-number', to trap non-numeric input. (Bug#14254)
20376
20377 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
20378
20379 * emacs-lisp/syntax.el (syntax-propertize-multiline):
20380 Use `syntax-multiline' text property consistently instead of
20381 `font-lock-multiline'. (Bug#14237)
20382
20383 2013-04-26 Glenn Morris <rgm@gnu.org>
20384
20385 * emacs-lisp/shadow.el (list-load-path-shadows):
20386 No longer necessary to check for duplicate simple.el, since
20387 2012-07-07 change to init_lread to not include installation lisp
20388 directories in load-path when running uninstalled. (Bug#14270)
20389
20390 2013-04-26 Leo Liu <sdl.web@gmail.com>
20391
20392 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
20393 (octave-mode, inferior-octave-mode): Use setq-local.
20394 (octave-not-in-string-or-comment-p): Rename to
20395 octave-in-string-or-comment-p.
20396 (octave-in-comment-p, octave-in-string-p)
20397 (octave-in-string-or-comment-p): Replace defsubst with defun.
20398
20399 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
20400
20401 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
20402
20403 2013-04-25 Bastien Guerry <bzg@gnu.org>
20404
20405 * textmodes/remember.el (remember-data-directory)
20406 (remember-directory-file-name-format): Fix custom types.
20407
20408 2013-04-25 Leo Liu <sdl.web@gmail.com>
20409
20410 * progmodes/octave.el (octave-completion-at-point-function):
20411 Make use of inferior octave process.
20412 (octave-initialize-completions): Remove.
20413 (inferior-octave-completion-table): New function.
20414 (inferior-octave-completion-at-point): Use it.
20415 (octave-completion-alist): Remove.
20416
20417 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20418
20419 * progmodes/opascal.el: Use font-lock and syntax-propertize.
20420 (opascal-mode-syntax-table): New var.
20421 (opascal-literal-kind, opascal-is-literal-end)
20422 (opascal-literal-token-at): Rewrite.
20423 (opascal--literal-start-re, opascal-font-lock-keywords)
20424 (opascal--syntax-propertize): New constants.
20425 (opascal-font-lock-defaults): Adjust.
20426 (opascal-mode): Use them. Set comment-<foo> variables as well.
20427 (delphi-comment-face, opascal-comment-face, delphi-string-face)
20428 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
20429 (delphi-other-face, opascal-other-face): Remove face variables.
20430 (opascal-save-state): Remove macro.
20431 (opascal-fontifying-progress-step): Remove constant.
20432 (opascal--ignore-changes): Remove var.
20433 (opascal-set-token-property, opascal-parse-next-literal)
20434 (opascal-is-stable-literal, opascal-complete-literal)
20435 (opascal-is-literal-start, opascal-face-of)
20436 (opascal-parse-region, opascal-parse-region-until-stable)
20437 (opascal-fontify-region, opascal-after-change)
20438 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
20439 (opascal-debug-parse-region, opascal-debug-parse-window)
20440 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
20441 (opascal-debug-fontify-buffer): Remove.
20442 (opascal-debug-mode-map): Adjust accordingly.
20443
20444 2013-04-25 Leo Liu <sdl.web@gmail.com>
20445
20446 Merge octave-mod.el and octave-inf.el into octave.el with some
20447 cleanups.
20448 * progmodes/octave.el: New file renamed from octave-mod.el.
20449 * progmodes/octave-inf.el: Merged into octave.el.
20450 * progmodes/octave-mod.el: Renamed to octave.el.
20451
20452 2013-04-25 Tassilo Horn <tsdh@gnu.org>
20453
20454 * textmodes/reftex-vars.el
20455 (reftex-label-ignored-macros-and-environments): New defcustom.
20456
20457 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
20458
20459 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20460
20461 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
20462 (smie-indent-keyword): Improve the check to ensure that the next
20463 comment is really on the same line.
20464 (smie-indent-comment): Don't align with a subsequent closer (or eob).
20465
20466 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
20467 semi-colons if the line is not otherwise empty (bug#14218).
20468
20469 2013-04-25 Glenn Morris <rgm@gnu.org>
20470
20471 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
20472
20473 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
20474
20475 * progmodes/opascal.el (opascal-set-token-property): Rename from
20476 opascal-set-text-properties and only set `token' (bug#14134).
20477 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
20478 (opascal-literal-text-properties): Remove.
20479 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
20480 Adjust callers.
20481
20482 2013-04-24 Reuben Thomas <rrt@sc3d.org>
20483
20484 * textmodes/remember.el (remember-handler-functions): Add an
20485 option for a new handler `remember-store-in-files'.
20486 (remember-data-directory, remember-directory-file-name-format):
20487 New options.
20488 (remember-store-in-files): New function to store remember notes
20489 as separate files within a directory.
20490
20491 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
20492
20493 * progmodes/compile.el (compilation-next-error-function):
20494 Pass "formats" to compilation-find-file (bug#11777).
20495
20496 2013-04-24 Glenn Morris <rgm@gnu.org>
20497
20498 * vc/vc-bzr.el (vc-bzr-print-log):
20499 * vc/vc-hg.el (vc-hg-print-log):
20500 * vc/vc-svn.el (vc-svn-print-log):
20501 Fix START-REVISION with LIMIT != 1. (Bug#14168)
20502
20503 * vc/vc-bzr.el (vc-bzr-print-log):
20504 * vc/vc-cvs.el (vc-cvs-print-log):
20505 * vc/vc-git.el (vc-git-print-log):
20506 * vc/vc-hg.el (vc-hg-print-log):
20507 * vc/vc-mtn.el (vc-mtn-print-log):
20508 * vc/vc-rcs.el (vc-rcs-print-log):
20509 * vc/vc-sccs.el (vc-sccs-print-log):
20510 * vc/vc-svn.el (vc-svn-print-log):
20511 * vc/vc.el (vc-print-log-internal): Doc fixes.
20512
20513 2013-04-23 Glenn Morris <rgm@gnu.org>
20514
20515 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
20516 Remove venerable code attempting to avoid substitute-command-keys.
20517
20518 2013-04-23 Tassilo Horn <tsdh@gnu.org>
20519
20520 * textmodes/reftex-vars.el (reftex-label-regexps):
20521 Call `reftex-compile-variables' after changes to this variable.
20522
20523 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
20524
20525 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
20526 Use lexical-binding.
20527 (jit-lock-force-redisplay): Use markers, check buffer's continued
20528 existence and beware narrowed buffers.
20529 (jit-lock-fontify-now): Adjust call accordingly.
20530
20531 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
20532
20533 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
20534 to avoid misleading the user.
20535
20536 2013-04-22 Leo Liu <sdl.web@gmail.com>
20537
20538 * info-look.el: Prefer latex2e.info. (Bug#14240)
20539
20540 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
20541
20542 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
20543
20544 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
20545 * net/tramp.el (tramp-call-process): ... here.
20546 (tramp-set-completion-function, tramp-parse-putty):
20547 * net/tramp-adb.el (tramp-adb-execute-adb-command):
20548 * net/tramp-gvfs.el (tramp-gvfs-send-command):
20549 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
20550 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
20551 (tramp-call-local-coding-command): Use `tramp-call-process'
20552 instead of `tramp-compat-call-process'.
20553
20554 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
20555 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
20556 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
20557 (tramp-find-inline-compress): Improve traces.
20558 (tramp-maybe-send-script): Check for Perl binary.
20559 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
20560
20561 2013-04-22 Daiki Ueno <ueno@gnu.org>
20562
20563 * epg.el (epg-context-pinentry-mode): New function.
20564 (epg-context-set-pinentry-mode): New function.
20565 (epg--start): Pass --pinentry-mode option to gpg command.
20566
20567 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
20568
20569 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
20570 `comint-dynamic-complete' is obsolete since 24.1, replaced by
20571 `completion-at-point'. (Bug#13774)
20572
20573 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
20574 default key binding for `describe-distribution' has been moved to
20575 `C-h C-o'. (Bug#13970)
20576
20577 2013-04-21 Glenn Morris <rgm@gnu.org>
20578
20579 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
20580 Add doc strings.
20581 (vc-print-log): Clarify interactive prompt.
20582
20583 2013-04-20 Glenn Morris <rgm@gnu.org>
20584
20585 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20586 No longer include timestamp etc information.
20587
20588 2013-04-20 Roland Winkler <winkler@gnu.org>
20589
20590 * faces.el (read-face-name): Bug fix, return just one face if arg
20591 multiple is nil. (Bug#14209)
20592
20593 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20594
20595 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
20596 (remove-function): Autoload.
20597
20598 * comint.el (comint-redirect-original-filter-function): Remove.
20599 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
20600 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
20601 (vc-cvs-annotate-command):
20602 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
20603 * progmodes/prolog.el (prolog-consult-compile):
20604 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
20605 Use add/remove-function instead.
20606 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
20607 (gud-tooltip-process-output, gud-tooltip-tips):
20608 Use add/remove-function instead.
20609 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
20610 (scheme-interaction-mode, exit-scheme-interaction-mode):
20611 Use add/remove-function instead.
20612
20613 * vc/vc-dispatcher.el: Use lexical-binding.
20614 (vc--process-sentinel): Rename from vc-process-sentinel.
20615 Change last arg to be the code to run. Don't use vc-previous-sentinel
20616 and vc-sentinel-commands any more.
20617 (vc-exec-after): Allow code to be a function. Use add/remove-function.
20618 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
20619
20620 2013-04-19 Masatake YAMATO <yamato@redhat.com>
20621
20622 * progmodes/sh-script.el (sh-imenu-generic-expression):
20623 Handle function names with a single character. (Bug#14111)
20624
20625 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
20626
20627 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
20628 for subroutines defined in an eval (bug#14182).
20629
20630 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20631
20632 * bookmark.el (bookmark-completing-read): Improve handling of empty
20633 string (bug#14176).
20634
20635 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20636
20637 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
20638
20639 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
20640
20641 New faster Imenu implementation (bug#14058).
20642 * progmodes/python.el (python-imenu-prev-index-position)
20643 (python-imenu-format-item-label-function)
20644 (python-imenu-format-parent-item-label-function)
20645 (python-imenu-format-parent-item-jump-label-function):
20646 New vars.
20647 (python-imenu-format-item-label)
20648 (python-imenu-format-parent-item-label)
20649 (python-imenu-format-parent-item-jump-label)
20650 (python-imenu--put-parent, python-imenu--build-tree)
20651 (python-imenu-create-index, python-imenu-create-flat-index)
20652 (python-util-popn): New functions.
20653 (python-mode): Set imenu-create-index-function to
20654 python-imenu-create-index.
20655
20656 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20657
20658 * winner.el (winner-active-region): Use region-active-p, activate-mark
20659 and deactivate-mark (bug#14225).
20660
20661 * simple.el (deactivate-mark): Don't inline it.
20662
20663 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
20664
20665 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
20666
20667 2013-04-18 Tassilo Horn <tsdh@gnu.org>
20668
20669 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
20670 file extensions from the archive-mode entry in order to prefer
20671 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
20672
20673 2013-04-18 Leo Liu <sdl.web@gmail.com>
20674
20675 * bindings.el (help-event-list): Add ?\?.
20676
20677 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20678
20679 * subr.el (with-wrapper-hook): Declare obsolete.
20680 * simple.el (filter-buffer-substring-function): New hook.
20681 (filter-buffer-substring): Use it.
20682 (filter-buffer-substring-functions): Mark obsolete.
20683 * minibuffer.el (completion-in-region-function): New hook.
20684 (completion-in-region): Use it.
20685 (completion-in-region-functions): Mark obsolete.
20686 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
20687 * abbrev.el (abbrev-expand-function): New hook.
20688 (expand-abbrev): Use it.
20689 (abbrev-expand-functions): Mark obsolete.
20690 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
20691 and :filter-return.
20692
20693 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20694
20695 * progmodes/python.el (python-nav--syntactically): Fix cornercases
20696 and do not care about match data.
20697
20698 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20699
20700 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
20701 completion tables when completing error conditions and
20702 `declare' arguments.
20703 (lisp-complete-symbol, field-complete): Mark as obsolete.
20704 (check-parens): Unmatched parens are user errors.
20705 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
20706
20707 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
20708
20709 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
20710 command changed buffer (ie. `flyspell-pre-buffer' is not current
20711 buffer), which prevents making decisions based on invalid value of
20712 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
20713 cause an error when `flyspell-pre-point' was nil after switching
20714 buffers.
20715 (flyspell-post-command-hook): No longer needs to change buffers when
20716 checking pre-word. While at it remove unnecessary progn.
20717
20718 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
20719
20720 * textmodes/ispell.el (ispell-add-per-file-word-list):
20721 Fix `flyspell-correct-word-before-point' error when accepting
20722 words and `coment-padding' is an integer by using
20723 `comment-normalize-vars' (Bug #14214).
20724
20725 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20726
20727 New defun movement commands.
20728 * progmodes/python.el (python-nav--syntactically)
20729 (python-nav--forward-defun, python-nav-backward-defun)
20730 (python-nav-forward-defun): New functions.
20731
20732 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20733
20734 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
20735 (python-syntax-context): Use named compiler-macro for backwards
20736 compatibility with Emacs 24.x.
20737
20738 2013-04-17 Leo Liu <sdl.web@gmail.com>
20739
20740 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
20741 octave-hide-process-buffer.
20742
20743 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20744
20745 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
20746 (bug#14216).
20747
20748 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
20749
20750 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
20751 Fix adjustment of offset when receiving incomplete responses from GDB
20752 (bug#14129).
20753
20754 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20755
20756 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
20757 python-mode-abbrev-table.
20758 (python-skeleton-define): Adjust accordingly.
20759 (python-mode-abbrev-table): New table that inherits from it so that
20760 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
20761
20762 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
20763 (abbrev-symbol): Use it.
20764 (abbrev--before-point): Use it since we already handle inheritance.
20765
20766 2013-04-16 Leo Liu <sdl.web@gmail.com>
20767
20768 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
20769 binding to info-lookup-symbol.
20770
20771 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
20772
20773 * minibuffer.el (completion--twq-all):
20774 * term/ns-win.el (ns-initialize-window-system):
20775 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
20776
20777 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20778
20779 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
20780 global bindings.
20781
20782 * doc-view.el (doc-view-start-process): Handle url-handler directories.
20783
20784 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
20785
20786 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
20787 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
20788 to nil.
20789 (ruby-end-of-defun): Remove the unused arg, change the docstring
20790 to reflect that this function is only used as the value of
20791 `end-of-defun-function'.
20792 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
20793 to reflect an earlier change that beginning/end-of-defun functions
20794 jump between methods in a class definition, as well as top-level
20795 functions.
20796
20797 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20798
20799 * minibuffer.el (minibuffer-complete): Don't just scroll
20800 a *Completions* that's been iconified.
20801 (minibuffer-force-complete): Make sure repetitions do cycle when going
20802 through completion-in-region -> minibuffer-complete.
20803
20804 2013-04-15 Alan Mackenzie <acm@muc.de>
20805
20806 Correct the placement of c-cpp-delimiters when there're #s not at
20807 col 0.
20808
20809 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
20810 place a submatch around the #.
20811 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
20812 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20813 on the #, not BOL.
20814
20815 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20816
20817 * emacs-lisp/nadvice.el: Properly test names when adding advice.
20818 (advice--member-p): New arg `name'.
20819 (advice--add-function, advice-member-p): Use it (bug#14202).
20820
20821 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
20822
20823 Reformulate java imenu-generic-expression.
20824 The old expression contained ill formed regexps.
20825
20826 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
20827 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
20828 (cc-imenu-java-method-arg-regexp): New defconsts.
20829 (cc-imenu-java-build-type-args-regex): New defun.
20830 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
20831 handling of spaces in the regexp.
20832
20833 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20834
20835 * textmodes/ispell.el (ispell-command-loop): Remove
20836 flyspell highlight of a word when ispell accepts it (bug #14178).
20837
20838 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
20839
20840 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
20841 uses code from the previous `ange-ftp-run-real-handler'.
20842 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
20843 only in case that function exist. This is needed for proper
20844 unloading of Tramp.
20845
20846 2013-04-15 Tassilo Horn <tsdh@gnu.org>
20847
20848 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
20849
20850 * textmodes/reftex.el (reftex-compile-variables): Use it.
20851
20852 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20853
20854 * files.el (normal-mode): Only use default major-mode if no other mode
20855 was specified.
20856
20857 * emacs-lisp/trace.el (trace-values): New function.
20858
20859 * files.el: Allow : in local variables (bug#14089).
20860 (hack-local-variable-regexp): New var.
20861 (hack-local-variables-prop-line, hack-local-variables): Use it.
20862
20863 2013-04-13 Roland Winkler <winkler@gnu.org>
20864
20865 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
20866 data before it gets modified by bibtex-beginning-of-entry.
20867
20868 2013-04-13 Roland Winkler <winkler@gnu.org>
20869
20870 * textmodes/bibtex.el (bibtex-url): Doc fix.
20871
20872 2013-04-13 Roland Winkler <winkler@gnu.org>
20873
20874 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
20875 does not visit a BibTeX file, exclude it from the list of buffers
20876 returned by bibtex-initialize.
20877
20878 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
20879
20880 * window.el (split-window): Remove interactive form, since as a
20881 command this function is a special case of split-window-below.
20882 Correct doc string.
20883
20884 2013-04-12 Roland Winkler <winkler@gnu.org>
20885
20886 * faces.el (read-face-name): Do not override value of arg default.
20887 Allow single faces and strings as default values. Remove those
20888 elements from return value that are not faces.
20889 (describe-face): Simplify.
20890 (face-at-point): New optional args thing and multiple so that this
20891 function can provide the same functionality previously provided by
20892 read-face-name.
20893 (make-face-bold, make-face-unbold, make-face-italic)
20894 (make-face-unitalic, make-face-bold-italic, invert-face)
20895 (modify-face, read-face-and-attribute): Use face-at-point.
20896
20897 * cus-edit.el (customize-face, customize-face-other-window)
20898 * cus-theme.el (custom-theme-add-face)
20899 * face-remap.el (buffer-face-set)
20900 * facemenu.el (facemenu-set-face): Use face-at-point.
20901
20902 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
20903
20904 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
20905
20906 2013-04-10 Tassilo Horn <tsdh@gnu.org>
20907
20908 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
20909 off leading { and trailing } from field values.
20910
20911 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
20912
20913 * emacs-lisp/timer.el (timer--check): New function.
20914 (timer--time, timer-set-function, timer-event-handler): Use it.
20915 (timer-set-idle-time): Simplify.
20916 (timer--activate): CSE.
20917 (timer-event-handler): Give more info in error message.
20918 (internal-timer-start-idle): New function, moved from C.
20919
20920 * mpc.el (mpc-proc): Add `restart' argument.
20921 (mpc-proc-cmd): Use it.
20922 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
20923 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
20924 less often.
20925
20926 2013-04-10 Masatake YAMATO <yamato@redhat.com>
20927
20928 * progmodes/sh-script.el: Implement `sh-mode' own
20929 `add-log-current-defun-function' (bug#14112).
20930 (sh-current-defun-name): New function.
20931 (sh-mode): Use the function.
20932
20933 2013-04-09 Bastien Guerry <bzg@gnu.org>
20934
20935 * simple.el (choose-completion-string): Fix docstring (bug#14163).
20936
20937 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
20938
20939 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
20940
20941 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
20942 timer (bug#14156).
20943
20944 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
20945
20946 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
20947 declaration.
20948
20949 2013-04-07 Leo Liu <sdl.web@gmail.com>
20950
20951 * pcmpl-x.el: New file.
20952
20953 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
20954
20955 Do not set x-display-name until X connection is established.
20956 This is needed to prevent from weird situation described at
20957 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
20958 * frame.el (make-frame): Set x-display-name after call to
20959 window system initialization function, not before.
20960 * term/x-win.el (x-initialize-window-system): Add optional
20961 display argument and use it.
20962 * term/w32-win.el (w32-initialize-window-system):
20963 * term/ns-win.el (ns-initialize-window-system):
20964 * term/pc-win.el (msdos-initialize-window-system):
20965 Add compatible optional display argument.
20966
20967 2013-04-06 Eli Zaretskii <eliz@gnu.org>
20968
20969 * files.el (normal-backup-enable-predicate): On MS-Windows and
20970 MS-DOS compare truenames of temporary-file-directory and of the
20971 file, so that 8+3 aliases (usually found in $TEMP on Windows)
20972 don't fail comparison by compare-strings. Also, compare file
20973 names case-insensitively on MS-Windows and MS-DOS.
20974
20975 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20976
20977 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
20978 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
20979
20980 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
20981
20982 * whitespace.el (whitespace-color-on, whitespace-color-off):
20983 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
20984
20985 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
20986
20987 * ispell.el (ispell-set-spellchecker-params):
20988 Really set `ispell-args' for all equivs.
20989
20990 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20991
20992 * ido.el (ido-completions): Use extra elements of ido-decorations
20993 (bug#14143).
20994 (ido-decorations): Update docstring.
20995
20996 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
20997
20998 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20999 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
21000 nil during initialization, in order not to miss changes since the
21001 file was opened. (Bug#14140)
21002
21003 2013-04-05 Leo Liu <sdl.web@gmail.com>
21004
21005 * kmacro.el (kmacro-call-macro): Fix bug#14135.
21006
21007 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
21008
21009 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
21010
21011 2013-04-04 Glenn Morris <rgm@gnu.org>
21012
21013 * electric.el (electric-pair-inhibit-predicate): Add :version.
21014
21015 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
21016
21017 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
21018 when a package is required several times (bug#14082).
21019
21020 2013-04-04 Roland Winkler <winkler@gnu.org>
21021
21022 * faces.el (read-face-name): Behave as promised by the docstring.
21023 Assume that arg default is a list of faces.
21024 (describe-face): Call read-face-name with list of default faces.
21025
21026 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21027
21028 * bookmark.el: Fix deletion of bookmarks (bug#13972).
21029 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
21030 (bookmark-bmenu-execute-deletions): Only skip first line if it's
21031 the header.
21032 (bookmark-exit-hook-internal): Save even if list is empty.
21033
21034 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
21035
21036 * emacs-lisp/package.el (package-pinned-packages): New var.
21037 (package--add-to-archive-contents): Obey it (bug#14118).
21038
21039 2013-04-03 Alan Mackenzie <acm@muc.de>
21040
21041 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
21042 Also adapt to the new values of element 7 of a parse state.
21043
21044 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
21045 parameter `not-in-delimiter'. Handle being inside comment opener.
21046 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
21047 character in case we're typing a '*' after a '/'.
21048 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
21049 instead by passing the parameter to c-state-pp-to-literal.
21050
21051 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
21052 for elt. 7 of a parse state.
21053
21054 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
21055
21056 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
21057 * international/latin1-disp.el, international/mule-util.el:
21058 * language/cyril-util.el, language/european.el, language/ind-util.el:
21059 * language/lao-util.el, language/thai.el, language/tibet-util.el:
21060 * language/tibetan.el, language/viet-util.el:
21061 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
21062
21063 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21064
21065 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
21066 (electric-pair-post-self-insert-function): Use it.
21067 (electric-pair-default-inhibit): New function, extracted from
21068 electric-pair-post-self-insert-function.
21069
21070 2013-03-31 Roland Winkler <winkler@gnu.org>
21071
21072 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
21073
21074 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21075
21076 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
21077
21078 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
21079
21080 Un-indent after "pass" and "return" statements (Bug#13888)
21081 * progmodes/python.el (python-indent-block-enders): New var.
21082 (python-indent-calculate-indentation): Use it.
21083
21084 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
21085
21086 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
21087 defun. Defining it as defalias could introduce too eager
21088 byte-compiler optimization. (Bug#14030)
21089
21090 2013-03-30 Chong Yidong <cyd@gnu.org>
21091
21092 * iswitchb.el (iswitchb-read-buffer): Fix typo.
21093
21094 2013-03-30 Leo Liu <sdl.web@gmail.com>
21095
21096 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
21097 (kmacro-execute-from-register): Pass the keyboard macro to
21098 kmacro-call-macro or repeating won't work correctly.
21099
21100 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
21101
21102 * progmodes/subword.el: Back to using `forward-symbol'.
21103
21104 * subr.el (forward-whitespace, forward-symbol)
21105 (forward-same-syntax): Move from thingatpt.el.
21106
21107 2013-03-29 Leo Liu <sdl.web@gmail.com>
21108
21109 * kmacro.el (kmacro-to-register): New command.
21110 (kmacro-execute-from-register): New function.
21111 (kmacro-keymap): Bind to 'x'. (Bug#14071)
21112
21113 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
21114
21115 * mpc.el: Use defvar-local and setq-local.
21116 (mpc--proc-connect): Connection failures are not bugs.
21117 (mpc-mode-map): `follow-link' only applies to the buffer's content.
21118 (mpc-volume-map): Bind to the up-events.
21119
21120 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
21121
21122 * progmodes/subword.el (superword-mode): Use `forward-sexp'
21123 instead of `forward-symbol'.
21124
21125 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
21126
21127 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
21128 (edebug--recursive-edit): Use it.
21129 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
21130 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
21131
21132 2013-03-28 Leo Liu <sdl.web@gmail.com>
21133
21134 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
21135
21136 2013-03-27 Eli Zaretskii <eliz@gnu.org>
21137
21138 * facemenu.el (list-colors-callback): New defvar.
21139 (list-colors-redisplay): New function.
21140 (list-colors-display): Install list-colors-redisplay as the
21141 revert-buffer-function. (Bug#14063)
21142
21143 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
21144
21145 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
21146 and suffixes don't overlap (bug#14061).
21147
21148 * case-table.el: Use lexical-binding.
21149 (case-table-get-table): New function.
21150 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
21151
21152 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
21153
21154 * progmodes/subword.el: Add `superword-mode' to do word motion
21155 over symbol_words (parallels and leverages `subword-mode' which
21156 does word motion inside MixedCaseWords).
21157
21158 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
21159
21160 * eshell/em-unix.el: Move su and sudo to...
21161 * eshell/em-tramp.el: ...Eshell tramp module.
21162
21163 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
21164
21165 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
21166 Change return value to be a sexp. Delay `get-buffer' to after
21167 restoring the desktop (bug#13951).
21168
21169 2013-03-26 Leo Liu <sdl.web@gmail.com>
21170
21171 * register.el: Move semantic tag handling back to
21172 cedet/semantic/senator.el. (Bug#14052)
21173
21174 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
21175
21176 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
21177 into the prompt either (bug#13963).
21178
21179 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
21180
21181 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
21182 part of "(error-foo)".
21183
21184 2013-03-24 Juri Linkov <juri@jurta.org>
21185
21186 * replace.el (list-matching-lines-prefix-face): New defcustom.
21187 (occur-1): Pass `list-matching-lines-prefix-face' to the function
21188 `occur-engine' if `face-differs-from-default-p' returns t.
21189 (occur-engine): Add `,' inside backquote construct to evaluate
21190 `prefix-face'. Propertize the prefix with the `prefix-face' face.
21191 Pass `prefix-face' to the functions `occur-context-lines' and
21192 `occur-engine-add-prefix'.
21193 (occur-engine-add-prefix, occur-context-lines): Add optional arg
21194 `prefix-face' and propertize the prefix with `prefix-face'.
21195 (Bug#14017)
21196
21197 2013-03-24 Leo Liu <sdl.web@gmail.com>
21198
21199 * nxml/rng-valid.el (rng-validate-while-idle)
21200 (rng-validate-quick-while-idle): Guard against deleted buffer.
21201 (Bug#13999)
21202
21203 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
21204 is the last entry in kill-buffer-hook.
21205
21206 * files.el (kill-buffer-hook): Doc fix.
21207
21208 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
21209
21210 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
21211 Make it safe-local.
21212
21213 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
21214
21215 2013-03-23 Leo Liu <sdl.web@gmail.com>
21216
21217 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
21218 Remove.
21219
21220 * nxml/rng-valid.el (rng-validate-mode)
21221 (rng-after-change-function, rng-do-some-validation):
21222 * nxml/rng-maint.el (rng-validate-buffer):
21223 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
21224 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
21225 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
21226 (nxml-extend-after-change-region): Use with-silent-modifications.
21227
21228 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
21229 timer-idle-list.
21230
21231 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
21232 (rng-next-error-1, rng-previous-error-1): Do not let-bind
21233 timer-idle-list. (Bug#13999)
21234
21235 2013-03-23 Juri Linkov <juri@jurta.org>
21236
21237 * info.el (info-index-match): New face.
21238 (Info-index, Info-apropos-matches): Add a nested subgroup to the
21239 main pattern and add text properties with the new face to matches
21240 in index entries relative to the beginning of the index entry.
21241 (Bug#14015)
21242
21243 2013-03-21 Eric Ludlam <zappo@gnu.org>
21244
21245 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
21246 Inhibit read only while inserting objects.
21247
21248 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
21249
21250 * progmodes/cfengine.el: Update docs to mention
21251 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
21252 symbol motion. Remove "_" from the word syntax.
21253
21254 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
21255
21256 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
21257 syntax for both `cfengine2-mode' and `cfengine3-mode'.
21258
21259 2013-03-20 Juri Linkov <juri@jurta.org>
21260
21261 * info.el (Info-next-reference-or-link)
21262 (Info-prev-reference-or-link): New functions.
21263 (Info-next-reference, Info-prev-reference): Use them.
21264 (Info-try-follow-nearest-node): Handle footnote navigation.
21265 (Info-fontify-node): Fontify footnotes. (Bug#13989)
21266
21267 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
21268
21269 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
21270 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
21271
21272 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
21273
21274 Suppress unnecessary non-ASCII chatter during build process.
21275 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
21276 (batch-skkdic-convert): Suppress most of the chatter.
21277 It's not needed so much now that machines are faster,
21278 and its non-ASCII component was confusing; see Dmitry Gutov in
21279 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
21280
21281 2013-03-20 Leo Liu <sdl.web@gmail.com>
21282
21283 * ido.el (ido-chop): Fix bug#10994.
21284
21285 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
21286
21287 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
21288 Remove vars.
21289 (whitespace-color-on, whitespace-color-off):
21290 Use `font-lock-fontify-buffer' (Bug#13817).
21291
21292 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
21293
21294 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
21295 remapping in mode-line.
21296 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
21297
21298 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
21299
21300 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
21301 value for `whitespace-line' face (Bug#13875).
21302 (whitespace-font-lock-keywords): Change description.
21303 (whitespace-color-on): Don't save `font-lock-keywords' value, save
21304 the constructed keywords instead.
21305 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
21306
21307 2013-03-19 Leo Liu <sdl.web@gmail.com>
21308
21309 * progmodes/compile.el (compilation-display-error): New command.
21310 (compilation-mode-map, compilation-minor-mode-map): Bind it to
21311 C-o. (Bug#13992)
21312
21313 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
21314
21315 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
21316
21317 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
21318
21319 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
21320
21321 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
21322
21323 * net/tramp-compat.el (tramp-compat-user-error): New defun.
21324
21325 * net/tramp-adb.el (tramp-adb-handle-shell-command):
21326 * net/tramp-gvfs.el (top):
21327 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
21328 (tramp-handle-shell-command): Use it.
21329 (tramp-dissect-file-name): Raise an error when hostname is a
21330 method name, and neither method nor user is specified.
21331
21332 * net/trampver.el: Update release number.
21333
21334 2013-03-18 Leo Liu <sdl.web@gmail.com>
21335
21336 Make sure eldoc can be turned off properly.
21337 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
21338 eldoc-mode.
21339 (eldoc-display-message-p): Revert last change.
21340 (eldoc-display-message-no-interference-p)
21341 (eldoc-print-current-symbol-info): Tweak.
21342
21343 2013-03-18 Tassilo Horn <tsdh@gnu.org>
21344
21345 * doc-view.el (doc-view-new-window-function): Check the new window
21346 overlay's display property instead the char property of the
21347 buffer's first char. Use `with-selected-window' instead of
21348 `save-window-excursion' with `select-window'.
21349 (doc-view-document->bitmap): Check the current doc-view overlay's
21350 display property instead the char property of the buffer's first char.
21351
21352 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
21353
21354 Automate the build of ja-dic.el (Bug#13984).
21355 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
21356 from the input, rather than assume that it's been done for us by the
21357 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
21358 the current date into a ja-dic.el comment, as that complicates
21359 regression testing.
21360
21361 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21362
21363 * whitespace.el: Fix double evaluation.
21364 (whitespace-space, whitespace-hspace, whitespace-tab)
21365 (whitespace-newline, whitespace-trailing, whitespace-line)
21366 (whitespace-space-before-tab, whitespace-indentation)
21367 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
21368 obsolete defvars.
21369 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
21370 (whitespace-color-on): Use a single font-lock-add-keywords call.
21371 Fix double-evaluation of face variables.
21372
21373 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
21374
21375 * net/tramp-adb.el (tramp-adb-parse-device-names):
21376 Use `start-process' instead of `call-process'. Otherwise, the
21377 function might be blocked under MS Windows. (Bug#13299)
21378
21379 2013-03-17 Leo Liu <sdl.web@gmail.com>
21380
21381 Extend eldoc to display info in the mode-line. (Bug#13978)
21382 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
21383 (eldoc-mode-line-string): New variable.
21384 (eldoc-minibuffer-message): New function.
21385 (eldoc-message-function): New variable.
21386 (eldoc-message): Use it.
21387 (eldoc-display-message-p)
21388 (eldoc-display-message-no-interference-p):
21389 Support eldoc-post-insert-mode.
21390
21391 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
21392 (eval-expression): Run it.
21393
21394 2013-03-17 Roland Winkler <winkler@gnu.org>
21395
21396 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
21397 strings in the list of return values.
21398
21399 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21400
21401 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
21402 radix before checking for HMS forms.
21403
21404 2013-03-16 Leo Liu <sdl.web@gmail.com>
21405
21406 * progmodes/scheme.el: Add indentation and font-locking for λ.
21407 (Bug#13975)
21408
21409 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
21410
21411 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
21412 token before point (bug#13942).
21413
21414 2013-03-16 Leo Liu <sdl.web@gmail.com>
21415
21416 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
21417
21418 2013-03-16 Eli Zaretskii <eliz@gnu.org>
21419
21420 * startup.el (command-line-normalize-file-name): Fix handling of
21421 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
21422 <xfq.free@gmail.com> in
21423 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
21424
21425 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
21426
21427 Sync with Tramp 2.2.7.
21428
21429 * net/trampver.el: Update release number.
21430
21431 2013-03-14 Tassilo Horn <tsdh@gnu.org>
21432
21433 * doc-view.el: Fix bug#13887.
21434 (doc-view-insert-image): Don't modify overlay associated to
21435 non-live windows, and implement horizontal centering of image in
21436 case it's smaller than the window.
21437 (doc-view-new-window-function): Force redisplay of new windows on
21438 doc-view buffers.
21439
21440 2013-03-13 Karl Fogel <kfogel@red-bean.com>
21441
21442 * saveplace.el (save-place-alist-to-file): Don't sort
21443 `save-place-alist', just pretty-print it (bug#13882).
21444
21445 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
21446
21447 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
21448 Check whether `default-file-name-coding-system' is bound.
21449 It isn't in XEmacs.
21450
21451 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
21452
21453 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
21454 backquotes for `obsolete' (bug#13929).
21455
21456 * international/mule.el (find-auto-coding): Include file name in
21457 obsolescence warning (bug#13922).
21458
21459 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
21460
21461 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
21462 for CFEngine 3-specific indentation.
21463 (cfengine3-indent-line): Use it. Fix up category regex.
21464 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
21465
21466 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21467
21468 * type-break.el (type-break-file-name):
21469 * textmodes/remember.el (remember-data-file):
21470 * strokes.el (strokes-file):
21471 * shadowfile.el (shadow-initialize):
21472 * saveplace.el (save-place-file):
21473 * ps-bdf.el (bdf-cache-file):
21474 * progmodes/idlwave.el (idlwave-config-directory):
21475 * net/quickurl.el (quickurl-url-file):
21476 * international/kkc.el (kkc-init-file-name):
21477 * ido.el (ido-save-directory-list-file):
21478 * emulation/viper.el (viper-custom-file-name):
21479 * emulation/vip.el (vip-startup-file):
21480 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
21481 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
21482
21483 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
21484
21485 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
21486 * language/thai-word.el: Switch to UTF-8.
21487
21488 See ChangeLog.16 for earlier changes.
21489
21490 ;; Local Variables:
21491 ;; coding: utf-8
21492 ;; End:
21493
21494 Copyright (C) 2011-2014 Free Software Foundation, Inc.
21495
21496 This file is part of GNU Emacs.
21497
21498 GNU Emacs is free software: you can redistribute it and/or modify
21499 it under the terms of the GNU General Public License as published by
21500 the Free Software Foundation, either version 3 of the License, or
21501 (at your option) any later version.
21502
21503 GNU Emacs is distributed in the hope that it will be useful,
21504 but WITHOUT ANY WARRANTY; without even the implied warranty of
21505 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21506 GNU General Public License for more details.
21507
21508 You should have received a copy of the GNU General Public License
21509 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.