]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Remove a spurious comma
[gnu-emacs] / lisp / ChangeLog
1 2014-11-24 Sam Steingold <sds@gnu.org>
2
3 * vc/vc-hooks.el (vc-directory-exclusion-list):
4 Fix a trivial typo (bug#19171).
5
6 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * vc/vc-hooks.el (vc-state-base-face): Don't override
9 mode-line-inactive.
10
11 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12
13 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
14 (eww-process-text-input): Inhibit read only so that input fields
15 don't get shortened (bug#19085).
16
17 2014-11-24 Leo Liu <sdl.web@gmail.com>
18
19 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
20
21 * window.el (with-temp-buffer-window)
22 (with-current-buffer-window, with-displayed-buffer-window):
23 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
24 * emacs-lisp/cl-lib.el (substring):
25 * emacs-lisp/cl-extra.el (cl-getf): Use it.
26
27 2014-11-24 Eli Zaretskii <eliz@gnu.org>
28
29 * isearch.el (isearch-update): Don't assume
30 pos-visible-in-window-p will return nil when point is hscrolled
31 out of view. (Bug#19157)
32
33 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
34
35 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
36 (eww-follow-link): Follow in new buffer in case of prefix
37 argument, open externally with double prefix (bug#19130).
38
39 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
40
41 * net/eww.el (eww-display-html): Decode the document-defined charset.
42 (eww): Pop to the *eww* buffer immediately after executing the
43 `M-x eww' command to avoid having buffers pop up later.
44 (eww-display-html): Don't pop the *eww* buffer.
45 (eww-display-raw): Ditto.
46 (eww-display-image): Ditto.
47 (eww-follow-link): Make going to #targets in the page work again.
48
49 2014-11-23 Ivan Shmakov <ivan@siamics.net>
50
51 * net/eww.el (eww-suggest-uris): New variable.
52 (eww-suggested-uris): New function.
53 (eww): Default to URL under point.
54 (eww-links-at-point): New function.
55
56 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
57
58 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
59
60 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
61
62 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
63
64 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
65
66 * net/eww.el (eww-set-character-encoding): New command and keystroke.
67 (eww-display-raw): Use it (bug#16225).
68
69 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
70
71 * net/nsm.el (network-security-level): Rename from
72 `nsm-security-level' and documented.
73
74 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
75 we're sending a password.
76
77 * net/nsm.el: New file that implements a Network Security Manager.
78
79 * net/network-stream.el (open-network-stream): Add a new
80 :warn-unless-encrypted parameter.
81 (network-stream-open-plain): Allow warning unless encrypted.
82 (network-stream-open-starttls): Call the Network Security Manager.
83 (network-stream-open-tls): Ditto.
84
85 2014-11-23 Leo Liu <sdl.web@gmail.com>
86
87 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
88 (calendar-chinese-to-absolute-for-diary)
89 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
90 Handle leap months in Chinese calendar. (Bug#18953)
91
92 2014-11-22 Alan Mackenzie <acm@muc.de>
93
94 Fix error with `mark-defun' and "protected:" in C++ Mode.
95 Fixes: debbugs:19134.
96
97 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
98 return code of (label) from c-beginning-of-decl-1.
99
100 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
101
102 * net/newst-backend.el (newsticker--sentinel-work): Tell
103 `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
104
105 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
106
107 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
108 (tramp-sh-handle-process-file): Propagate `process-environment'.
109
110 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
111 Tramp propagates environment variables now.
112
113 2014-11-22 Eric S. Raymond <esr@snark>
114
115 * vc/vc-filewise.el: New file to isolate code used only by the
116 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
117 live in vc.el and certainly not in vc-hooks.el.
118
119 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
120 This is preaparatory to isolating all the 'master' functions
121 used only by the file-oriented back ends. With this done first,
122 the substantive diffs will be easier to read.
123
124 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
125
126 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
127 that is recognized by `help-mode'.
128
129 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * desktop.el (desktop-create-buffer): Use activate-mark to set
132 `mark-active' (bug#19058).
133
134 2014-11-21 Eric S. Raymond <esr@snark>
135
136 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
137 nil state.
138
139 2014-11-21 Eli Zaretskii <eliz@gnu.org>
140
141 * vc/vc.el (vc-deduce-fileset): Support invocation from
142 *vc-change-log* buffer. (Bug#19084)
143
144 2014-11-13 Matthew Leach <matthew@mattleach.net>
145
146 * arc-mode.el (archive-visit-single-files): New.
147 (archive-mode): Visit file if archive contains a single file.
148 (Bug#1702)
149
150 2014-11-21 Ulrich Müller <ulm@gentoo.org>
151
152 * vc/vc.el: Fix a typo in the commentary.
153
154 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
155
156 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
157 testing and a real log-view mode.
158
159 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el,
160 vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el,
161 vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
162 checkout methods; where it matters (which is only in SCCS and RCS)
163 files are always checked out editable. This may actually have
164 been dynamically true already - it looks like the vc-next-action
165 code evolved past visiting the other case. Tested with RCS.
166
167 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el,
168 vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el,
169 vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
170 argument from the backend checkin methods. Only the RCS, SCCS,
171 and CVS back ends tried to do anything with it, and that code was
172 never exercised. Chiseling away the cruft of decades...
173
174 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
175
176 * net/eww.el (eww-render): Remove a no-op :title setting.
177
178 2014-11-19 Ivan Shmakov <ivan@siamics.net>
179
180 * net/eww.el (eww-history-limit): New variable.
181 (eww-save-history): Use it (bug#19105).
182 (eww-reload): Reload the page in the right buffer.
183
184 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
185
186 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
187
188 2014-11-19 Ivan Shmakov <ivan@siamics.net>
189
190 * net/eww.el (eww-desktop-remove-duplicates)
191 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
192 (eww-mode): Set up desktop mode (bug#18010).
193 (eww-desktop-data-save, eww-desktop-data-1)
194 (eww-desktop-history-duplicate, eww-desktop-misc-data)
195 (eww-restore-desktop): New functions.
196
197 2014-11-19 Eli Zaretskii <eliz@gnu.org>
198
199 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
200 correct buffer. (Bug#19101)
201
202 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
203
204 Fix bug#19099.
205 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
206 `diff-switches' if `vc-git-diff-switches' is nil.
207
208 2014-11-18 Juri Linkov <juri@linkov.net>
209
210 * simple.el (next-line-or-history-element): Wrap next-line
211 in with-no-warnings.
212 (previous-line-or-history-element): Wrap previous-line
213 in with-no-warnings.
214
215 2014-11-18 Juri Linkov <juri@linkov.net>
216
217 * progmodes/grep.el (grep-compute-defaults):
218 Compute grep-highlight-matches before its use.
219
220 2014-11-18 Juri Linkov <juri@linkov.net>
221
222 * replace.el (query-replace-from-to-separator): Turn defvar into
223 defcustom. Wrap char-displayable-p in ignore-errors because an
224 attempt to autoload char-displayable-p fails during pre-loading.
225 Move (propertize "\0" ... 'separator t) out of customizable part
226 to query-replace-read-from.
227 (query-replace-read-from): Call custom-reevaluate-setting on
228 query-replace-from-to-separator to reevaluate the separator
229 depending on the return value of char-displayable-p.
230 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
231
232 2014-11-18 Juri Linkov <juri@linkov.net>
233
234 * bindings.el (minibuffer-local-map): Rebind [down] from
235 next-history-element to next-line-or-history-element, and [up]
236 from previous-history-element to previous-line-or-history-element.
237
238 * simple.el (next-line-or-history-element)
239 (previous-line-or-history-element): New commands.
240 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
241
242 2014-11-18 Leo Liu <sdl.web@gmail.com>
243
244 * emacs-lisp/nadvice.el (define-advice): New macro.
245 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
246 Add define-advice.
247 (lisp-font-lock-keywords-1): Add define-advice.
248
249 2014-11-18 Daiki Ueno <ueno@gnu.org>
250
251 * epg.el (epg-context): New slot EDIT-CALLBACK.
252 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
253 (epg-reset): Reset EDIT-CALLBACK of the context.
254 (epg-start-edit-key): New function.
255 (epg-edit-key): New function.
256
257 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
258
259 Port new time stamp handling to Emacs 23.2.
260 This fix is for Gnus. Problem reported by Katsumi Yamaoka.
261 * calendar/time-date.el (time-add, time-subtract, time-less-p):
262 Use eval-and-compile, not eval-when-compile.
263
264 2014-11-18 Daiki Ueno <ueno@gnu.org>
265
266 * epg.el (epg-context-set-passphrase-callback)
267 (epg-context-set-progress-callback): Check if the CALLBACK
268 argument is a function, instead of a cons.
269
270 2014-11-18 Daiki Ueno <ueno@gnu.org>
271
272 * epa-file.el (epa-file-insert-file-contents)
273 (epa-file-write-region): Remove redundant check of
274 epa-pinentry-mode.
275 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
276 (epa-sign-region, epa-encrypt-region): Remove redundant check of
277 epa-pinentry-mode.
278
279 2014-11-18 Daiki Ueno <ueno@gnu.org>
280
281 * epa-file.el (epa-file-insert-file-contents): Don't show
282 "*Error*" buffer if input file does not exist.
283 Reported by Herbert J. Skuhra.
284
285 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
286 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
287
288 Fix bug#13871 (an alternative version of the patch).
289 * progmodes/cc-langs.el: Support some of the new keywords in
290 C++11.
291 (c-operators): Add "alignof".
292 (c-primitive-type-kwds): Add "char16_t", "char32_t".
293 (c-type-modifier-kwds): Add "constexpr", "noexcept".
294 (c-modifier-kwds): Add "thread_local".
295 (c-constant-kwds): Add "nullptr".
296
297 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
298
299 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
300 New variables for specifying tildify pattern and representation of
301 a hard space -- a no-break space by default -- respectively.
302 Being buffer-local they are much easier to handle than
303 `tildify-string-alist' and `tildify-pattern-alist' respectively
304 that have been used so far. They also works better with derived
305 modes.
306 (tildify-foreach-region-function): New variable specifying
307 a function determining portions of buffer that should be
308 tildified. It allows major modes to create a filtering function
309 more elaborate than a set of regular expressions. Initialised to
310 `tildify--deprecated-ignore-evironments' by default to handle now
311 deprecated `tildify-ignored-environments-alist' variable.
312 (tildify--foreach-region): A new function that takes
313 `tildify-foreach-region-function' into account and calls callback
314 for regions of the buffer that should be tildified.
315 (tildify-foreach-ignore-environments): A new function which can be
316 partially applied and used as `tildify-foreach-region-function'.
317 (tildify-ignored-environments-alist, tildify-pattern)
318 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
319 (tildify--find-env): Rename from `tildify-find-env' and mark as
320 obsolete.
321 (tildify--deprecated-ignore-evironments): New function,
322 immediately marked as obsolete, used to handle deprecated
323 `tildify-ignored-environments-alist'.
324
325 * textmodes/tex-mode.el (tex-common-initialization):
326 Set `tildify-space-string' and `tildify-foreach-region-function'
327 variables in all variants of TeX mode since `tildify-string-alist'
328 and `tildify-ignored-environments-alist' are now empty by default.
329
330 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
331 If encoding supports it use no-break space instead of character
332 entity; this changes previous default which used a numeric
333 reference.
334
335 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
336 If encoding does not support no-break space, use numeric reference;
337 this changes previous default which used named entity (“&nbsp;”)
338 in HTML mode.
339
340 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
341
342 Fix bug#5433.
343 * calendar/icalendar.el (icalendar-export-alarms):
344 New customizable variable.
345 (icalendar-export-region): Export alarms as specified in
346 `icalendar-export-alarms'.
347 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
348 New functions for exporting alarms.
349
350 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
351
352 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
353
354 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
355
356 Port new time stamp handling to old Emacs and to XEmacs.
357 This is needed for Gnus, which copies time-date.el and which
358 runs on older Emacs implementations.
359 * calendar/time-date.el (with-decoded-time-value):
360 Handle 'nil' and floating-point arg more compatibly with new Emacs.
361 (encode-time-value, with-decoded-time-value):
362 Obsolete only if new Emacs.
363 (time-add, time-subtract, time-less-p): Define if not new Emacs.
364
365 Improve time stamp handling, and be more consistent about it.
366 This implements a suggestion made in:
367 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
368 Among other things, this means timer.el no longer needs to
369 autoload the time-date module.
370 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
371 * arc-mode.el (archive-ar-summarize):
372 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
373 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
374 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
375 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
376 * proced.el (proced-time-lessp):
377 * timezone.el (timezone-time-from-absolute):
378 * type-break.el (type-break-schedule, type-break-time-sum):
379 Simplify by using new functionality.
380 * calendar/cal-dst.el (calendar-next-time-zone-transition):
381 Do not return time values in obsolete and undocumented (HI . LO)
382 format; use (HI LO) instead.
383 * calendar/time-date.el (with-decoded-time-value):
384 Treat 'nil' as current time. This is mostly for XEmacs.
385 (encode-time-value, with-decoded-time-value): Obsolete.
386 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
387 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
388 * ldefs-boot.el: Update to match new time-date.el
389 * proced.el: Do not require time-date.
390
391 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
392
393 * net/eww.el (eww-mode): Make the buffer read-only.
394 (eww-form-text): Inhibit read-only-ness in text input fields
395 (bug#16476).
396
397 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * simple.el (execute-extended-command--shorter): Cut search here.
400 (execute-extended-command): Instead of here.
401
402 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
403
404 * progmodes/python.el (python-mode): Avoid use of set-local to
405 keep Emacs 24.x compatibility.
406
407 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
408
409 * net/shr.el (shr): Move to the new defgroup `web'.
410
411 * net/eww.el (eww): Ditto.
412
413 * simple.el (execute-extended-command): Don't show the help
414 message if the binding isn't significantly shorter than the
415 M-x command the user typed (bug#19013).
416
417 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
418
419 * calendar/icalendar.el (icalendar--convert-tz-offset):
420 Return complete cons when offsets of standard time and daylight saving
421 time are equal.
422 (icalendar-export-region): Fix unbound variable warning.
423
424 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
425
426 * progmodes/python.el (run-python): Allow CMD to be optional and
427 default it to a safe command, even for Windows. (bug#18596)
428
429 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
430
431 * progmodes/python.el (python-shell-calculate-command):
432 Rename from python-shell-parse-command. Cleanup.
433 (run-python, run-python-internal): Use it.
434 (python-shell-calculate-pythonpath): Rename from
435 python-new-pythonpath.
436 (python-shell-calculate-process-environment): Use it.
437 (python-shell-calculate-exec-path): Add comment.
438
439 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
440
441 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
442 for date handling.
443
444 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
445
446 * version.el (emacs-repository-get-version): Use git rev-parse
447 instead of git log.
448
449 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
450
451 * progmodes/python.el (python-indent-calculate-levels):
452 Fix indentation behavior multiline dedenter statement. (Bug#18432)
453
454 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
455
456 * progmodes/python.el (python-indent-region):
457 Use python-indent-line and skip special cases. (Bug#18843)
458
459 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
460
461 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
462 envelope-from when reporting through sendmail (bug#19054).
463
464 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
465
466 Add faces for the VC modeline state indicator.
467 * lisp/vc/vc-hooks.el:
468 (vc-state-faces, vc-state-base-face)
469 (vc-up-to-date-state, vc-needs-update-state)
470 (vc-locked-state, vc-locally-added-state)
471 (vc-conflict-state, vc-removed-state)
472 (vc-missing-state, vc-edited-state):
473 New faces.
474 (vc-default-mode-line-string): Use them
475
476 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
479
480 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
481
482 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
483
484 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
485
486 * progmodes/python.el (python-eldoc-setup-code): Enhance string
487 type checks, simplify printing. (Bug#18962)
488
489 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
490
491 * progmodes/python.el (python-shell-font-lock-kill-buffer):
492 (python-shell-font-lock-with-font-lock-buffer)
493 (python-shell-get-buffer, python-ffap-module-path):
494 Use `derived-mode-p' instead of equality test on `major-mode'.
495
496 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
497
498 * progmodes/python.el (python-shell-virtualenv-root): Rename from
499 python-shell-virtualenv-path.
500 (python-shell-internal-get-process-name)
501 (python-shell-calculate-process-environment)
502 (python-shell-calculate-exec-path): Use it.
503
504 2014-11-14 Eli Zaretskii <eliz@gnu.org>
505
506 * bindings.el (search-map): Fix last change: don't use 'kbd' in
507 bindings.el, since it is not yet loaded when bindings.el is
508 preloaded.
509
510 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
511
512 * progmodes/python.el (python-shell-completion-get-completions):
513 Fix previous merge.
514
515 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
516
517 * net/eww.el (eww-render): Don't set the title to the URL.
518
519 2014-11-13 Ulrich Müller <ulm@gentoo.org>
520
521 * version.el (emacs-repository-get-version): Call `git log'
522 command with proper format argument (bug#19049).
523
524 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
525
526 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
527
528 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
529
530 * net/eww.el (eww-search-words): New command (bug#16258).
531
532 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
533
534 * net/shr.el (shr-inhibit-images): Add a doc string.
535
536 * net/eww.el (eww-after-render-hook): New variable.
537 (eww-render): Use it.
538
539 * net/shr.el (shr-descend): Don't descend further than
540 `max-specpdl-size' allows (bug#16587).
541 (shr-depth): New variable.
542 (shr-warning): New variable.
543
544 2014-11-13 Ivan Shmakov <ivan@siamics.net>
545
546 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
547 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
548
549 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
550
551 * net/eww.el (eww): Add comment to clarify.
552
553 * net/shr.el (shr-parse-image-data): Remove blocked bits from
554 external SVG images.
555 (shr-tag-object): Display images in <object> forms (bug#16244).
556 (shr-tag-table): Also insert <objects> after the tables.
557
558 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
559
560 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
561
562 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
563
564 * net/eww.el (eww-form-file): Fix version number.
565
566 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
567
568 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
569
570 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
571
572 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
573 (eww-submit-file): New key map of file upload.
574 (eww-form-file): New file upload button and file name context.
575 (eww-select-file): Select file and display selected file name.
576 (eww-tag-input): Handle input tag of file type.
577 (eww-update-field): Add point offset.
578 (eww-submit): Add submit with multipart/form-data.
579
580 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
581
582 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
583 Allow taking a buffer to render data in. This allows using several
584 eww buffers (bug#16211).
585
586 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
587
588 * net/eww.el (eww-download-callback): Save only the file contents,
589 not the headers.
590
591 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
592
593 * net/eww.el (eww-data): New plist to store all the data relevant
594 to a single page, used throughout the file instead of the
595 variables `eww-current-url', `eww-current-dom',
596 `eww-current-source', and `eww-current-title'.
597 (eww-readable): Copy over pertinent data from the parent page.
598 (eww-save-history): Don't let the history grow infinitely.
599
600 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
601 `eww-up-url', `eww-home-url', `eww-start-url' and
602 `eww-contents-url' and put the data into the `eww-data' plist.
603 This allow restoring these values after going back in the history.
604
605 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
606
607 Allow VTIMEZONE where daylight and standard time zones are equal.
608 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
609 * calendar/icalendar.el (icalendar--convert-tz-offset):
610 Support timezone without daylight saving time.
611
612 2014-11-10 Glenn Morris <rgm@gnu.org>
613
614 * startup.el (command-line): Handle nil elements in load-path.
615
616 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * help.el (view-lossage): Include the actual commands run.
619
620 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
621
622 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
623 no state is specified. (Bug#18964)
624
625 2014-11-09 Eric Ludlam <zappo@gnu.org>
626
627 * emacs-lisp/eieio-custom.el (eieio-customize-object):
628 Set eieio-cog (current group) to g, which is an improved form of input
629 group.
630
631 2014-11-09 Juri Linkov <juri@jurta.org>
632
633 * isearch.el (isearch-message-prefix): Show "Multi-file" and
634 "Multi-buffer" instead of "Multi". (Bug#13592)
635
636 * misearch.el (multi-isearch-file-list):
637 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
638 (multi-isearch-end): Reset multi-isearch-buffer-list and
639 multi-isearch-file-list to nil.
640
641 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
644 Don't call byte-compile-preprocess since the result will go through
645 cconv.
646 (byte-compile-output-docform): Handle uninterned `name' correctly.
647 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
648 to circumvent byte-compiler bug.
649
650 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
651 (macroexp--compiler-macro): Remove left-over debug code.
652
653 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
654
655 2014-11-08 Juri Linkov <juri@jurta.org>
656
657 * simple.el (shell-command): Use buffer-name when output-buffer is
658 a buffer. (Bug#18096)
659
660 2014-11-08 Juri Linkov <juri@jurta.org>
661
662 * minibuffer.el (minibuffer-completion-help): Compare this-command
663 with completion-at-point. (Bug#17809)
664
665 2014-11-08 Glenn Morris <rgm@gnu.org>
666
667 * emacs-lisp/bytecomp.el (byte-compile-report-error):
668 Allow the argument to be a string. Due to the vague doc,
669 it was already being used this way.
670
671 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
672
673 * net/tramp.el (tramp-check-cached-permissions): Include hop in
674 the constructed Tramp file name. (Bug#18943)
675
676 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
679 (bug#18952).
680 (cua-set-mark, cua--post-command-handler-1):
681 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
682
683 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
684
685 * files.el (file-name-non-special): Wrap the call of
686 `insert-file-contents' by `unwind-protect', in order to set the
687 buffer's file name anyway. (Bug#18891)
688
689 2014-11-08 Alan Mackenzie <acm@muc.de>
690
691 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
692 * progmodes/cc-fonts.el (c-font-lock-declarations):
693 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
694 the buffer is sometimes narrowed to less than "limit" (e.g., in
695 the presence of macros).
696
697 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
698
699 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
700 only when message appeared in minibuffer. (Bug#18891)
701
702 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
703 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
704 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
705 case of errors.
706
707 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
708
709 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
710 Don't compile before eval in `eval-and-compile'.
711 (byte-compile-arglist-warn): Add check for defining macros after their
712 first use. Check call use even if the function is fboundp.
713
714 2014-11-08 Richard Stallman <rms@gnu.org>
715
716 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
717 Check more carefully for mime-part specified character set.
718 Check for mime-part Content Transfer Encoding.
719 Notify if no armor found.
720
721 2014-11-08 Martin Rudalics <rudalics@gmx.at>
722
723 * faces.el (face-set-after-frame-default): Enable running
724 `window-configuration-change-hook'.
725
726 2014-11-07 Juri Linkov <juri@jurta.org>
727
728 * replace.el: History for query replace pairs.
729 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
730 (query-replace-from-to-separator): New variable.
731 (query-replace-read-from): Let-bind query-replace-from-to-history
732 to a list of FROM-TO strings created from query-replace-defaults
733 and separated by query-replace-from-to-separator. Use it as
734 the history while reading from the minibuffer. Split the returned
735 string by the separator to get FROM and TO parts, and add them
736 to the history variables.
737 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
738 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
739 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
740
741 * isearch.el (isearch-text-char-description): Keep characters
742 intact and put formatted strings with the `display' property.
743
744 2014-11-07 Martin Rudalics <rudalics@gmx.at>
745
746 * cus-start.el (frame-resize-pixelwise): Fix group.
747 (frame-inhibit-implied-resize): Add entry.
748
749 2014-11-07 Daiki Ueno <ueno@gnu.org>
750
751 * epa.el (epa-pinentry-mode): New user option.
752 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
753 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
754 * epa-file.el (epa-file-insert-file-contents)
755 (epa-file-write-region): Respect epa-pinentry-mode.
756
757 2014-11-07 Daiki Ueno <ueno@gnu.org>
758
759 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
760 (bug#18979). Reported by Hideki Saito.
761
762 2014-11-06 Daiki Ueno <ueno@gnu.org>
763
764 * emacs-lisp/package.el (package--display-verify-error): New function.
765 (package--check-signature): Use it to display output sent to stderr.
766
767 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * subr.el (pop): Don't call the getter twice (bug#18968).
770
771 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
772 uses of `funcall'.
773
774 2014-11-06 Daiki Ueno <ueno@gnu.org>
775
776 * epa.el (epa-error-buffer): New variable.
777 (epa-display-error): New function.
778 (epa-decrypt-file, epa-verify-file, epa-verify-region)
779 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
780 (epa-sign-file, epa-sign-region, epa-encrypt-region)
781 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
782 Use setf instead of epg-context-set-*.
783 * epa-file.el (epa-file-insert-file-contents):
784 Use epa-display-error instead of epa-display-info. Mimic the behavior
785 of jka-compr when decryption program is not found.
786 (epa-file-write-region): Use epa-display-error instead of
787 epa-display-info.
788
789 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * vc/vc.el (vc-region-history): New command.
792 (vc-print-log-internal): Use cl-some.
793
794 * vc/vc-git.el (vc-git-region-history): New function.
795 (vc-git-region-history-mode-map)
796 (vc-git--log-view-long-font-lock-keywords)
797 (vc-git-region-history-font-lock-keywords): New vars.
798 (vc-git-region-history-font-lock): New function.
799 (vc-git-region-history-mode): New major mode.
800
801 2014-11-05 Tassilo Horn <tsdh@gnu.org>
802
803 * net/eww.el (subr-x): Require subr-x at compile-time because eww
804 uses string-trim.
805
806 2014-11-05 Daiki Ueno <ueno@gnu.org>
807
808 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
809 (epg-error-output): New buffer-local variable.
810 (epg--start): Initialize epg-error-output.
811 (epg--process-filter): Record output lines sent to stderr, in
812 epg-error-output.
813 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
814 slot of context.
815 * epa-file.el (epa-file-insert-file-contents): On error, display
816 output sent to stderr.
817 (epa-file-write-region): Likewise.
818
819 2014-11-05 Eli Zaretskii <eliz@gnu.org>
820
821 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
822 returned by load-average.
823
824 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
825
826 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
827 a local copy; setting `inhibit-file-name-handlers' proper might be
828 more performant. (Bug#18751)
829
830 2014-11-05 Glenn Morris <rgm@gnu.org>
831
832 * mail/emacsbug.el (report-emacs-bug): No longer include
833 recent-keys in the report. (Bug#18900)
834
835 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
836
837 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
838
839 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
840
841 * net/eww.el (eww): Trim URL with `string-trim'.
842 Suggested by Vibhav Pant <vibhavp@gmail.com>.
843
844 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
845
846 * net/eww.el (eww-score-readability): Don't count comments positively.
847
848 * net/shr.el (shr-retransform-dom): Typo fix.
849
850 * net/eww.el (eww-score-readability): Parse SVC images correctly.
851 (eww-display-html): Don't leave point inside forms.
852
853 * net/shr.el: Ditto.
854
855 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
858 edebug-prin1-to-string already handles circularity.
859
860 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
861 autoloading when specified as a lambda.
862
863 * simple.el (execute-extended-command--last-typed): New var.
864 (read-extended-command): Set it.
865 Don't complete obsolete commands.
866 (execute-extended-command--shorter-1)
867 (execute-extended-command--shorter): New functions.
868 (execute-extended-command): Use them to suggest shorter names.
869 (indicate-copied-region, deactivate-mark): Use region-active-p.
870
871 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
872
873 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
874 local copy of FILENAME, when it is remote. (Bug#18751)
875
876 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
877 an error when the command fails; the return code must indicate.
878 (tramp-adb-send-command-and-check): Fix docstring.
879
880 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
881
882 * net/shr.el (shr-retransform-dom): Don't ignore elements that
883 have no children like <br />.
884
885 * net/eww.el (eww-display-html): Clear `url-queue'.
886 (eww-display-pdf): New function.
887 (eww-render): Display PDFs with `doc-view'.
888 (url-queue): Require `url-queue' to avoid compilation warning.
889 (eww-colorize-region): Remove duplicate function.
890 (eww-tag-body): Use `shr-colorize-region'.
891
892 2014-11-03 Yoni Rabkin <yrk@gnu.org>
893
894 * net/eww.el (eww-list-bookmarks): Autoload.
895
896 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
897
898 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
899
900 * net/eww.el (eww-display-html): The charset is called `utf-8',
901 not `utf8'.
902 (eww-readable): Decode the saved text correctly.
903 (eww-readable): Save the history before displaying so that we can
904 go back to the non-readable version.
905 (eww-display-html): Don't try to decode the text if we've been
906 passed in a pre-parsed DOM.
907 (eww-tag-title): Remove newlines and extra whitespace from the
908 displayed title.
909
910 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
911
912 * net/eww.el (eww-readable): New command and keystroke.
913
914 * net/shr.el (shr-retransform-dom): New function.
915
916 * net/eww.el (eww-display-html): Set `eww-current-source' in the
917 correct buffer.
918 (eww-view-source): Use it.
919
920 2014-11-02 Ivan Shmakov <ivan@siamics.net>
921
922 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
923 (Bug#18603).
924
925 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
926
927 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
928
929 2014-11-02 Ivan Shmakov <ivan@siamics.net>
930
931 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
932
933 2014-11-02 Ivan Shmakov <ivan@siamics.net>
934
935 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
936 (Bug#18834).
937
938 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
939
940 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
941 use as advice.
942 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
943
944 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
945
946 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
947 (bug#18821).
948 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
949
950 2014-11-01 Michael R. Mauger <michael@mauger.com>
951
952 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
953 syntax, add new keywords, and parse longer keywords first.
954 (sql-redirect-one): Protect against empty command.
955 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
956 to SQL. (Bug#14759)
957
958 2014-11-01 Michael R. Mauger <michael@mauger.com>
959
960 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
961 Bug#16814 with let-bind of comint-input-ring variables around read
962 and save functions.
963
964 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
965
966 * net/tramp-cache.el (tramp-get-file-property)
967 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
968 and `tramp-cache-set-count-*' are bound. Otherwise, there might
969 be compiler warnings.
970
971 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
972 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
973
974 2014-11-01 Eli Zaretskii <eliz@gnu.org>
975
976 * progmodes/compile.el (compilation-mode): Turn off deferred
977 fontifications locally. (Bug#18856)
978
979 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
980
981 * net/tramp-sh.el (tramp-send-command): Fix the case where the
982 remote-echo connection property is non-nil (bug#18858).
983
984 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * simple.el (newline): Add assertions to try and help catch bug#18913.
987
988 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
989 (bug#18886).
990 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
991
992 2014-11-01 Kim F. Storm <storm@cua.dk>
993
994 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
995 * delsel.el (delete-selection-save-to-register)
996 (delsel--replace-text-or-position): New vars.
997 (delete-active-region): Use them.
998 (delete-selection-repeat-replace-region): New command, moved from
999 cua-base.el.
1000 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
1001 (cua-repeat-replace-region): Move command to delsel.el.
1002 (cua--init-keymaps): Update binding accordingly.
1003 (cua-mode): Set delete-selection-save-to-register.
1004
1005 2014-11-01 Alan Mackenzie <acm@muc.de>
1006
1007 Make blink-parens work with a closing template delimiter.
1008 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
1009 before calling blink-paren-function, so as to apply syntax-table
1010 properties to the ">".
1011
1012 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
1013
1014 * select.el (gui-get-selection): Comment: data-type ignored on NS.
1015
1016 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
1019 (macroexp--expand-all): Unrelated tweaks.
1020
1021 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
1022
1023 2014-10-30 Glenn Morris <rgm@gnu.org>
1024
1025 * startup.el (command-line): Remove pointless attempt to avoid
1026 statting the file-system (which expand-file-name doesn't do).
1027
1028 2014-10-30 Daniel Colascione <dancol@dancol.org>
1029
1030 Add "enum class" support to C++ mode.
1031 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
1032 (c-after-brace-list-key): New language consts/variables.
1033 * progmodes/cc-engine.el (c-looking-at-decl-block):
1034 Exclude spurious match of "enum struct" from decl-block recognition.
1035 (c-backward-colon-prefixed-type): New function.
1036 (c-backward-over-enum-header): Call above function to extend
1037 recognition of enum structure.
1038
1039 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
1042 (c-lang-defconst):
1043 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
1044
1045 2014-10-30 Eli Zaretskii <eliz@gnu.org>
1046
1047 * progmodes/compile.el (compilation-start):
1048 If compilation-scroll-output is non-nil, don't force window-start of
1049 the compilation buffer to be at beginning of buffer. (Bug#18874)
1050
1051 * startup.el (fancy-about-text): Read the entire tutorial, not
1052 just its first 256 bytes. (Bug#18760)
1053
1054 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
1057 * emacs-lisp/cl-extra.el: Add missing provide.
1058
1059 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
1060 all args are copyable (bug#18767).
1061 (=, <, >, <=, >=): Re-enable the optimization.
1062
1063 2014-10-29 Glenn Morris <rgm@gnu.org>
1064
1065 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
1066
1067 * version.el (emacs-bzr-version, emacs-bzr-get-version):
1068 Revert 2014-10-26 change.
1069
1070 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
1071
1072 Simplify use of current-time and friends.
1073 * allout-widgets.el (allout-widgets-hook-error-handler):
1074 * calendar/appt.el (appt-display-message):
1075 * calendar/icalendar.el (icalendar--convert-float-to-ical):
1076 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
1077 (timeclock-last-period, timeclock-day-base):
1078 * eshell/em-ls.el (eshell-ls-file):
1079 * eshell/esh-util.el (eshell-parse-ange-ls):
1080 * generic-x.el (named-database-print-serial):
1081 * net/newst-backend.el (newsticker--get-news-by-url-callback)
1082 (newsticker-get-news, newsticker--sentinel-work)
1083 (newsticker--image-get, newsticker--image-sentinel):
1084 * net/tramp-sh.el (tramp-get-remote-touch):
1085 * progmodes/opascal.el (opascal-debug-log):
1086 * textmodes/remember.el (remember-mail-date)
1087 (remember-store-in-files):
1088 * vc/vc-annotate.el (vc-annotate-display-autoscale)
1089 (vc-default-annotate-current-time):
1090 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
1091 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
1092 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
1093 Omit unnecessary call to current-time.
1094 * calendar/time-date.el (time-to-seconds) [!float-time]:
1095 * vc/vc-annotate.el (vc-annotate-convert-time):
1096 Use current time if arg is nil, to be compatible with float-time.
1097 (time-date--day-in-year): New function, with most of the guts of
1098 the old time-to-day-in-year.
1099 (time-to-day-in-year): Use it.
1100 (time-to-days): Use it, to avoid decoding the same time stamp twice.
1101 * calendar/timeclock.el (timeclock-time-to-date):
1102 Arg is now optional, like current-time-string.
1103 (timeclock-update-mode-line):
1104 Don't call current-time twice to get the current time stamp,
1105 as this can lead to inconsistent results.
1106 * completion.el (cmpl-hours-since-origin):
1107 * ido.el (ido-time-stamp):
1108 * vc/vc-annotate.el (vc-annotate-convert-time):
1109 Simplify by using float-time.
1110 * completion.el (save-completions-to-file):
1111 Rename local var to avoid confusion.
1112 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
1113 time-to-seconds now behaves like float-time with respect to nil arg.
1114 * subr.el (progress-reporter-do-update):
1115 Don't call float-time unless needed.
1116
1117 2014-10-29 Leo Liu <sdl.web@gmail.com>
1118
1119 * net/rcirc.el (rcirc-fill-column): Use function.
1120 (rcirc-markup-fill): Remove adjustment.
1121
1122 2014-10-28 Christopher Schmidt <ch@ristopher.com>
1123
1124 * calc/calc.el (quick-calc):
1125 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
1126
1127 2014-10-28 Sam Steingold <sds@gnu.org>
1128
1129 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
1130 the sake of `window-body-width' (in addition to `frame-width').
1131
1132 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
1133
1134 * version.el: Fix some fallback values to conform to the actual
1135 release number.
1136
1137 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
1138
1139 * Makefile.in: Change some production names so they're neutral
1140 about the repository type.
1141
1142 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
1143
1144 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
1145 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
1146 during initialization. (Bug#18774)
1147
1148 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
1149
1150 * ses.el (macroexp): Add require for this package, so that
1151 function `ses--cell' gets macroexp-quote --- this change was
1152 supposed to be in my previous commit, but left out by mistake.
1153 (ses--cell): Do not make formula a macroexp-quote of value when
1154 value, not formula, is *skip*.
1155
1156 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1157
1158 * ses.el (macroexp): Add require for this package, so that function
1159 `ses--cell gets macroexp-quote.
1160 (ses--cell): Makes formula a macroexp-quote of value when formula
1161 is nil. The rationale of this changr is to allow in the future
1162 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
1163 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
1164 reference list REFLIST would be re-computed after load --- thus
1165 trading off load time against file size.
1166
1167 * emacs-lisp/package.el (package--alist-to-plist-args):
1168 Use macroexp-quote instead of a lambda expression which has the same
1169 content as macroexp-quote.
1170 (macroexp): Add require for this package, so that function
1171 `package--alist-to-plist-args' gets macroexp-quote.
1172
1173 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
1174
1175 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * term/ns-win.el (ns-store-cut-buffer-internal)
1178 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
1179
1180 2014-10-24 Martin Rudalics <rudalics@gmx.at>
1181
1182 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
1183 Calculate increment from last position instead of window edge.
1184 Add right- and bottom-divider bindings to transient map.
1185
1186 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
1189 even if :predicate was nil, for the benefit of typep.
1190 Record the name of the predicate for typep's use.
1191 (cl--make-type-test): Use pcase. Obey new
1192 cl-deftype-satisfies property.
1193
1194 * epg.el: Use cl-defstruct.
1195 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
1196 (epg-data-string): Define via cl-defstruct.
1197 (epg--gv-nreverse): New macro.
1198 (epg-context--make): New constructor (provided vi cl-defstruct).
1199 (epg-make-context): Rewrite using it.
1200 (epg-context-protocol, epg-context-program)
1201 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
1202 (epg-context-include-certs, epg-context-cipher-algorithm)
1203 (epg-context-digest-algorithm, epg-context-compress-algorithm)
1204 (epg-context-passphrase-callback, epg-context-progress-callback)
1205 (epg-context-signers, epg-context-sig-notations, epg-context-process)
1206 (epg-context-output-file, epg-context-result, epg-context-operation)
1207 (epg-context-pinentry-mode): Define using cl-defstruct.
1208 (epg-context-set-protocol, epg-context-set-program)
1209 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
1210 (epg-context-set-digest-algorithm)
1211 (epg-context-set-sig-notations, epg-context-set-process)
1212 (epg-context-set-output-file, epg-context-set-result)
1213 (epg-context-set-operation, epg-context-set-pinentry-mode)
1214 (epg-context-set-compress-algorithm): Remove. Use setf instead.
1215 (epg-context-set-armor, epg-context-set-textmode)
1216 (epg-context-set-signers): Redefine using setf
1217 and declare as obsolete.
1218 (epg-context-set-passphrase-callback)
1219 (epg-context-set-progress-callback): Use setf.
1220 (epg-signature-notations): Rename from epg-sig-notations.
1221 (epg-make-signature, epg-signature-status, epg-signature-key-id)
1222 (epg-signature-validity, epg-signature-fingerprint)
1223 (epg-signature-creation-time, epg-signature-expiration-time)
1224 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
1225 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
1226 (epg-signature-set-status, epg-signature-set-key-id)
1227 (epg-signature-set-validity, epg-signature-set-fingerprint)
1228 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
1229 (epg-signature-set-pubkey-algorithm)
1230 (epg-signature-set-digest-algorithm, epg-signature-set-class)
1231 (epg-signature-set-version, epg-signature-set-notations): Remove.
1232 Use setf instead.
1233 (epg-make-new-signature, epg-new-signature-type)
1234 (epg-new-signature-pubkey-algorithm)
1235 (epg-new-signature-digest-algorithm, epg-new-signature-class)
1236 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
1237 Define using cl-defstruct.
1238 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
1239 (epg-key-user-id-list): Define using cl-defstruct.
1240 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
1241 Use setf instead.
1242 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
1243 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
1244 (epg-sub-key-id, epg-sub-key-creation-time)
1245 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
1246 cl-defstruct.
1247 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
1248 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
1249 (epg-user-id-signature-list): Define using cl-defstruct.
1250 (epg-user-id-set-signature-list): Remove. Use setf instead.
1251 (epg-make-key-signature, epg-key-signature-validity)
1252 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
1253 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
1254 (epg-key-signature-user-id, epg-key-signature-class)
1255 (epg-key-signature-exportable-p): Define using cl-defstruct.
1256 (epg-make-sig-notation, epg-sig-notation-name)
1257 (epg-sig-notation-value, epg-sig-notation-human-readable)
1258 (epg-sig-notation-critical): Define using cl-defstruct.
1259 (epg-sig-notation-set-value): Remove. Use setf instead.
1260 (epg-make-import-status, epg-import-status-fingerprint)
1261 (epg-import-status-reason, epg-import-status-new)
1262 (epg-import-status-user-id, epg-import-status-signature)
1263 (epg-import-status-sub-key, epg-import-status-secret): Define using
1264 cl-defstruct.
1265 (epg-make-import-result, epg-import-result-considered)
1266 (epg-import-result-no-user-id, epg-import-result-imported)
1267 (epg-import-result-imported-rsa, epg-import-result-unchanged)
1268 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
1269 (epg-import-result-new-signatures, epg-import-result-new-revocations)
1270 (epg-import-result-secret-read, epg-import-result-secret-imported)
1271 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
1272 (epg-import-result-imports): Define using cl-defstruct.
1273
1274 * emacs-lisp/package.el: Require EPG during macroexpansion.
1275 (package--check-signature, package-import-keyring): Use setf instead of
1276 epg-context-set-home-directory.
1277
1278 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
1281
1282 2014-10-23 Leo Liu <sdl.web@gmail.com>
1283
1284 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
1285 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
1286 (cfengine3-current-defun): New function.
1287 (cfengine3-mode): Set add-log-current-defun-function.
1288
1289 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * select.el: Use lexical-binding.
1292 (gui-set-selection): Provide an implementation for non-GUI frames
1293 (bug#18791).
1294 * term/x-win.el: Use lexical-binding.
1295 (x-clipboard-yank): Fix up missed renamings.
1296 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
1297 (w32--set-selection): Fix up var names.
1298 * term/pc-win.el: Use lexical-binding.
1299 (w16-selection-exists-p): Silence compiler warning.
1300 (w16-selection-owner-p): Fix up missed renamings.
1301
1302 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
1303
1304 * frame.el (frame-notice-user-settings): Fix excessive quoting.
1305
1306 2014-10-22 Tassilo Horn <tsdh@gnu.org>
1307
1308 * doc-view.el (doc-view-open-text): View the document's plain text
1309 in the current buffer instead of a new one.
1310 (doc-view-toggle-display): Handle the case where the current
1311 buffer contains the plain text contents of the document.
1312 (doc-view-initiate-display): Don't switch to fallback mode if the
1313 user wants to view the doc's plain text.
1314 (doc-view-set-doc-type): Use assoc-string instead of
1315 assoc-ignore-case.
1316
1317 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1318
1319 * subr.el (read-key): Fix clicks on the mode-line.
1320 (set-transient-map): Return exit function.
1321
1322 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
1323 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
1324 (mouse-yank-secondary): Use gui-get-selection.
1325 (mouse--down-1-maybe-follows-link): Use read-key.
1326
1327 * xt-mouse.el: Add `event-kind' property on the fly from
1328 xterm-mouse-translate-1 rather than statically at the outset.
1329
1330 2014-10-21 Daniel Colascione <dancol@dancol.org>
1331
1332 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
1333 change window configuration when we turn it off.
1334
1335 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1336
1337 Get rid of backend-dependent selection-handling functions for kill/yank
1338 and make it generic instead by relying on the lower-level selection
1339 management functions.
1340
1341 * select.el (select-enable-clipboard): Rename from
1342 gui-select-enable-clipboard.
1343 (select-enable-primary): Move from x-win.el and rename from
1344 x-select-enable-primary.
1345 (gui-last-selected-text): Remove.
1346 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
1347 New vars.
1348 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
1349 (gui-select-text-alist, gui-selection-value-alist): Remove.
1350 (x-select-request-type): Move from x-win.el.
1351 (gui--selection-value-internal): New function, taken from x-win's
1352 x-selection-value-internal.
1353 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
1354 (gui-set-selection-alist): Rename from gui-own-selection-alist and
1355 extend it to handle a nil value as a "disown" request.
1356 (gui-disown-selection-alist): Remove.
1357 (xselect-convert-to-delete): Adjust accordingly.
1358 (gui-set-selection): Simplify accordingly as well. Use dotimes.
1359
1360 * term/x-win.el (x-last-selected-text-primary)
1361 (x-select-enable-primary): Remove (moved to select.el).
1362 (x-select-request-type): Move to select.el.
1363 (x-selection-value-internal, x--selection-value): Remove functions.
1364 (gui-selection-value, gui-select-text): Remove moethods.
1365 (gui-set-selection): Merge own and disown methods.
1366
1367 * term/w32-win.el (w32--select-text, w32--get-selection-value):
1368 Delete function (move functionality into w32--set-selection and
1369 w32--get-selection).
1370 (gui-select-text, gui-selection-value): Don't define methods.
1371 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
1372 New functions.
1373 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
1374 Use them.
1375 (gui-selection-exists-p): Adjust to new name of C primitive.
1376
1377 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
1378 test of gui-select-enable-clipboard, to make it usable as
1379 a gui-get-selection method.
1380 (gui-selection-exists-p): Adjust to new name of C primitive.
1381 (gui-set-selection): Merge own and disown methods.
1382 (gui-select-text, gui-selection-value): Delete methods.
1383 (w16--select-text): Delete function.
1384
1385 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
1386 (ns-selection-value): Remove functions.
1387 (gui-select-text, gui-selection-value): Don't define method any more.
1388 (gui-set-selection): Merge the old own and disown methods.
1389 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
1390 underlying C primitive.
1391
1392 * startup.el (command-line): Adjust now that `gui-method' expects nil
1393 for ttys.
1394
1395 * frame.el (gui-method): Use window-system rather than framep.
1396 (gui-method-declare): The tty case is now nil rather than t.
1397 (make-frame): Adjust accordingly.
1398
1399 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * net/newst-reader.el (newsticker--image-read): Simplify.
1402 (newsticker--icon-read): Use dolist and fix free var error.
1403
1404 * imenu.el (imenu--menubar-keymap): New var.
1405 (imenu-add-to-menubar): Set it to remember the keymap we used.
1406 (imenu-update-menubar): Use it instead of asking lookup-key.
1407
1408 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1409
1410 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1411
1412 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1413 case (bug#18767).
1414
1415 2014-10-21 Glenn Morris <rgm@gnu.org>
1416
1417 * Merge in all changes up to version 24.4 release.
1418
1419 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1422 case (bug#18767).
1423
1424 2014-10-20 Glenn Morris <rgm@gnu.org>
1425
1426 * Merge in all changes up to 24.4 release.
1427
1428 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
1429
1430 * net/newst-backend.el
1431 (newsticker--image-download-by-url-callback): Make this function
1432 actually work: Check status properly, then save image.
1433
1434 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1435
1436 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
1437 `this-event'.
1438 (mouse-drag-line): Unless there's no actual mouse, use the event's
1439 position info.
1440
1441 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * textmodes/css-mode.el (scss-mode): New major-mode.
1444 (css-mode-syntax-table): Use d style comment, to ease the scss case.
1445 (css-ident-re): Allow things like @-moz-keyframes.
1446 (scss--hash-re): New const.
1447 (css--font-lock-keywords): New function, extracted from
1448 css-font-lock-keywords.
1449
1450 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
1451
1452 * net/newst-backend.el: Require url-parse.
1453 (newsticker--get-news-by-wget): Store feed name as process property.
1454 (newsticker--sentinel): Read feed name from process property.
1455 (newsticker--sentinel-work): Rename argument name to feed-name.
1456 Rename variable imageurl to image-url. Pick icon url from Atom
1457 1.0 data. Launch download of feed icon.
1458 (newsticker--get-icon-url-atom-1.0): New.
1459 (newsticker--unxml)
1460 (newsticker--unxml-node)
1461 (newsticker--unxml-attribute): Documentation.
1462 (newsticker--icons-dir): New.
1463 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
1464 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
1465 (newsticker--image-download-by-wget): New. Use process properties
1466 for storing informations.
1467 (newsticker--image-sentinel): Read informations from process properties.
1468 (newsticker--image-save)
1469 (newsticker--image-remove)
1470 (newsticker--image-download-by-url)
1471 (newsticker--image-download-by-url-callback): New.
1472 (newsticker-opml-export): Handle url list entries containing a
1473 function instead of an url string.
1474
1475 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
1476 (newsticker--print-extra-elements)
1477 (newsticker--do-print-extra-element):
1478 Documentation (newsticker--image-read): Optionally limit image height.
1479 Use imagemagick if possible.
1480 (newsticker--icon-read): New.
1481
1482 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
1483 (newsticker--treeview-tree-expand): Use feed icons in treeview.
1484 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
1485 (newsticker--tree-widget-leaf-icon): Use feed icon.
1486
1487 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
1490 Use help-function-arglist instead.
1491
1492 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
1493 (eieio--with-scoped-class): Use `declare'.
1494 (eieio-defclass): Remove compatibility code.
1495 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
1496 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
1497
1498 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
1499
1500 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
1501
1502 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
1503 replacements to stock names before stock names in a list.
1504 Cdr may be a list, each name is tried in turn until one is found.
1505
1506 2014-10-18 Alan Mackenzie <acm@muc.de>
1507
1508 Check that a "macro" found near point-min isn't a ## operator.
1509 Fixes bug #18749.
1510 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
1511 (c-beginning-of-macro): Use the above new function.
1512
1513 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
1514
1515 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
1516 correct data to `gnutls-boot' (Bug#18664).
1517 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
1518
1519 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
1520
1521 * whitespace.el (whitespace-style, whitespace-big-indent)
1522 (whitespace-big-indent-regexp, whitespace-style-value-list)
1523 (whitespace-toggle-option-alist, whitespace-interactive-char)
1524 (whitespace-toggle-options)
1525 (global-whitespace-toggle-options, whitespace-help-text)
1526 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
1527 style to `whitespace-mode' to indicate that the line indentation
1528 is too deep. By default, 32 SPACEs or four TABs are considered
1529 too many but `whitespace-big-indent-regexp' can be configured.
1530
1531 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
1532
1533 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
1534 tildify-mode-alist.
1535
1536 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1537
1538 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
1539 (defclass, defgeneric, defmethod): Add doc-string position.
1540 (with-slots): Require cl-lib.
1541
1542 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
1543 (list-of): New type.
1544 (eieio--typep): Remove.
1545 (eieio-perform-slot-validation): Use cl-typep instead.
1546
1547 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
1548
1549 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
1550
1551 2014-10-16 Alan Mackenzie <acm@muc.de>
1552
1553 Trigger showing when point is in the "periphery" of a line or just
1554 inside a paren.
1555 * paren.el (show-paren-style, show-paren-delay)
1556 (show-paren-priority, show-paren-ring-bell-on-mismatch):
1557 Remove superfluous :group specifications.
1558 (show-paren-when-point-inside-paren)
1559 (show-paren-when-point-in-periphery): New customizable variables.
1560 (show-paren-highlight-openparen): Make into a defcustom.
1561 (show-paren--unescaped-p, show-paren--categorize-paren)
1562 (show-paren--locate-near-paren): New defuns.
1563 (show-paren--default): Refaactor and trigger on more paren
1564 positions.
1565 (show-paren-function): Small consequential changes.
1566
1567 2014-10-16 Tom Tromey <tom@tromey.com>
1568
1569 * files.el (auto-mode-alist): Use javascript-mode for .jsm
1570 (bug #18719).
1571
1572 2014-10-16 Eli Zaretskii <eliz@gnu.org>
1573
1574 * international/characters.el (bracket-type): Force pre-loading of
1575 uni-brackets.el.
1576
1577 2014-10-16 Alan Mackenzie <acm@muc.de>
1578
1579 * cus-edit.el (custom-command-apply): Specify the return value in
1580 the doc string.
1581 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1582 custom-command-apply has returned non-nil.
1583
1584 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
1587 Remove incorrect handling of eldoc-print-after-edit.
1588 (eldoc-message-commands, eldoc-last-data): Use defvar.
1589 * loadup.el (emacs-lisp/eldoc): Load it.
1590
1591 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
1592 (m4-mode): Use it.
1593 (m4--quoted-p): New function.
1594 (m4-font-lock-keywords): Don't handle #..\n comments any more.
1595 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
1596 for most special characters.
1597
1598 * progmodes/compile.el (compilation--previous-directory): Simplify.
1599 (compilation-next-error): Ensure the parse before we look at
1600 compilation-message property.
1601
1602 2014-10-15 Eli Zaretskii <eliz@gnu.org>
1603
1604 * simple.el (what-cursor-position):
1605 * descr-text.el (describe-char): Update to support the new bidi
1606 characters.
1607
1608 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1609 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1610 buffer-menu display when the first buffer happens to start with
1611 R2L letter.
1612
1613 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * progmodes/elisp-mode.el (elisp--local-variables-1):
1616 Handle quoted expressions (bug#18688).
1617
1618 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
1619 Michael Albinus <michael.albinus@gmx.de>
1620
1621 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1622 Reduce the amount of set environment variable commands.
1623
1624 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1625
1626 Fix import completion. (Bug#18582)
1627 * progmodes/python.el (python-shell-completion-get-completions):
1628 Fix import case regexp.
1629
1630 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1633 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1634 * progmodes/prolog.el (prolog-electric--underscore): Same.
1635
1636 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
1637
1638 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
1639
1640 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1641
1642 * cus-start.el (all): Add missing ns and boolean to
1643 ns-use-fullscreen-animation.
1644
1645 2014-10-11 Leo Liu <sdl.web@gmail.com>
1646
1647 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
1648 Use strings.
1649 (cfengine3-create-imenu-index): New function.
1650 (cfengine3-mode): Use it for `imenu-create-index-function'.
1651 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
1652 buffer is empty.
1653
1654 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1655
1656 * cus-start.el (all): Add ns-use-fullscreen-animation.
1657
1658 2014-10-11 Glenn Morris <rgm@gnu.org>
1659
1660 * calendar/diary-lib.el (diary-display-function):
1661 Drop support for deprecated nil and list forms.
1662 (diary-list-entries): Update for the above.
1663 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
1664
1665 2014-10-10 Leo Liu <sdl.web@gmail.com>
1666
1667 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
1668 (Bug#18656)
1669
1670 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 * select.el (gui-selection-exists-p-alist): New method.
1673 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
1674 * simple.el (deactivate-mark): Use it.
1675 * term/x-win.el (gui-selection-exists-p):
1676 * term/w32-win.el (gui-selection-exists-p):
1677 * term/pc-win.el (gui-selection-exists-p):
1678 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
1679
1680 2014-10-10 Glenn Morris <rgm@gnu.org>
1681
1682 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
1683 Fix :type. Allow t to mean no limit.
1684 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
1685
1686 2014-10-09 Glenn Morris <rgm@gnu.org>
1687
1688 * frame.el (display-monitor-attributes-list): Doc tweaks.
1689
1690 2014-10-09 Eli Zaretskii <eliz@gnu.org>
1691
1692 * faces.el (display-grayscale-p): Mention in the doc string that
1693 the argument can be either a display name or a frame.
1694
1695 * frame.el (display-pixel-height, display-pixel-width)
1696 (display-mm-height, display-mm-width, display-backing-store)
1697 (display-save-under, display-planes, display-color-cells)
1698 (display-visual-class, display-monitor-attributes-list)
1699 (display-screens): Mention in the doc string that the argument can
1700 be either a display name or a frame. Improve the docs of the
1701 monitor attributes. (Bug#18636)
1702
1703 2014-10-09 Martin Rudalics <rudalics@gmx.at>
1704
1705 * term.el (term-window-width): Subtract 1 from the width when
1706 any fringe has zero width, not just the right fringe. (Bug#18601)
1707
1708 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1709
1710 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
1711
1712 2014-10-08 Leo Liu <sdl.web@gmail.com>
1713
1714 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
1715
1716 2014-10-08 Glenn Morris <rgm@gnu.org>
1717
1718 * calendar/cal-x.el (calendar-dedicate-diary):
1719 Drop support for recently deleted aliases.
1720
1721 2014-10-08 Leo Liu <sdl.web@gmail.com>
1722
1723 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
1724 Always return a syntax. Replace call-process-shell-command with
1725 process-file. Ensure cfengine-mode-syntax-functions-regex is
1726 always set. Ensure cache when cfengine-cf-promises fails.
1727 (Bug#18620)
1728
1729 2014-10-07 Glenn Morris <rgm@gnu.org>
1730
1731 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
1732
1733 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
1734
1735 Sync with upstream verilog-mode revision c075a492.
1736 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1737 (verilog-menu): Add AUTOINSERTLAST.
1738 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
1739 is nil, fix indenting initial/final to match always statements, bug825.
1740 Reported by Tim Clapp.
1741 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
1742 bug557. Reported by ZeDong Mao and Jason Forkey.
1743 (verilog-read-decls): Fix parsing typed interfaces.
1744 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
1745 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
1746 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
1747 Reported by Pierre-David Pfister.
1748 (verilog-auto-insert-lisp): Doc fix.
1749 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
1750 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
1751 (verilog-sk-ovm-class, verilog-sk-uvm-object)
1752 (verilog-sk-uvm-component): Fix missing string keyword in class
1753 skeletons, bug824. Reported by eldad faruhi.
1754
1755 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * term/w32-win.el: Move all code from 32-common-fns.el here.
1758 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
1759 console as well (bug#18629).
1760 * w32-common-fns.el: Remove.
1761 * loadup.el: Don't load w32-common-fns.el.
1762 * w32-fns.elc: Don't require w32-common-fns.
1763
1764 * icomplete.el: Move Iswitchb autoload here. Much simpler.
1765 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
1766 Remove redundant obsolescence thingy.
1767 * loadup.el: Don't load obsolete/loaddefs.el.
1768 * Makefile.in (obsolete-autoloads): Remove.
1769 (AUTOGENEL): Remove obsolete/loaddefs.el.
1770
1771 2014-10-06 Glenn Morris <rgm@gnu.org>
1772
1773 * Makefile.in (obsolete-autoloads): Write to a separate file,
1774 to workaround autoloads bug. (Bug#17407)
1775 (AUTOGENEL): Add obsolete/loaddefs.el.
1776 * loadup.el: Load obsolete/loaddefs.el if present.
1777 * subr.el (do-after-load-evaluation):
1778 Don't warn about obsolete/loaddefs.el.
1779
1780 * menu-bar.el (menu-bar-games-menu): Remove landmark.
1781 It has zero relationship to a game.
1782
1783 2014-10-06 Leo Liu <sdl.web@gmail.com>
1784
1785 * imenu.el (imenu): Re-write for clarity.
1786
1787 2014-10-06 Glenn Morris <rgm@gnu.org>
1788
1789 Remove calendar code obsolete since at least version 23.1.
1790 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
1791 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
1792 (calendar-goto-bahai-date, list-bahai-diary-entries)
1793 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
1794 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
1795 (insert-yearly-bahai-diary-entry):
1796 * calendar/cal-china.el (chinese-calendar-time-zone)
1797 (chinese-calendar-location-name)
1798 (chinese-calendar-daylight-time-offset)
1799 (chinese-calendar-standard-time-zone-name)
1800 (chinese-calendar-daylight-time-zone-name)
1801 (chinese-calendar-daylight-savings-starts)
1802 (chinese-calendar-daylight-savings-ends)
1803 (chinese-calendar-daylight-savings-starts-time)
1804 (chinese-calendar-daylight-savings-ends-time)
1805 (chinese-calendar-celestial-stem)
1806 (chinese-calendar-terrestrial-branch)
1807 (calendar-absolute-from-chinese, calendar-print-chinese-date)
1808 (calendar-goto-chinese-date):
1809 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
1810 (calendar-print-coptic-date, coptic-prompt-for-date)
1811 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
1812 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
1813 * calendar/cal-french.el (calendar-absolute-from-french)
1814 (calendar-print-french-date, calendar-goto-french-date):
1815 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
1816 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
1817 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
1818 (holiday-rosh-hashanah-etc, holiday-hanukkah)
1819 (holiday-passover-etc, holiday-tisha-b-av-etc)
1820 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
1821 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
1822 (insert-monthly-hebrew-diary-entry)
1823 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
1824 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
1825 (diary-sabbath-candles):
1826 * calendar/cal-islam.el (calendar-absolute-from-islamic)
1827 (calendar-print-islamic-date, calendar-goto-islamic-date)
1828 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
1829 (mark-islamic-diary-entries, insert-islamic-diary-entry)
1830 (insert-monthly-islamic-diary-entry)
1831 (insert-yearly-islamic-diary-entry):
1832 * calendar/cal-iso.el (calendar-absolute-from-iso)
1833 (calendar-print-iso-date, calendar-iso-read-args)
1834 (calendar-goto-iso-date, calendar-goto-iso-week):
1835 * calendar/cal-julian.el (calendar-absolute-from-julian)
1836 (calendar-print-julian-date, calendar-goto-julian-date)
1837 (calendar-absolute-from-astro, calendar-print-astro-day-number)
1838 (calendar-goto-astro-day-number):
1839 * calendar/cal-mayan.el (calendar-print-mayan-date)
1840 (calendar-next-haab-date, calendar-previous-haab-date)
1841 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
1842 (calendar-next-calendar-round-date)
1843 (calendar-previous-calendar-round-date)
1844 (calendar-absolute-from-mayan-long-count)
1845 (calendar-goto-mayan-long-count-date):
1846 * calendar/cal-move.el (scroll-calendar-left)
1847 (scroll-calendar-right, scroll-calendar-left-three-months)
1848 (scroll-calendar-right-three-months):
1849 * calendar/cal-persia.el (calendar-absolute-from-persian)
1850 (calendar-print-persian-date, persian-prompt-for-date)
1851 (calendar-goto-persian-date):
1852 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
1853 * calendar/calendar.el (view-diary-entries-initially)
1854 (mark-diary-entries-in-calendar, calendar-today-face)
1855 (diary-face, holiday-face, view-calendar-holidays-initially)
1856 (mark-holidays-in-calendar, initial-calendar-window-hook)
1857 (today-visible-calendar-hook, today-invisible-calendar-hook)
1858 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
1859 (bahai-diary-entry-symbol, american-date-diary-pattern)
1860 (european-date-diary-pattern, european-calendar-display-form)
1861 (american-calendar-display-form, holidays-in-diary-buffer)
1862 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
1863 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
1864 (fancy-diary-buffer, increment-calendar-month)
1865 (extract-calendar-month, extract-calendar-day)
1866 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
1867 (mark-visible-calendar-date, calendar-version):
1868 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
1869 (diary-display-hook, list-diary-entries-hook)
1870 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
1871 (nongregorian-diary-marking-hook, print-diary-entries-hook)
1872 (abbreviated-calendar-year, number-of-diary-entries)
1873 (view-other-diary-entries, add-to-diary-list)
1874 (include-other-diary-files, simple-diary-display)
1875 (fancy-diary-display, print-diary-entries, mark-diary-entries)
1876 (mark-sexp-diary-entries, mark-included-diary-files)
1877 (mark-calendar-days-named, mark-calendar-month)
1878 (mark-calendar-date-pattern, sort-diary-entries)
1879 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
1880 (insert-weekly-diary-entry, insert-monthly-diary-entry)
1881 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
1882 (insert-block-diary-entry, insert-cyclic-diary-entry)
1883 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
1884 * calendar/holidays.el (general-holidays, oriental-holidays)
1885 (local-holidays, other-holidays, hebrew-holidays)
1886 (christian-holidays, islamic-holidays, bahai-holidays)
1887 (solar-holidays, list-calendar-holidays)
1888 (check-calendar-holidays, mark-calendar-holidays)
1889 (filter-visible-calendar-holidays):
1890 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
1891 (diary-phases-of-moon): Remove obsolete aliases.
1892 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
1893 * calendar/cal-x.el (calendar-one-frame-setup)
1894 (calendar-only-one-frame-setup, calendar-two-frame-setup):
1895 Remove obsolete functions.
1896 (cal-x-load-hook): Remove obsolete hook.
1897 * calendar/calendar.el (european-calendar-style):
1898 Remove obsolete variable.
1899 (calendar-date-style): No longer consult european-calendar-style.
1900 * calendar/calendar.el (european-calendar, american-calendar):
1901 Remove obsolete commands.
1902 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
1903 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
1904 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
1905 Use the face `diary' instead of the variable `diary-face'.
1906 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
1907 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
1908 * calendar/icalendar.el (icalendar--date-style): Remove function.
1909 Replace all uses with calendar-date-style.
1910 * textmodes/remember.el (calendar-date-style): Declare.
1911 (remember-diary-convert-entry):
1912 No longer consult european-calendar-style.
1913
1914 2014-10-05 Leo Liu <sdl.web@gmail.com>
1915
1916 * imenu.el (imenu-default-goto-function): Fix typo.
1917
1918 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1919
1920 * net/ntlm.el (ntlm-build-auth-request):
1921 Add NTLM2 Session support. (Bug#15603)
1922
1923 2014-10-04 Glenn Morris <rgm@gnu.org>
1924
1925 * apropos.el (apropos-symbols-internal):
1926 Avoid error with non-symbol properties. (Bug#18337#16)
1927
1928 * startup.el (command-line):
1929 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
1930
1931 2014-10-04 Martin Rudalics <rudalics@gmx.at>
1932
1933 * window.el (window-full-height-p): Make it behave correctly for
1934 minibuffer window.
1935 (window-current-scroll-bars): Fix code.
1936 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
1937 window-scroll-bars.
1938 * frame.el (frame-current-scroll-bars): Fix doc-string.
1939 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
1940
1941 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
1942
1943 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
1944
1945 2014-10-04 Glenn Morris <rgm@gnu.org>
1946
1947 * frame.el (frame-monitor-attributes)
1948 (display-monitor-attributes-list): Doc fixes.
1949
1950 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 Merge trivially safe differences from standalone CC-mode.
1953 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
1954 just to then pass it to `symbol-value'.
1955 (prog-mode): Provide fallback definition, if needed.
1956 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
1957 Remove "cl-" prefix accordingly.
1958 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
1959 characterp depending on the type of characters.
1960 (c-font-lock-enum-tail): Remove unused var `start'.
1961 * progmodes/cc-engine.el: Load CL at compile-time.
1962 (c-declare-lang-variables): Use mapcan.
1963 (c-append-to-state-cache): Remove unused var `ce+1'.
1964 (c-parse-state-state): Make buffer-local.
1965 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
1966 (c-just-after-func-arglist-p): Remove unused var `end'.
1967 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
1968 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
1969 (c-make-keywords-re): Use delete-dups.
1970 (c-get-current-file): Avoid file-name-base.
1971 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
1972 `close-paren-inserted'.
1973 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
1974
1975 * progmodes/python.el: Avoid building unneeded markers.
1976 (python-font-lock-keywords, python-indent-dedent-line)
1977 (python-fill-paren, python-shell-completion-complete-or-indent):
1978 Prefer point over point-marker.
1979 (inferior-python-mode): Remove redundant completion settings.
1980
1981 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1982
1983 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1984 (vc-svn-ignore): Use it. (Bug#18619)
1985
1986 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1987
1988 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1989 In doc-string mention need to set `frame-resize-pixelwise'.
1990
1991 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1994 similarly to Rogers's 2010-06-16 change for the remote case
1995 (bug#18605).
1996
1997 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 New gui-selection-value consolidating x-selection-value.
2000 * select.el (gui-selection-value-alist): New method.
2001 (gui-selection-value): New function.
2002 (x-selection-value): Make it an obsolete alias.
2003 * simple.el (interprogram-paste-function): Default to
2004 gui-selection-value.
2005 * w32-common-fns.el (w32-get-selection-value): Simplify.
2006 (x-selection-value): Remove alias.
2007 (interprogram-paste-function): Don't set.
2008 (gui-selection-value): Define for w32.
2009 * term/x-win.el (gui-selection-value): Define for x.
2010 (x--selection-value): Rename from x--selection-value.
2011 (interprogram-paste-function): Don't set.
2012 * term/pc-win.el (w16-get-selection-value): Simplify.
2013 (msdos-initialize-window-system): Don't set
2014 interprogram-paste-function.
2015 (gui-selection-value): Define for pc.
2016 * term/ns-win.el (x-selection-value): Remove.
2017 (gui-selection-value): Define for ns, instead.
2018 * term/common-win.el (x-setup-function-keys): Don't set
2019 interprogram-paste-function.
2020 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2021 Use gui-selection-value.
2022
2023 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
2024
2025 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
2026
2027 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * obsolete/lucid.el (read-number): Remove, redundant.
2030 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
2031 Remove, broken.
2032
2033 2014-10-02 Glenn Morris <rgm@gnu.org>
2034
2035 * emacs-lisp/package.el (package-import-keyring):
2036 Create gnupg directory private. (Bug#17625#155)
2037
2038 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2039
2040 * progmodes/python.el (python-shell-completion-get-completions):
2041 Use python-shell--prompt-calculated-input-regexp from the
2042 process buffer (bug#18582).
2043 Don't assume that `line' comes from the process buffer.
2044
2045 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2047 * frame.el: Use lexical-binding (bug#18598).
2048 (make-frame): Use t rather than nil for tty's window-system.
2049 * startup.el (command-line): Use gui-method.
2050
2051 Consolidate management/ownership of selections.
2052 * select.el (gui-get-selection-alist): New method.
2053 (gui-get-selection): Use it. Rename from x-get-selection.
2054 (x-get-selection): Define as obsolete alias.
2055 (x-get-clipboard): Mark obsolete.
2056 (gui-get-primary-selection): New function.
2057 (x-get-selection-value): Mark obsolete.
2058 (gui-own-selection-alist, gui-disown-selection-alist)
2059 (gui-selection-owner-p-alist): New methods.
2060 (gui-set-selection): Use them. Rename from x-set-selection.
2061 (x-set-selection): Define as obsolete alias.
2062 (gui--valid-simple-selection-p): Rename from
2063 x-valid-simple-selection-p.
2064 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
2065 (gui-selection-owner-p, gui-get-selection): Define for w32.
2066 (w32-get-selection-value): Rename from x-get-selection-value.
2067 Use the new gui-last-selected-text.
2068 * term/x-win.el (x-get-selection-value): Remove.
2069 (x-clipboard-yank): Declare obsolete.
2070 (gui-own-selection, gui-disown-selection, gui-get-selection)
2071 (gui-selection-owner-p): Define for x.
2072 * term/w32-win.el (w32-win-suspend-error): Rename from
2073 x-win-suspend-error.
2074 * term/pc-win.el (w16-get-selection-value): Rename from
2075 x-get-selection-value.
2076 (w16-selection-owner-p): Rename from x-selection-owner-p.
2077 (gui-own-selection, gui-disown-selection, gui-get-selection)
2078 (gui-selection-owner-p): Define for pc.
2079 (w16--select-text): New function.
2080 * term/ns-win.el (gui-own-selection, gui-disown-selection)
2081 (gui-get-selection, gui-selection-owner-p): Define for ns.
2082 * term.el (term-mouse-paste):
2083 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
2084
2085 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
2086
2087 * calc/calc-help.el (calc-describe-thing): Quote strings
2088 which could look like regexps.
2089
2090 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 Consolidate x-select-text.
2093 * frame.el (gui-method, gui-method-define, gui-method-declare)
2094 (gui-call): New macros.
2095 (gui-method--name): New function.
2096 (frame-creation-function-alist): Use gui-method-declare.
2097 (make-frame): Use gui-method.
2098 * select.el (gui-select-enable-clipboard): Rename from
2099 x-select-enable-clipboard and move here.
2100 (x-select-enable-clipboard): Define as obsolete alias.
2101 (gui-last-selected-text): New var, to replace x-last-selected-text.
2102 (gui-select-text): New GUI method.
2103 (gui-select-text): New function.
2104 (x-select-text): Define as obsolete alias.
2105 * term/common-win.el (x-select-enable-clipboard, x-select-text):
2106 Move to select.el.
2107 * simple.el (interprogram-cut-function): Change default to
2108 x-select-text.
2109 (interprogram-paste-function): Change default to `ignore'.
2110 * w32-common-fns.el (interprogram-cut-function): Don't modify.
2111 * term/x-win.el (interprogram-cut-function): Don't modify.
2112 (gui-select-text): Add method for x.
2113 * term/w32-win.el (gui-select-text): Add method for w32.
2114 * term/pc-win.el (x-last-selected-text): Remove, use
2115 gui-last-selected-text instead.
2116 (msdos-initialize-window-system): Don't set interprogram-cut-function.
2117 (gui-select-text): Add method for pc.
2118 * term/ns-win.el (ns-last-selected-text): Remove, use
2119 gui-last-selected-text instead.
2120 (gui-select-text): Add method for ns.
2121 (x-setup-function-keys): Don't change interprogram-cut-function.
2122 * loadup.el ("startup"): Load after "frame".
2123 * subr.el (package--builtin-versions, package--description-file):
2124 Move from startup.el.
2125 * startup.el (package--builtin-versions, package--description-file):
2126 Move to subr.el.
2127 (handle-args-function-alist, window-system-initialization-alist):
2128 Use gui-method-declare.
2129 (command-line): Use gui-method.
2130
2131 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * subr.el (alist-get): New accessor.
2134 * emacs-lisp/gv.el (alist-get): Provide expander.
2135 * winner.el (winner-remember):
2136 * tempo.el (tempo-use-tag-list):
2137 * progmodes/gud.el (minor-mode-map-alist):
2138 * international/mule-cmds.el (define-char-code-property):
2139 * frameset.el (frameset-filter-params):
2140 * files.el (dir-locals-set-class-variables):
2141 * register.el (get-register, set-register):
2142 * calc/calc-yank.el (calc-set-register): Use it.
2143 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
2144 * tooltip.el (tooltip-set-param): Mark as obsolete.
2145 (tooltip-show): Use alist-get instead.
2146 * ses.el (ses--alist-get): Remove. Use alist-get instead.
2147
2148 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
2149
2150 * net/newst-backend.el: Remove Time-stamp. Rename variable
2151 `newsticker--download-logos' to `newsticker-download-logos' and
2152 make it customizable.
2153 (newsticker--sentinel-work): Move xml-workarounds to function
2154 `newsticker--do-xml-workarounds', call unless libxml-parser is
2155 used. Allow single quote in regexp for encoding.
2156 Use libxml-parser if available, else fall back to `xml-parse-region'.
2157 Take care of possibly missing namespace prefixes (like "RDF"
2158 instead of "rdf:RDF") when checking xml nodes and attributes (as
2159 libxml correctly removes the prefixes). Always use Atom 1.0 as
2160 fallback feed type. Rename `newsticker--download-logos' to
2161 `newsticker-download-logos'
2162 (newsticker--unxml, newsticker--unxml-node)
2163 (newsticker--unxml-attribute): New.
2164 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
2165 HTML code has become part of the xml parse tree.
2166 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
2167 of possibly missing namespace prefixes.
2168 (newsticker--parse-generic-items): Code formatting. Typo.
2169 (newsticker--images-dir): Add trailing slash.
2170 (newsticker--image-get): Fix error message.
2171
2172 * net/newst-plainview.el: Remove Time-stamp.
2173
2174 * net/newst-reader.el: Remove Time-stamp.
2175 (newsticker-download-logos): Rename variable
2176 `newsticker--download-logos' to `newsticker-download-logos' and
2177 make it customizable.
2178 (newsticker--print-extra-elements): Add optional parameter
2179 'htmlish for using html markup. Amend list of ignored elements.
2180 (newsticker--do-print-extra-element): Add parameter 'htmlish for
2181 using html markup.
2182
2183 * net/newst-ticker.el: Remove Time-stamp.
2184
2185 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
2186 for formatting extra elements.
2187
2188 * net/newsticker.el: Remove Time-stamp, Version.
2189 (newsticker-version): Make obsolete.
2190
2191 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
2192
2193 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
2194 (bug#18462).
2195
2196 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * emacs-lisp/package.el (package-check-signature): Default to nil if
2199 GPG is not available.
2200 (package-refresh-contents): Don't mess with the keyring if we won't
2201 check the signatures anyway.
2202
2203 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
2206 (ses-center, ses-center-span): Use them.
2207 (ses-print-cell): Bind them while calling the printer.
2208 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
2209 (ses-dorange): Revert last change.
2210 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
2211 the formula.
2212 (ses-set-cell): Avoid `eval'.
2213 (ses--time-check): Rename it from ses-time-check and turn it into
2214 a macro.
2215
2216 * ses.el (ses-setup): Don't assume modifying the iteration var of
2217 dotimes affects the iteration (bug#18191).
2218
2219 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
2220
2221 * ses.el (ses-calculate-cell): Bind row and col dynamically to
2222 their values with 'cl-progv'.
2223 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
2224 their values with 'cl-progv', also use non-interned symbols for
2225 row, minrow, maxrow, mincol and maxcol.
2226 (maxrow maxcol): New defvar, to make the compiler happy.
2227
2228 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
2231 completion functions.
2232
2233 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 * ses.el (ses--letref): Quote value before it gets re-evaluated.
2236
2237 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
2238
2239 Font-lock `cl-flet*', too.
2240 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
2241 Add "flet*" to intermediate var `cl-lib-kw'.
2242
2243 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * epg-config.el (epg-gpg-program): Use the plain program names rather
2246 than their absolute file name.
2247
2248 * subr.el (track-mouse): New macro.
2249 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2250 Remove track-mouse case.
2251 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
2252
2253 2014-09-27 Leo Liu <sdl.web@gmail.com>
2254
2255 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
2256
2257 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
2258
2259 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
2262 Handle the case where `match' is :pcase--succeed or :pcase--fail
2263 (bug#18554).
2264
2265 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
2266 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
2267 (eldoc-schedule-timer): Obey it.
2268 (eldoc-documentation-function): Default to nil.
2269 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
2270 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
2271 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
2272 (eldoc-last-data-store, eldoc-docstring-first-line)
2273 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
2274 (eldoc-beginning-of-sexp, eldoc-current-symbol)
2275 (eldoc-function-argstring): Move to elisp-mode.el.
2276 (eldoc-symbol-function): Remove, unused.
2277 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
2278 (elisp-completion-at-point): Rename from lisp-completion-at-point.
2279 (elisp--preceding-sexp): Rename from preceding-sexp.
2280 * loadup.el: Load new file progmodes/elisp-mode.
2281 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
2282 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
2283 (lisp--local-variables-completion-table, lisp--expect-function-p)
2284 (lisp--form-quoted-p, lisp--company-doc-buffer)
2285 (lisp--company-doc-string, lisp--company-location)
2286 (lisp-completion-at-point): Move to elisp-mode.el.
2287 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
2288 extracted from emacs-lisp-mode-syntax-table.
2289 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
2290 elisp-mode.el.
2291 (lisp-imenu-generic-expression): Add comments to document what comes
2292 from which Lisp dialect.
2293 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
2294 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
2295 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
2296 (emacs-lisp-byte-code-comment)
2297 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
2298 (lisp-interaction-mode-map, lisp-interaction-mode)
2299 (eval-print-last-sexp, last-sexp-setup-props)
2300 (last-sexp-toggle-display, prin1-char, preceding-sexp)
2301 (eval-last-sexp-1, eval-last-sexp-print-value)
2302 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
2303 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
2304
2305 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
2306
2307 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
2308 Do not match file names that end in '/', as they cannot be 'grep'
2309 hits nowadays. This prevents confusion when 'grep -r' reports a
2310 match in a file whose basename is ':12345:'. Conversely, do not
2311 require exactly the same sequence of spaces and tabs after both
2312 colons, and allow spaces or tabs before the second colon, as per
2313 the POSIX spec for 'grep' output.
2314
2315 2014-09-26 Leo Liu <sdl.web@gmail.com>
2316
2317 Add cl-parse-integer based on parse-integer (Bug#18557)
2318 * calendar/parse-time.el (parse-time-digits): Remove.
2319 (digit-char-p, parse-integer) Moved to cl-lib.el.
2320 (parse-time-tokenize, parse-time-rules, parse-time-string):
2321 Use cl-parse-integer.
2322
2323 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
2324
2325 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
2326 (cl-digit-char-p): New function.
2327
2328 2014-09-25 Juri Linkov <juri@jurta.org>
2329
2330 * vc/add-log.el (change-log-next-buffer): Don't create an empty
2331 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
2332 Return the current buffer if no files match the default pattern
2333 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
2334
2335 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
2338 the global vc-handled-backends (bug#18535).
2339
2340 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
2343 Suggested by <lompik@voila.fr>.
2344
2345 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
2346
2347 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
2348 Rename from `newsticker--treeview-do-get-node'.
2349 (newsticker--treeview-get-node-by-id):
2350 Rename from `newsticker--treeview-get-node'.
2351 (newsticker--treeview-buffer-init)
2352 (newsticker--treeview-buffer-init): Disable buffer undo.
2353 (newsticker--treeview-unfold-node): Adapt to modified
2354 `newsticker--group-find-parent-group'.
2355 (newsticker--group-do-find-group):
2356 Rename from `newsticker--group-do-find-group-for-feed'.
2357 Now works for both, groups and feeds.
2358 (newsticker--group-find-parent-group):
2359 Rename from `newsticker--group-find-group-for-feed'.
2360 Now works for both, groups and feeds.
2361 (newsticker--group-do-get-parent-group)
2362 (newsticker--group-get-parent-group): Remove.
2363 (newsticker-group-add-group): Change interactive prompts.
2364 (newsticker-group-add-group): Finally jump to added group.
2365 (newsticker-group-delete-group): Finally jump to current feed.
2366 (newsticker--group-do-rename-group, newsticker-group-rename-group)
2367 (newsticker--get-group-names, newsticker--group-names): New.
2368 (newsticker-group-move-feed): Finally jump to moved feed.
2369 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
2370 (newsticker-group-shift-group-down)
2371 (newsticker-group-shift-group-up, newsticker--group-shift): New.
2372 (newsticker-treeview-mode-map): New keybindings for new shift commands.
2373
2374 * net/newst-backend.el (newsticker--item-list)
2375 (newsticker--item-position, newsticker--prev-message)
2376 (newsticker--scrollable-text): Move to newst-ticker.el.
2377
2378 * net/newst-ticker.el (newsticker--item-list)
2379 (newsticker--item-position, newsticker--prev-message)
2380 (newsticker--scrollable-text): Move from newst-backend.el.
2381
2382 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
2383
2384 * window.el (fit-window-to-buffer): When counting buffer width,
2385 count the whole visible buffer. Correctly convert the body-height
2386 to pixel size for window-text-pixel-size (Bug#18498).
2387
2388 2014-09-22 Sam Steingold <sds@gnu.org>
2389
2390 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
2391 (sql-execute): Use `special-mode'.
2392
2393 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 Add pcase-defmacro, as well as `quote' and `app' patterns.
2396 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
2397 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
2398 (pcase--funcall, pcase--eval): New functions.
2399 (pcase--u1): Use them for guard, pred, let, and app.
2400 (\`): Use the new feature to generate better code for vector patterns.
2401 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
2402 (pcase--upat): Remove.
2403 (pcase--macroexpand): Don't hardcode handling of `.
2404 (pcase--split-consp, pcase--split-vector): Remove.
2405 (pcase--split-equal): Disregard ` since it's expanded away.
2406 (pcase--split-member): Optimize for quote rather than for `.
2407 (pcase--split-pred): Optimize for quote rather than for `.
2408 (pcase--u1): Remove handling of ` (and of `or' and `and').
2409 Quote non-selfquoting values when passing them to `eq'.
2410 Drop `app's let-binding if the variable is not used.
2411 (pcase--q1): Remove.
2412 (`): Define as a pattern macro.
2413 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
2414 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
2415 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
2416 quote patterns.
2417 (pcase--split-match): Don't hoist or/and here any more.
2418 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
2419 (pcase--flip): New helper macro.
2420 (pcase--u1): Optimize the memq case directly.
2421 Don't handle neither self-quoting nor and/or patterns any more.
2422 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
2423 (pcase--macroexpand): New function.
2424 (pcase--expand): Use it.
2425 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
2426 New optimization functions.
2427 (pcase--u1): Add support for `quote' and `app'.
2428 (pcase): Document them in the docstring.
2429
2430 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2431
2432 Use lexical-bindin in Ibuffer.
2433 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
2434 (ibuffer-compile-format): Simplify.
2435 (ibuffer-clear-summary-columns): Simplify.
2436 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
2437 elem of dotimes when we don't refer to the iteration var from it.
2438 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
2439 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
2440 Silence byte-compiler.
2441
2442 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
2445 expression for a list.
2446
2447 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
2448 for functions with no arguments.
2449
2450 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
2451 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
2452
2453 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
2454
2455 * simple.el (clone-indirect-buffer): Mention the return value
2456 (bug#18478).
2457
2458 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
2459 Text mode in docstring (bug#18464).
2460
2461 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2464 Accept underscores in identifiers after "sub" (bug#18502).
2465
2466 2014-09-21 Tassilo Horn <tsdh@gnu.org>
2467
2468 * textmodes/reftex-sel.el (reftex-select-label-mode)
2469 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
2470 from special-mode (instead of fundamental-mode) and propertize
2471 with font-lock-face instead of just face. (Bug#18496)
2472
2473 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
2474
2475 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2476
2477 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
2478 `table-etc' when `end' is non-nil.
2479 (lisp-completion-at-point): Move `end' back if it's after quote.
2480 If in comment or string, only complete when after backquote.
2481 (Bug#18265)
2482 (lisp-completion-at-point): Don't use
2483 `lisp--local-variables-completion-table' in the
2484 `lisp--form-quoted-p' case.
2485
2486 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2487
2488 * emacs-lisp/lisp.el (lisp--expect-function-p)
2489 (lisp--form-quoted-p): New functions.
2490 (lisp-completion-at-point): Use them to see if we're completing a
2491 variable reference, a function name, or just any symbol.
2492 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
2493
2494 2014-09-18 Ivan Kanis <ivan@kanis.fr>
2495
2496 * net/shr.el, net/eww.el: Don't override `shr-width', but
2497 introduce a new variable `shr-internal-width'. This allows users
2498 to specify a width themselves.
2499
2500 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2501
2502 * image-mode.el (image-toggle-display-image): If we have a
2503 `fit-width' or a `fit-height', don't limit the size of the image
2504 to the window size, because that doesn't preserve the aspect ratio.
2505 * image-mode.el: Move defvars earlier to avoid a byte-compilation
2506 warning.
2507
2508 2014-09-17 Reuben Thomas <rrt@sc3d.org>
2509
2510 * progmodes/js.el: Add interpreter-mode-alist support for various
2511 JavaScript interpreters.
2512
2513 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
2514
2515 Don't assume 'grep' supports GREP_OPTIONS.
2516 The GREP_OPTIONS environment variable is planned to be marked
2517 obsolescent in GNU grep, due to problems in its use, so stop
2518 relying on it.
2519 * progmodes/grep.el (grep-highlight-matches): Document this.
2520 (grep-process-setup): Do not set GREP_OPTIONS.
2521 (grep-compute-defaults): Use an explicit --color option if supported.
2522
2523 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
2526 Don't add outdated key-shortcut cache (bug#18482).
2527
2528 2014-09-15 Glenn Morris <rgm@gnu.org>
2529
2530 * image.el (image-multi-frame-p): Fix thinko - do not force
2531 a delay if none was specified. (Bug#18334)
2532
2533 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
2534
2535 * window.el (fit-window-to-buffer): Doc fix.
2536
2537 2014-09-15 Ivan Shmakov <ivan@siamics.net>
2538
2539 * desktop.el (desktop-create-buffer): Check that buffers are still live
2540 before burying them (bug#18373).
2541
2542 2014-09-15 Glenn Morris <rgm@gnu.org>
2543
2544 * calendar/diary-lib.el (diary-list-entries):
2545 Restore 24.3 display behavior. (Bug#18381)
2546
2547 2014-09-15 Eli Zaretskii <eliz@gnu.org>
2548
2549 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
2550 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
2551 discrepancy between window-pixel-edges and mouse events, and
2552 avoids moving mode line up when the mouse click is on the modeline
2553 and no drag is attempted.
2554
2555 2014-09-14 Daniel Colascione <dancol@dancol.org>
2556
2557 * register.el (insert-register): Change default interactive
2558 insertion mode.
2559
2560 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
2561
2562 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
2563 Suppress debug messages.
2564
2565 * net/tramp.el (tramp-file-name-handler):
2566 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
2567 appropriate.
2568
2569 2014-09-13 Christopher Schmidt <ch@ristopher.com>
2570
2571 * calendar/calendar.el (calendar-update-mode-line):
2572 Do not overwrite mode-line-format if calendar-mode-line-format is
2573 nil. (Bug#18467)
2574
2575 2014-09-13 Leo Liu <sdl.web@gmail.com>
2576
2577 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
2578 (pcase--expand): Use it.
2579 (pcase-exhaustive): New macro. (Bug#16567)
2580
2581 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2582 Add pcase-exhaustive.
2583
2584 2014-09-13 Eli Zaretskii <eliz@gnu.org>
2585
2586 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
2587 using the specified transfer-encoding, if any, or 'undecided'.
2588 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
2589 broken at the window margin.
2590
2591 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
2592
2593 Support rendering of HTML parts in Rmail (bug#4258).
2594 * mail/rmailmm.el (rmail-mime-process): Handle text/html
2595 separately from other text/ types. Suppress tagline for
2596 multipart body.
2597 (rmail-mime-parse): Don't change visibility of tagline here.
2598 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
2599 Handle text/html specially.
2600 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
2601 (rmail-mime-insert-html, rmail-mime-render-html-shr)
2602 (rmail-mime-render-html-lynx): New functions.
2603 (rmail-mime-fix-inserted-faces): New function.
2604 (rmail-mime-process-multipart): Find the best part to show
2605 following rmail-mime-prefer-html if set.
2606 (rmail-mime-searching): New variable.
2607 (rmail-search-mime-message): Bind rmail-mime-searching to
2608 suppress rendering while searching.
2609
2610 2014-09-12 Sam Steingold <sds@gnu.org>
2611
2612 * progmodes/sql.el (sql-product-alist): Add vertica.
2613 (sql-vertica-program, sql-vertica-options)
2614 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
2615 New functions and variables to support Vertica.
2616 Inspired by code by Roman Scherer <roman@burningswell.com>.
2617
2618 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
2619
2620 * ses.el (ses-file-format-extend-parameter-list): Rename from
2621 ses-file-format-extend-paramter-list, to correct a misspelling.
2622 All uses changed.
2623
2624 2014-09-10 Alan Mackenzie <acm@muc.de>
2625
2626 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
2627 gets loaded at run-time).
2628 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
2629 c-lang-const to c-make-no-parens-syntax-table and correct the
2630 logic.
2631 (c-no-parens-syntax-table): Correct the logic of the
2632 c-lang-defvar.
2633
2634 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
2637 plus misc cleanup.
2638 * progmodes/cc-mode.el (c-basic-common-init):
2639 Set open-paren-in-column-0-is-defun-start.
2640 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
2641 Remove declarations, unused.
2642 (run-mode-hooks): Remove declaration.
2643 (font-lock-defaults): Use plain `defvar' to declare.
2644 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
2645 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
2646 (c-make-mode-syntax-table): Don't micro-optimize.
2647 (c-keywords, c-keyword-member-alist): Simplify.
2648 (c-kwds-lang-consts): Don't eval at compile-time.
2649 (c-primary-expr-regexp): Comment out unused vars.
2650 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
2651 (c-font-byte-compile): New var.
2652 (c--compile): New function. Use it instead of `byte-compile'.
2653 (c-cpp-matchers): Quote the value returned by
2654 `c-make-syntactic-matcher' in case it's not self-evaluating.
2655 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
2656 parentheses instead (in case MATCHER happens to be a list).
2657 (c-font-lock-enum-tail): Remove unused var `start'.
2658 (c-font-lock-objc-methods): Silence byte-compiler warnings.
2659 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
2660 test into an argument.
2661 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
2662 (c-get-char-property): Don't use `eval' just to unquote a constant.
2663 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
2664 more efficiently.
2665 (c-put-char-property-fun): Don't call `byte-compile' by hand.
2666 (c-clear-char-property, c-clear-char-properties): Check that `property'
2667 is a quoted constant.
2668 (c-emacs-features): Remove `infodock', `syntax-properties', and
2669 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
2670 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
2671 changing buffer, so we don't have to setq them again afterwards.
2672 (c-lang-const): Remove redundant symbolp assertions.
2673 (c-find-assignment-for-mode): Use `or'.
2674 * Makefile.in (compile-one-process): Remove cc-mode dependency.
2675
2676 2014-09-09 Sam Steingold <sds@gnu.org>
2677
2678 * progmodes/sql.el (sql-default-directory): Fix type annotation.
2679
2680 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2681
2682 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
2683 Change doc comments into docstrings.
2684 * Makefile.in: Remove cc-awk dependency.
2685
2686 2014-09-08 Sam Steingold <sds@gnu.org>
2687
2688 * progmodes/sql.el (sql-send-line-and-next): New command,
2689 bound to C-c C-n.
2690 (sql-show-sqli-buffer): Display the buffer instead of its name and
2691 bind the command to C-c C-z.
2692 (sql-default-directory): New user option.
2693 (sql-product-interactive): Bind `default-directory' to it to
2694 enable remote connections using Tramp.
2695 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
2696 suitable buffer is available.
2697
2698 2014-09-08 Glenn Morris <rgm@gnu.org>
2699
2700 * calendar/calendar.el (calendar-basic-setup):
2701 Fix calendar-view-holidays-initially-flag and fancy display.
2702 * calendar/diary-lib.el (diary-live-p): Doc fix.
2703
2704 * calendar/calendar.el (calendar-basic-setup):
2705 Avoid clobbering calendar with diary. (Bug#18381)
2706
2707 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
2710
2711 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
2712
2713 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
2714 as well (bug#18400).
2715
2716 2014-09-08 Eli Zaretskii <eliz@gnu.org>
2717
2718 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
2719
2720 2014-09-06 Leo Liu <sdl.web@gmail.com>
2721
2722 * emacs-lisp/pcase.el (pcase): Doc fix.
2723 (pcase--split-vector): New function.
2724 (pcase--q1): Support vector qpattern. (Bug#18327)
2725
2726 2014-09-05 Sam Steingold <sds@gnu.org>
2727
2728 * textmodes/tex-mode.el (tex-print-file-extension): New user
2729 option.
2730 (tex-print): Use it instead of the hard-coded string.
2731
2732 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
2733
2734 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2735 Expand `default-directory'.
2736
2737 2014-09-05 Martin Rudalics <rudalics@gmx.at>
2738
2739 * scroll-bar.el (horizontal-scroll-bars-available-p):
2740 New function.
2741 (horizontal-scroll-bar-mode): Rewrite using
2742 horizontal-scroll-bars-available-p.
2743 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
2744 horizontal-scroll-bars-available-p.
2745
2746 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * subr.el (call-process-shell-command, process-file-shell-command):
2749 Make the `args' obsolete (bug#18409).
2750 (start-process-shell-command, start-file-process-shell-command):
2751 Use `declare'.
2752
2753 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
2754
2755 * calc/calc-forms.el (math-normalize-hms): Do a better check for
2756 "negative" hms forms.
2757
2758 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
2759
2760 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
2761 returns nil (bug#18391).
2762
2763 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
2766 terminating paren (bug#18352).
2767 (eldoc-last-data-store): Return cached data.
2768 (eldoc-get-var-docstring): Avoid setq.
2769 (eldoc-get-fnsym-args-string): Clarify data flow.
2770
2771 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2772
2773 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
2774 case where we're currently providing part of the &rest arg after some
2775 &key args, as in define-ibuffer-op (bug#18048).
2776
2777 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
2780 buffer-local setting of which-func-mode.
2781 (which-func-mode): Use defvar-local.
2782 (which-function-mode): Don't reset which-func-mode in each buffer since
2783 it might have been set by someone else.
2784 (which-func-update-ediff-windows): Check which-function-mode.
2785
2786 2014-09-03 Martin Rudalics <rudalics@gmx.at>
2787
2788 * frame.el (frame-initialize): Remove horizontal-scroll-bars
2789 from frame-initial-frame-alist.
2790 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
2791 (horizontal-scroll-bar-mode-explicit)
2792 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
2793 (toggle-horizontal-scroll-bar): Remove.
2794 (horizontal-scroll-bar-mode): Remove defcustom.
2795 (horizontal-scroll-bar-mode): Fix doc-string.
2796 (scroll-bar-toolkit-scroll)
2797 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
2798
2799 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * emacs-lisp/package.el (package-generate-description-file):
2802 Properly quote the arguments (bug#18332). Change second arg.
2803 (package--alist-to-plist-args): Rename from package--alist-to-plist and
2804 quote the elements.
2805 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
2806 the *-pkg.el file. Adjust to new calling convention of
2807 package-generate-description-file.
2808
2809 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
2810 (gud-gdb-completions): Remove obsolete workaround.
2811
2812 2014-09-03 Eli Zaretskii <eliz@gnu.org>
2813
2814 * subr.el (posn-col-row): Revert the change from commit
2815 2010-11-13T21:07:58Z!eliz@gnu.org, which
2816 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
2817 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
2818 introduced an off-by-one error in the reported row when there is a
2819 header line. (Bug#18384)
2820
2821 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
2822
2823 * progmodes/python.el (python-indent-post-self-insert-function):
2824 Avoid electric colon at beginning-of-defun. (Bug#18228)
2825
2826 2014-09-03 Glenn Morris <rgm@gnu.org>
2827
2828 * tutorial.el (tutorial--display-changes):
2829 Fix 2014-08-01 change. (Bug#18382)
2830
2831 2014-09-03 Ken Brown <kbrown@cornell.edu>
2832
2833 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
2834 the Cygwin-w32 build. (Bug#18347)
2835
2836 2014-09-03 Glenn Morris <rgm@gnu.org>
2837
2838 * tar-mode.el (tar--extract, tar-extract):
2839 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
2840
2841 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
2844 handle multiline elements (bug#18380).
2845
2846 2014-09-01 Eli Zaretskii <eliz@gnu.org>
2847
2848 * ls-lisp.el (ls-lisp-use-string-collate)
2849 (ls-lisp-UCA-like-collation): New defcustoms.
2850 (ls-lisp-string-lessp): Use them to control sorting by file
2851 names. (Bug#18051)
2852 (ls-lisp-version-lessp): New function.
2853 (ls-lisp-handle-switches): Use it to implement the -v switch of
2854 GNU ls.
2855 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
2856
2857 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
2858
2859 * ibuffer.el: Replace mode-specific quit function with
2860 `quit-window' via `special-mode'.
2861 (ibuffer-mode-map): Use keybindings from special-mode-map instead
2862 of local overrides.
2863 (ibuffer): Don't store previous windows configuration.
2864 Let `quit-window' handle restoring.
2865 (ibuffer-quit): Remove function. Use `quit-window' instead.
2866 (ibuffer-restore-window-config-on-quit): Remove variable.
2867 (ibuffer-prev-window-config): Remove variable.
2868
2869 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
2870
2871 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
2872 name instead of variable name in hook docstring. (Bug#18349)
2873
2874 2014-08-29 Martin Rudalics <rudalics@gmx.at>
2875
2876 * window.el (display-buffer-at-bottom): Prefer bottom-left
2877 window to other bottom windows. Reuse a bottom window if it
2878 shows the buffer already. Suggested by Juri Linkov
2879 <juri@jurta.org> in discussion of (Bug#18181).
2880
2881 2014-08-29 Leo Liu <sdl.web@gmail.com>
2882
2883 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
2884 append to minibuffer-setup-hook. (Bug#18341)
2885
2886 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
2889 byte-compiler.
2890 (lookup-syntax-properties): Silence byte-compiler.
2891 (c-lang-defconst): Quote the code with `lambda' rather than with
2892 `quote'.
2893 (c-lang-const): Avoid unneeded setq.
2894 (c-lang-constants-under-evaluation): Add docstring.
2895 (c-lang--novalue): New constant.
2896 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
2897 (c-get-lang-constant): Same here.
2898 Get the mode's value using `funcall' now that the code is quoted
2899 with `lambda'.
2900
2901 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
2902
2903 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
2904 (Bug#18326)
2905
2906 2014-08-28 Martin Rudalics <rudalics@gmx.at>
2907
2908 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
2909 interpretation of `portion-whole'.
2910
2911 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
2912
2913 * net/tramp-adb.el: Spell author name correctly.
2914
2915 2014-08-28 João Távora <joaotavora@gmail.com>
2916
2917 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
2918 use url-expand-file-name. (Bug#18310)
2919
2920 2014-08-28 Glenn Morris <rgm@gnu.org>
2921
2922 * emulation/cua-rect.el (cua--highlight-rectangle):
2923 Avoid error at point-min. (Bug#18309)
2924
2925 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
2928 executable-find (bug#18244).
2929
2930 * simple.el (self-insert-uses-region-functions): Defvar.
2931
2932 2014-08-28 Glenn Morris <rgm@gnu.org>
2933
2934 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
2935
2936 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
2937
2938 * startup.el (normal-top-level): Now use internal--top-level-message.
2939
2940 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
2941
2942 * startup.el (normal-top-level): Use top-level-message.
2943
2944 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2945
2946 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
2947 URLs containing spaces and the like.
2948
2949 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
2950
2951 * subr.el (remq): Fix docstring (Bug#18253).
2952
2953 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
2954
2955 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
2956
2957 2014-08-24 Alan Mackenzie <acm@muc.de>
2958
2959 Handle C++11's "auto" and "decltype" constructions.
2960 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
2961 and return 'decltype.
2962 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
2963 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
2964 keyword.
2965 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
2966 "decltype" keyword.
2967 (c-font-lock-c++-new): Handle "decltype" constructions.
2968 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
2969 New c-lang-defconsts/defvars.
2970 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
2971 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
2972 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
2973 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
2974
2975 Make ">>" act as double template ender in C++ Mode.
2976 Fix bug#11386.
2977 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
2978 off from c->-op-cont-re.
2979 (c->-op-cont-tokens): Change to use the above.
2980 (c->-op-without->-cont-regexp): New lang-const.
2981 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
2982 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
2983
2984
2985 2014-08-23 Alan Mackenzie <acm@muc.de>
2986
2987 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
2988 loop, bug #18306. The bug was introduced on 2014-08-02.
2989
2990 2014-08-21 Eli Zaretskii <eliz@gnu.org>
2991
2992 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
2993 Don't recognize a Top node if there are other sectioning commands
2994 earlier in the Texinfo file. This fixes a bug in
2995 texinfo-make-menu and avoids inflooping in
2996 texinfo-all-menus-update when they are invoked on texinfo.texi.
2997
2998 2014-08-21 Martin Rudalics <rudalics@gmx.at>
2999
3000 * window.el (window--side-window-p): New function.
3001 (split-window, window-splittable-p): Use window--side-window-p to
3002 determine whether WINDOW can be split (Bug#18304).
3003 * calendar/calendar.el (calendar-basic-setup): Fix one call of
3004 `window-splittable-p' and add another (Bug#18304).
3005
3006 2014-08-20 Sam Steingold <sds@gnu.org>
3007
3008 * progmodes/python.el (python-new-pythonpath): Extract from
3009 `python-shell-calculate-process-environment'.
3010
3011 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3012
3013 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
3014 for &key args (bug#18048).
3015
3016 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
3019 (eldoc-function-argstring-format): Remove.
3020 (eldoc-function-argstring): Always return upcase args.
3021 Use help-make-usage. Don't add parens.
3022 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
3023 it's too late to do it right (bug#18048).
3024
3025 2014-08-18 Eli Zaretskii <eliz@gnu.org>
3026
3027 * scroll-bar.el (scroll-bar-horizontal-drag-1)
3028 (scroll-bar-toolkit-horizontal-scroll): When determining the
3029 paragraph direction, use the buffer of the window designated in
3030 the event.
3031
3032 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
3033
3034 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
3035 context of unified diff.
3036
3037 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
3038
3039 Add dependencies to fix loaddefs race during parallel builds.
3040 Without this, for example, 'make -j bootstrap' can fail and report
3041 "Opening input file: no such file or directory,
3042 .../lisp/calendar/diary-loaddefs.el ... recipe for target
3043 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
3044 got confused because diary-loaddefs.el was being built in parallel.
3045 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
3046 Depend on $(CAL_DIR)/cal-loaddefs.el.
3047 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
3048
3049 2014-08-16 Martin Rudalics <rudalics@gmx.at>
3050
3051 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
3052 portion-whole for scrolling right-to-left text.
3053
3054 2014-08-15 Leo Liu <sdl.web@gmail.com>
3055
3056 * speedbar.el (speedbar-generic-list-tag-p): Allow special
3057 elements from imenu.
3058
3059 2014-08-15 Glenn Morris <rgm@gnu.org>
3060
3061 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
3062
3063 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
3064
3065 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3066 Add Guile regexpses.
3067
3068 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
3069
3070 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
3071 add Guile debugger support for GUD.
3072
3073 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
3076 (mouse-sel--ignore): New function.
3077 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
3078 (mouse-sel-original-interprogram-cut-function)
3079 (mouse-sel-original-interprogram-paste-function): Remove.
3080
3081 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
3082
3083 * vc/vc-git.el (vc-git-resolve-when-done): New function.
3084 Call "git add" when there are no longer conflict markers.
3085
3086 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3087
3088 * vc/vc-git.el (vc-git-find-file-hook): New function.
3089 Adds support for calling smerge (and resolve) on a conflicted file.
3090 (vc-git-conflicted-files): New function.
3091 Useful in itself and a step towards better smerge support.
3092
3093 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
3096 to the first part if they're the same as the selection.
3097
3098 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3099
3100 * image-mode.el (image-transform-reset): New command and menu item.
3101 (image-mode-map): Rearrange the menu items to put presumably more
3102 obscure items at the end.
3103
3104 2014-08-12 Juri Linkov <juri@jurta.org>
3105
3106 * vc/vc-annotate.el (vc-annotate-background-mode):
3107 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
3108
3109 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * files.el (out-of-memory-warning-percentage): Turn it off by default.
3112
3113 2014-08-11 Sam Steingold <sds@gnu.org>
3114
3115 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
3116 the presence of known validators (tidy, (o)nsgmls).
3117
3118 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
3119
3120 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
3121
3122 * net/newst-treeview.el (newsticker-treeview-date-format): New.
3123 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
3124
3125 2014-08-11 Glenn Morris <rgm@gnu.org>
3126
3127 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
3128 chose coding system for writing before backing up, since it causes
3129 a more serious problem than the one it solves. (Closes Bug#18141,
3130 reopens Bug#13522.)
3131
3132 2014-08-11 Martin Rudalics <rudalics@gmx.at>
3133
3134 * window.el (window-total-size): Make doc-string more self-contained.
3135
3136 * window.el (display-buffer-below-selected): Restore original
3137 behavior if buffer is already displayed in the window below the
3138 selected one (Bug#18181).
3139
3140 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
3143 event (bug#18212).
3144
3145 2014-08-11 Eli Zaretskii <eliz@gnu.org>
3146
3147 * info.el (info): Doc fix.
3148
3149 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * info.el (Info-mode-map): Override a global down-mouse-2 binding
3152 (bug#18212).
3153
3154 2014-08-11 Eli Zaretskii <eliz@gnu.org>
3155
3156 * simple.el (default-line-height): A floating-point value of
3157 line-spacing means a fraction of the default frame font's height,
3158 not of the font currently used by the 'default' face.
3159 Truncate the pixel value, like the display engine does.
3160 (window-screen-lines): Use window-inside-pixel-edges for
3161 determining the window height in pixels. (Bug#18195)
3162
3163 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
3164
3165 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
3166
3167 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
3168
3169 Enumerate evaluated sexp diary entries (Bug#7911).
3170 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
3171 (icalendar-export-sexp-enumeration-days): New.
3172 (icalendar-export-region): Now `icalendar--convert-to-ical'
3173 returns a cons cell or a list of cons cells.
3174 (icalendar--convert-to-ical): Take care of
3175 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
3176 (icalendar--convert-ordinary-to-ical)
3177 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3178 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
3179 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
3180 (icalendar--convert-anniversary-to-ical): Return cons cell.
3181 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
3182 entries. Return (list of) cons cells.
3183
3184 2014-08-09 Juri Linkov <juri@jurta.org>
3185
3186 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
3187 to reevaluate `vc-annotate-color-map'. (Bug#18189)
3188
3189 2014-08-09 Alan Mackenzie <acm@muc.de>
3190
3191 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
3192 for top-level that can cause unacceptable slow-down in scrolling.
3193 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
3194 Antipov from 2013-10-14 in emacs-devel.
3195
3196 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3197
3198 * ibuffer.el (ibuffer-mode-map): Use toggle button for
3199 `ibuffer-auto-mode' menu entry.
3200 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
3201
3202 2014-08-08 Matthias Meulien <orontee@gmail.com>
3203
3204 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
3205 (Bug#16394)
3206
3207 2014-08-07 Martin Rudalics <rudalics@gmx.at>
3208
3209 * window.el (window--min-size-1): Explicitly set WINDOW arg in
3210 calls of window-min-pixel-height and window-min-pixel-width.
3211
3212 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3213
3214 * progmodes/ada-mode.el:
3215 * net/tramp.el (tramp-handle-file-symlink-p):
3216 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
3217 about VMS, which we no longer support.
3218 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
3219 and fix a FIXME, using convert-standard-filename in place of
3220 removed ada-convert-file-name.
3221
3222 2014-08-07 Eli Zaretskii <eliz@gnu.org>
3223
3224 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
3225
3226 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3227
3228 Refer to MS-DOS using the same name everywhere.
3229 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
3230 ``msdog'' become ``MS-DOS''.
3231
3232 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
3233
3234 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3235 Use cached "remote-copy-args" value, if available. (Bug#18199)
3236
3237 2014-08-07 Leo Liu <sdl.web@gmail.com>
3238
3239 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
3240 Revert change on 2014-03-22.
3241
3242 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
3243
3244 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
3245 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
3246 (Bug#13750).
3247
3248
3249 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3250
3251 * image-mode.el (image-toggle-display-image): Always rescale images
3252 to not be bigger than the current window.
3253
3254 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
3255
3256 * net/eww.el (eww-bookmarks-directory): New variable.
3257 (eww-write-bookmarks): Use it.
3258 (eww-read-bookmarks): Ditto.
3259
3260 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3261
3262 * net/shr.el (shr-copy-url): Also copy the image URL.
3263
3264 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
3265
3266 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
3267 also for Tramp working buffers.
3268
3269 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3270
3271 * progmodes/python.el: Fix completions inside (i)pdb.
3272 (python-shell-completion-pdb-string-code): Make obsolete.
3273 (python-shell-completion-get-completions):
3274 Use python-shell-completion-string-code resending setup code
3275 continuously for (i)pdb.
3276
3277 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
3278
3279 * rect.el (rectangle--default-line-number-format): Rename
3280 from misspelled rectange--default-line-number-format (Bug#18045).
3281 All uses changed.
3282
3283 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
3284
3285 Don't mishandle year-9999 dates (Bug#18176).
3286 * calendar/parse-time.el (parse-time-rules):
3287 Allow years up to most-positive-fixnum.
3288 * calendar/time-date.el (date-to-time):
3289 Pass "Specified time is not representable" errors through.
3290
3291 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3292
3293 * progmodes/python.el: Completion code cleanups.
3294 (python-shell-completion-get-completions): Detect and send import
3295 statements directly to completion function.
3296 (python-shell-completion-at-point): Simplify prompt calculation
3297 and import vs input completion logic.
3298
3299 2014-08-02 Alan Mackenzie <acm@muc.de>
3300
3301 Fix confusion in C++ file caused by comma in "= {1,2},".
3302 Bug #17756.
3303 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
3304 for a statement boundary marked by "}", check there's no "="
3305 before the "{".
3306 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
3307 non-nil `comma-delim' argument.
3308 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
3309 initializer expression more accurately.
3310
3311 Correct loop termination condition in c-syntactic-skip-backward.
3312 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
3313 the situation where, after moving back out of a literal,
3314 skip-chars-backward doesn't move further, yet checks have still to
3315 be done.
3316
3317 2014-08-01 Eli Zaretskii <eliz@gnu.org>
3318
3319 * tutorial.el (tutorial--display-changes): Accept punctuation
3320 characters before the key binding. (Bug#18146)
3321
3322 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
3323
3324 * progmodes/python.el: Shell output capture enhancements.
3325 (python-shell-accept-process-output): New function.
3326 (inferior-python-mode)
3327 (python-shell-send-setup-code): Use it.
3328
3329 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
3330
3331 * calendar/icalendar.el (icalendar--decode-isodatetime):
3332 Use actual current-time-zone when converting to local time. (Bug#15408)
3333
3334 2014-07-29 Martin Rudalics <rudalics@gmx.at>
3335
3336 * window.el (window--state-put-2): Handle horizontal scroll
3337 bars, if present.
3338
3339 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3340
3341 * menu-bar.el (menu-bar-update-buffers): Update item list format
3342 in `buffers-menu' to confirm with changes to `get_keyelt'
3343 (r117463). (Bug#18016)
3344
3345 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3346
3347 * progmodes/python.el (inferior-python-mode): Make input prompts
3348 read-only.
3349
3350 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
3351
3352 * net/tramp-sh.el (tramp-get-remote-python): Also search for
3353 executables named "python2" or "python3".
3354 (tramp-get-remote-uid-with-python): Use parentheses around
3355 arguments to `print' to make it compatible with Python 3.
3356 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
3357
3358 2014-07-28 Eli Zaretskii <eliz@gnu.org>
3359
3360 * window.el (window--pixel-to-total): Use FRAME's root window, not
3361 that of the selected frame. (Bug#18112, Bug#16674)
3362
3363 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
3364
3365 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
3366 (Bug#18117)
3367
3368 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3369
3370 * progmodes/python.el (inferior-python-mode): Doc fix.
3371
3372 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3373
3374 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
3375 not a character, ignore it instead of raising an error.
3376
3377 * calendar/todo-mode.el: Fix handling of marked items and make
3378 minor code improvements.
3379 (todo-edit-item): If there are marked items, ensure user can only
3380 invoke editing commands that work with marked items.
3381 (todo-edit-item--text): When there are marked items, make it a
3382 noop if invoked with point not on an item; otherwise, ensure it
3383 applies only to item at point.
3384 (todo-item-undone): If there are marked not-done items, return
3385 point to its original position before signaling user error.
3386 (todo--user-error-if-marked-done-item): New function.
3387 (todo-edit-item--header, todo-edit-item--diary-inclusion)
3388 (todo-item-done): Use it.
3389
3390 2014-07-28 Glenn Morris <rgm@gnu.org>
3391
3392 * files.el (toggle-read-only): Re-add basic doc-string.
3393 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
3394
3395 * progmodes/prolog.el (prolog-mode-keybindings-edit):
3396 Replace missing `switch-to-prolog' with `run-prolog'.
3397 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
3398
3399 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3400
3401 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
3402 of file-wide setting when changing category-wide setting.
3403
3404 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3405
3406 * doc-view.el (doc-view-open-text): Don't require that the
3407 document is saved in a file (e.g., email attachment).
3408
3409 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3410
3411 Parse completion input in a iPython friendly way. (Bug#18084)
3412 * progmodes/python.el
3413 (python-shell-completion-at-point): Rename from
3414 python-shell-completion-complete-at-point.
3415 (inferior-python-mode): Use it.
3416 (python-completion-at-point): Rename from
3417 python-completion-complete-at-point. Parse input up to first
3418 backward occurrence of whitespace, open-paren, close-paren or
3419 string delimiter.
3420 (python-mode): Use it.
3421
3422 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3423
3424 Prevent Python process shell buffer to pop twice.
3425 * progmodes/python.el (python-shell-switch-to-shell): Do not call
3426 pop-to-buffer.
3427
3428 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3429
3430 * progmodes/python.el
3431 (python-shell-with-shell-buffer): New macro.
3432 (python-shell-font-lock-get-or-create-buffer)
3433 (python-shell-font-lock-kill-buffer)
3434 (python-shell-font-lock-with-font-lock-buffer)
3435 (python-shell-font-lock-cleanup-buffer)
3436 (python-shell-font-lock-toggle): Use it.
3437 (python-shell-font-lock-turn-on)
3438 (python-shell-font-lock-turn-off): Use it. Make command.
3439
3440 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3441
3442 Grab all Python process output before inferior-python-mode hooks.
3443 * progmodes/python.el (inferior-python-mode):
3444 Call accept-process-output and sit-for to ensure all output for process
3445 has been received before running hooks.
3446 (python-shell-internal-get-or-create-process):
3447 Cleanup accept-process-output and sit-for calls.
3448
3449 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3450
3451 More robust shell startup and code setup.
3452 * progmodes/python.el (python-shell-make-comint):
3453 Remove accept-process-output call.
3454 (python-shell-get-buffer): Return current buffer if major-mode is
3455 inferior-python-mode.
3456 (python-shell-get-or-create-process): Use it.
3457 (python-shell-send-setup-code): Send all setup code in one string,
3458 output success message and accept-process-output.
3459
3460 2014-07-27 Eli Zaretskii <eliz@gnu.org>
3461
3462 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
3463 Add rudimentary support for bidirectional text.
3464
3465 2014-07-27 Martin Rudalics <rudalics@gmx.at>
3466
3467 * frame.el (frame-notice-user-settings): Rewrite using
3468 frame-initial-frame-tool-bar-height.
3469 * menu-bar.el (menu-bar-horizontal-scroll-bar)
3470 (menu-bar-no-horizontal-scroll-bar): New functions.
3471 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
3472 scroll bars.
3473 * scroll-bar.el (scroll-bar-lines)
3474 (set-horizontal-scroll-bar-mode)
3475 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
3476 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
3477 (scroll-bar-toolkit-horizontal-scroll): New functions.
3478 (horizontal-scroll-bar-mode)
3479 (previous-horizontal-scroll-bar-mode)
3480 (horizontal-scroll-bar-mode-explicit): New variables.
3481 (horizontal-scroll-bar-mode): New option.
3482 (toggle-horizontal-scroll-bar): Do something.
3483 (top-level): Bind horizontal-scroll-bar mouse-1.
3484 * startup.el (tool-bar-originally-present): Remove variable.
3485 (command-line): Don't set tool-bar-originally-present.
3486 * window.el (window-min-height): Update doc-string.
3487 (window--dump-frame): Dump horizontal scroll bar values.
3488 (window--min-size-1): Handle minibuffer window separately.
3489 Count in margins and horizontal scroll bar. Return safe value
3490 iff IGNORE equals 'safe.
3491 (frame-windows-min-size): New function (used by frame resizing
3492 routines).
3493 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
3494 scroll bars.
3495 (window--sanitize-window-sizes): New function.
3496 (window-split-min-size): Remove.
3497 (split-window): Count divider-width. Don't use
3498 `window-split-min-size' any more. Reword error messages.
3499 Sanitize windows sizes after splitting.
3500
3501 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
3502
3503 Use `defvar-local' more.
3504 * progmodes/hideshow.el
3505 (hs-c-start-regexp, hs-block-start-regexp)
3506 (hs-block-start-mdata-select, hs-block-end-regexp)
3507 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
3508 remove corresponding `make-variable-buffer-local' top-level calls.
3509
3510 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3511
3512 Cleanup error signals. (Bug#18067)
3513 * progmodes/python.el
3514 (python-indent-shift-left): Use user-error instead.
3515 (python-shell-prompt-detect): Use lwarn with python group.
3516 (python-completion-complete-at-point)
3517 (python-eldoc--get-doc-at-point): Don't signal error.
3518
3519 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3520
3521 Support for packages in Python shell. (Bug#13570)
3522 * progmodes/python.el (python-shell--package-depth): New var.
3523 (python-shell-package-enable): New command.
3524 (python-util-list-directories, python-util-list-files)
3525 (python-util-list-packages): New functions.
3526
3527 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3528
3529 Faster comint output. (Bug#16875)
3530 * progmodes/python.el:
3531 (python-comint-output-filter-function): Make obsolete.
3532 (python-comint-postoutput-scroll-to-bottom): New function.
3533 (inferior-python-mode): Set comint-output-filter-functions to a
3534 minimum.
3535
3536 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3537
3538 * progmodes/python.el (python-shell-font-lock-post-command-hook):
3539 Safeguard current point and undo history.
3540
3541 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3542
3543 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
3544 * progmodes/python.el:
3545 (python-shell-prompt-input-regexps): Add iPython block prompt.
3546 (python-shell-output-syntax-table): Delete var.
3547 (python-shell-font-lock-with-font-lock-buffer): New macro.
3548 (python-shell-font-lock-get-or-create-buffer)
3549 (python-shell-font-lock-kill-buffer)
3550 (python-shell-font-lock-cleanup-buffer)
3551 (python-shell-font-lock-post-command-hook)
3552 (python-shell-font-lock-turn-off): New functions.
3553 (python-shell-font-lock-turn-on): New function.
3554 (inferior-python-mode): Use it.
3555 (python-shell-font-lock-toggle): New command.
3556 (python-shell-font-lock-enable): Rename from
3557 python-shell-enable-font-lock.
3558 (run-python-internal): Use it.
3559 (python-shell-font-lock-comint-output-filter-function): New function.
3560 (python-shell-comint-end-of-output-p): New function.
3561 (python-shell-output-filter): Use it.
3562 (python-util-comint-last-prompt): New function.
3563 (python-util-text-properties-replace-name): New function.
3564
3565 2014-07-25 Glenn Morris <rgm@gnu.org>
3566
3567 * vc/ediff-init.el (ediff-toggle-read-only-function):
3568 * vc/ediff-util.el (ediff-toggle-read-only):
3569 Replace obsolete toggle-read-only with read-only-mode.
3570
3571 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
3572
3573 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
3574 with `save-match-data'. (Bug#18095)
3575
3576 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
3577
3578 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
3579 order to ensure that row and col are lexically bound inside the
3580 evaluated sexp.
3581
3582 2014-07-21 Glenn Morris <rgm@gnu.org>
3583
3584 * progmodes/hideif.el (hide-ifdef-mode-submap):
3585 Also substitute read-only-mode.
3586 * bindings.el (mode-line-toggle-read-only):
3587 * bs.el (bs-toggle-readonly):
3588 * buff-menu.el (Buffer-menu-toggle-read-only):
3589 * dired.el (dired-toggle-read-only):
3590 * files.el (view-read-only, find-file-read-only)
3591 (find-file-read-only-other-window)
3592 (find-file-read-only-other-frame):
3593 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
3594 Doc fixes re toggle-read-only.
3595
3596 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
3597
3598 * progmodes/python.el: Add comment about pipe buffering and
3599 solutions for missing/delayed output in inferior Python shells.
3600 (Bug#17304)
3601
3602 * progmodes/python.el (python-mode): Don't set
3603 mode-require-final-newline. (Bug#17990)
3604
3605 Make python.el work with IPython automatically. (Bug#15510)
3606 * progmodes/python.el:
3607 (python-shell-completion-setup-code): New value supporting iPython.
3608 (python-shell-completion-string-code): New value supporting iPython.
3609 (python-shell-completion-get-completions): Use them.
3610 (python-shell-completion-module-string-code): Make obsolete.
3611 (python-shell-prompt-input-regexps)
3612 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
3613 (python-shell-output-filter): Fix comment typo.
3614
3615 Fix Python shell prompts detection for remote hosts.
3616 * progmodes/python.el (python-shell-prompt-detect):
3617 Replace call-process with process-file and make it more robust.
3618
3619 Autodetect Python shell prompts. (Bug#17370)
3620 * progmodes/python.el:
3621 (python-shell-interpreter-interactive-arg)
3622 (python-shell-prompt-detect-enabled)
3623 (python-shell-prompt-detect-failure-warning)
3624 (python-shell-prompt-input-regexps)
3625 (python-shell-prompt-output-regexps): New vars.
3626 (python-shell-prompt-calculated-input-regexp)
3627 (python-shell-prompt-calculated-output-regexp): New vars.
3628 (python-shell-get-process-name)
3629 (python-shell-internal-get-process-name)
3630 (python-shell-output-filter)
3631 (python-shell-completion-get-completions): Use them.
3632 (python-shell-prompt-detect)
3633 (python-shell-prompt-validate-regexps): New functions.
3634 (python-shell-prompt-set-calculated-regexps): New function.
3635 (inferior-python-mode): Use it. Also honor overriden
3636 python-shell-interpreter and python-shell-interpreter-args.
3637 (python-shell-make-comint): Honor overriden
3638 python-shell-interpreter and python-shell-interpreter-args.
3639 (python-shell-get-or-create-process): Make it testable by allowing
3640 to call run-python non-interactively.
3641 (python-util-valid-regexp-p): New function.
3642 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
3643 (python-shell-prompt-output-regexp)
3644 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
3645
3646 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * emacs-lisp/smie.el (smie-config--guess-1): Split from
3649 smie-config--guess.
3650 (smie-config--guess): Use it.
3651
3652 * emacs-lisp/edebug.el: Use nadvice.
3653 (edebug-original-read): Remove.
3654 (edebug--read): Rename from edebug-read and add `orig' arg.
3655 (edebug-uninstall-read-eval-functions)
3656 (edebug-install-read-eval-functions): Use nadvice.
3657 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
3658 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
3659 (edebug-read-string, edebug-read-function): Use just `read'.
3660 (edebug-original-debug-on-entry): Remove.
3661 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
3662 `orig' arg.
3663 (debug-on-entry): Override with nadvice.
3664
3665 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
3666 it also makes sense to bind it to a non-mouse event.
3667
3668 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
3669
3670 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
3673 (bug#18015).
3674
3675 * rect.el (rectangle--string-preview): Don't assume there
3676 a non-nil default (bug#17984).
3677
3678 2014-07-16 Glenn Morris <rgm@gnu.org>
3679
3680 * desktop.el (after-init-hook): Disable startup frame restoration
3681 in non-graphical situations. (Bug#17693)
3682
3683 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
3684 if it was "empty", or used for a different set of files. (Bug#17884)
3685
3686 2014-07-16 Eli Zaretskii <eliz@gnu.org>
3687
3688 * bindings.el (mode-line-remote): If default-directory is not a
3689 string, don't call file-remote-p on it; instead state in the
3690 help-echo that it is nil. (Bug#17986)
3691
3692 2014-07-14 Daniel Colascione <dancol@dancol.org>
3693
3694 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
3695 to `macroexpand-all'
3696
3697 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
3698 Use `macroexpand-all' instead of `cl-macroexpand-all'.
3699
3700 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
3701
3702 Fix bug: C-x v v discarded existing log message (Bug#17884).
3703 * vc/vc-dispatcher.el (vc-log-edit):
3704 Don't clobber an already-existing log message.
3705
3706 2014-07-12 Glenn Morris <rgm@gnu.org>
3707
3708 * vc/log-edit.el (log-edit-changelog-entries):
3709 Check for a visited-but-never-saved ChangeLog.
3710
3711 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
3714 a non-existing file (bug#17970).
3715
3716 * faces.el (face-name): Undo last change.
3717 (x-resolve-font-name): Don't call face-name (bug#17956).
3718
3719 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3720
3721 Fix dedenters and electric colon handling. (Bug#15163)
3722 * progmodes/python.el
3723 (python-rx-constituents): Add dedenter and block-ender.
3724 (python-indent-dedenters, python-indent-block-enders): Delete.
3725 (python-indent-context): Return new case for dedenter-statement.
3726 (python-indent-calculate-indentation): Handle new case.
3727 (python-indent-calculate-levels): Fix levels calculation for
3728 dedenter statements.
3729 (python-indent-post-self-insert-function): Fix colon handling.
3730 (python-info-dedenter-opening-block-message): New function.
3731 (python-indent-line): Use it.
3732 (python-info-closing-block)
3733 (python-info-closing-block-message): Remove.
3734 (python-info-dedenter-opening-block-position)
3735 (python-info-dedenter-opening-block-positions)
3736 (python-info-dedenter-statement-p): New functions.
3737
3738 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
3739
3740 * files.el (out-of-memory-warning-percentage): New defcustom.
3741 (warn-maybe-out-of-memory): Use it.
3742
3743 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
3744
3745 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
3746 when calling `read-string'. (Bug#17839)
3747
3748 2014-07-10 Eli Zaretskii <eliz@gnu.org>
3749
3750 * files.el (warn-maybe-out-of-memory): Fix the wording of the
3751 warning.
3752
3753 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
3754
3755 * files.el (warn-maybe-out-of-memory): New function.
3756 (find-file-noselect): Use it.
3757
3758 2014-07-09 Sam Steingold <sds@gnu.org>
3759
3760 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
3761 `constant' like `bless', `return' &c
3762
3763 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * rect.el (apply-on-rectangle): Check forward-line really moved to the
3766 next line.
3767
3768 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
3771 the middle of a line (bug#17896).
3772
3773 2014-07-09 Juri Linkov <juri@jurta.org>
3774
3775 * startup.el (command-line): Append displaying the warning about
3776 the errors in the init file to the end of `after-init-hook'.
3777 (Bug#17927)
3778
3779 * faces.el (face-name): Return input arg `face' as-is
3780 when it's not a symbol.
3781 (x-resolve-font-name): Don't check if the face is a symbol.
3782 (Bug#17956)
3783
3784 * facemenu.el (list-colors-print): In help-echo format use %.2f
3785 instead of %d because now HSV values are floating-point components
3786 between 0.0 and 1.0.
3787
3788 2014-07-09 Glenn Morris <rgm@gnu.org>
3789
3790 * emulation/cua-rect.el (cua--activate-rectangle):
3791 Avoid setting cua--rectangle to nil. (Bug#17877)
3792
3793 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
3794
3795 * calendar/todo-mode.el: Fix wrong-type-argument error when
3796 marking multiple consecutive items.
3797 (todo-toggle-mark-item): Don't try to mark the empty lines at the
3798 end of the todo and done items sections. Note in doc string that
3799 items marked by passing a numeric prefix argument can include the
3800 last todo and first done items.
3801 (todo-mark-category): Don't try to mark the empty line between the
3802 todo and done items sections.
3803
3804 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
3807 proper Lisp quoting (bug#17934).
3808
3809 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
3810 require-final-newline since prog-mode already took care of it (bug#17947).
3811
3812 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
3813
3814 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
3815 refer to the Todo mode Info manual. Update the comment on
3816 requiring cl-lib.
3817 (todo-find-filtered-items-file): Add todo-prefix overlays.
3818 (todo-filter-items): Reorder a let-bound variable to avoid a
3819 wrong-type-argument error on canceling the file choice dialog.
3820
3821 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3822
3823 * progmodes/octave.el (inferior-octave-mode):
3824 Set comint-input-ring-size to a number (bug#17912).
3825
3826 2014-07-09 Juri Linkov <juri@jurta.org>
3827
3828 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
3829 and `isearch-mode' associated with nil. (Bug#17849)
3830
3831 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * linum.el (linum--face-height): New function (bug#17813).
3834 (linum-update-window): Use it to adjust margin to linum's width.
3835
3836 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
3837 * eshell/em-smart.el (eshell-smart-scroll-window):
3838 Use with-selected-window.
3839
3840 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
3841 Remove also pointless window&mark manipulation.
3842
3843 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
3844 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
3845 (perl-continuation-line-p): Don't skip over anything else than labels.
3846 Return the previous char.
3847 (perl-calculate-indent): Use syntax-ppss instead of parse-start
3848 and update callers accordingly. For continuation lines, check the
3849 the case of array hashes.
3850 (perl-backward-to-noncomment): Make it non-interactive.
3851 (perl-backward-to-start-of-continued-exp): Rewrite.
3852
3853 2014-07-08 Sam Steingold <sds@gnu.org>
3854
3855 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
3856 New user commands.
3857
3858 2014-07-08 Juri Linkov <juri@jurta.org>
3859
3860 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
3861 (vc-annotate-color-map): Use less saturated colors (20%) for
3862 background-mode.
3863 (vc-annotate-very-old-color): Add default value for background-mode.
3864 (vc-annotate-background): Set default value to nil since now text on
3865 the default backgrounds should be legible in light and dark modes.
3866 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
3867 (Bug#17808)
3868
3869 2014-07-08 Juri Linkov <juri@jurta.org>
3870
3871 * simple.el (transpose-chars): Don't move point into read-only area.
3872 (Bug#17829)
3873
3874 2014-07-08 Juri Linkov <juri@jurta.org>
3875
3876 * window.el (with-displayed-buffer-window): New macro.
3877 (with-temp-buffer-window, with-current-buffer-window):
3878 Use `macroexp-let2' to evaluate and bind variables
3879 in the same order as macro arguments.
3880 (display-buffer--action-function-custom-type):
3881 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
3882
3883 * minibuffer.el (minibuffer-completion-help): Replace
3884 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
3885 with actions that display *Completions* at-bottom when called
3886 from the minibuffer, or below-selected in a normal buffer.
3887 Associate `window-height' with `fit-window-to-buffer'.
3888 Let-bind `pop-up-windows' to nil.
3889
3890 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
3891 instead of `with-current-buffer-window'. (Bug#17809)
3892
3893 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
3894
3895 * progmodes/hideif.el (hide-ifdef-env): Change to global.
3896 (hide-ifdef-env-backup): New variable.
3897 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
3898 New customizable variables.
3899 (hif-clear-all-ifdef-defined): New defun.
3900 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
3901 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
3902 (hif-tokenize): Fix for MS-DOS/Win EOL style.
3903 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
3904 Fix bug to hide the correct #elif region(s).
3905 (hif-range-elif): New defun.
3906 (hif-recurse-level): New var.
3907 (hif-evaluate-region, hif-evaluate-macro): New defun.
3908 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
3909 fully hidden.
3910 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
3911 Better interaction.
3912
3913 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
3914
3915 * net/dbus.el (dbus-peer-handler): New defun.
3916 (dbus-register-service): Register it. (Bug#17858)
3917 (dbus-managed-objects-handler): Fix docstring.
3918
3919 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
3920
3921 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
3922 (narrow-to-defun): New arg include-comments, defaulting to it
3923 (bug#16328).
3924
3925 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
3928 different calling convention to rectangle--unhighlight-for-redisplay.
3929
3930 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
3931
3932 * net/tramp.el (tramp-call-process): Handle error strings.
3933
3934 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
3935
3936 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
3937 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
3938
3939 * net/trampver.el: Update release number.
3940
3941 2014-07-03 Juri Linkov <juri@jurta.org>
3942
3943 * desktop.el (desktop-save): Rename arg `auto-save' to
3944 `only-if-changed'. Doc fix. (Bug#17873)
3945
3946 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3949 Use insert-for-yank (bug#17271).
3950
3951 2014-07-03 Leo Liu <sdl.web@gmail.com>
3952
3953 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
3954 Support lexical-binding.
3955
3956 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * vc/log-edit.el (log-edit-goto-eoh): New function.
3959 (log-edit--match-first-line): Use it (bug#17861).
3960
3961 2014-07-03 Glenn Morris <rgm@gnu.org>
3962
3963 * vc/log-edit.el (log-edit-hook): Add missing :version.
3964
3965 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
3966
3967 * progmodes/python.el (python-indent-post-self-insert-function):
3968 Enhancements to electric indentation behavior inside
3969 parens. (Bug#17658)
3970
3971 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3972
3973 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
3974 buffer-invisibility-spec (bug#17867).
3975
3976 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
3977
3978 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
3979 pass "-a".
3980
3981 2014-07-03 Glenn Morris <rgm@gnu.org>
3982
3983 * cus-edit.el (help):
3984 * finder.el (finder-known-keywords):
3985 * help.el (help-for-help-internal):
3986 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
3987 (ediff-redraw-registry-buffer):
3988 * vc/ediff-ptch.el (ediff-patch-file-internal):
3989 Doc fixes re "online" help. (Bug#17803)
3990
3991 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
3992 (idlwave-mode): Doc URL update.
3993
3994 2014-07-01 Juri Linkov <juri@jurta.org>
3995
3996 * man.el: Display man pages immediately and use process-filter
3997 to format them asynchronously.
3998 (Man-width): Doc fix.
3999 (man): Doc fix.
4000 (Man-start-calling): Use `with-selected-window' to get
4001 `frame-width' and `window-width'.
4002 (Man-getpage-in-background): Call `Man-notify-when-ready'
4003 immediately after creating a new buffer. Call `Man-mode' and set
4004 `mode-line-process' in the created buffer. Set process-filter to
4005 `Man-bgproc-filter' in start-process branch. In call-process branch
4006 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
4007 Use `Man-start-calling' inside `with-current-buffer'.
4008 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
4009 (Man-cleanup-manpage): Don't print messages.
4010 (Man-bgproc-filter): New function.
4011 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
4012 user moved it during asynchronous formatting. Move calls of
4013 `Man-fontify-manpage' and `Man-cleanup-manpage' to
4014 `Man-bgproc-filter'. Move the call of `Man-mode' to
4015 `Man-getpage-in-background'. Use `quit-restore-window'
4016 instead of `kill-buffer'. Use `message' instead of `error'
4017 because errors are caught by process sentinel.
4018 (Man-mode): Move calls of `Man-build-page-list',
4019 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
4020 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
4021
4022 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
4023 for the message about the man page cleaned up.
4024
4025 2014-07-01 Mario Lang <mlang@delysid.org>
4026
4027 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
4028 cosutomization option `gnutls-verify-error'.
4029
4030 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
4033 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
4034
4035 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
4036 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
4037 is suspended (bug#17857).
4038
4039 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
4040
4041 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4042 Prefer utf-8 coding. (Bug#17859)
4043
4044 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4045
4046 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
4047 for `reverse'.
4048
4049 2014-06-30 Glenn Morris <rgm@gnu.org>
4050
4051 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
4052 (autoload-ensure-default-file): Maybe make existing output writable.
4053 * Makefile.in (AUTOGEN_VCS): Remove.
4054 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
4055
4056 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4057
4058 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
4059
4060 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4061
4062 New if-let, when-let, thread-first and thread-last macros.
4063
4064 * emacs-lisp/subr-x.el
4065 (internal--listify, internal--check-binding)
4066 (internal--build-binding-value-form, internal--build-binding)
4067 (internal--build-bindings): New functions.
4068 (internal--thread-argument, thread-first, thread-last)
4069 (if-let, when-let): New macros.
4070
4071 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
4072
4073 * net/rcirc.el (rcirc-buffer-process): Restore previous
4074 behaviour. (Bug#17772)
4075
4076 2014-06-29 Alan Mackenzie <acm@muc.de>
4077
4078 Don't call c-parse-state when c++-template-syntax-table is active.
4079 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
4080 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
4081 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
4082
4083 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
4084
4085 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
4086 account for file-wide setting of todo-top-priorities-overrides.
4087 Make code a bit cleaner.
4088
4089 2014-06-28 Glenn Morris <rgm@gnu.org>
4090
4091 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
4092
4093 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
4094
4095 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
4096 category-wide setting of todo-top-priorities-overrides, check for
4097 a file-wide setting and fontify accordingly.
4098
4099 2014-06-28 Glenn Morris <rgm@gnu.org>
4100
4101 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
4102
4103 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
4106
4107 2014-06-28 K. Handa <handa@gnu.org>
4108
4109 Fix Bug#17739.
4110
4111 * composite.el: Setup composition-function-table for dotted circle.
4112 (compose-gstring-for-dotted-circle): New function.
4113
4114 * international/characters.el: Add category "^" to all
4115 non-spacing characters.
4116
4117 2014-06-28 Glenn Morris <rgm@gnu.org>
4118
4119 * Makefile.in (doit): Remove force rule.
4120 (custom-deps, finder-data, autoloads, update-subdirs)
4121 (compile-one-process): PHONY targets do not need force rules.
4122
4123 * Makefile.in (compile-main, compile, compile-always):
4124 No need to explicitly pass variables to ourself in recursive calls.
4125
4126 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
4129
4130 2014-06-26 Glenn Morris <rgm@gnu.org>
4131
4132 * Makefile.in (update-authors): Update for moved authors.el.
4133
4134 2014-06-26 Leo Liu <sdl.web@gmail.com>
4135
4136 * skeleton.el (skeleton-end-hook): Default to nil and move the
4137 work to skeleton-insert. (Bug#17850)
4138
4139 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
4140
4141 * calc/calc-alg.el (math-beforep):
4142 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
4143 Simplify because string-lessp can accept symbols as args.
4144
4145 2014-06-26 Daiki Ueno <ueno@gnu.org>
4146
4147 * emacs-lisp/package.el (package--check-signature):
4148 If package-check-signature is allow-unsigned, don't signal error when
4149 we can't verify signature because of missing public key
4150 (bug#17625).
4151
4152 2014-06-26 Glenn Morris <rgm@gnu.org>
4153
4154 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
4155 Remove outdated declaration.
4156
4157 * emacs-lisp/authors.el (authors-valid-file-names)
4158 (authors-renamed-files-alist): Additions.
4159
4160 2014-06-26 Leo Liu <sdl.web@gmail.com>
4161
4162 * textmodes/picture.el (picture-set-tab-stops):
4163 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
4164 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
4165
4166 * progmodes/asm-mode.el (asm-calculate-indentation):
4167 Use indent-next-tab-stop.
4168
4169 * indent.el (indent-accumulate-tab-stops): New function.
4170
4171 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4172
4173 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
4174 (package-desc-status): Obey it.
4175
4176 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
4177
4178 * calendar/todo-mode.el: Fix two bugs.
4179 (todo-insert-item--basic): If user cancels item insertion to
4180 another category before setting priority, show original category
4181 whether it is in the same or a different file.
4182 (todo-set-item-priority): After selecting category, instead of
4183 moving point to top, which extends an active region, restore it.
4184
4185 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * help-fns.el (describe-function-1): Check file-name is a string before
4188 calling help-fns--autoloaded-p (bug#17564).
4189
4190 2014-06-26 Juri Linkov <juri@jurta.org>
4191
4192 * desktop.el (desktop-auto-save-enable)
4193 (desktop-auto-save-disable): New functions.
4194 (desktop-save-mode, desktop-auto-save-timeout): Use them.
4195 (desktop-read): Disable the autosave before loading the desktop,
4196 and enable afterwards. (Bug#17351)
4197
4198 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 Fix some indentation problem with \; and pipes (bug#17842).
4201 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
4202 (sh-smie--default-forward-token, sh-smie--default-backward-token):
4203 New functions.
4204 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
4205 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
4206 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
4207
4208 2014-06-26 Glenn Morris <rgm@gnu.org>
4209
4210 * emacs-lisp/find-func.el (find-function-C-source-directory):
4211 Use file-accessible-directory-p.
4212
4213 * ps-samp.el: Make it slightly less awful.
4214 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
4215 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
4216 Only set local values.
4217 (ps-article-subject, ps-article-author): Use standard functions
4218 like mail-fetch-field.
4219 (ps-info-file, ps-info-node): Use match-string.
4220 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
4221 (ps-samp-ps-setup): ... new function.
4222
4223 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
4224 Optimize away code unneeded on any modern Emacs.
4225
4226 * emacs-lisp/authors.el: Move to ../admin.
4227
4228 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
4229
4230 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
4231
4232 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
4233 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
4234 performance enhancements.
4235 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
4236 expansion.
4237 (hif-factor, hif-string-concatenation, intern-safe): Support string
4238 concatenation and argumented macro expansion.
4239 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
4240 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
4241 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
4242 (hif-canonicalize-tokens, hif-place-macro-invocation)
4243 (hif-parse-macro-arglist): Mostly new functions for supporting
4244 argumented macro expansion.
4245 (hif-string-concatenation, hif-stringify, hif-token-concat)
4246 (hif-token-stringification, hif-token-concatenation):
4247 Stringification and concatenation.
4248 (hif-find-next-relevant): Fix comments.
4249 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
4250 some cases involving #elif.
4251 (hif-find-define, hif-add-new-defines): New functions for automatically
4252 scanning of defined symbols.
4253 (hide-ifdef-guts): Fix for defined symbol auto scanning.
4254 (hide-ifdef-undef): Fix behavior to match CPP.
4255
4256 2014-06-25 Glenn Morris <rgm@gnu.org>
4257
4258 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
4259 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
4260 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
4261 files. They are not relevant to the original issue (bug#1004),
4262 and cause unnecessary recompilation (bug#2151).
4263
4264 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * play/landmark.el: Use lexical-binding and avoid `intangible'.
4267 (landmark--last-pos): New var.
4268 (landmark--intangible-chars): New const.
4269 (landmark--intangible): New function.
4270 (landmark-mode, landmark-move): Use it.
4271 (landmark-mode): Remove properties.
4272 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
4273 (landmark-cross-qtuple):
4274 Don't worry about `intangible' any more.
4275 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
4276 (landmark-init-display): Don't set `intangible' and `point-entered'.
4277 (square): Remove. Inline it instead.
4278 (landmark--distance): Rename from `distance'.
4279 (landmark-calc-distance-of-robot-from): Rename from
4280 calc-distance-of-robot-from.
4281 (landmark-calc-smell-internal): Rename from calc-smell-internal.
4282
4283 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
4284
4285 * files.el (dir-locals-find-file, file-relative-name):
4286 * info.el (Info-complete-menu-item):
4287 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
4288 to compare-strings to avoid out-of-range errors.
4289 * subr.el (string-prefix-p): Adjust to match strict range
4290 checking in compare-strings.
4291
4292 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
4293
4294 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
4295 for comment lines non-greedy and stopping at newlines to fix stack
4296 overflows with large files.
4297
4298 2014-06-24 Eli Barzilay <eli@barzilay.org>
4299
4300 * calculator.el (calculator-last-input): Drop 'ascii-character property
4301 lookup.
4302
4303 2014-06-24 Leo Liu <sdl.web@gmail.com>
4304
4305 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
4306 tab-stop-list to nil. (Bug#16381)
4307
4308 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
4309 (indent-rigidly-left-to-tab-stop)
4310 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
4311 (move-to-tab-stop): Change callers.
4312
4313 2014-06-24 Eli Zaretskii <eliz@gnu.org>
4314
4315 * skeleton.el (skeleton-insert): Yet another fix of the doc string
4316 wrt behavior of \n as the first/last element of a skeleton.
4317
4318 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
4319
4320 * net/tramp-adb.el (tramp-adb-handle-process-file):
4321 * net/tramp-sh.el (tramp-sh-handle-process-file):
4322 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
4323 the output buffer when DISPLAY is non-nil. (Bug#17815)
4324
4325 2014-06-24 Glenn Morris <rgm@gnu.org>
4326
4327 * play/landmark.el (landmark-move-down, landmark-move-up):
4328 Fix 2007-10-20 change - preserve horizontal position.
4329
4330 2014-06-23 Sam Steingold <sds@gnu.org>
4331
4332 * simple.el (kill-append): Remove undo boundary depending on ...
4333 (kill-append-merge-undo): New user option.
4334
4335 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * simple.el (handle-shift-selection, exchange-point-and-mark)
4338 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
4339 (transient-mark-mode): Use&set the global value.
4340 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
4341 * emulation/edt.el (edt-emulation-off): Save&restore the global
4342 transient-mark-mode setting.
4343 * obsolete/pc-select.el (pc-selection-mode): Use the
4344 transient-mark-mode function.
4345
4346 2014-06-23 Eli Zaretskii <eliz@gnu.org>
4347
4348 * international/fontset.el (script-representative-chars):
4349 Add representative characters for scripts added in Unicode 7.0.
4350 (otf-script-alist): Synchronize with the latest registry of OTF
4351 script tags.
4352
4353 * international/characters.el (char-script-table): Update for
4354 scripts added and codepoint ranges changed in Unicode 7.0.
4355
4356 2014-06-23 Eli Barzilay <eli@barzilay.org>
4357
4358 * calculator.el (calculator-standard-displayer): Fix bug in use of
4359 `calculator-groupize-number'.
4360 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
4361 `eval' code, so it works in v24.3.1 too.
4362 (calculator-last-input): Comment to clarify purpose.
4363
4364 2014-06-22 Mario Lang <mlang@delysid.org>
4365
4366 * textmodes/rst.el (rst-comment-region): From from -> from.
4367
4368 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
4369
4370 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
4371
4372 * electric.el (electric-layout-post-self-insert-function):
4373 * emacs-lisp/ert.el (ert--insert-infos):
4374 * obsolete/vi.el (vi-set-mark):
4375 * term.el (term-handle-scroll):
4376 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
4377 * wid-edit.el (widget-editable-list-value-create):
4378 Prefer point-marker to copy-marker of point.
4379
4380 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4381
4382 Fix completion retrieval parsing (bug#17209).
4383 * progmodes/python.el (python-mode):
4384 (python-util-strip-string): New function.
4385 (python-shell-completion-get-completions): Use it.
4386
4387 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4388
4389 * skeleton.el (skeleton-insert): Fix last change.
4390
4391 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4392
4393 Enhancements for outline integration (bug#17796).
4394 * progmodes/python.el (python-mode): Properly set
4395 outline-heading-end-regexp so that comments after colons for
4396 defuns are supported.
4397
4398 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4399
4400 * skeleton.el (skeleton-insert): Doc fix.
4401
4402 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
4405 (smie-config-guess): Use smie-config-local so the rules are obeyed
4406 (bug#17818).
4407
4408 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
4409 since it's already done inside the loop (bug#17819).
4410
4411 2014-06-21 Martin Rudalics <rudalics@gmx.at>
4412
4413 * mouse.el (mouse-drag-line): Re-remove code initially removed
4414 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
4415 (Bug#17819).
4416
4417 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
4420 align with the surrounding parent (bug#17721).
4421
4422 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4423
4424 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
4425 locally to nil.
4426 (texinfo-insert-block, texinfo-insert-@end)
4427 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
4428 local setting of skeleton-end-newline by adding an explicit \n to
4429 the skeletons where appropriate. (Bug#17801)
4430
4431 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
4434 (smie-indent--hanging-p): Use it.
4435 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
4436
4437 2014-06-21 Leo Liu <sdl.web@gmail.com>
4438
4439 * simple.el (read-quoted-char): Don't let help chars pop up help
4440 buffer. (Bug#16617)
4441
4442 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4443
4444 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
4445 for | (bug#17621).
4446
4447 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
4448 Drop unknown events instead of burping.
4449
4450 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4451
4452 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
4453 and later. (Bug#17790)
4454
4455 2014-06-21 Juri Linkov <juri@jurta.org>
4456
4457 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
4458 to `soft'. (Bug#17554)
4459
4460 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4461
4462 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
4463 (bug#17737).
4464
4465 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
4466
4467 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
4468 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
4469
4470 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
4471
4472 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
4473 `unread-command-events'.
4474
4475 2014-06-19 William Xu <william.xwl@gmail.com>
4476
4477 * progmodes/hideif.el (hif-string-to-number): Don't return float for
4478 hex integer constants (bug#17807).
4479
4480 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * international/mule-util.el (truncate-string-ellipsis): New var.
4483 (truncate-string-to-width): Use it.
4484
4485 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
4486
4487 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
4488 (lisp-string-in-doc-position-p): New function, extracted from
4489 lisp-font-lock-syntactic-face-function.
4490 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
4491
4492 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
4493
4494 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
4495
4496 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
4499 (bubbles--game-over): Don't add `intangible' properties since they
4500 didn't work anyway.
4501
4502 2014-06-18 Juri Linkov <juri@jurta.org>
4503
4504 * vc/ediff-init.el (ediff-current-diff-Ancestor)
4505 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
4506 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
4507 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
4508 Add `min-colors 88' version with removed black/white foregrounds.
4509 (Bug#10181)
4510
4511 2014-06-18 Juri Linkov <juri@jurta.org>
4512
4513 * vc/diff-mode.el (diff-changed): Empty face definition to use
4514 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
4515 (diff-context): Use darker color on light background and
4516 lighter color on dark background.
4517
4518 2014-06-18 Juri Linkov <juri@jurta.org>
4519
4520 * vc/diff-mode.el (diff-refine-changed): Rename from
4521 `diff-refine-change' for consistency with `diff-changed'.
4522 (diff-refine-change): Add obsolete face alias. (Bug#10181)
4523
4524 * vc/smerge-mode.el (smerge-refined-changed): Rename from
4525 `smerge-refined-change'.
4526 (smerge-refined-change): Add obsolete face alias.
4527
4528 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * rect.el (rectangle-preview): New custom.
4531 (rectangle): New group.
4532 (rectangle--pos-cols): Add `window' argument.
4533 (rectangle--string-preview-state, rectangle--string-preview-window):
4534 New vars.
4535 (rectangle--string-flush-preview, rectangle--string-erase-preview)
4536 (rectangle--space-to, rectangle--string-preview): New functions.
4537 (string-rectangle): Use them.
4538 (rectangle--inhibit-region-highlight): New var.
4539 (rectangle--highlight-for-redisplay): Obey it. Make sure
4540 `apply-on-region' uses the point-crutches of the right window.
4541 Use :align-to rather than multiple spaces.
4542
4543 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
4544
4545 * ruler-mode.el (ruler-mode-window-col)
4546 (ruler-mode-mouse-set-left-margin)
4547 (ruler-mode-mouse-set-right-margin): Fix calculation of column
4548 from mouse position (Bug#17768).
4549
4550 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
4551
4552 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
4553 without varname or rhs causes crash.
4554 (dun-ftp): Fix bug where blank ftp password is allowed, making it
4555 impossible to win endgame.
4556 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
4557 rlogin is anymore.
4558 (dun-help): Bump version number; update contact info.
4559
4560 2014-06-15 Eli Barzilay <eli@barzilay.org>
4561
4562 * calculator.el (calculator-prompt, calculator-remove-zeros)
4563 (calculator-mode-hook, calculator-operators, calculator-stack)
4564 (calculator-mode): Tweak docstring.
4565 (calculator-user-operators): Tweak docstring, fix a bug in the last
4566 example.
4567 (calculator-displayer): `std' case has an optional boolean.
4568 (calculator-displayers): Use the new boolean to group in decimal mode.
4569 (calculator-mode-map, calculator, calculator-message)
4570 (calculator-op-arity, calculator-add-operators)
4571 (calculator-string-to-number, calculator-displayer-prev)
4572 (calculator-displayer-next, calculator-remove-zeros)
4573 (calculator-eng-display, calculator-number-to-string)
4574 (calculator-update-display, calculator-last-input)
4575 (calculator-clear-fragile, calculator-digit, calculator-decimal)
4576 (calculator-exp, calculator-saved-move, calculator-clear)
4577 (calculator-copy, calculator-put-value, calculator-help)
4578 (calculator-expt, calculator-truncate): Minor code improvements.
4579 (calculator-need-3-lines): New function pulling out code from
4580 `calculator'.
4581 (calculator-get-display): Rename from `calculator-get-prompt', and
4582 improved.
4583 (calculator-push-curnum): Rename from `calculator-curnum-value', and
4584 extended for all uses of it. All callers changed.
4585 (calculator-groupize-number): New utility for splitting a number into
4586 groups.
4587 (calculator-standard-displayer): Improve code, new optional argument to
4588 use comma-split groups, make second argument optional too to use with
4589 'left/'right inputs. All callers changed.
4590 (calculator-reduce-stack-once): New utility, doing the meat of what
4591 `calculator-reduce-stack' used to do, much improved (mostly using
4592 `pcase' for conciseness and clarity).
4593 (calculator-reduce-stack): Now doing just the reduction loop using
4594 `calculator-reduce-stack-once'.
4595 (calculator-funcall): Improve code, make it work in v24.3.1 too.
4596 (calculator-last-input): Improve code, remove some old cruft.
4597 (calculator-quit): Kill `calculator-buffer' in electric mode too.
4598 (calculator-integer-p): Remove.
4599 (calculator-fact): Improve code, make it work on non-integer values
4600 too (using truncated numbers).
4601
4602 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
4603
4604 Sync with Tramp 2.2.10.
4605
4606 * net/tramp.el (tramp-methods): Tweak docstring.
4607 (tramp-handle-file-accessible-directory-p): Check for
4608 `file-readable-p' instead of `file-executable-p'.
4609 (tramp-check-cached-permissions):
4610 Use `tramp-compat-file-attributes'.
4611 (tramp-call-process): Add new argument VEC. Adapt callees in all
4612 tramp*.el files.
4613
4614 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
4615 (tramp-adb-maybe-open-connection): Don't set
4616 `tramp-current-*' variables.
4617
4618 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
4619 file properties of temporary buffers.
4620
4621 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
4622
4623 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
4624 (tramp-gvfs-handle-delete-file): Flush file
4625 properties, not directory properties.
4626 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
4627 reading "unix::mode".
4628 (tramp-gvfs-handle-file-name-all-completions):
4629 Use "-h" option for "gvfs-ls".
4630 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
4631 (tramp-gvfs-send-command): Simplify traces.
4632
4633 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
4634 (vc-git-program, vc-hg-program): Declare.
4635 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
4636 (tramp-methods) <nc>: Add new method.
4637 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
4638 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
4639 `tramp-login-args'.
4640 (tramp-default-user-alist): Add "nc".
4641 (top): Remove completion function for "sftp". Add completion
4642 functions for "nc" and "psftp".
4643 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
4644 Implement support for "nc" method.
4645 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
4646 (tramp-remote-coding-commands, tramp-call-local-coding-command):
4647 Tweak docstring.
4648 (tramp-sh-handle-write-region): Tweak error message.
4649 (tramp-sh-handle-vc-registered): Remove backends when the remote
4650 binary does not exist.
4651 (tramp-find-inline-encoding): Do not raise an error.
4652 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
4653 the "nc" case. Quote result also locally.
4654
4655 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4656 (tramp-smb-handle-set-file-acl): Use `start-process'.
4657 (tramp-smb-handle-insert-directory): Use progress reporter.
4658 (tramp-smb-handle-rename-file): Flush also file properties of
4659 FILENAME.
4660
4661 * net/trampver.el: Update release number.
4662
4663 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
4666 add-to-list.
4667 (ses-localvars): Remove ses--local-printer-list, unused.
4668 (ses--metaprogramming): New macro. Use it to defvar variables.
4669 (ses-set-localvars): Simplify.
4670 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
4671 property-list into an alist.
4672 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4673 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
4674 Remove; use defstruct accessors/setters instead.
4675 (ses-cell-formula-aset, ses-cell-printer-aset)
4676 (ses-cell-references-aset): Remove, use setf instead.
4677 (ses--alist-get): New function.
4678 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
4679 Use an alist instead of a plist and don't do move-to-front since the
4680 list is always short.
4681 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
4682 (ses-cell-property-set-fun, ses-cell-property-set)
4683 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
4684 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
4685 (ses--letref): New macro.
4686 (ses-cell-property-pop): Rewrite.
4687 (ses--cell): Rename from ses-cell and make it into a function.
4688 Make `formula' fallback on `value' if nil.
4689 (ses--local-printer): Rename from ses-local-printer and make it into
4690 a function.
4691 (ses-set-cell): Turn it into a macro so finding the accessor from the
4692 field name is done at compile time.
4693 (ses-repair-cell-reference-all): Test presence of `sym' rather than
4694 `ref' before adding `sym' to :ses-repair-reference.
4695 (ses-calculate-cell): Use ses--letref rather than
4696 ses-cell-property-get-handle.
4697 (ses-write-cells): Use a single prin1-to-string.
4698 (ses-setter-with-undo): New function.
4699 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
4700 (ses-unset-with-undo): Remove.
4701 (ses-load): Prefer apply' over `eval'.
4702 (ses-read-printer, ses-set-column-width): Use standard "(default
4703 foo)" format.
4704
4705 2014-06-15 Glenn Morris <rgm@gnu.org>
4706
4707 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
4708
4709 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
4710 Replace delete-duplicates and mapcan by cl- versions throughout.
4711 And cl-macroexpand-all by macroexpand-all.
4712 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
4713
4714 2014-06-15 Eli Zaretskii <eliz@gnu.org>
4715
4716 * subr.el (posn-col-row): Doc fix. (Bug#17768)
4717
4718 2014-06-15 Juri Linkov <juri@jurta.org>
4719
4720 * bindings.el: Put `ascii-character' property on keypad keys
4721 mapped to characters. (Bug#17759)
4722
4723 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
4726 bumping forward into a closing paren (bug#17761).
4727
4728 * term/xterm.el (xterm--version-handler): Work around for OSX
4729 Terminal.app (bug#17607).
4730
4731 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
4732
4733 * play/dunnet.el (dun-describe-room, dun-mode):
4734 If a lamp is in the room, you won't be eaten by a grue.
4735
4736 2014-06-13 Glenn Morris <rgm@gnu.org>
4737
4738 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
4739 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
4740 (compile-always): GNU make automatically passes
4741 command-line arguments to sub-makes.
4742
4743 * calendar/calendar.el (calendar-generate-window):
4744 Remove pointless call to font-lock-fontify-buffer.
4745
4746 2014-06-13 Matthias Meulien <orontee@gmail.com>
4747
4748 * simple.el (completion-list-mode-map): Navigate with tab and backtab
4749 (bug#17767).
4750
4751 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * simple.el (set-mark-command): Simplify a bit.
4754
4755 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4756
4757 * help.el (help--key-binding-keymap): New function.
4758 (help--binding-locus): New function.
4759 (describe-key): Mention the keymap in which the binding was
4760 found. (bug#13948)
4761
4762 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * hippie-exp.el (he--all-buffers): New function.
4765 (try-expand-line-all-buffers, try-expand-list-all-buffers)
4766 (try-expand-dabbrev-all-buffers): Use it.
4767
4768 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
4769
4770 * hippie-exp.el (try-expand-line-all-buffers)
4771 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
4772 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
4773 original buffer, in case they're buffer-local.
4774
4775 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
4776
4777 * ses.el (ses-initial-global-parameters-re): New defconst, a
4778 specific regexp is needed now that ses.el can handle both
4779 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
4780 local printers.
4781 (ses-localvars): Add local variables needed for local printer handling.
4782 (ses-set-localvars): Handle hashmap initialisation.
4783 (ses-paramlines-plist): Add param-line for number of local printers.
4784 (ses-paramfmt-plist): New defconst, needed for code factorization
4785 between functions `ses-set-parameter' and
4786 `ses-file-format-extend-paramter-list'
4787 (ses-make-local-printer-info): New defsubst.
4788 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4789 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
4790 (ses-cell-printer-aset): New defmacro.
4791 (ses-local-printer-compile): New defun.
4792 (ses-local-printer): New defmacro.
4793 (ses-printer-validate, ses-call-printer): Add support for local
4794 printer functions.
4795 (ses-file-format-extend-paramter-list): New defun.
4796 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
4797 factorization.
4798 (ses-load): Add support for local printer functions.
4799 (ses-read-printer): Update docstring and add support for local printer
4800 functions.
4801 (ses-refresh-local-printer, ses-define-local-printer): New defun.
4802 (ses-safe-printer): Add support for local printer functions.
4803
4804 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
4805
4806 * ffap.el (ffap-lax-url): New var (bug#17723).
4807 (ffap-url-at-point): Use it.
4808 (ffap-file-at-point): Avoid returning just "/".
4809
4810 2014-06-12 Matthias Meulien <orontee@gmail.com>
4811
4812 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
4813 (python-mode-map): Bind it.
4814
4815 * progmodes/python.el (class skeleton): Don't erase last char of class
4816 name (bug#17683).
4817
4818 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
4819
4820 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
4821
4822 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
4823
4824 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
4825 (bug#17745).
4826
4827 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * international/mule-cmds.el: Use lexical-binding.
4830 (ucs-names): Simplify.
4831
4832 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
4833
4834 * progmodes/python.el (run-python): Use read-shell-command.
4835
4836 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * rect.el: Make it possible to move bounds past EOL or into TABs.
4839 (operate-on-rectangle): Use apply-on-rectangle.
4840 (rectangle--mark-crutches): New var.
4841 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
4842 (rectangle--crutches, rectangle--reset-crutches): New functions.
4843 (apply-on-rectangle): Obey crutches. Avoid setq.
4844 Fix missing final iteration if end is at EOB&BOL.
4845 (rectangle-mark-mode-map): Add remap bindings for
4846 exchange-point-and-mark and char/line movements.
4847 (rectangle--*-char): New function.
4848 (rectangle-exchange-point-and-mark, rectangle-right-char)
4849 (rectangle-left-char, rectangle-forward-char)
4850 (rectangle-backward-char, rectangle-next-line)
4851 (rectangle-previous-line): New commands.
4852 (rectangle--place-cursor): New function.
4853 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
4854
4855 2014-06-08 Glenn Morris <rgm@gnu.org>
4856
4857 * startup.el (initial-buffer-choice): Doc fix.
4858 Reset :version (adding an option does not merit a :version bump).
4859
4860 * bookmark.el (bookmark-load):
4861 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
4862
4863 2014-06-08 Juri Linkov <juri@jurta.org>
4864
4865 * desktop.el: Activate auto-saving on window configuration changes.
4866 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
4867 `desktop-auto-save-set-timer' to/from
4868 `window-configuration-change-hook'.
4869 (desktop-auto-save-set-timer): Change REPEAT arg of
4870 `run-with-idle-timer' from t to nil.
4871 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
4872
4873 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
4874
4875 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
4876 vc-hg-command (bug#17570).
4877
4878 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 * international/mule-cmds.el (ucs-names): Add special entry for BEL
4881 (bug#17702).
4882
4883 2014-06-08 Glenn Morris <rgm@gnu.org>
4884
4885 * startup.el (window-setup-hook): Doc fix.
4886
4887 * emacs-lisp/package.el (package-check-signature)
4888 (package-unsigned-archives): Doc fixes.
4889
4890 2014-06-08 Martin Rudalics <rudalics@gmx.at>
4891
4892 * window.el (display-buffer-use-some-window): Don't make window
4893 used smaller than it was before (Bug#17671).
4894
4895 2014-06-08 Eli Zaretskii <eliz@gnu.org>
4896
4897 * menu-bar.el (menu-bar-open): Fix last change: use the PC
4898 'redisplay' instead of '(sit-for 0)'.
4899
4900 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
4901
4902 * net/tramp.el (tramp-ssh-controlmaster-options):
4903 Improve search regexp. (Bug#17653)
4904
4905 2014-06-08 Glenn Morris <rgm@gnu.org>
4906
4907 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
4908
4909 2014-06-08 Eli Zaretskii <eliz@gnu.org>
4910
4911 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
4912
4913 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
4914
4915 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
4916 (bug#17586).
4917
4918 * vc/vc-hg.el (vc-hg-log-graph): New var.
4919 (vc-hg-print-log): Use it.
4920 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
4921 graph output (bug#17515).
4922
4923 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * mouse.el (mouse-posn-property): Ignore buffer position info when the
4926 even happened elsewhere.
4927
4928 2014-06-06 Mario Lang <mlang@delysid.org>
4929
4930 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
4931 `recenter' if `current-buffer' is equal to `window-buffer'.
4932
4933 2014-06-05 Leo Liu <sdl.web@gmail.com>
4934
4935 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
4936
4937 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
4938
4939 * textmodes/tildify.el (tildify-foreach-region-outside-env):
4940 New function which calls a callback on portions of the buffer that are
4941 outside of ignored environments.
4942 (tildify-build-regexp): Remove function since it is now
4943 incorporated in `tildify-foreach-region-outside-env' where it is
4944 optimized and simplified by the use of `mapconcat'.
4945 (tildify-tildify): Return number of substitutions made so that…
4946 (tildify-count): …can be removed.
4947 (tildify-find-env): Accept a new PAIRS argument which was
4948 previously looked up in `tildify-ignored-environments-alist' each
4949 time the function was called. With this change, the lookup is
4950 performed only once in `tildify-foreach-region-outside-env'.
4951 (tildify-region): Greatly simplify the function since now most of
4952 the work is done by `tildify-foreach-region-outside-env'.
4953 (tildify-mode-alist): Simplify slightly by avoiding if and setq
4954 and instead using or.
4955
4956 * textmodes/tildify.el (tildify-ignored-environments-alist):
4957 Optimize environments regexes
4958
4959 Each time beginning of an environment to ignore is found,
4960 `tildify-find-env' needs to identify regexp for the ending
4961 of the environment. This is done by trying all the opening
4962 regexes on matched text in a loop, so to speed that up, this
4963 loop should have fewer things to match, which can be done by
4964 using alternatives in the opening regexes.
4965
4966 Coincidentally, this should make matching of the opening
4967 regexp faster as well thanks to the use of `regexp-opt' and
4968 having common prefix pulled from many regexes.
4969
4970 * textmodes/tildify.el (tildify-string-alist)
4971 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
4972 of supported modes since `xml-mode' is no longer a thing but just
4973 an alias to the former. Also include comments and insides of tags
4974 in `tildify-ignored-environments-alist' for XML modes. Finally,
4975 since XML does not define “&nbsp;”[1], use a numeric reference for
4976 a no-break space (namely “&#160;”)
4977
4978 [1] XML specification defines only a handful of predefined entities.
4979 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
4980 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
4981 >, &, ' and " respectively). This is in contrast to HTML and even
4982 XHTML which defined a whole bunch of entities including “&nbsp;”.
4983
4984 * textmodes/tildify.el (tildify-pattern-alist)
4985 (tildify-string-alist, tildify-ignored-environments-alist):
4986 Improve defcustom's types by adding more tags explaining what each
4987 value means and replace “sexp” used in
4988 `tildify-ignored-environments-alist' with a full type declaration.
4989
4990 * textmodes/tildify.el (tildify-find-env): Fix matched group
4991 indexes in end-regex building
4992
4993 When looking for a start of an ignore-environment, the regex is built
4994 by concatenating regexes of all the environments configured in
4995 `tildify-ignored-environments-alist'. So for example, the following
4996 list could be used to match TeX's \verb and \verb* commands:
4997
4998 (("\\\\verb\\(.\\)" . (1))
4999 ("\\\\verb\\*\\(.\\)" . (1)))
5000
5001 This would result in the following regex being used to find the start
5002 of any of the variants of the \verb command:
5003
5004 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
5005
5006 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
5007 won't match anything, and thus (match-string 1) will be nil, which
5008 will cause building of the end-matching regex to fail.
5009
5010 Fix this by using capture groups from the time when the opening
5011 regexes are matched individually.
5012
5013 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
5014 in `tildify-find-env'
5015
5016 The `tildify-ignored-environments-alist' allows the end-regex to
5017 be provided not as a static string but mix of strings and indexes
5018 of groups matched the begin-regex. For example, the “\verb!…!”
5019 TeX-command (where “!” is an arbitrary character) is handled
5020 using:
5021
5022 ("\\\\verb\\*?\\(.\\)" . (1))
5023
5024 In the same way, the following should be supported as well:
5025
5026 ("open-\\(.\\)" . ("end-" 1))
5027
5028 However the tildify-find-env function fails at
5029
5030 (concat result
5031 (if (stringp (setq aux (car expression)))
5032 expression ; BUG: expression is a list
5033 (regexp-quote (match-string aux))))
5034
5035 where the string part is handled incorrectly.
5036
5037 The most trivial fix would be to replace `expression' in the
5038 true-part of the if-statement with `aux', but instead, this commit
5039 optimizes `tildify-find-env' by changing it to use `mapconcat'
5040 rather than open-coded while-loop.
5041
5042 2014-06-05 Mario Lang <mlang@delysid.org>
5043
5044 * woman.el (woman-mapcan): Remove.
5045 (woman-parse-colon-path): Use cl-mapcan instead.
5046
5047 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5048
5049 * register.el: Add link to Emacs manual in Commentary.
5050
5051 2014-06-02 Sam Steingold <sds@gnu.org>
5052
5053 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
5054 (popup-menu): ...here.
5055 (menu-bar-open): Use it to avoid an error when `lookup-key'
5056 returns a number.
5057
5058 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
5059
5060 * net/tramp.el (tramp-call-process): Add traces.
5061 (tramp-handle-unhandled-file-name-directory): Return "/".
5062
5063 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
5064
5065 Sync with upstream verilog-mode revision 3cd8144.
5066 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5067 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
5068 (verilog-type-font-keywords): Add nor.
5069 (verilog-batch-execute-func): Force reading of Local Variables.
5070 Fix printing "no changes to be saved" with verilog-batch.
5071 (verilog-auto-arg-ports): Doc fix.
5072 Add verilog-auto-arg-format to support newlines in AUTOARG.
5073 (verilog-auto-arg): Doc fix.
5074
5075 2014-06-02 Glenn Morris <rgm@gnu.org>
5076
5077 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
5078 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5079 * emulation/ws-mode.el: Move to obsolete/.
5080 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
5081
5082 2014-06-02 Eli Zaretskii <eliz@gnu.org>
5083
5084 * simple.el (keyboard-quit): Force update of mode lines, to remove
5085 the "Def" indicator, if we were defining a macro. (Bug#17615)
5086
5087 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5088
5089 * minibuffer.el (minibuffer-force-complete-and-exit):
5090 Obey minibuffer-default (bug#17545).
5091
5092 * progmodes/js.el (js-indent-line): Don't mix columns and chars
5093 (bug#17619).
5094
5095 * subr.el (set-transient-map): Don't wait for some "nested"
5096 transient-map to finish if we're only supposed to be active for
5097 the next command (bug#17642).
5098
5099 2014-06-02 Leo Liu <sdl.web@gmail.com>
5100
5101 * emacs-lisp/gv.el (window-buffer, window-display-table)
5102 (window-dedicated-p, window-hscroll, window-point, window-start):
5103 Fix gv-expander. (Bug#17630)
5104
5105 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
5108 clicks (bug#17633).
5109
5110 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
5111 for the single comma, since ", " is *very* common in normal French text
5112 (bug#17643).
5113
5114 2014-06-02 Glenn Morris <rgm@gnu.org>
5115
5116 * emacs-lisp/package.el (package-check-signature)
5117 (package-unsigned-archives): Fix :version.
5118
5119 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5120
5121 * subr.el (sit-for): Don't run input-methods (bug#15614).
5122
5123 2014-06-02 Glenn Morris <rgm@gnu.org>
5124
5125 * cus-start.el: Fix some :version numbers.
5126
5127 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * simple.el (deactivate-mark): Set mark-active to nil even if
5130 deactivation is done via setting transient-mark-mode to nil,
5131 since one is buffer-local and the other is global.
5132
5133 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
5134 there can't be more than 2 arguments (bug#17584).
5135
5136 2014-06-02 Glenn Morris <rgm@gnu.org>
5137
5138 * simple.el (filter-buffer-substring-functions)
5139 (filter-buffer-substring-function, buffer-substring-filters)
5140 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
5141
5142 * minibuffer.el (completion-in-region-functions, completion-in-region)
5143 (completion--in-region): Doc fixes.
5144
5145 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
5146 (expand-abbrev, abbrev--default-expand): Doc fixes.
5147
5148 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
5149
5150 Include sources used to create macuvs.h.
5151 * international/README: Refer to the Unicode Terms of Use rather
5152 than copying it bodily here, as that simplifies maintenance.
5153
5154 2014-06-01 Glenn Morris <rgm@gnu.org>
5155
5156 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
5157
5158 2014-05-31 Glenn Morris <rgm@gnu.org>
5159
5160 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
5161
5162 2014-05-30 Glenn Morris <rgm@gnu.org>
5163
5164 * loadup.el: Treat `command-line-args' more flexibly.
5165
5166 2014-05-30 Alan Mackenzie <acm@muc.de>
5167
5168 Guard (looking-at "\\s!") from XEmacs.
5169 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
5170
5171 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
5172
5173 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
5174 The argument COUNT is now optional, to be more backward-compatible.
5175 Doc fix. (Bug#17560)
5176
5177 2014-05-29 Reuben Thomas <rrt@sc3d.org>
5178
5179 * whitespace.el (whitespace-report-region):
5180 Simplify documentation.
5181 (whitespace-report-region): Allow report-if-bogus to take the
5182 value `never', for non-interactive use.
5183 (whitespace-report): Refer to whitespace-report-region's
5184 documentation.
5185
5186 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5187
5188 * whitespace.el: Use font-lock-flush. Minimize refontifications.
5189 Side benefit: it works without jit-lock.
5190 (whitespace-point--used): New buffer-local var.
5191 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
5192 (whitespace-color-off): Use font-lock-flush.
5193 (whitespace-point--used, whitespace-point--flush-used): New functions.
5194 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5195 (whitespace-empty-at-eob-regexp): Use them.
5196 (whitespace-post-command-hook): Rewrite.
5197
5198 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
5199 (font-lock-fontify-buffer): Mark interactive-only.
5200 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5201 Make buffer-local.
5202 (font-lock-specified-p): Remove redundant boundp check.
5203 (font-lock-flush-function, font-lock-ensure-function): New vars.
5204 (font-lock-turn-on-thing-lock): Set them.
5205 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
5206 (font-lock-after-change-function): Make `old-len' optional.
5207 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
5208 Call font-lock-flush, just in case.
5209 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
5210 recent Emacsen.
5211 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
5212 (vera-mode-map, vera-mode-menu): Remove bindings to it.
5213 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
5214 and with-syntax-table.
5215 * textmodes/conf-mode.el (conf-quote-normal):
5216 * progmodes/sh-script.el (sh-set-shell):
5217 * progmodes/prog-mode.el (prettify-symbols-mode):
5218 * progmodes/f90.el (f90-font-lock-n):
5219 * progmodes/cwarn.el (cwarn-mode):
5220 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
5221 * progmodes/compile.el (compilation-setup, compilation--unsetup):
5222 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
5223 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
5224 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
5225 font-lock-fontify-buffer-function and
5226 font-lock-unfontify-buffer-function.
5227 (rmail-unfontify-buffer-function, rmail-fontify-message):
5228 Use with-silent-modifications.
5229 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
5230 and font-lock-ensure.
5231 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
5232
5233 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
5234
5235 * emacs-lisp/package.el (package-generate-autoloads):
5236 Inhibit backup files.
5237
5238 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
5241 (bug#17608).
5242
5243 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
5244
5245 * textmodes/tildify.el (tildify-buffer, tildify-region):
5246 Add dont-ask option.
5247
5248 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5249
5250 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
5251 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
5252
5253 * subr.el (internal--funcall-interactively): New.
5254 (internal--call-interactively): Remove.
5255 (called-interactively-p): Detect funcall-interactively instead of
5256 call-interactively.
5257 * simple.el (repeat-complex-command): Use funcall-interactively.
5258 (repeat-complex-command--called-interactively-skip): Remove.
5259
5260 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * register.el (register-read-with-preview): Don't burp on
5263 frame switches (e.g. due to the frame we just popped).
5264
5265 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
5266 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
5267
5268 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
5269
5270 * cus-face.el (custom-face-attributes): Add :distant-foreground.
5271
5272 2014-05-26 Martin Rudalics <rudalics@gmx.at>
5273
5274 * window.el (window--dump-frame): Remove interactive specification.
5275
5276 2014-05-26 Glenn Morris <rgm@gnu.org>
5277
5278 * hippie-exp.el (he-line-search-regexp):
5279 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
5280
5281 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5282
5283 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
5284 to avoid errors when trying to create or visit a file foo.todo
5285 located outside to todo-directory, and to allow having such files
5286 without them being tied to Todo mode (bug#17482).
5287 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
5288 (todo-archive-done-item, todo-find-filtered-items-file)
5289 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
5290 (todo-category-completions, todo-read-category): When visiting a
5291 Todo file, make sure we're in the right mode and the buffer local
5292 variables are set.
5293 (todo-make-categories-list, todo-reset-nondiary-marker)
5294 (todo-reset-done-string, todo-reset-comment-string):
5295 After processing all Todo files, kill the buffers of those files that
5296 weren't being visited before the processing.
5297 (todo-display-as-todo-file, todo-add-to-buffer-list)
5298 (todo-visit-files-commands): Comment out.
5299 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
5300 (auto-mode-alist): Remove add-to-list calls making Todo file
5301 extensions unrestrictedly tied to Todo modes.
5302
5303 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
5306 (advice-function-member-p): Tell it to check both names and functions
5307 (bug#17531).
5308 (advice--add-function): Adjust call accordingly.
5309
5310 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5311
5312 * calendar/todo-mode.el: Miscellaneous bug fixes.
5313 (todo-delete-file): When deleting an archive but not its todo
5314 file, make sure to update the todo file's category sexp.
5315 (todo-move-category): Keep the moved category's name unless the
5316 file moved to already has a category with that name. If the
5317 numerically last category of the source file was moved, make the
5318 first category current to avoid selecting a nonexisting category.
5319 (todo-merge-category): Fix implementation to make merging to a
5320 category in another file work as documented. Eliminate now
5321 insufficient and unnecessary renaming of archive category, correct
5322 document string accordingly, and clarify it. If the numerically
5323 last category of the source file was merged, make the first
5324 category current to avoid selecting a nonexisting category.
5325 (todo-archive-done-item): When there are marked items and point
5326 happens to be on an unmarked item, ignore the latter. Don't leave
5327 point below last item after archiving marked items.
5328 (todo-unarchive-items): Fix logic to ensure unarchiving an item
5329 from an archive with only one category deletes the archive only
5330 when the category is empty after unarchiving. Make sure the todo
5331 file's category sexp is updated.
5332 (todo-read-file-name): Allow an existing file name even when it is
5333 not required (todo-move-category needs this to work as documented).
5334 (todo-add-file): Call todo-validate-name to reject the name of an
5335 existing todo file (needed due to fix in todo-read-file-name).
5336 (todo-reset-nondiary-marker): Also reset in filtered items files.
5337 (todo-reset-done-string, todo-reset-comment-string): Also reset in
5338 regexp filtered items files.
5339 (todo-reset-highlight-item): Also reset in filtered items files.
5340 Fix incorrect variable reference in document string.
5341
5342 2014-05-26 Glenn Morris <rgm@gnu.org>
5343
5344 * window.el (window--dump-frame): Avoid error in --without-x builds.
5345
5346 2014-05-26 Glenn Morris <rgm@gnu.org>
5347
5348 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
5349
5350 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5351
5352 * frame.el (set-frame-font): Doc fix.
5353
5354 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
5355
5356 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
5357
5358 * emacs-lisp/package.el (package--download-one-archive):
5359 Use `write-region' instead of `save-buffer' to avoid running various
5360 hooks. (Bug#17155)
5361 (describe-package-1): Same. Insert newline at the end of the
5362 buffer if appropriate.
5363
5364 2014-05-26 Juri Linkov <juri@jurta.org>
5365
5366 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
5367 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
5368 Add more modifiers: meta, control, shift, hyper, super, alt.
5369 (Bug#17439)
5370
5371 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
5372 to allow changing its value with `set-variable'.
5373
5374 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
5377 #; comments.
5378 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
5379 New functions.
5380 (scheme-mode-variables): Set syntax-propertize-function instead of
5381 font-lock-syntactic-face-function.
5382 (scheme-font-lock-syntactic-face-function): Delete.
5383
5384 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
5385
5386 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
5387 (bug#17392).
5388
5389 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5390
5391 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
5392 for a temporary file name.
5393
5394 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5395
5396 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
5397
5398 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5399
5400 * net/dbus.el (dbus-init-bus, dbus-call-method)
5401 (dbus-call-method-asynchronously, dbus-send-signal)
5402 (dbus-method-return-internal, dbus-method-error-internal):
5403 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
5404
5405 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5406
5407 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
5408 methods which do not have a doc string. (Bug#17490)
5409
5410 2014-05-25 Tassilo Horn <tsdh@gnu.org>
5411
5412 * textmodes/reftex-ref.el (reftex-format-special): Make it work
5413 also for AMS Math's \eqref macro.
5414
5415 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5416
5417 Arrange to never byte-compile the generated -pkg.el file.
5418
5419 * emacs-lisp/package.el (package-generate-description-file):
5420 Output first-line comment to set buffer-local var `no-byte-compile'.
5421 Suggested by Dmitry Gutov:
5422 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
5423
5424 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5425
5426 Fix bug: Properly quote args to generated -pkg.el `define-package'.
5427
5428 * emacs-lisp/package.el (package-generate-description-file):
5429 Inline `package--alist-to-plist'; rewrite to selectively
5430 quote alist values that are not self-quoting.
5431 (package--alist-to-plist): Delete func.
5432
5433 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
5434
5435 * term/xterm.el (xterm-function-map): Add mapping for shifted
5436 keypad keys.
5437
5438 2014-05-24 Daniel Colascione <dancol@dancol.org>
5439
5440 * progmodes/subword.el (subword-find-word-boundary): Move point to
5441 correct spot before search. (Bug#17580)
5442
5443 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
5444 breaking the build.
5445
5446 2014-05-24 Leo Liu <sdl.web@gmail.com>
5447
5448 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
5449
5450 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * minibuffer.el (completion--sreverse): Remove.
5453 (completion--common-suffix): Use `reverse' instead.
5454 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
5455
5456 2014-05-22 Glenn Morris <rgm@gnu.org>
5457
5458 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
5459
5460 2014-05-21 Daniel Colascione <dancol@dancol.org>
5461
5462 * files.el (interpreter-mode-alist): Add mksh.
5463
5464 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
5465 derivative.
5466 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
5467 mksh. Improve custom spec; allow regular expressions.
5468 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
5469 (sh-after-hack-local-variables): New function.
5470 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
5471 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
5472 the normalization.
5473 (sh-canonicalize-shell): Rewrite to support regexes.
5474
5475 2014-05-21 Leo Liu <sdl.web@gmail.com>
5476
5477 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
5478
5479 2014-05-19 Leo Liu <sdl.web@gmail.com>
5480
5481 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
5482
5483 2014-05-18 Glenn Morris <rgm@gnu.org>
5484
5485 * loadup.el:
5486 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
5487
5488 2014-05-14 Sam Steingold <sds@gnu.org>
5489
5490 * progmodes/python.el (python-shell-get-or-create-process):
5491 Do not bind `current-prefix-arg' so that C-c C-z does not talk
5492 back unless requested.
5493
5494 2014-05-14 Glenn Morris <rgm@gnu.org>
5495
5496 * subr.el (with-file-modes): New macro.
5497 * printing.el (pr-save-file-modes): Make obsolete.
5498 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
5499 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5500 Add with-file-modes.
5501 * doc-view.el (doc-view-make-safe-dir):
5502 * epg.el (epg--start):
5503 * files.el (locate-user-emacs-file, make-temp-file)
5504 (backup-buffer-copy, move-file-to-trash):
5505 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
5506 * eshell/esh-util.el (eshell-with-private-file-modes)
5507 (eshell-make-private-directory):
5508 * net/browse-url.el (browse-url-mosaic):
5509 * obsolete/mailpost.el (post-mail-send-it):
5510 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
5511 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
5512 Use with-file-modes.
5513
5514 * vc/emerge.el (emerge-make-temp-file): Simplify.
5515
5516 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
5517 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
5520 suffix (bug#15419).
5521
5522 2014-05-14 Glenn Morris <rgm@gnu.org>
5523
5524 * vc/emerge.el (emerge-temp-file-prefix):
5525 Make pointless option obsolete.
5526 (emerge-temp-file-mode): Make non-functional option obsolete.
5527
5528 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
5529
5530 * net/browse-url.el (browse-url):
5531 Use `unhandled-file-name-directory' when setting `default-directory',
5532 in order to circumvent stalled remote connections. (Bug#17425)
5533
5534 2014-05-14 Glenn Morris <rgm@gnu.org>
5535
5536 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
5537 Optimize on Emacs, which has the relevant functions for ages.
5538
5539 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * simple.el (undo-make-selective-list): Obey undo-no-redo.
5542
5543 2014-05-12 Sam Steingold <sds@gnu.org>
5544
5545 * calendar/time-date.el (seconds-to-string): New function to
5546 pretty print time delay in seconds.
5547
5548 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 * mpc.el (mpc-format): Trim Date to the year.
5551 (mpc-songs-hashcons): Shorten the Date field.
5552
5553 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
5554 into autoloading just because of a silly indirection.
5555
5556 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
5557
5558 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
5559
5560 2014-05-12 Glenn Morris <rgm@gnu.org>
5561
5562 * emacs-lisp/find-gc.el: Move to ../admin.
5563
5564 * printing.el (pr-version):
5565 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
5566
5567 * net/browse-url.el (browse-url-mosaic):
5568 Create /tmp/Mosaic.PID as a private file.
5569
5570 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
5573 (advice--member-p): If name is given, only compare the name.
5574 (advice--remove-function): Don't stop at the first match.
5575 (advice--normalize-place): New function.
5576 (add-function, remove-function): Use it.
5577 (advice--add-function): Pass the name, if any, to
5578 advice--remove-function.
5579
5580 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
5581
5582 * electric.el (electric-indent-post-self-insert-function): Don't use
5583 `pos' after modifying the buffer (bug#17449).
5584
5585 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
5586
5587 * calendar/todo-mode.el (todo-insert-item-from-calendar):
5588 Correct argument list to conform to todo-insert-item--basic.
5589
5590 2014-05-12 Glenn Morris <rgm@gnu.org>
5591
5592 * files.el (cd-absolute): Test if directory is accessible
5593 rather than executable. (Bug#17330)
5594
5595 * progmodes/compile.el (recompile):
5596 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
5597
5598 * net/browse-url.el (browse-url-mosaic):
5599 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
5600 This is CVE-2014-3423.
5601
5602 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5603
5604 * mouse.el: Use the normal toplevel loop while dragging.
5605 (mouse-set-point): Handle multi-clicks.
5606 (mouse-set-region): Handle multi-clicks for drags.
5607 (mouse-drag-region): Update call accordingly.
5608 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
5609 Use the normal event loop instead of a local while/read-event loop.
5610 (global-map): Remove redundant bindings for double/triple-mouse-1.
5611 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
5612 Generate synthetic down events when the protocol only sends up events.
5613 (xterm-mouse-last): Remove.
5614 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
5615 terminal parameter instead.
5616 (xterm-mouse--set-click-count): New function.
5617 (xterm-mouse-event): Detect/generate double/triple clicks.
5618 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
5619
5620 * info.el (Info-quoted): New face.
5621 (Info-mode-font-lock-keywords): New var.
5622 (Info-mode): Use it.
5623
5624 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
5625 are a hindrance for C-x C-e.
5626
5627 2014-05-11 Leo Liu <sdl.web@gmail.com>
5628
5629 * net/rcirc.el (rcirc-sentinel): Fix last change.
5630
5631 2014-05-08 Sam Steingold <sds@gnu.org>
5632
5633 * net/rcirc.el (rcirc-reconnect-delay): New user option.
5634 (rcirc-sentinel): Auto-reconnect to the server if
5635 `rcirc-reconnect-delay' is non-0 (but not more often than its
5636 value in case the host is off-line).
5637
5638 2014-05-09 Eli Zaretskii <eliz@gnu.org>
5639
5640 * progmodes/grep.el (lgrep): Fix a typo in last commit.
5641
5642 2014-05-09 Glenn Morris <rgm@gnu.org>
5643
5644 * files.el (file-expand-wildcards):
5645 * man.el (Man-support-local-filenames):
5646 * printing.el (pr-i-directory, pr-interface-directory):
5647 * progmodes/grep.el (lgrep, rgrep):
5648 * textmodes/ispell.el (ispell-call-process)
5649 (ispell-call-process-region, ispell-start-process)
5650 (ispell-init-process): Use file-accessible-directory-p.
5651
5652 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
5655 (xterm-mouse--read-event-sequence-1000): Return nil if something
5656 looks fishy.
5657 (xterm-mouse-event): Propagate it.
5658 (xterm-mouse-translate-1): Handle it.
5659
5660 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
5661
5662 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
5663 four slots of the parameter list are filled, make sure to pass it
5664 to the argument list of todo-insert-item--basic.
5665
5666 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
5669 Add optional `seen' argument to detect and break infinite loops.
5670
5671 2014-05-08 Eli Zaretskii <eliz@gnu.org>
5672
5673 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
5674 (trace-unsafe, trace-use-tree): Make parentheses style be
5675 according to Emacs style.
5676
5677 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
5678
5679 * net/tramp-sh.el (tramp-remote-process-environment):
5680 Remove HISTFILE and HISTSIZE; it's too late to set them here.
5681 Add :version entry.
5682 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
5683 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
5684 extra "PSx=..." commands.
5685 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
5686 (Bug#17295)
5687
5688 (tramp-uudecode): Replace the hard-coded temporary file name by a
5689 format specifier.
5690 (tramp-remote-coding-commands): Enhance docstring.
5691 (tramp-find-inline-encoding): Replace "%t" by a temporary file
5692 name. (Bug#17415)
5693 This is CVE-2014-3424.
5694
5695 2014-05-08 Glenn Morris <rgm@gnu.org>
5696
5697 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
5698 (find-gc-source-files): Update some names.
5699 (trace-call-tree): Simplify and update.
5700 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
5701 This is CVE-2014-3422.
5702
5703 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5704
5705 * minibuffer.el (completion--try-word-completion): Revert fix for
5706 Bug#15980 (bug#17375).
5707
5708 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
5709 Always store button numbers in the same way in xterm-mouse-last;
5710 Don't burp is xterm-mouse-last is not set as expected.
5711 Never return negative indices.
5712
5713 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
5714
5715 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5716 Backtrack one char if the global/char-literal var matcher hits
5717 inside a string. The next char could be the beginning of an
5718 expression expansion.
5719
5720 2014-05-08 Glenn Morris <rgm@gnu.org>
5721
5722 * help-fns.el (describe-function-1): Test for an autoload before a
5723 macro, since `macrop' works on autoloads. (Bug#17410)
5724
5725 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * electric.el (electric-indent-functions-without-reindent): Add yaml.
5728
5729 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
5730 Make sure the new point we return is within the new string (bug#17239).
5731
5732 2014-05-05 Daniel Colascione <dancol@dancol.org>
5733
5734 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5735 Port `gnu' pattern to rx.
5736
5737 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
5738
5739 Remove unneeded prompt when closing a buffer with active
5740 emacsclient ("Buffer ... still has clients"), #16548.
5741 * server.el (server-start): Remove the only call to:
5742 (server-kill-buffer-query-function): Remove.
5743
5744 2014-05-04 Leo Liu <sdl.web@gmail.com>
5745
5746 * calendar/diary-lib.el (calendar-chinese-month-name-array):
5747 Defvar to pacify compiler.
5748
5749 2014-05-04 Eli Zaretskii <eliz@gnu.org>
5750
5751 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
5752
5753 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
5756 Use nil rather than `default' for the "default" appearance (bug#17388).
5757 * vc/ediff-util.el (ediff-inferior-compare-regions)
5758 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
5759 a misleading `default' value when it's really a boolean.
5760 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
5761 overlay is not visible.
5762
5763 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
5764
5765 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
5766 (todo-menu): Uncomment and update.
5767
5768 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
5769
5770 * calendar/todo-mode.el: Reimplement item editing to have the same
5771 basic user interface as item insertion, and make small UI and
5772 larger internal improvements to the latter.
5773 (todo-insert-item): Add reference to the Todo mode user manual to
5774 the documentation string.
5775 (todo-insert-item--basic): Rename from todo-basic-insert-item and
5776 adjust all callers. Change signature to combine diary and
5777 nonmarking arguments. Incorporate functionality of deleted item
5778 copying command and add error checking. Remove detailed
5779 descriptions of the arguments from the documentation string, since
5780 this is treated in the Todo mode user manual.
5781 (todo-copy-item, todo-edit-multiline-item)
5782 (todo-edit-done-item-comment, todo-edit-item-header)
5783 (todo-edit-item-time, todo-edit-item-date-from-calendar)
5784 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
5785 (todo-edit-item-date-year, todo-edit-item-date-month)
5786 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
5787 Remove.
5788 (todo-edit-item): Reimplement as wrapper command for
5789 todo-edit-item--next-key and make it distinguish done and not done
5790 todo items.
5791 (todo-edit-item--text): New function, replacing old command
5792 todo-edit-item and incorporating deleted commands
5793 todo-edit-multiline-item and todo-edit-done-item-comment.
5794 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
5795 Use only numeric value of prefix argument. Remove detailed
5796 descriptions of the arguments from the documentation string, since
5797 this is treated in the Todo mode user manual.
5798 (todo-edit-item--diary-inclusion): New function, replacing old
5799 command todo-edit-item-diary-inclusion and incorporating and fixing
5800 functionality of deleted command todo-edit-item-diary-nonmarking,
5801 making sure to remove todo-nondiary-marker when adding
5802 diary-nonmarking-symbol.
5803 (todo-edit-category-diary-inclusion): Make sure to delete
5804 diary-nonmarking-symbol when adding todo-nondiary-marker.
5805 (todo-edit-category-diary-nonmarking): Fix indentation.
5806 (todo-insert-item--parameters): Group diary and nonmarking
5807 parameters together.
5808 (todo-insert-item--apply-args): Adjust to signature of
5809 todo-insert-item--basic and incorporate copy parameter.
5810 Make small code improvements.
5811 (todo-insert-item--next-param): Improve prompt and adjust it to
5812 new parameter grouping. Remove obsolete code.
5813 (todo-edit-item--param-key-alist)
5814 (todo-edit-item--date-param-key-alist)
5815 (todo-edit-done-item--param-key-alist): New defconsts.
5816 (todo-edit-item--prompt): New variable.
5817 (todo-edit-item--next-key): New function.
5818 (todo-key-bindings-t): Bind "e" to todo-edit-item.
5819 Remove bindings of deleted commands.
5820
5821 2014-05-04 Leo Liu <sdl.web@gmail.com>
5822
5823 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
5824
5825 2014-05-04 Glenn Morris <rgm@gnu.org>
5826
5827 * allout-widgets.el (allout-widgets-tally)
5828 (allout-decorate-item-guides):
5829 * menu-bar.el (menu-bar-positive-p):
5830 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5831 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
5832 * progmodes/js.el (js--inside-param-list-p)
5833 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
5834 * progmodes/prolog.el (region-exists-p):
5835 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
5836 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
5837 Doc fixes (replace `iff').
5838
5839 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
5842
5843 2014-05-04 Leo Liu <sdl.web@gmail.com>
5844
5845 Support Chinese diary entries in calendar and diary. (Bug#17393)
5846 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
5847 (calendar-chinese-from-absolute-for-diary)
5848 (calendar-chinese-to-absolute-for-diary)
5849 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
5850 (diary-chinese-list-entries): New functions to list and mark
5851 Chinese diary entries in the calendar window.
5852 (diary-chinese-anniversary)
5853 (diary-chinese-insert-anniversary-entry)
5854 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
5855 (diary-chinese-insert-yearly-entry): New commands to insert
5856 Chinese diary entries.
5857
5858 * calendar/diary-lib.el (diary-font-lock-keywords):
5859 Support font-locking Chinese dates.
5860
5861 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
5862 inserting Chinese diary entries.
5863
5864 * calendar/calendar.el (diary-chinese-entry-symbol):
5865 New customizable variable.
5866 (calendar-mode-map): Add bindings for inserting Chinese diary
5867 entries.
5868
5869 2014-05-03 Juri Linkov <juri@jurta.org>
5870
5871 * dired.el (dired-check-switches, dired-switches-recursive-p):
5872 New functions. (Bug#17218)
5873 (dired-switches-escape-p, dired-move-to-end-of-filename):
5874 Use `dired-check-switches'.
5875 (dired-insert-old-subdirs, dired-build-subdir-alist)
5876 (dired-sort-R-check): Use `dired-switches-recursive-p'.
5877
5878 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
5879
5880 * simple.el (undo-make-selective-list): New algorithm fixes
5881 incorrectness of position adjustments when undoing in region.
5882 (Bug#17235)
5883 (undo-elt-crosses-region): Make obsolete.
5884 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
5885 New functions to adjust positions using undo-deltas.
5886
5887 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
5890 the last consecutive closing paren (bug#17345).
5891
5892 2014-04-30 Reuben Thomas <rrt@sc3d.org>
5893
5894 * dired.el (dired-mode): make terminology for eXpunge command
5895 consistent. (Bug#17276)
5896
5897 2014-04-30 Eli Zaretskii <eliz@gnu.org>
5898
5899 * dired.el (dired-initial-position-hook, dired-initial-position):
5900 Doc string fixes.
5901
5902 2014-04-30 Glenn Morris <rgm@gnu.org>
5903
5904 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
5905
5906 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
5907
5908 * faces.el (face-spec-recalc): Apply X resources only after the
5909 defface spec has been applied. Thus, X resources are no longer
5910 overriden by the defface spec which also fixes issues on win32 where
5911 the toolbar coloring was wrong because it is set through X resources
5912 and was (wrongfully) overriden. (Bug#16694)
5913
5914 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
5915
5916 * textmodes/rst.el (electric-pair-pairs): Declare.
5917 (rst-mode): Set it (bug#17131).
5918
5919 2014-04-30 Juri Linkov <juri@jurta.org>
5920
5921 * desktop.el (desktop-value-to-string): Let-bind `print-length'
5922 and `print-level' to nil. (Bug#17351)
5923
5924 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5925
5926 * battery.el (battery-update): Handle the case where battery
5927 status is "N/A" (bug#17319).
5928
5929 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
5932 to syntax-propertize.
5933 (ps-mode-auto-indent): Mark as obsolete.
5934 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
5935 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
5936 word regexp operators.
5937 (ps-mode-map): Move initialization into declaration. Remove binding
5938 for TAB, RET, >, ], and }.
5939 (ps-mode-syntax-table): Move initialization into declaration.
5940 Don't give word syntax to non-word chars.
5941 (ps-run-mode-map): Move initialization into declaration.
5942 (ps-mode-menu-main): Remove auto-indent entry.
5943 (ps-mode-smie-rules): New function.
5944 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
5945 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
5946 (ps-mode--string-syntax-table): New const.
5947 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
5948 New functions.
5949 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
5950 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
5951
5952 2014-04-27 Daniel Colascione <dancol@dancol.org>
5953
5954 * term/xterm.el (xterm-paste): Use large finite timeout when
5955 reading event to avoid putting keys in this-command-keys.
5956
5957 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
5960 (perl-syntax-propertize-function): Use it. Extend handling of
5961 here-docs to the unquoted case.
5962
5963 2014-04-25 Eli Zaretskii <eliz@gnu.org>
5964
5965 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
5966 Use equal-including-properties to compare help-echo strings (bug#17331).
5967
5968 2014-04-25 Leo Liu <sdl.web@gmail.com>
5969
5970 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5971 Fix syntax for @. (Bug#17325)
5972
5973 2014-04-25 Daniel Colascione <dancol@dancol.org>
5974
5975 * emacs-lisp/cl.el (gv): Require gv early to break eager
5976 macro-expansion cycles.
5977
5978 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5979
5980 * simple.el (region-active-p): Check there's a mark (bug#17324).
5981
5982 * simple.el (completion-list-mode-map): Use choose-completion for the
5983 mouse binding as well (bug#17302).
5984 (completion-list-mode, completion-setup-function): Adjust docstring and
5985 echo area message accordingly.
5986 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
5987 calling convention of choose-completion.
5988 * comint.el (comint-dynamic-list-completions):
5989 * term.el (term-dynamic-list-completions): Accept choose-completion.
5990
5991 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
5992 &, |, +, - and * can't be a division (bug#17317).
5993
5994 * term/xterm.el (xterm--version-handler): Don't use modern xterm
5995 features on gnome-terminal (bug#16988).
5996
5997 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
5998
5999 Improve Scheme font-locking for (define ((foo ...) ...) ...).
6000
6001 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
6002 the declared object, ignore zero or more parens, not zero or one.
6003
6004 2014-04-24 Leo Liu <sdl.web@gmail.com>
6005
6006 * progmodes/xscheme.el (xscheme-expressions-ring)
6007 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
6008 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
6009 (xscheme-allow-output-p, xscheme-prompt)
6010 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
6011
6012 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
6013 Comment out unused functions.
6014
6015 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 * info.el: Use lexical-binding and cl-lib.
6018 Use defvar-local and setq-local instead of make-local-variable.
6019 (Info-apropos-matches): Avoid add-to-list.
6020 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
6021
6022 2014-04-24 Daniel Colascione <dancol@dancol.org>
6023
6024 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
6025
6026 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
6029
6030 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
6031
6032 * dired.el (dired-insert-set-properties): Do not consider
6033 subdirectory headings and empty lines to be information that
6034 `dired-hide-details-mode' should hide. (Bug#17228)
6035
6036 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6037
6038 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6039 Remove test messages.
6040 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
6041 and `target' twice.
6042
6043 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
6046 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
6047
6048 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
6049
6050 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6051
6052 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6053 Set "IFS=" when using read builtin, in order to preserve spaces in
6054 the file name. Add test messages for hunting a bug on hydra.
6055 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
6056
6057 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6058
6059 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
6060 Don't prettify a word within a symbol.
6061
6062 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6063
6064 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
6065 possible.
6066
6067 2014-04-22 Daniel Colascione <dancol@dancol.org>
6068
6069 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
6070 use defun to define `function-put'.
6071
6072 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
6075 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
6076 (lisp-mode-variables): Set font-lock-extra-managed-props.
6077
6078 * emacs-lisp/byte-run.el (function-put): New function.
6079 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
6080 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
6081 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
6082 Use them.
6083
6084 2014-04-22 Daniel Colascione <dancol@dancol.org>
6085
6086 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
6087 Add `full-p' parameter; when nil, call `macroexpand' instead of
6088 `macroexpand-all'.
6089
6090 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
6091 Improve docstrings.
6092
6093 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6094 Use lambda function values, not quoted lambdas.
6095 (byte-compile-recurse-toplevel): Remove extraneous &optional.
6096
6097 * emacs-lisp/cl-macs.el
6098 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
6099 (cl-struct-slot-value): Conditionally use aref or nth so that the
6100 compiler produces optimal code.
6101
6102 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6103
6104 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
6105 (inline): Don't inline cl--set-elt.
6106 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
6107 Define as inlinable instead.
6108 (cl-struct-set-slot-value): Remove.
6109
6110 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
6111 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
6112 Use setf instead.
6113
6114 2014-04-21 Daniel Colascione <dancol@dancol.org>
6115
6116 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
6117 last two parameters after all.
6118 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
6119 (cl--compiler-macro-assoc,cl-struct-slot-value)
6120 (cl-struct-set-slot-value): Stop using them.
6121
6122 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6123
6124 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
6125 entry in image-mode-winprops-alist.
6126
6127 2014-04-21 Daniel Colascione <dancol@dancol.org>
6128
6129 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
6130 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
6131 (byte-compile-toplevel-file-form): Use it.
6132
6133 * emacs-lisp/cl-macs.el:
6134 (cl--loop-let): Properly destructure `while' clauses.
6135
6136 2014-04-20 Daniel Colascione <dancol@dancol.org>
6137
6138 * vc/vc.el (vc-root-dir): New public autoloaded function for
6139 generically finding the current VC root.
6140 * vc/vc-hooks.el (vc-not-supported): New error.
6141 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
6142
6143 2014-04-20 Daniel Colascione <dancol@dancol.org>
6144
6145 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
6146 argument.
6147 (cl--const-expr-val): cl--const-expr-val should macroexpand its
6148 argument in case we're inside a symbol-macrolet.
6149 (cl--do-arglist, cl--compiler-macro-typep)
6150 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
6151 environment to `cl--const-expr-val'.
6152 (cl-struct-sequence-type,cl-struct-slot-info)
6153 (cl-struct-slot-offset, cl-struct-slot-value)
6154 (cl-struct-set-slot-value): New functions.
6155
6156 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
6159 assignments such as "case=hello" (bug#17297).
6160
6161 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
6162
6163 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
6164 Do not autoload.
6165 (tramp-file-name-handler, tramp-completion-file-name-handler):
6166 Revert patch from 2014-04-10, it isn't necessary anymore.
6167 (tramp-autoload-file-name-handler)
6168 (tramp-register-autoload-file-name-handlers): New defuns.
6169 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
6170 (tramp-register-file-name-handlers): Remove also
6171 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
6172 Do not autoload its invocation, but eval it after loading of 'tramp.
6173
6174 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
6175
6176 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
6177
6178 2014-04-17 Daniel Colascione <dancol@dancol.org>
6179
6180 Add support for bracketed paste mode; add infrastructure for
6181 managing terminal mode enabling and disabling automatically.
6182
6183 * xt-mouse.el:
6184 (xterm-mouse-mode): Simplify.
6185 (xterm-mouse-tracking-enable-sequence)
6186 (xterm-mouse-tracking-disable-sequence): New constants.
6187 (turn-on-xterm-mouse-tracking-on-terminal)
6188 (turn-off-xterm-mouse-tracking-on-terminal):
6189 Use tty-mode-set-strings and tty-mode-reset-strings terminal
6190 parameters instead of random hooks.
6191 (turn-on-xterm-mouse-tracking)
6192 (turn-off-xterm-mouse-tracking): Delete.
6193
6194 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
6195 (xterm-paste-ending-sequence): New constant.
6196 (xterm-paste): New command used for bracketed paste support.
6197
6198 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
6199 (terminal-init-xterm-bracketed-paste-mode): New function.
6200 (terminal-init-xterm): Call it.
6201 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
6202 and tty-mode-reset-strings instead of random hooks.
6203 (xterm-turn-on-modify-other-keys)
6204 (xterm-turn-off-modify-other-keys)
6205 (xterm-remove-modify-other-keys): Delete obsolete functions.
6206
6207 * term/screen.el: Rewrite to just use the xterm code.
6208 Add copyright notice. Mention tmux.
6209
6210 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
6211
6212 * image-mode.el (image-mode-window-put): Also update the property of
6213 the "default window".
6214 * doc-view.el (doc-view-new-window-function): If no window
6215 exists, move to the last known page.
6216
6217 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6218
6219 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
6220 here-documents (bug#17262).
6221
6222 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6223
6224 * term/pc-win.el (x-list-fonts, x-get-selection-value):
6225 Provide doc strings, as required by snarf-documentation.
6226
6227 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
6230 arg of overlays-at. Use `invisible-p'.
6231
6232 * obsolete/lucid.el (extent-at):
6233 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
6234 overlays-at.
6235 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
6236
6237 2014-04-16 João Távora <joaotavora@gmail.com>
6238
6239 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
6240 links. (Bug#17217).
6241
6242 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6243
6244 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6245 Use mapc to loop over a vector. (Bug#17257).
6246
6247 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
6248
6249 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
6250 patch, there are new problems with file names containing spaces.
6251 Get rid of backticks. (Bug#17238)
6252
6253 2014-04-16 João Távora <joaotavora@gmail.com>
6254
6255 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
6256 possible bug.
6257
6258 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6259
6260 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
6261 (blink-cursor-mode): Mention customization variables and the
6262 effect of 'blink-cursor-blinks'.
6263
6264 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
6265
6266 * simple.el (undo): Prevent insertion of identity mapping into
6267 undo-equiv-table so as undo-only does not inf loop in the presence
6268 of consecutive nils in undo list.
6269
6270 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
6271
6272 * faces.el (make-face): Deprecate optional argument as it is no
6273 longer needed/used since the conditional X resources handling
6274 has been pushed down to make-face-x-resource-internal itself.
6275 (make-empty-face): Don't pass optional argument to make-face.
6276
6277 2014-04-16 Karl Fogel <kfogel@red-bean.com>
6278
6279 * savehist.el (savehist-save): Remove workaround for a read-passwd
6280 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
6281 noticing that the shim was still present.
6282
6283 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
6286
6287 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
6288
6289 * faces.el (face-set-after-frame-default): Remove unused local variable.
6290
6291 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * progmodes/grep.el: Use lexical-binding.
6294 (grep-expand-template): Pass explicit lexical env to `eval'.
6295 (zrgrep): Let-bind grep-find-template explicitly.
6296
6297 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
6298 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
6299
6300 2014-04-12 Eli Zaretskii <eliz@gnu.org>
6301
6302 * international/characters.el <standard-case-table>: Add entries
6303 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
6304 Set category of Coptic characters be 'g' (Greek).
6305
6306 2014-04-12 Leo Liu <sdl.web@gmail.com>
6307
6308 * progmodes/octave.el (completion-table-with-cache):
6309 Define if not available.
6310 (octave-goto-function-definition, octave-sync-function-file-names)
6311 (octave-find-definition-default-filename):
6312 Backquote upattern for compatibility.
6313
6314 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
6315
6316 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
6317 name twice due to backticks. (Bug#17238)
6318
6319 2014-04-12 Glenn Morris <rgm@gnu.org>
6320
6321 * term/w32-win.el (x-win-suspend-error):
6322 * term/x-win.el (x-win-suspend-error): Sync docs.
6323
6324 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
6325
6326 * faces.el (make-face): Remove deprecated optional argument.
6327 The conditional application of X resources is handled directly by
6328 make-face-x-resource-internal since Emacs 24.4.
6329 (make-empty-face): Don't pass optional argument to make-face.
6330
6331 2014-04-11 Glenn Morris <rgm@gnu.org>
6332
6333 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
6334
6335 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 Ediff's overlay priorities cause more trouble than they solve.
6338 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
6339 (ediff-highest-priority): Remove function (bug#17234).
6340 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
6341 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
6342 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
6343 overlay priorities.
6344
6345 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
6346
6347 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
6348 entry; use symbol boundaries to avoid mis-matches.
6349
6350 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
6351
6352 * net/tramp.el (tramp-file-name-handler)
6353 (tramp-completion-file-name-handler): Avoid recursive loading.
6354
6355 * net/tramp-sh.el (tramp-make-copy-program-file-name):
6356 Quote result also locally.
6357
6358 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
6361 Remove left-over code.
6362
6363 * newcomment.el (comment-indent-new-line): Sink code where it's used.
6364 Reuse the previous comment's indentation unconditionally if it's on its
6365 own line.
6366
6367 2014-04-09 Daniel Colascione <dancol@dancol.org>
6368
6369 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
6370 `no-syntax-crossing' arguments. Forward to `up-list'.
6371 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
6372 Implement logic for escaping from strings. Use narrowing to deal
6373 with corner cases.
6374
6375 2014-04-09 Leo Liu <sdl.web@gmail.com>
6376
6377 * net/rcirc.el (rcirc-connection-info): New variable.
6378 (rcirc-connect): Use it to store connection info.
6379 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
6380 for killed process.
6381 (rcirc-cmd-reconnect): New command. (Bug#17045)
6382 (rcirc-mode, set-rcirc-encode-coding-system)
6383 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
6384
6385 2014-04-09 Daniel Colascione <dancol@dancol.org>
6386
6387 * emacs-lisp/cl-indent.el: Add comment claiming
6388 facility is also good for elisp.
6389 (lisp-indent-find-method): New function.
6390 (common-lisp-indent-function): Recognize cl-loop.
6391 (common-lisp-indent-function-1): Recognize cl constructs; use
6392 `lisp-indent-find-method' instead of `get' directly.
6393 (if): Use else-body style for elisp.
6394
6395 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
6396
6397 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6398 Module methods. (Bug#17216)
6399
6400 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * help.el (describe-bindings): Fix buffer handling (bug#17210).
6403 (describe-bindings-internal): Mark obsolete.
6404
6405 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6406
6407 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
6408 buffer-file-name, and buffer-file-truename any more.
6409
6410 2014-04-08 Leo Liu <sdl.web@gmail.com>
6411
6412 Use lexical-binding and require cl-lib.
6413 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
6414 (rcirc-handler-generic, rcirc-fill-paragraph)
6415 (rcirc-format-response-string, rcirc-target-buffer)
6416 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
6417 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
6418 (rcirc-ctcp-sender-PING, rcirc-browse-url)
6419 (rcirc-markup-timestamp, rcirc-markup-attributes)
6420 (rcirc-markup-my-nick, rcirc-markup-urls)
6421 (rcirc-markup-bright-nicks, rcirc-markup-fill)
6422 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
6423 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
6424 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
6425 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
6426 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
6427 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
6428 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
6429 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
6430 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
6431 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
6432 use cl-lib.
6433
6434 2014-04-07 João Távora <joaotavora@gmail.com>
6435
6436 * elec-pair.el (electric-pair--syntax-ppss):
6437 When inside comments parse from comment beginning.
6438 (electric-pair--balance-info): Fix typo in comment.
6439 (electric-pair--in-unterminated-string-p): Delete.
6440 (electric-pair--unbalanced-strings-p): New function.
6441 (electric-pair-string-bound-function): New var.
6442 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6443 according to `electric-pair--in-unterminated-string-p'
6444
6445 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6446 Inhibit quote pairing if point-max is inside an unterminated string.
6447 (electric-pair--looking-at-unterminated-string-p): Delete.
6448 (electric-pair--in-unterminated-string-p): New function.
6449
6450 2014-04-07 Glenn Morris <rgm@gnu.org>
6451
6452 * shell.el (shell-directory-tracker):
6453 Go back to just ignoring failures. (Bug#17159)
6454
6455 2014-04-07 João Távora <joaotavora@gmail.com>
6456
6457 Fix `electric-pair-delete-adjacent-pairs' in modes binding
6458 backspace. (bug#16981)
6459 * elec-pair.el (electric-pair-backward-delete-char): Delete.
6460 (electric-pair-backward-delete-char-untabify): Delete.
6461 (electric-pair-mode-map): Bind backspace to a menu item filtering
6462 a new `electric-pair-delete-pair' command.
6463 (electric-pair-delete-pair): New command.
6464
6465 * progmodes/python.el (python-electric-pair-string-delimiter):
6466 Fix triple-quoting electricity. (Bug#17192)
6467
6468 * elec-pair.el (electric-pair-post-self-insert-function):
6469 Don't skip whitespace when `electric-pair-text-pairs' and
6470 `electric-pair-pairs' were used. syntax to
6471 electric-pair--skip-whitespace. (Bug#17183)
6472
6473 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6474
6475 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
6476 "<F>". (Bug#17199)
6477
6478 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
6481 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
6482
6483 2014-04-07 Glenn Morris <rgm@gnu.org>
6484
6485 * help.el (view-lossage): Doc tweak.
6486
6487 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
6488
6489 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
6490 only when inhibit-x-resources is nil, and do that earlier in the
6491 function. Doc fix. (Bug#16694)
6492 (face-spec-choose): Accept additional optional argument, whose
6493 value is returned if no matching attributes are found.
6494 (face-spec-recalc): Use the new optional argument when calling
6495 face-spec-choose. (Bug#16378)
6496 (make-face-x-resource-internal): Do nothing when
6497 inhibit-x-resources is non-nil. Don't touch the default face if
6498 reversed video is given--as was done in previous versions of Emacs.
6499 (face-set-after-frame-default): Don't call
6500 make-face-x-resource-internal here. (Bug#16434)
6501
6502 2014-04-07 Tassilo Horn <tsdh@gnu.org>
6503
6504 * doc-view.el (doc-view-bookmark-jump):
6505 Use `bookmark-after-jump-hook' to jump to the right page after the
6506 buffer is shown in a window. (bug#16090)
6507
6508 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6509
6510 * international/characters.el (mirroring): Fix last change:
6511 instead of loading uni-mirrored.el explicitly, do that implicitly
6512 by creating the 'mirroring' uniprop table. This avoids announcing
6513 the loading of uni-mirrored.el.
6514
6515 2014-04-07 Glenn Morris <rgm@gnu.org>
6516
6517 * files.el (buffer-stale--default-function)
6518 (buffer-stale-function, revert-buffer--default):
6519 * autorevert.el (auto-revert-buffers): Doc tweaks.
6520
6521 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6522
6523 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
6524
6525 2014-04-07 Glenn Morris <rgm@gnu.org>
6526
6527 * files.el (make-backup-file-name-function)
6528 (make-backup-file-name, make-backup-file-name--default-function)
6529 (make-backup-file-name-1, find-backup-file-name)
6530 (revert-buffer-function, revert-buffer-insert-file-contents-function)
6531 (buffer-stale--default-function, buffer-stale-function)
6532 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
6533 (revert-buffer, revert-buffer--default)
6534 (revert-buffer-insert-file-contents--default-function):
6535 Doc fixes related to defaults no longer being nil.
6536 (make-backup-file-name-function): Bump :version.
6537 Restore nil as a valid but deprecated custom type.
6538
6539 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6542 Handle $' used as a variable (bug#17174).
6543
6544 * progmodes/perl-mode.el (perl-indent-new-calculate):
6545 Handle forward-sexp failure (bug#16985).
6546 (perl-syntax-propertize-function): Add "foreach" and "for" statement
6547 modifiers introducing expressions (bug#17116).
6548
6549 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
6552
6553 2014-04-05 Leo Liu <sdl.web@gmail.com>
6554
6555 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6556 Add define-compilation-mode.
6557
6558 2014-04-04 João Távora <joaotavora@gmail.com>
6559
6560 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
6561 parse from comment beginning.
6562 (electric-pair--balance-info): Fix typo in comment.
6563 (electric-pair--in-unterminated-string-p): Delete.
6564 (electric-pair--unbalanced-strings-p): New function.
6565 (electric-pair-string-bound-function): New var.
6566 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6567 according to `electric-pair--in-unterminated-string-p'.
6568
6569 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6570
6571 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
6572 Move declaration before first use.
6573 (reftex-move-to-next-arg): Silence compiler warning.
6574
6575 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
6576
6577 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
6578 Use `window-total-width' instead of `window-width'.
6579
6580 2014-04-03 Daniel Colascione <dancol@dancol.org>
6581
6582 * subr.el (set-transient-map): Remove rms's workaround entirely;
6583 use new `suspicious-object' subr to mark our lambda for closer
6584 scrutiny during gc.
6585
6586 2014-04-02 Richard Stallman <rms@gnu.org>
6587
6588 * subr.el (set-transient-map): Comment out previous change.
6589
6590 2014-04-02 Glenn Morris <rgm@gnu.org>
6591
6592 * menu-bar.el (menu-bar-file-menu):
6593 * vc/ediff.el (ediff-current-file):
6594 Update for revert-buffer-function no longer being nil by default.
6595
6596 * simple.el (command-execute): Respect nil disabled-command-function.
6597
6598 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6599
6600 * simple.el (command-execute): Do not execute the command when it
6601 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
6602
6603 2014-04-02 Juri Linkov <juri@jurta.org>
6604
6605 * dired-aux.el (dired-compress-file): Don't use string-match-p
6606 because its match data is used afterwards.
6607
6608 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
6611 0 like nil.
6612
6613 2014-04-02 João Távora <joaotavora@gmail.com>
6614
6615 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6616 Inhibit quote pairing if point-max is inside an unterminated string.
6617 (electric-pair--looking-at-unterminated-string-p):
6618 Delete.
6619 (electric-pair--in-unterminated-string-p): New function.
6620
6621 2014-04-01 Daniel Colascione <dancol@dancol.org>
6622
6623 * minibuffer.el (minibuffer-complete): Prevent assertion failure
6624 when trying to complete the prompt.
6625
6626 2014-03-31 Leo Liu <sdl.web@gmail.com>
6627
6628 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6629 Refactor out eldoc-documentation-function-default.
6630 (eldoc-documentation-function-default): New function.
6631 (eldoc-documentation-function): Change value.
6632
6633 2014-03-31 Glenn Morris <rgm@gnu.org>
6634
6635 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
6636
6637 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
6638 (vhdl-compose-components-package, vhdl-compose-configuration):
6639 Abbreviate default-directory (missing from some previous upstream sync).
6640
6641 2014-03-31 Reto Zimmermann <reto@gnu.org>
6642
6643 Sync with upstream vhdl mode v3.35.2.
6644 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6645 (top-level): No longer require assoc.
6646 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
6647 New functions. Use throughout to replace aget etc.
6648 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
6649 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
6650 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
6651 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
6652 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
6653 except `vhdl-compiler'.
6654 (vhdl-error-regexp-add-emacs): Remove all other compilers,
6655 when appropriate.
6656
6657 2014-03-31 Glenn Morris <rgm@gnu.org>
6658
6659 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
6660 Revert 2014-03-26 merge goof; go back to using defalias.
6661
6662 2014-03-30 Daniel Colascione <dancol@dancol.org>
6663
6664 * comint.el (comint-send-input):
6665 Deactivate completion-in-region-mode before we send comint input.
6666 (Bug#17139).
6667
6668 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
6669 on keyboard-quit.
6670
6671 2014-03-29 Glenn Morris <rgm@gnu.org>
6672
6673 * textmodes/reftex.el: Manage most autoloads automatically.
6674 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
6675 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
6676 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
6677 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
6678 * textmodes/reftex-toc.el: Set generated-autoload-file,
6679 and add autoload cookies for reftex.el.
6680 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
6681
6682 2014-03-28 Glenn Morris <rgm@gnu.org>
6683
6684 * cus-start.el (report-emacs-bug-address): Set custom properties.
6685 * mail/emacsbug.el (report-emacs-bug-address):
6686 Variable is now defined in emacs.c.
6687
6688 * mail/emacsbug.el (report-emacs-bug):
6689 Include system-configuration-features.
6690
6691 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
6692
6693 * simple.el (cycle-spacing): Never delete spaces on first run by
6694 default, but do so in a new 'fast mode and if there are already
6695 N spaces (the previous behavior).
6696 Compare N with its value in previous invocation so that changing
6697 prefix argument restarts `cycle-spacing' sequence.
6698 The idea is that with this change, binding M-SPC to
6699 `cycle-spacing' should not introduce any changes in behavior of
6700 the binding so long as users do not type M-SPC twice in a raw with
6701 the same prefix argument or lack thereof.
6702
6703 2014-03-28 Glenn Morris <rgm@gnu.org>
6704
6705 * faces.el (term-file-aliases): New variable.
6706 (tty-run-terminal-initialization): Respect term-file-aliases.
6707 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
6708 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
6709 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
6710
6711 2014-03-27 Glenn Morris <rgm@gnu.org>
6712
6713 * startup.el (inhibit-startup-hooks): Doc tweak.
6714 (normal-top-level): Simplify running of hooks.
6715 For window-setup-hook, respect inhibit-startup-hooks.
6716 (command-line-1): Don't set window-setup-hook to nil.
6717
6718 Allow selective autoloading from obsolete/ directory.
6719 * Makefile.in (obsolete-autoloads): New rule.
6720 (autoloads): Run obsolete-autoloads.
6721 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
6722 * simple.el (iswitchb-mode): Remove hand-written autoloads.
6723
6724 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
6725
6726 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6727 Highlight special globals with font-lock-builtin-face. (Bug#17057)
6728
6729 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6730 Don't propertize `?' or `!' as symbol constituent when after
6731 colon. (Bug#17097)
6732
6733 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
6734
6735 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
6736 which is no longer needed and causes trouble in GTK builds (bug#17046).
6737
6738 * emacs-lisp/package-x.el (package--archive-contents-from-url):
6739 Use url-insert-file-contents; package-handle-response no longer exists.
6740
6741 2014-03-26 Daniel Colascione <dancol@dancol.org>
6742
6743 * simple.el (process-menu-mode-map): New variable.
6744 (process-menu-delete-process): New command.
6745
6746 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
6747
6748 * emacs-lisp/package.el: Fix bug#16733 (again).
6749 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
6750 (url-http-target-url): Remove unused declarations.
6751 (package-handle-response): Remove.
6752 (package--with-work-buffer): Use url-insert-file-contents and simplify.
6753 (package--download-one-archive): Use current-buffer instead of
6754 dynamic binding of `buffer'.
6755 (describe-package-1): Do not decode readme-string.
6756
6757 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
6758
6759 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
6760
6761 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
6762 from 2014-03-07, it decreases performance unnecessarily. Let-bind
6763 `remote-file-name-inhibit-cache' to nil in the second pass.
6764 (tramp-find-executable): Do not call "which" on SunOS.
6765 (tramp-send-command-and-check): Fix docstring.
6766 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
6767 check whether source directory has set the sticky bit.
6768
6769 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
6770
6771 * simple.el (primitive-undo): Only process marker adjustments
6772 validated against their corresponding (TEXT . POS). Issue warning
6773 for lone marker adjustments in undo history. (Bug#16818)
6774 (undo-make-selective-list): Add marker adjustments to selective
6775 undo list based on whether their corresponding (TEXT . POS) is in
6776 the region. Remove variable adjusted-markers, which was unused
6777 and only non nil during undo-make-selective-list.
6778 (undo-elt-in-region): Return nil when passed a marker adjustment
6779 and explain in function doc.
6780
6781 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6782
6783 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
6784
6785 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
6786
6787 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
6788 Match special global variables without curlies, too.
6789 (ruby-font-lock-keywords): Simplify the matcher for special global
6790 variables. Don't require a non-word character after the variable.
6791 (Bug#17057)
6792
6793 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6794
6795 * simple.el (redisplay-highlight-region-function): Increase priority of
6796 overlay to make sure boundaries are visible (bug#15899).
6797
6798 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * frameset.el (frameset--initial-params): Fix typo in parameter name.
6801 (frameset-restore): Compare display strings with equal.
6802
6803 * frame.el (make-frame): Don't quote display name in error message,
6804 it is already a string.
6805
6806 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6807
6808 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
6809 the password.
6810
6811 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
6812
6813 * emacs-lisp/package.el (package--add-to-archive-contents):
6814 Include already installed and built-in packages in
6815 `package-archive-contents'.
6816 (package-install): Don't include already installed packages in the
6817 options during interactive invocation. (Bug#16762)
6818 (package-show-package-list): If the buffer is already displayed in
6819 another window, switch to that window.
6820
6821 2014-03-26 Reto Zimmermann <reto@gnu.org>
6822
6823 Sync with upstream vhdl mode v3.35.1.
6824 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6825 (vhdl-compiler-alist): Doc fix.
6826 (vhdl-goto-line): Remove.
6827 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
6828 (vhdl-mode) <paragraph-start>: Fix value.
6829 (vhdl-fix-statement-region): Not `for' in wait-statement.
6830 (vhdl-beautify-region): Also (un)tabify.
6831 (vhdl-get-visible-signals):
6832 Scan declarative part of generate statements.
6833 (vhdl-template-record): Fix indentation for record type declaration.
6834 (vhdl-expand-abbrev, vhdl-expand-paren):
6835 Revert to using fset again rather than defalias.
6836 (vhdl-scan-directory-contents): Tweak.
6837 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
6838 (vhdl-compose-components-package):
6839 Replace vhdl-goto-line with forward-line.
6840 (top-level): Tweak speedbar frame selection.
6841 (vhdl-generate-makefile-1): Support for compilers with no
6842 unit-to-file name mapping (create directory with dummy files).
6843
6844 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
6845
6846 Sync with upstream verilog-mode revision 702457d.
6847 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6848 (create-lockfiles): Declare.
6849 (verilog-read-decls): Fix module header imports, bug709.
6850 Reported by Victor Lau.
6851 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
6852 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
6853 interface-only modules, bug721. Reported by Dean Hoyt.
6854
6855 2014-03-26 Glenn Morris <rgm@gnu.org>
6856
6857 * obsolete/gulp.el: Move here from emacs-lisp/.
6858
6859 * files.el (lock-buffer, unlock-buffer, file-locked-p):
6860 Remove fallback aliases, since they are always defined now.
6861
6862 2014-03-24 Daniel Colascione <dancol@dancol.org>
6863
6864 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
6865 instead of cl-loop search function.
6866
6867 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
6868
6869 * calendar/parse-time.el (parse-time-iso8601-regexp)
6870 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
6871 it more generally.
6872
6873 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
6874
6875 * net/dns.el (network-interface-list): Define for XEmacs.
6876
6877 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
6878
6879 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
6880 the network interfaces changed.
6881 (dns-query): Use it to flush the data.
6882
6883 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
6884
6885 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
6886
6887 2014-03-23 Daniel Colascione <dancol@dancol.org>
6888
6889 Change subword-mode to use `find-word-boundary-function-table' and
6890 replace `capitalized-words-mode'. Also, convert to lexical binding.
6891 * progmodes/cap-words.el: Delete now-obsolete file.
6892 * progmodes/subword.el: Reimplement using
6893 `find-word-boundary-function-table'.
6894 (subword-mode-map): Hollow out.
6895 (capitalized-words-mode): Define as obsolete alias for
6896 `subword-mode'.
6897 (subword-mode, superword-mode): Tweak documentation to reflect new
6898 implementation; call `subword-setup-buffer'.
6899 (subword-forward, subword-capitalize): Add underscore to indicate
6900 unused variable.
6901 (subword-find-word-boundary-function-table): New constant.
6902 (subword-empty-char-table): New constant.
6903 (subword-setup-buffer): New function.
6904 (subword-find-word-boundary): New function.
6905
6906 2014-03-23 Daniel Colascione <dancol@dancol.org>
6907
6908 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
6909 list to look for keyword arguments instead of `memq', fixing
6910 (Bug#3647) --- unfortunately, only for freshly-compiled code.
6911 Please make bootstrap.
6912
6913 2014-03-22 Glenn Morris <rgm@gnu.org>
6914
6915 * dired.el (dired-read-regexp): Make obsolete.
6916 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
6917 (dired-flag-files-regexp):
6918 * dired-aux.el (dired-mark-read-regexp):
6919 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
6920
6921 * startup.el (fancy-startup-text):
6922 * help.el (describe-gnu-project): Visit online info about GNU project.
6923
6924 * help-fns.el (help-fns--interactive-only): New function.
6925 (help-fns-describe-function-functions): Add the above function.
6926 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
6927 (next-line, previous-line): Remove hand-written interactive-only
6928 information from doc strings, it is auto-generated now.
6929 * bookmark.el (bookmark-write):
6930 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
6931 (epa-mail-import-keys): Mark interactive-only,
6932 and remove hand-written interactive-only information from doc strings.
6933 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
6934 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
6935 * files.el (not-modified):
6936 * simple.el (mark-whole-buffer): Mark interactive-only.
6937
6938 * emacs-lisp/byte-run.el (defun-declarations-alist):
6939 Add interactive-only. Doc tweak.
6940 (macro-declarations-alist): Doc tweak.
6941 * subr.el (declare): Doc tweak (add xref to manual).
6942 * comint.el (comint-run):
6943 * files.el (insert-file-literally, insert-file):
6944 * replace.el (replace-string, replace-regexp):
6945 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6946 (delete-forward-char, goto-line, insert-buffer, next-line)
6947 (previous-line): Set interactive-only via declare.
6948
6949 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
6950
6951 * emacs-lisp/package.el (package-desc): Use the contents of the
6952 quoted form, not its cdr. (Bug#16873)
6953
6954 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
6955
6956 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
6957 benefit of doc.c; change parameter profile to match the X function.
6958
6959 2014-03-22 Leo Liu <sdl.web@gmail.com>
6960
6961 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
6962 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
6963
6964 2014-03-21 Richard Stallman <rms@gnu.org>
6965
6966 * battery.el (battery-linux-sysfs): Search for each field
6967 from the beginning of the buffer.
6968
6969 * subr.el (set-transient-map): Clear out function and value
6970 of the temporary symbol when we're done with it.
6971
6972 * mail/rmailsum.el (rmail-summary-delete-forward):
6973 Optimize case of reaching end and handling count.
6974 (rmail-summary-mark-deleted): Optimize when N is current msg.
6975 Don't create new summary line.
6976 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
6977 (rmail-summary-undelete-many): Rewrite for speed.
6978 (rmail-summary-msg-number): New function.
6979
6980 * mail/rmail.el (rmail-delete-message): Update summary.
6981 (rmail-undelete-previous-message): Handle repeat count arg.
6982 (rmail-delete-backward, rmail-delete-forward): Likewise.
6983
6984 2014-03-21 Daniel Colascione <dancol@dancol.org>
6985
6986 * mail/emacsbug.el (report-emacs-bug): Include memory usage
6987 information in bug reports.
6988
6989 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
6990
6991 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
6992 and `tramp-copy-env'.
6993
6994 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
6995 (tramp-maybe-open-connection): Handle `tramp-login-env'.
6996
6997 2014-03-21 Glenn Morris <rgm@gnu.org>
6998
6999 * electric.el (electric-indent-post-self-insert-function): Add doc.
7000
7001 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
7002
7003 * emacs-lisp/package.el (package-compute-transaction):
7004 Use `version-list-<=' to compare the requirement version against
7005 the version of package already to be installed. Update the error
7006 message. (Bug#16826)
7007
7008 * progmodes/ruby-mode.el (ruby-smie-rules):
7009 Add indentation rule for ` @ '. (Bug#17050)
7010
7011 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
7012
7013 * align.el (align-regexp): Remove superfluous backslash.
7014
7015 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
7016 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
7017 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
7018 Fix docstring typos.
7019 (ffap-next): Use C-u in docstring.
7020 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
7021 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
7022 Remove superfluous backslashes.
7023 (ffap-string-at-point): Reflow docstring.
7024
7025 * server.el (server-host): Reflow docstring.
7026 (server-unload-function): Fix docstring typo.
7027 (server-eval-at): Remove superfluous backslash.
7028
7029 * skeleton.el (skeleton-insert): Remove superfluous backslash.
7030 (skeleton-insert): Doc fix.
7031 (skeleton-insert): Reflow docstring.
7032
7033 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
7034 (tty-color-approximate, tty-color-by-index, tty-color-values)
7035 (tty-color-desc): Remove superfluous backslashes.
7036
7037 2014-03-21 Glenn Morris <rgm@gnu.org>
7038
7039 * cus-start.el (history-length): Bump :version.
7040
7041 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7042 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7043 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7044 Don't set `make-backup-files'.
7045
7046 * info.el (info--prettify-description): New function,
7047 to give info-finder descriptions consistent case, punctuation.
7048 (Info-finder-find-node): Use it. Sort packages.
7049 Refer to "description" rather than "commentary".
7050
7051 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
7052
7053 * frameset.el (frameset--print-register): New function.
7054 (frameset-to-register): Use it.
7055
7056 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
7057
7058 * progmodes/hideif.el (hif-string-to-number): New function.
7059 (hif-tokenize): Use it to understand non-decimal floats.
7060
7061 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
7062
7063 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
7064
7065 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * electric.el (electric-newline-and-maybe-indent): New command.
7068 Bind it globally to C-j.
7069 (electric-indent-mode): Don't mess with the global map any more.
7070 Don't drop the post-self-insert-hook is some buffer is still using it
7071 (bug#16770).
7072
7073 * bindings.el (global-map): Remove C-j binding.
7074
7075 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
7076 the docstring of functions advised before dumping (bug#16993).
7077
7078 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
7079
7080 * ps-print.el (ps-generate-postscript-with-faces):
7081 Explicitly deactivate the mark (bug#16866).
7082 * simple.el (deactivate-mark): Update region highlight.
7083
7084 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * emacs-lisp/package.el (describe-package-1):
7087 Decode commentary (bug#16733).
7088
7089 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
7090
7091 * custom.el (defcustom): Doc fix: recommend avoiding destructive
7092 modification of the value argument of :set (bug#16755).
7093
7094 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7095
7096 * simple.el (newline-and-indent): Do autofill (bug#17031).
7097
7098 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
7099
7100 * newcomment.el (comment-normalize-vars): Only add escaping check
7101 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
7102 (comment-beginning): Use `narrow-to-region' instead of moving back
7103 one character.
7104 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
7105 (comment-start-skip): Update the docstring.
7106
7107 2014-03-18 Richard Stallman <rms@gnu.org>
7108
7109 * dired.el (dired-display-file): Force use of other window.
7110
7111 2014-03-18 Daniel Colascione <dancol@dancol.org>
7112
7113 * startup.el (tty-handle-args): Remove debug message from 2007.
7114
7115 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7116
7117 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
7118 (advice--make-interactive-form): Use it to avoid (auto)loading function.
7119 (advice--make-1, advice-add, advice-remove):
7120 Remove braindead :advice-pending hack.
7121
7122 2014-03-17 Glenn Morris <rgm@gnu.org>
7123
7124 * calendar/calendar.el (calendar-generate-month): Apply weekend
7125 face to the right days; fixes 2013-08-06 change. (Bug#17028)
7126
7127 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
7128
7129 * net/tramp.el (tramp-action-out-of-band): Read pending output.
7130 (tramp-call-process): Trace also DESTINATION.
7131
7132 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7133 Quote file names when they are local. Remove superfluous trace.
7134
7135 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
7136
7137 * newcomment.el (comment-beginning): If `comment-start-skip'
7138 doesn't match, move back one char and try again. (Bug#16971)
7139
7140 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7141 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
7142 Set `comment-start-skip' to a simpler value that doesn't try to
7143 check if the semicolon is escaped (this is handled by
7144 `syntax-ppss' now). (Bug#16971)
7145
7146 * progmodes/scheme.el (scheme-mode-variables): Same.
7147
7148 2014-03-16 Martin Rudalics <rudalics@gmx.at>
7149
7150 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
7151 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
7152 current (Bug#16816, Bug#17007).
7153 (with-current-buffer-window): New macro doing the same as
7154 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
7155 * help.el (help-print-return-message): Warn in doc-string to not
7156 use this in `with-help-window'.
7157 (describe-bindings-internal): Call `describe-buffer-bindings'
7158 from within help buffer. See Juanma's scenario in (Bug#16816).
7159 (with-help-window): Update doc-string.
7160 * dired.el (dired-mark-pop-up):
7161 * files.el (save-buffers-kill-emacs):
7162 * register.el (register-preview): Use `with-current-buffer-window'
7163 instead of `with-temp-buffer-window'.
7164
7165 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
7168 Implement inserting into current buffer, documented in their docstrings.
7169 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
7170 (rst-section-tree-point, rst-forward-section, rst-indent)
7171 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
7172 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
7173 (rst-font-lock-handle-adornment-pre-match-form)
7174 (rst-repeat-last-character): Reflow docstrings.
7175 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
7176 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
7177 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
7178 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
7179 Fix docstring typos.
7180 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
7181 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
7182 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
7183
7184 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
7185
7186 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
7187 for compatibility with other ports.
7188 (ns-initialize-window-system): Use it. It is set in term/common-win.el
7189 from the -xrm command line argument, but in the Nextstep port its value
7190 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
7191
7192 * progmodes/python.el (defconst, python-syntax-count-quotes)
7193 (python-indent-region, python-indent-shift-right)
7194 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
7195 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
7196 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
7197 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
7198 (inferior-python-mode, python-shell-make-comint, run-python-internal)
7199 (python-shell-buffer-substring, python-shell-send-buffer)
7200 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
7201 (python-completion-complete-at-point, python-fill-docstring-style)
7202 (python-eldoc-function, python-imenu-format-item-label)
7203 (python-imenu-format-parent-item-label)
7204 (python-imenu-format-parent-item-jump-label)
7205 (python-imenu--build-tree, python-imenu-create-index)
7206 (python-imenu-create-flat-index): Fix docstring typos.
7207 (python-indent-context, python-shell-prompt-regexp, run-python):
7208 Remove superfluous backslashes.
7209 (python-indent-line, python-nav-beginning-of-defun)
7210 (python-shell-get-buffer, python-shell-get-process)
7211 (python-info-current-defun, python-info-current-line-comment-p)
7212 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
7213 (python-indent-post-self-insert-function, python-shell-send-file)
7214 (python-shell-completion-get-completions)
7215 (python-shell-completion-complete-or-indent)
7216 (python-eldoc--get-doc-at-point): Reflow docstrings.
7217
7218 2014-03-14 Glenn Morris <rgm@gnu.org>
7219
7220 * emacs-lisp/package.el (package-menu-mode-map):
7221 Replace use of obsolete function alias. Tweak menu item text.
7222
7223 * info.el (Info-finder-find-node):
7224 Ignore the `emacs' metapackage. (Bug#10813)
7225
7226 * finder.el (finder-list-matches): Include unversioned packages
7227 in the result of a keyword search.
7228
7229 * finder.el (finder--builtins-descriptions): New constant.
7230 (finder-compile-keywords): Use finder--builtins-descriptions.
7231
7232 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
7233
7234 * simple.el (blink-matching-paren): Describe the new value,
7235 `jump', enabling the old behavior.
7236 (blink-matching-open): Use that value. (Bug#17008)
7237
7238 2014-03-14 Glenn Morris <rgm@gnu.org>
7239
7240 * finder.el (finder-no-scan-regexp): Add leim-list.
7241 (finder-compile-keywords):
7242 Don't skip files with same basename. (Bug#14010)
7243 * Makefile.in (setwins_finder): New, excluding leim.
7244 (finder-data): Use setwins_finder.
7245
7246 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
7247 (help-function-arglist, help-make-usage): Move from here...
7248 * help.el (help-split-fundoc, help-add-fundoc-usage)
7249 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
7250 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
7251
7252 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
7253
7254 * net/socks.el (socks, socks-override-functions)
7255 (socks-find-services-entry):
7256 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
7257 (hif-find-ifdef-block):
7258 * progmodes/modula2.el (m2-indent): Fix docstring typos.
7259
7260 * net/tls.el (tls-program): Reflow docstring.
7261
7262 * progmodes/pascal.el (pascal-mode-abbrev-table)
7263 (pascal-imenu-generic-expression, pascal-auto-endcomments)
7264 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
7265 (pascal-outline-mode): Fix docstring typos.
7266 (pascal-mode): Let define-derived-mode document mode hook.
7267 (pascal-uncomment-area): Reflow.
7268 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
7269
7270 * progmodes/opascal.el (opascal-compound-block-indent)
7271 (opascal-case-label-indent): Fix docstring typos.
7272 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
7273
7274 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
7275
7276 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7277 Fontify multiple adjacent negation chars. (Bug#17004)
7278
7279 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
7280
7281 * emacs-lisp/package.el (package--prepare-dependencies):
7282 Accept requirements without explicit version (bug#14941).
7283
7284 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7285
7286 * register.el (register-separator, copy-to-register): Doc fixes.
7287 (register-preview-default): Remove unnecessary call to concat.
7288
7289 * frameset.el (frameset-restore): When checking for a visible frame,
7290 use the action map instead of calling visible-frame-list.
7291
7292 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
7293
7294 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
7295
7296 2014-03-12 Martin Rudalics <rudalics@gmx.at>
7297
7298 * window.el (fit-frame-to-buffer): Get maximum width from
7299 display's width instead of height.
7300
7301 2014-03-12 Glenn Morris <rgm@gnu.org>
7302
7303 * desktop.el (desktop-restore-frames)
7304 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
7305 (desktop-restore-reuses-frames): Doc tweaks.
7306
7307 * electric.el (electric-indent-mode): Doc fix.
7308
7309 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7310
7311 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
7312 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
7313 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
7314 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
7315 (cvs-dired-use-hook): Fix docstring typos.
7316 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
7317 Doc fixes.
7318
7319 * vc/pcvs-defs.el (cvs-auto-remove-handled)
7320 (cvs-auto-remove-directories, cvs-default-ignore-marks)
7321 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
7322 (cvs-execute-single-dir): Fix docstring typos.
7323
7324 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
7325 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
7326
7327 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
7328
7329 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
7330 Fix docstring typos.
7331
7332 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7333
7334 * frameset.el (frameset--jump-to-register): Add autoload; it could be
7335 called from jump-to-register after unloading the frameset package.
7336
7337 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7338
7339 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
7340 (bug#16975). Deactivate the mark before setting it to nil.
7341 (activate-mark): Do nothing if region is already active.
7342
7343 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7344
7345 * frameset.el (frameset--target-display): Remove definition; declare.
7346 (frameset-save, frameset-restore): Let-bind frameset--target-display.
7347
7348 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
7351 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
7352 when the advice is pending.
7353 (advice-remove): Remove this marker when not needed any more.
7354
7355 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7356
7357 * frameset.el: Separate options for reusing frames and cleaning up.
7358 (frameset--reuse-list): Remove definition; declare.
7359 (frameset--action-map): Declare.
7360 (frameset--find-frame-if): Doc fix.
7361 (frameset--restore-frame): Cache frame action.
7362 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
7363 how to clean up the frame list after restoring. Remove cleaning
7364 options from REUSE-FRAMES. Change all keyword values to symbols.
7365 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
7366
7367 * desktop.el (desktop-restore-forces-onscreen)
7368 (desktop-restore-reuses-frames): Use non-keyword values.
7369 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
7370
7371 2014-03-10 Glenn Morris <rgm@gnu.org>
7372
7373 * files.el (find-file): Doc fix: update info node name.
7374
7375 * emacs-lisp/advice.el (ad-add-advice, defadvice):
7376 Doc fix: remove references to deleted info nodes.
7377
7378 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
7379
7380 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7381 Do not add nil to the environment, when there's no remote `locale'.
7382 (tramp-find-inline-encoding): Check, that the remote host has
7383 installed perl, before sending scripts.
7384
7385 2014-03-10 Leo Liu <sdl.web@gmail.com>
7386
7387 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7388 Clear eldoc-last-message. (Bug#16920)
7389
7390 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
7393 (bug#14430).
7394
7395 2014-03-09 Juri Linkov <juri@jurta.org>
7396
7397 * ansi-color.el (ansi-color-names-vector): Copy default colors
7398 from `xterm-standard-colors' that look well on the default white
7399 background (and also on the black background) to avoid illegible
7400 color combinations like yellow-on-white and white-on-white.
7401 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
7402
7403 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
7404
7405 * frameset.el (frameset-restore): When no frame is visible, do not
7406 generate a list of frames, just make visible the selected one.
7407
7408 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
7409
7410 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
7411 it only contains the repository root. (Bug#16897)
7412
7413 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
7414
7415 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
7416 only when `remote-file-name-inhibit-cache' is nil.
7417 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
7418
7419 2014-03-06 Martin Rudalics <rudalics@gmx.at>
7420
7421 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
7422 Fix doc-strings.
7423 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
7424 fit-frame-to-buffer variable. Fix doc-string.
7425 (fit-window-to-buffer): Set ONLY argument in call of
7426 fit-frame-to-buffer. Fix doc-string.
7427
7428 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
7429
7430 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
7431 (tramp-action-password): Clear password cache if needed.
7432 (tramp-read-passwd): Do not clear password cache.
7433
7434 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
7435 cache unless it is the first password request.
7436
7437 2014-03-06 Glenn Morris <rgm@gnu.org>
7438
7439 * simple.el (newline): Doc tweak.
7440
7441 * emacs-lisp/shadow.el (load-path-shadows-find):
7442 Ignore dir-locals. (Bug#12357)
7443
7444 2014-03-05 Glenn Morris <rgm@gnu.org>
7445
7446 * files.el (interpreter-mode-alist):
7447 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
7448
7449 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7450
7451 * frameset.el (frameset--initial-params): Filter out null entries.
7452
7453 2014-03-05 Martin Rudalics <rudalics@gmx.at>
7454
7455 * window.el (window-min-height, window-min-width):
7456 Rewrite doc-strings.
7457 (window-body-size): Add PIXELWISE argument to make it consistent
7458 with its callees.
7459
7460 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7461
7462 * finder.el (finder-mode-map, finder-mode-syntax-table):
7463 Revert part of 2014-02-28 change.
7464
7465 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
7466
7467 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
7468 (eww-setup-buffer): Clear next/prev/etc more reliably.
7469 (eww-textarea-map): [tab] doesn't work on tty.
7470 Reported by Mario Lang.
7471
7472 * net/shr.el (shr-map): Ditto.
7473
7474 2014-03-04 Glenn Morris <rgm@gnu.org>
7475
7476 * minibuffer.el (completion-hilit-commonality):
7477 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
7478
7479 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7480
7481 * hilit-chg.el (hilit-chg-unload-function): New function.
7482 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
7483 (hilit-chg-map-changes): Prefer cardinal number to digit.
7484 (hilit-chg-display-changes): Reflow docstring.
7485 (highlight-changes-rotate-faces): Remove superfluous backslash.
7486
7487 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
7488
7489 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
7490 `tramp-send-command-and-check'.
7491
7492 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7493
7494 * hexl.el (hexl-address-region, hexl-ascii-region)
7495 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
7496 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
7497 (hexl-forward-word, hexl-previous-line, hexl-next-line):
7498 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
7499 (hexl-mode): Doc fix.
7500 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
7501 (hexl-mode-ruler): Fix typos in docstrings.
7502
7503 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
7504 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
7505 Remove superfluous backslashes.
7506 (strokes-last-stroke, strokes-global-map, strokes-mode):
7507 Reflow docstrings.
7508 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
7509 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
7510 (strokes-distance-squared, strokes-global-set-stroke)
7511 (strokes-global-set-stroke-string): Doc fixes.
7512 (strokes-help): Fix typos; reflow docstring.
7513
7514 2014-03-04 Martin Rudalics <rudalics@gmx.at>
7515
7516 * window.el (window-in-direction): Fix doc-string.
7517
7518 2014-03-04 Glenn Morris <rgm@gnu.org>
7519
7520 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
7521 Explicit error if no grammar.
7522 (smie-config-save): Doc fix. Fix quote typo.
7523
7524 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
7527 electric-indent-mode-hook if we obey electric-indent-mode.
7528 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
7529 decide whether we obey electric-indent-mode.
7530 (c-change-set-fl-decl-start, c-extend-after-change-region):
7531 Silence warnings.
7532 (c-electric-indent-mode-hook): Assume we do want to obey
7533 electric-indent-mode.
7534
7535 * electric.el (electric-indent-mode-has-been-called): Remove.
7536 (electric-indent-mode): Fix accordingly.
7537
7538 * files.el (hack-local-variables): Mention file name in warning.
7539
7540 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
7541
7542 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
7543
7544 * bindings.el: Add comment describing why C-d binds to `delete-char'.
7545 * simple.el (delete-forward-char): Mark as interactive-only.
7546
7547 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
7548
7549 * icomplete.el (icomplete-completions):
7550 Follow-up to 2014-03-01 change.
7551
7552 * icomplete.el: Miscellaneous doc fixes.
7553 Use Icomplete everywhere instead of icomplete for consistency.
7554 (icomplete-max-delay-chars): Fix typo.
7555 (icomplete-mode): Use \[].
7556 (icomplete-tidy, icomplete-exhibit): Reflow.
7557 (icomplete-minibuffer-setup-hook, icomplete-completions):
7558 Remove superfluous backlashes.
7559
7560 * ido.el: Miscellaneous doc fixes.
7561 Use Ido everywhere instead of ido or `ido' for consistency.
7562 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
7563 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
7564 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
7565 (ido-separator): Extract obsolescence info from docstring and declare
7566 with make-obsolete-variable.
7567 (ido-minibuffer-setup-hook): Simplify example.
7568 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
7569 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
7570 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
7571 (ido-everywhere): Reflow docstring.
7572 (ido-toggle-vc): Doc fix.
7573 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
7574 of long list of keybindings.
7575
7576 2014-03-03 Glenn Morris <rgm@gnu.org>
7577
7578 * frame.el (display-pixel-height, display-pixel-width)
7579 (display-mm-dimensions-alist, display-mm-height)
7580 (display-mm-width): Doc tweaks.
7581
7582 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
7583
7584 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
7585 case of undo in region.
7586
7587 2014-03-02 Martin Rudalics <rudalics@gmx.at>
7588
7589 * window.el (fit-window-to-buffer): Fix argument in window-size
7590 call when window is horizontally combined.
7591
7592 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
7593
7594 * icomplete.el (icomplete-completions): Use string-width.
7595 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7596
7597 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
7598
7599 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7600 Highlight regexp options. (Bug#16914)
7601
7602 2014-03-01 Martin Rudalics <rudalics@gmx.at>
7603
7604 * window.el (window--max-delta-1): Round down when calculating
7605 how many lines/columns we can get from a window.
7606
7607 2014-03-01 Glenn Morris <rgm@gnu.org>
7608
7609 * isearch.el (search-invisible): Doc fix.
7610
7611 * minibuffer.el (completion-hilit-commonality):
7612 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
7613 * comint.el (comint-dynamic-list-completions): Doc fix.
7614 * comint.el (comint-dynamic-list-completions):
7615 * filecache.el (file-cache-minibuffer-complete):
7616 * tempo.el (tempo-display-completions):
7617 * eshell/em-hist.el (eshell-list-history):
7618 Replace use of obsolete argument of display-completion-list.
7619
7620 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
7621
7622 * icomplete.el (icomplete-completions):
7623 Revert back to using "..." when ?… cannot be displayed.
7624
7625 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7626
7627 * finder.el (finder-unload-function): New function.
7628
7629 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7630
7631 * dframe.el (dframe-detach):
7632 * find-dired.el (find-dired, find-name-dired):
7633 * finder.el (finder-mode-map, finder-mode-syntax-table)
7634 (finder-headmark, finder-select, finder-mouse-select):
7635 Fix docstring typos.
7636
7637 2014-02-28 Martin Rudalics <rudalics@gmx.at>
7638
7639 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
7640 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
7641 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7642 Fix doc-string based on a suggestion by Nicolas Richard
7643 <theonewiththeevillook@yahoo.fr>.
7644 * help.el (with-help-window): Fix doc-string.
7645
7646 2014-02-28 Ivan Kanis <ivan@kanis.fr>
7647
7648 * net/shr.el (shr-image-animate): New option.
7649 (shr-put-image): Respect shr-image-animate.
7650
7651 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
7652
7653 * net/tramp-adb.el (tramp-adb-parse-device-names):
7654 Use `accept-process-output'.
7655 (tramp-adb-handle-file-truename): Cache the localname only.
7656 (tramp-adb-handle-make-directory)
7657 (tramp-adb-handle-delete-directory): Flush file properties correctly.
7658 (tramp-adb-handle-set-file-modes): Do not raise an error when file
7659 modes cannot be changed.
7660
7661 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
7662 file properties of symlinks.
7663
7664 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
7665
7666 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
7667 required/optional fields to match development biblatex. (Bug#16781)
7668
7669 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
7670
7671 * saveplace.el (toggle-save-place):
7672 Fix argument handling. (Bug#16673)
7673
7674 2014-02-28 Glenn Morris <rgm@gnu.org>
7675
7676 * minibuffer.el (completions-first-difference)
7677 (completions-common-part, completion-hilit-commonality): Doc fixes.
7678
7679 2014-02-28 Karl Berry <karl@gnu.org>
7680
7681 * info.el (Info-mode-map): Add H for describe-mode,
7682 to synchronize with standalone Info.
7683
7684 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
7685
7686 * progmodes/sql.el (sql-interactive-mode):
7687 Avoid setting global comint-input-ring-separator. (Bug#16814)
7688
7689 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7690
7691 * net/dbus.el (dbus--init-bus): Declare function.
7692 (dbus-path-local, dbus-interface-local): New defconst.
7693 (dbus-init-bus): Use them.
7694 (dbus-return-values-table): Extend doc.
7695 (dbus-handle-bus-disconnect): Extend error message.
7696
7697 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
7698
7699 * subr.el (y-or-n-p): Fix double space issue in message.
7700
7701 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7702
7703 * net/tramp.el (tramp-call-process): Improve trace message.
7704 (tramp-handle-insert-file-contents): Trace error case.
7705
7706 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7707 <insert-directory>: Use `tramp-handle-insert-directory'.
7708 (tramp-adb-handle-insert-directory): Remove function.
7709 (tramp-adb-send-command-and-check): New defun, replacing
7710 `tramp-adb-command-exit-status'. Change all callees.
7711 (tramp-adb-handle-file-attributes)
7712 (tramp-adb-handle-directory-files-and-attributes): Use it.
7713 (tramp-adb-ls-output-name-less-p):
7714 Use `directory-listing-before-filename-regexp'.
7715 (tramp-adb-handle-delete-directory): Flush also file properties of
7716 the truename of directory.
7717 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
7718 (tramp-adb-handle-file-local-copy): Make the local copy readable.
7719 (tramp-adb-handle-write-region): Implement APPEND.
7720 (tramp-adb-handle-rename-file): Make it more robust. Flush file
7721 properties correctly.
7722 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
7723 variables. Check for connected devices only when needed.
7724
7725 2014-02-27 Glenn Morris <rgm@gnu.org>
7726
7727 * minibuffer.el (completion-table-dynamic)
7728 (completion-table-with-cache): Doc fixes.
7729
7730 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
7731 (completing-read-multiple): Doc fixes.
7732
7733 2014-02-27 Daniel Colascione <dancol@dancol.org>
7734
7735 * minibuffer.el (completion--nth-completion): Fix indentation.
7736
7737 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
7738 explicit tramp path is empty.
7739
7740 2014-02-27 Glenn Morris <rgm@gnu.org>
7741
7742 * emacs-lisp/crm.el (completing-read-multiple):
7743 Empower help-enable-auto-load.
7744
7745 2014-02-26 Glenn Morris <rgm@gnu.org>
7746
7747 * startup.el (command-line): Don't init the tty in daemon mode.
7748
7749 Avoid calling tty-setup-hook twice, eg if a term file
7750 explicitly calls tty-run-terminal-initialization. (Bug#16859)
7751 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
7752 (tty-create-frame-with-faces): Use it.
7753 * startup.el (command-line): Pass run-hook argument
7754 to tty-run-terminal-initialization.
7755
7756 * dired.el (dired-restore-desktop-buffer): Demote errors;
7757 eg in case a glob match fails. (Bug#16884)
7758
7759 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
7760
7761 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
7762 error from `read-from-string'. (Bug#16850)
7763
7764 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
7765 result of `completing-read' in the interactive form. (Bug#16854)
7766
7767 2014-02-25 Glenn Morris <rgm@gnu.org>
7768
7769 * image.el (image-animate, image-animate-timeout):
7770 Stop animating images in dead buffers. (Bug#16878)
7771
7772 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
7773
7774 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
7775 Doc fixes.
7776 * startup.el (term-setup-hook): Doc fix. Make obsolete.
7777 * term/sun.el (sun-raw-prefix-hooks):
7778 Use tty-setup-hook instead of term-setup-hook.
7779 (terminal-init-sun): Construct message from bytecomp plist.
7780 * term/wyse50.el (enable-arrow-keys): Doc fix.
7781
7782 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
7783
7784 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
7785 Fix docstring typos.
7786
7787 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
7788
7789 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
7790
7791 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7792
7793 * minibuffer.el (completion--try-word-completion):
7794 Fix error when completing M-x commands (bug#16808).
7795
7796 2014-02-24 Leo Liu <sdl.web@gmail.com>
7797
7798 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
7799
7800 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
7801
7802 * apropos.el (apropos-print): Avoid formatting error when
7803 apropos-do-all and apropos-compact-layout are both t.
7804
7805 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
7806
7807 * apropos.el (apropos-property, apropos-all-words-regexp)
7808 (apropos-true-hit, apropos-variable, apropos-print):
7809 Fix docstring typos, and remove obsolete comment.
7810
7811 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
7812
7813 * net/tramp-sh.el (tramp-sh-handle-file-truename):
7814 Preserve trailing "/". (Bug#16851)
7815
7816 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
7817
7818 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
7819 after `=>' (bug#16811).
7820 (ruby-smie-rules): Handle the inconsistent second element of the
7821 list returned by `smie-indent--parent'.
7822 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
7823 method call.
7824
7825 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
7826
7827 * elec-pair.el (electric-pair-text-syntax-table)
7828 (electric-pair-syntax-info, electric-pair--syntax-ppss)
7829 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
7830 (electric-pair--looking-at-unterminated-string-p): Doc fix.
7831 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
7832
7833 2014-02-22 Glenn Morris <rgm@gnu.org>
7834
7835 * imenu.el (imenu--generic-function): Doc fix.
7836
7837 * register.el (frame-configuration-to-register): Make obsolete.
7838
7839 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
7840
7841 * desktop.el (desktop-save-buffer-p): Do not fail when
7842 desktop-files-not-to-save is nil. Return t for true result
7843 as the doc says.
7844
7845 2014-02-22 Daniel Colascione <dancol@dancol.org>
7846
7847 * net/secrets.el (secrets-create-item, secrets-search-items):
7848 Check that attribute values are strings, avoiding the construction
7849 of invalid dbus messages.
7850
7851 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7852
7853 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
7854 defun-declarations-alist.
7855
7856 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
7859 (bug#16829).
7860
7861 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
7864 (whitespace-newline, whitespace-trailing, whitespace-line)
7865 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
7866 (whitespace-space-after-tab): Fix typo in docstrings.
7867
7868 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
7869
7870 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
7871
7872 * electric.el (electric-indent-functions-without-reindent):
7873 Add `yaml-indent-line'.
7874
7875 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7876
7877 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
7878 It has done nothing for years; should be removed after the release.
7879
7880 * simple.el (choose-completion): Fix docstring typo.
7881 (read-quoted-char-radix): Remove unneeded * in docstring.
7882 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
7883 Don't escape parentheses unnecessarily in docstrings.
7884
7885 2014-02-21 Martin Rudalics <rudalics@gmx.at>
7886
7887 Fix handling of window-min-height/-width (Bug#16738).
7888 * window.el (window--dump-window, window--dump-frame):
7889 New functions.
7890 (window--min-size-1): Account for window dividers.
7891 When window-resize-pixelwise is nil, delay rounding till after the
7892 sum of the window components has been calculated.
7893 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
7894 nil make sure at least one text line and two text columns remain
7895 fully visible.
7896 (window-resize): Signal an error when window-resize-apply fails.
7897 (window--resize-child-windows): Fix calculation of by how many
7898 pixels a window can still be shrunk via window-new-normal.
7899 (adjust-window-trailing-edge): Call window--resizable with
7900 correct TRAIL argument.
7901
7902 (with-temp-buffer-window): Don't evaluate BODY within
7903 with-current-buffer (Bug#16816).
7904
7905 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
7906
7907 * net/tramp.el (tramp-check-cached-permissions):
7908 Call `file-attributes' with `suffix' being a symbol but a string.
7909
7910 2014-02-21 Daniel Colascione <dancol@dancol.org>
7911
7912 * net/dbus.el (dbus-init-bus-1): Declare new subr.
7913 (dbus-init-bus): New function: call into dbus-init-bus-1
7914 and installs a handler for the disconnect signal.
7915 (dbus-call-method): Rewrite to look for result in cons.
7916 (dbus-call-method-handler): Store result in cons.
7917 (dbus-check-event): Recognize events with nil sender as valid.
7918 (dbus-handle-bus-disconnect): New function. React to bus
7919 disconnection signal by synthesizing dbus error for each
7920 pending synchronous or asynchronous call.
7921 (dbus-notice-synchronous-call-errors): New function.
7922 (dbus-handle-event): Raise errors directly only when `dbus-debug'
7923 is true, not all the time.
7924
7925 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7926
7927 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7928 Remove obsolescence declarations, these variables do not exist anymore.
7929
7930 * savehist.el (savehist-save-minibuffer-history)
7931 (savehist-additional-variables, savehist-file, savehist-mode-hook)
7932 (savehist-save-hook, savehist-coding-system, savehist-loaded)
7933 (savehist-load, savehist-install, savehist-autosave): Fix typos;
7934 mostly, refer to "Savehist mode" when talking about the mode,
7935 and not the function.
7936
7937 * saveplace.el (save-place): Remove redundant info in docstring.
7938 (save-place-forget-unreadable-files, toggle-save-place)
7939 (save-place-forget-unreadable-files, save-place-dired-hook):
7940 Fix typos and remove unneeded backslashes.
7941
7942 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
7943
7944 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
7945 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
7946
7947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7948 <insert-directory>: Use `tramp-handle-insert-directory'.
7949 (tramp-gvfs-handle-insert-directory): Remove function.
7950
7951 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7952 Call `tramp-handle-insert-directory'.
7953
7954 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
7955
7956 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
7957 before the start of buffer/region (bug#16799).
7958
7959 2014-02-20 Glenn Morris <rgm@gnu.org>
7960
7961 * isearch.el (search-invisible): Doc fix.
7962
7963 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
7964
7965 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
7966 (bug#16657).
7967
7968 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
7969
7970 * frameset.el (frameset-restore): Delay removing an old frame's
7971 duplicate id until the new frame has been correctly created.
7972
7973 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
7974
7975 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
7976 (tramp-check-cached-permissions): Call `file-attributes' if the
7977 cache is empty.
7978
7979 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7980 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
7981
7982 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7983 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
7984 (tramp-gvfs-maybe-open-connection): Set always connection
7985 properties, even if target is mounted already.
7986
7987 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
7988 Set tramp-autoload cookie.
7989 (tramp-get-remote-touch): New defun.
7990 (tramp-sh-handle-set-file-times): Use it.
7991 (tramp-sh-handle-directory-files-and-attributes):
7992 Use `tramp-handle-directory-files-and-attributes' if neither stat
7993 nor perl are available on the remote host.
7994
7995 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
7996 "/". Write long listing only when "l" belongs to the switches.
7997
7998 * net/trampver.el: Update release number.
7999
8000 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
8001
8002 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
8003
8004 2014-02-19 Martin Rudalics <rudalics@gmx.at>
8005
8006 * window.el (window-state-put): Allow WINDOW to refer to an
8007 internal window (Bug#16793).
8008
8009 2014-02-19 Glenn Morris <rgm@gnu.org>
8010
8011 * textmodes/remember.el: Move provide statement to end.
8012 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
8013 (remember-notes): Doc fixes.
8014
8015 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * delsel.el (delete-char): Restore incorrectly erased property
8018 (bug#16795).
8019
8020 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
8021
8022 * frameset.el (frameset--restore-frame): When a frame is being reused
8023 and its root window is not alive, delete all the frame's windows before
8024 restoring the window state. This works around the issue in bug#16793.
8025
8026 2014-02-18 Glenn Morris <rgm@gnu.org>
8027
8028 * textmodes/remember.el (remember-data-directory)
8029 (remember-directory-file-name-format, remember-store-in-files)
8030 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
8031 (remember-notes-save-and-bury-buffer)
8032 (remember-notes--kill-buffer-query): Doc fixes.
8033
8034 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
8035
8036 2014-02-17 Alan Mackenzie <acm@muc.de>
8037
8038 Connect electric-indent-mode up with CC Mode. Bug #15478.
8039 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
8040 to electric-indent-{,local-}-mode.
8041 (c-basic-common-init): Set electric-indent-inhibit.
8042 Initialise c-electric-flag from electric-indent-mode.
8043 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
8044 New hook functions which propagate electric-indent-mode to CC mode.
8045
8046 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
8047 hit, toggle electric-indent-local-mode.
8048
8049 * electric.el (electric-indent-mode-has-been-called):
8050 New variable.
8051
8052 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
8053
8054 * frameset.el (frameset-cfg-id): New function.
8055 (frameset--reuse-frame, frameset-restore): Use it.
8056 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
8057
8058 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
8059
8060 * ido.el (ido-file-internal): Remove unused var `d'.
8061 Use \` for to match BoS. Fit within 80n columns.
8062
8063 2014-02-17 Daniel Colascione <dancol@dancol.org>
8064
8065 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
8066 dbus-call-method check for completion using a busy-wait loop with
8067 gradual backoff.
8068
8069 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
8070
8071 Sync with Tramp 2.2.9.
8072
8073 * net/trampver.el: Update release number.
8074
8075 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
8076
8077 * ido.el (ido-file-internal): Don't add the name of an existing
8078 directory twice. (Bug#16747)
8079
8080 2014-02-16 Glenn Morris <rgm@gnu.org>
8081
8082 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
8083 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
8084
8085 2014-02-15 Michael R. Mauger <michael@mauger.com>
8086
8087 * progmodes/sql.el: Version 3.4
8088 (sql-oracle-options): New default value ("-L").
8089 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
8090 (sql-placeholders-filter): Correct placeholder pattern.
8091 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
8092 (sql-login-delay): New variable.
8093 (sql-product-interactive): Use it.
8094
8095 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
8096
8097 * frameset.el (frameset--jump-to-register): Check that buffer is live
8098 (bug#16749).
8099
8100 2014-02-15 Glenn Morris <rgm@gnu.org>
8101
8102 * info.el (info-initialize): Revert 2014-01-10 change.
8103
8104 2014-02-14 Glenn Morris <rgm@gnu.org>
8105
8106 * replace.el (map-query-replace-regexp)
8107 (read-regexp-defaults-function, read-regexp): Doc fixes.
8108
8109 * dired.el (dired-read-regexp):
8110 * faces.el (list-faces-display):
8111 * misearch.el (multi-isearch-read-matching-buffers)
8112 (multi-isearch-read-matching-files):
8113 * play/cookie1.el (cookie-apropos):
8114 * progmodes/grep.el (grep-read-regexp): Doc fixes.
8115
8116 * textmodes/remember.el (remember): Use frameset-to-register
8117 rather than frame-configuration-to-register.
8118
8119 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
8120
8121 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
8122 incorrect keybinding.
8123
8124 2014-02-13 Daniel Colascione <dancol@dancol.org>
8125
8126 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
8127 when adding overlays so that line numbers from compiler match line
8128 numbers we use.
8129
8130 2014-02-13 Glenn Morris <rgm@gnu.org>
8131
8132 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
8133
8134 * jit-lock.el (jit-lock-mode): Doc fix.
8135
8136 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
8137
8138 * apropos.el (apropos-read-pattern): When the user passes an empty
8139 string, give a more helpful error message than "Wrong type
8140 argument: stringp, nil".
8141
8142 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
8145
8146 2014-02-13 Glenn Morris <rgm@gnu.org>
8147
8148 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
8149
8150 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8151
8152 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
8153 shift-select commands.
8154
8155 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
8156
8157 * progmodes/js.el (js-indent-line): Don't widen.
8158 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
8159
8160 2014-02-12 Glenn Morris <rgm@gnu.org>
8161
8162 * icomplete.el (icomplete): Add info-link to defgroup.
8163 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
8164 (icomplete-minibuffer-map, icomplete-mode)
8165 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
8166
8167 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
8168 (package-menu-filter): Rename from package-menu-filter-interactive.
8169 Doc fix.
8170
8171 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
8172
8173 * frameset.el (frameset--jump-to-register): Select the required
8174 window and buffer before restoring position (bug#16696).
8175
8176 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
8177
8178 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
8179
8180 2014-02-10 Glenn Morris <rgm@gnu.org>
8181
8182 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
8183
8184 2014-02-10 Eli Zaretskii <eliz@gnu.org>
8185
8186 * w32-common-fns.el (x-get-selection): Doc fix.
8187 * select.el (x-get-selection): Doc fix. (Bug#15109)
8188
8189 * face-remap.el (face-remap-add-relative)
8190 (face-remap-remove-relative, face-remap-reset-base)
8191 (face-remap-set-base): Call force-mode-line-update to redisplay
8192 the current buffer due to potential change in faces. (Bug#16709)
8193
8194 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
8195
8196 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
8197 script more robustly.
8198
8199 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8200
8201 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
8202
8203 * simple.el (choose-completion): Doc fix (bug#14160).
8204
8205 * subr.el (event-start): Say what a nil EVENT value means.
8206
8207 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
8208 (bug#14197).
8209
8210 * progmodes/grep.el (find-program): Doc fix (bug#14289).
8211
8212 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
8213
8214 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
8215
8216 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8217 predicate function (bug#15455).
8218
8219 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
8220
8221 * ielm.el (inferior-emacs-lisp-mode): Instead of
8222 `comment-use-global-state', set `comment-use-syntax'.
8223
8224 2014-02-10 Glenn Morris <rgm@gnu.org>
8225
8226 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
8227
8228 2014-02-09 Alan Mackenzie <acm@muc.de>
8229
8230 Fix c-invalidate-state-cache on narrowed buffers.
8231 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
8232 Widen when setting and clearing the CPP delimiter properties.
8233
8234 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
8235
8236 * help.el (describe-bindings): Doc fix (bug#9888).
8237
8238 * files.el (save-buffer): Use ARG as the parameter name for
8239 consistency (bug#10346).
8240 (save-buffer): Clarify the 0 argument (bug#10346).
8241
8242 * cus-edit.el (customize-apropos): Fix error string.
8243 (custom-buffer-create): Doc fix (bug#11122).
8244 (custom-sort-items): Doc fix (bug#11121).
8245
8246 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
8247
8248 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
8249 (icomplete-simple-completing-p): Mention the previous variable.
8250
8251 * font-lock.el (font-lock-value-in-major-mode): Clarify the
8252 meaning of the parameter (bug#12282).
8253
8254 * files.el (find-file-noselect): Clarify prompt when changing
8255 readedness (bug#13261).
8256 (locate-file): Suffixes aren't returned, so don't say that they
8257 are (bug#12674).
8258 (backup-inhibited): Doc clarification (bug#12525).
8259
8260 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
8261 before we actually start to delete things (bug#16331).
8262
8263 * subr.el (event-start): Doc fix (bug#14228).
8264 (event-end): Ditto.
8265
8266 2014-02-09 Glenn Morris <rgm@gnu.org>
8267
8268 * emacs-lisp/warnings.el (lwarn):
8269 Empower help-enable-auto-load. (Bug#15940)
8270
8271 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8272
8273 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
8274 (Bug#16690)
8275
8276 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
8277
8278 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8279 Insert output at end of buffer. (Bug#16120)
8280
8281 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8282
8283 * simple.el (choose-completion-string-functions): Document new
8284 calling convention (bug#14153).
8285 (execute-extended-command): Clarify doc string (bug#13373).
8286
8287 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
8288
8289 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8290 (find-grep-dired): Doc fix (bug#14288).
8291
8292 2014-02-08 Juri Linkov <juri@jurta.org>
8293
8294 * isearch.el (isearch-quote-char): Check character validity
8295 like in `quoted-insert' (bug#16677).
8296
8297 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8298
8299 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
8300
8301 * isearch.el (isearch-hide-immediately): Doc clarification
8302 (bug#14723).
8303
8304 * simple.el (line-move): Document utility function used many
8305 places in the Emacs sources (bug#14843).
8306
8307 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8308 (dired-prev-marked-file): Doc fix (bug#14855).
8309 (dired-up-directory): Doc fix (bug#14848).
8310
8311 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
8312
8313 * files.el (file-relative-name): Doc fix (bug#15159).
8314
8315 * fringe.el (fringe-styles): Doc fix (bug#15239).
8316
8317 * isearch.el (isearch-filter-predicate): Documentation typo fix
8318 (bug#15474).
8319
8320 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
8321
8322 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
8323
8324 * replace.el (replace-match-maybe-edit): Doc clarification
8325 (bug#15632).
8326
8327 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
8328
8329 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
8330
8331 2014-02-08 Glenn Morris <rgm@gnu.org>
8332
8333 * help-fns.el (describe-variable):
8334 Check {file,dir}-local-variables-alist, and buffer-file-name,
8335 in the correct buffer.
8336
8337 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
8338
8339 * help-fns.el (describe-variable): Fix the case where
8340 a value is directory-local with no dir-locals file. (Bug#16635)
8341
8342 2014-02-08 Glenn Morris <rgm@gnu.org>
8343
8344 * abbrev.el (edit-abbrevs-mode):
8345 Derive from fundamental-mode. (Bug#16682)
8346
8347 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
8348
8349 * simple.el (quoted-insert): Check character validity (bug#16677).
8350
8351 2014-02-07 Juri Linkov <juri@jurta.org>
8352
8353 * desktop.el (desktop-read): Claim the lock when the owner is not
8354 the current process. (Bug#16157)
8355
8356 2014-02-07 Juri Linkov <juri@jurta.org>
8357
8358 * desktop.el (desktop-buffers-not-to-save): Change default from nil
8359 to "\\` ". (Bug#16651)
8360
8361 2014-02-07 Juri Linkov <juri@jurta.org>
8362
8363 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
8364 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
8365 (desktop-auto-save-cancel-timer): New function with some code from
8366 `desktop-auto-save-set-timer'.
8367 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
8368 Instead of setting `desktop-save-mode' to nil, call
8369 `desktop-save-mode' with arg 0. (Bug#16630)
8370
8371 2014-02-07 Glenn Morris <rgm@gnu.org>
8372
8373 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
8374 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
8375 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
8376
8377 * obsolete/iswitchb.el: Move to obsolete/.
8378 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
8379 since obsolete/ is not scanned for autoloads.
8380 * emacs-lisp/authors.el (authors-valid-file-names):
8381 Add iswitchb.el.
8382
8383 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
8384 Disable now non-functional find-file-hook.
8385
8386 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
8387
8388 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
8389 instead of ";" in order to avoid additional prompts. Let heredoc
8390 scripts read from tty. (Bug#16582)
8391 (tramp-send-command): No special handling of heredocs, it isn't
8392 necessary anymore.
8393
8394 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
8397 with a space (bug#16664). Limit the symbols considered to the ones
8398 that are bound or fbound (bug#16646).
8399
8400 2014-02-06 Glenn Morris <rgm@gnu.org>
8401
8402 * epa.el (epa-mail-aliases): Doc fix.
8403
8404 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
8405
8406 * emacs-lisp/lisp.el (lisp-completion-at-point):
8407 Use `completion-table-merge' instead of `completion-table-in-turn'
8408 (bug#16604).
8409
8410 * minibuffer.el (completion-table-merge): New function.
8411
8412 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
8413
8414 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
8415 (tramp-sh-handle-set-file-acl)
8416 (tramp-sh-handle-start-file-process)
8417 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
8418 (tramp-find-executable, tramp-send-command): Use it.
8419
8420 2014-02-05 Glenn Morris <rgm@gnu.org>
8421
8422 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
8423
8424 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
8425
8426 * progmodes/python.el (python-shell-send-string)
8427 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
8428
8429 2014-02-04 Anders Lindgren <andlind@gmail.com>
8430
8431 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
8432 the names (bug#16620).
8433
8434 2014-02-03 Martin Rudalics <rudalics@gmx.at>
8435
8436 * faces.el (window-divider): New default value. Rewrite doc-string.
8437 (window-divider-first-pixel, window-divider-last-pixel): New faces.
8438
8439 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
8440
8441 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
8442 `protected' and `public' can also be called without arguments.
8443
8444 2014-02-03 Glenn Morris <rgm@gnu.org>
8445
8446 * register.el (window-configuration-to-register)
8447 (frame-configuration-to-register): Unadvertise unused argument.
8448 * frameset.el (frameset-to-register): Remove unused argument.
8449
8450 * frameset.el (frameset-to-register):
8451 * kmacro.el (kmacro-to-register):
8452 * register.el (increment-register):
8453 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
8454 (calc-append-to-register, calc-prepend-to-register):
8455 * play/gametree.el (gametree-layout-to-register)
8456 (gametree-apply-register-layout):
8457 * textmodes/picture.el (picture-clear-rectangle-to-register)
8458 (picture-yank-rectangle-from-register):
8459 * vc/emerge.el (emerge-combine-versions-register):
8460 Use register-read-with-preview to read registers.
8461
8462 2014-02-03 João Távora <joaotavora@gmail.com>
8463
8464 * elec-pair.el (electric-pair-backward-delete-char): Don't error
8465 when at beginning of (possibly narrowed) buffer.
8466
8467 2014-02-02 Daniel Colascione <dancol@dancol.org>
8468
8469 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
8470 Also try to display local help from just before point.
8471
8472 2014-02-02 Alan Mackenzie <acm@muc.de>
8473
8474 c-parse-state. Don't "append-lower-brace-pair" in certain
8475 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
8476 recognised as a comment.
8477
8478 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
8479 as well as normal comment starter.
8480 (c-parse-state-get-strategy): Extra return possibility
8481 'back-and-forward.
8482 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
8483 return value list to indicate replacement of a brace-pair cons
8484 with its car.
8485 (c-parse-state-1): With 'back-and-forward, only call
8486 c-append-lower-brace-pair-to state-cache when cons-separated.
8487
8488 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
8489
8490 * term/ns-win.el (ns-suspend-error): New function.
8491 (ns-initialize-window-system): Add ns-suspend-error to
8492 suspend-hook (Bug#16612).
8493
8494 2014-02-02 Daniel Colascione <dancol@dancol.org>
8495
8496 * progmodes/cc-defs.el (c-find-assignment-for-mode):
8497 Make loading cc-mode silent.
8498
8499 2014-02-02 Daniel Colascione <dancol@dancol.org>
8500
8501 * comint.el (comint-prompt-read-only): Change doc to suggest
8502 remap keybinding.
8503
8504 2014-02-02 Glenn Morris <rgm@gnu.org>
8505
8506 * register.el (register-read-with-preview, point-to-register)
8507 (window-configuration-to-register, frame-configuration-to-register)
8508 (jump-to-register, number-to-register, view-register, insert-register)
8509 (copy-to-register, append-to-register, prepend-to-register)
8510 (copy-rectangle-to-register): Doc fixes.
8511
8512 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
8515 * emacs-lisp/find-func.el (find-function-C-source): Idem.
8516 * emacs-lisp/nadvice.el (advice--cd*r): New function.
8517 * help-fns.el (describe-function-1): Use it.
8518
8519 2014-02-02 Glenn Morris <rgm@gnu.org>
8520
8521 * register.el (register-preview-default): New function,
8522 split from register-preview.
8523 (register-preview-function): Rename from register-preview-functions,
8524 make it not a hook.
8525 (register-preview): Use register-preview-function.
8526 (register-read-with-preview): Error on non-character event. (Bug#16595)
8527
8528 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
8529
8530 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
8531 `:' before binary operators (bug#16609). Don't check for `:'
8532 before `[' and `(', or their syntax status. A percent literal
8533 can't end with either.
8534 (ruby-font-lock-keywords): For built-ins that require arguments,
8535 check that they're followed by something that looks like argument
8536 (bug#16610).
8537
8538 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
8539
8540 * subr.el (butlast): Document what an omitted N means (bug#13437).
8541 (nbutlast): Ditto.
8542
8543 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
8544
8545 * net/shr.el (shr-generic): Make into a defsubst to make the stack
8546 depth shallower (bug#16587).
8547 (shr-tag-svg): Respect `shr-inhibit-images'.
8548 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
8549
8550 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
8551
8552 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
8553 (ruby-smie-grammar): Make "." right-associative. Make its priority
8554 lower than the ternary and all binary operators.
8555 (ruby-smie-rules): Indent "(" relative to the first non-"."
8556 parent, or the first "." parent at indentation.
8557 Use `ruby-align-chained-calls' for indentation of "." tokens.
8558 (Bug#16593)
8559
8560 2014-01-31 Juri Linkov <juri@jurta.org>
8561
8562 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
8563 from `make-hash-table'.
8564
8565 * textmodes/ispell.el (ispell-init-process): Change message format
8566 to be consistent with other messages.
8567
8568 2014-01-31 Glenn Morris <rgm@gnu.org>
8569
8570 * delsel.el (delete-selection-mode): Doc fix.
8571
8572 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
8573 (trace-function-background): Doc fixes.
8574
8575 * ido.el (ido-use-virtual-buffers): Doc fix.
8576 Reset :version, since the default value has not changed.
8577
8578 * register.el (register-preview-delay, register-read-with-preview):
8579 Doc fixes.
8580
8581 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
8582 do not mess with mail-buffer position (fixes 2009-11-03 change).
8583 * progmodes/cc-mode.el (c-submit-bug-report):
8584 Check auto-fill-mode is bound. (Bug#16592)
8585
8586 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
8587
8588 * startup.el (fancy-splash-image-file): New function,
8589 split from fancy-splash-head.
8590 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
8591 so that we are both using the same image. (Bug#16574)
8592
8593 2014-01-30 Glenn Morris <rgm@gnu.org>
8594
8595 * simple.el (eval-expression): Doc fix.
8596
8597 * hexl.el (hexl-mode-hook):
8598 * ielm.el (ielm-mode-hook):
8599 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
8600 (lisp-interaction-mode-hook):
8601 * progmodes/cfengine.el (cfengine3-documentation-function):
8602 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
8603
8604 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
8607 is a symbol (bug#16584).
8608
8609 2014-01-30 Glenn Morris <rgm@gnu.org>
8610
8611 * help.el (help-for-help-internal): Add "P" to text.
8612
8613 2014-01-29 Glenn Morris <rgm@gnu.org>
8614
8615 * simple.el (just-one-space, cycle-spacing): Doc fixes.
8616
8617 2014-01-28 Martin Rudalics <rudalics@gmx.at>
8618
8619 * window.el (fit-frame-to-buffer): Fix calculations for margins and
8620 height constraints.
8621
8622 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
8623
8624 * progmodes/hideif.el: Extend to full CPP expression syntax.
8625 (hif-token-alist): Add missing tokens.
8626 (hif-token-regexp): Add support for float/octal/hex immediates.
8627 (hif-string-literal-regexp): New const.
8628 (hif-tokenize): Recognize strings and float/octal/hex immediates.
8629 (hif-exprlist): New function.
8630 (hif-parse-if-exp): Use it.
8631 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
8632 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
8633 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
8634 (hif-logxor, hif-comma): New functions.
8635
8636 2014-01-28 Glenn Morris <rgm@gnu.org>
8637
8638 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
8639
8640 * indent.el (tab-stop-list): Doc fix. Add :version.
8641
8642 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
8643 (cvs-append-to-ignore): Add compatibility alias.
8644
8645 2014-01-27 Glenn Morris <rgm@gnu.org>
8646
8647 * dired.el (dired-hide-details-mode): Don't autoload it,
8648 since it cannot be used outside Dired buffers anyway.
8649
8650 * emulation/cua-base.el (cua-mode): Doc fix.
8651
8652 * dired.el (dired-hide-details-hide-symlink-targets)
8653 (dired-hide-details-hide-information-lines)
8654 (dired-hide-details-mode): Doc fixes.
8655
8656 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
8657 * strokes.el (strokes-file): Doc fix. Bump :version.
8658 (strokes-help): Doc fix.
8659 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
8660 * emulation/viper.el (viper): Doc fix for custom group.
8661 (top-level): Remove oh-so-no-longer-relevant text about vip.
8662 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
8663
8664 * ido.el (ido-save-directory-list-file):
8665 * saveplace.el (save-place-file):
8666 * calendar/timeclock.el (timeclock-file):
8667 * net/quickurl.el (quickurl-url-file):
8668 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8669 * progmodes/idlwave.el (idlwave-config-directory):
8670 * textmodes/remember.el (remember-data-file):
8671 Bump :version.
8672
8673 2014-01-26 Glenn Morris <rgm@gnu.org>
8674
8675 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
8676 Doc fix. Make obsolete.
8677 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
8678
8679 * sort.el (delete-duplicate-lines): Doc fix.
8680
8681 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8682
8683 * progmodes/ada-mode.el (ada):
8684 * woman.el (woman): Link to info manual and Commentary section.
8685
8686 * progmodes/flymake.el (flymake):
8687 * nxml/nxml-mode.el (nxml):
8688 * net/eww.el (eww):
8689 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
8690 * htmlfontify.el (htmlfontify):
8691 * ses.el (ses):
8692 * epa.el (epa):
8693 * ido.el (ido): Link to info manual.
8694
8695 2014-01-25 Leo Liu <sdl.web@gmail.com>
8696
8697 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
8698
8699 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
8700
8701 * net/shr.el (shr-tag-img): Prefer the title over the alt text
8702 (bug#16537).
8703
8704 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
8705
8706 * net/eww.el (eww-download-callback):
8707 Fix reference to eww-download-directory.
8708
8709 * emacs-lisp/bytecomp.el (byte-compile-file):
8710 Remove unused local variable `file-name'.
8711
8712 2014-01-24 Glenn Morris <rgm@gnu.org>
8713
8714 * woman.el (woman-default-faces, woman-monochrome-faces):
8715 Fix obsolescence specification.
8716
8717 * subr.el (with-demoted-errors): Doc fix.
8718
8719 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
8722 (cl--macroexp-fboundp): New function.
8723 (cl--make-type-test): Use it.
8724
8725 2014-01-23 Glenn Morris <rgm@gnu.org>
8726
8727 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
8728 * simple.el (eval-expression): Doc fixes.
8729
8730 2014-01-22 Glenn Morris <rgm@gnu.org>
8731
8732 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
8733
8734 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8735
8736 * emacs-lisp/package.el: Write files silently.
8737 (package-autoload-ensure-default-file, package--write-file-no-coding)
8738 (package-generate-description-file, package--download-one-archive)
8739 (package-install-from-archive): Tell `write-region' to stay quiet.
8740 (package-menu-mode, package-menu--print-info): Omit the Archive column
8741 if there's only one archive.
8742 (package-all-keywords, package--has-keyword-p): Remove dead code.
8743
8744 2014-01-22 Glenn Morris <rgm@gnu.org>
8745
8746 * version.el (emacs-bzr-version-bzr): Fix typo.
8747
8748 * version.el (emacs-repository-get-version):
8749 Check either .bzr or .git, but not both.
8750 Make the git case actually use the DIR argument, and return nil
8751 rather than the empty string.
8752 Avoid error if .git exists but the git executable is not found.
8753
8754 2014-01-22 Martin Rudalics <rudalics@gmx.at>
8755
8756 Fixes in window size functions around Bug#16430 and Bug#16470.
8757 * window.el (window-total-size, window-size): New argument ROUND.
8758 (window--min-delta-1, window-min-delta, window--max-delta-1):
8759 Be more conservative when calculating the numbers of lines or
8760 columns a window can shrink (Bug#16430).
8761 (fit-window-to-buffer): Simplify code.
8762 * term.el (term-window-width): Call window-body-width again.
8763
8764 2014-01-22 Glenn Morris <rgm@gnu.org>
8765
8766 * image.el (image-format-suffixes): Doc fix.
8767
8768 * international/quail.el (quail-define-package): Doc fix.
8769
8770 * emacs-lisp/authors.el (authors-valid-file-names)
8771 (authors-renamed-files-alist): Additions.
8772
8773 * vc/vc-git.el (vc-git-print-log): Remove --follow;
8774 reverts 2014-01-09 change. (Bug#16422)
8775
8776 * calc/calc-embed.el (thing-at-point-looking-at):
8777 * emacs-lisp/map-ynp.el (x-popup-dialog):
8778 * obsolete/lmenu.el (x-popup-dialog):
8779 * emacs-lisp/package.el (url-recreate-url):
8780 * mail/mailclient.el (clipboard-kill-ring-save):
8781 * subr.el (x-popup-dialog): Update declaration.
8782 * mail/rmail.el (rmail-mime-message-p):
8783 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
8784
8785 2014-01-21 Daniel Colascione <dancol@dancol.org>
8786
8787 * progmodes/sh-script.el (sh--inside-noncommand-expression):
8788 Correctly detect when we're inside an arithmetic expansion form
8789 containing nested parenthesis.
8790 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
8791 to detect cases where we shouldn't expand "<<" to a heredoc
8792 skeleton.
8793
8794 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
8797 (eldoc--message-command-p): New function.
8798 (eldoc-display-message-p): Use it.
8799 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
8800 message is not automatically erased for us.
8801 (eldoc-print-current-symbol-info): Erase previous message, if any.
8802
8803 2014-01-21 Tassilo Horn <tsdh@gnu.org>
8804
8805 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
8806 specify it's an interactive function.
8807
8808 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
8809 Fix regex used for scanning for citation keys which failed for
8810 citations with optional arguments.
8811
8812 2014-01-21 Leo Liu <sdl.web@gmail.com>
8813
8814 * simple.el (read--expression): Don't enable eldoc-mode.
8815
8816 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
8817
8818 * simple.el (move-beginning-of-line): Make sure we don't move forward
8819 (bug#16497).
8820
8821 2014-01-20 Juri Linkov <juri@jurta.org>
8822
8823 * saveplace.el (toggle-save-place, save-place-to-alist)
8824 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
8825 'dired-mode) before checking for dired-directory. (Bug#16477)
8826
8827 2014-01-20 Juri Linkov <juri@jurta.org>
8828
8829 * indent.el (indent-line-to): Use backward-to-indentation
8830 instead of back-to-indentation. (Bug#16461)
8831
8832 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
8833
8834 Revert some of the CANNOT_DUMP fix (Bug#16494).
8835 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
8836 but fixing this can wait until after the next release.
8837 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
8838
8839 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
8840
8841 * eshell/esh-mode.el (eshell-password-prompt-regexp):
8842 Use `password-word-equivalents'.
8843 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
8844 to t. (Bug#5664, Bug#13124)
8845
8846 2014-01-19 Alan Mackenzie <acm@muc.de>
8847
8848 Bind open-paren-in-column-0-is-defun-start to nil at some entry
8849 points.
8850 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
8851 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
8852 * progmodes/cc-mode.el (c-before-change, c-after-change)
8853 (c-font-lock-fontify-region): Bind it here.
8854
8855 2014-01-19 Martin Rudalics <rudalics@gmx.at>
8856
8857 * term.el (term-window-width): Call window-text-width instead of
8858 window-width (Bug#16470).
8859
8860 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
8861
8862 * simple.el (password-word-equivalents): Remove duplicates.
8863 Sort, to make this easier next time.
8864 Downcase. Omit ": " after "jelszó".
8865
8866 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
8867
8868 * term/common-win.el (saved-region-selection): Defvar it.
8869 (x-select-text): Set saved-region-selection (Bug#16382).
8870
8871 2014-01-18 Glenn Morris <rgm@gnu.org>
8872
8873 * emacs-lisp/authors.el (authors-aliases)
8874 (authors-renamed-files-alist): Add some entries.
8875
8876 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
8877
8878 * net/tramp.el (tramp-password-prompt-regexp):
8879 Use `password-word-equivalents' if available.
8880 (tramp-action-password, tramp-process-one-action)
8881 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
8882
8883 2014-01-17 Chong Yidong <cyd@gnu.org>
8884
8885 * simple.el (password-word-equivalents): New defcustom.
8886 * comint.el (comint-password-prompt-regexp): Use it. Bump version
8887 to 24.4.
8888 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
8889 to t. (Bug#13124)
8890
8891 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
8892
8893 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
8894 (ruby-align-to-stmt-keywords): Change the default value.
8895 Use `ruby-alignable-keywords' to generate the possible customization
8896 choices.
8897 (ruby-smie-rules): Instead of using a hardcoded list of alignable
8898 keywords, check against the value of `ruby-alignable-keywords'
8899 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
8900
8901 2014-01-17 Glenn Morris <rgm@gnu.org>
8902
8903 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
8904
8905 Make M-x authors return zero *Authors Errors* from current logs.
8906 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
8907 (authors-ignored-files): Add some entries, remove others.
8908 (authors-ambiguous-files, authors-valid-file-names):
8909 Add some entries.
8910 (authors-renamed-files-alist): Add, remove, and adjust entries.
8911 (authors-renamed-files-regexps): Add some entries.
8912 Remove some very broad ones. Make some entries `lax'.
8913 (authors-lax-changelogs): New constant.
8914 (authors-disambiguate-file-name): Treat top-level specially.
8915 (authors-lax-changelog-p): New function.
8916 (authors-canonical-file-name): Check file as written against
8917 authors-valid-file-names. Do not special-case etc/.
8918 Handle `lax' logs and authors-renamed-files-regexps elements.
8919
8920 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
8921
8922 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
8923 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
8924 callers.
8925
8926 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8927
8928 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
8929 Assume we're already in the proper buffer.
8930 Inspired by Anders Lindgren <andlind@gmail.com>.
8931 (follow-post-command-hook): Call it from the right buffer.
8932 (follow-comint-scroll-to-bottom): Adjust call.
8933 (follow-all-followers): Use get-buffer-window-list.
8934
8935 2014-01-15 Daniel Colascione <dancol@dancol.org>
8936
8937 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
8938 `buffer-file-name' in interactive-form so that we don't leave
8939 pathless file names in `file-name-history'.
8940
8941 2014-01-15 Juri Linkov <juri@jurta.org>
8942
8943 * indent.el (indent-rigidly): Set deactivate-mark to nil
8944 in transient indentation mode. (Bug#16438)
8945
8946 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
8947
8948 * emacs-lisp/package.el (package-desc-keywords): New function
8949 (Bug#16222).
8950 (describe-package-1, package-all-keywords)
8951 (package--has-keyword-p): Use it.
8952
8953 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8954
8955 * simple.el (define-alternatives): When creating the
8956 COMMAND-alternatives variable, assign COMMAND as its definition
8957 name so that `describe-variable' can relocate it.
8958
8959 2014-01-14 Matthew Leach <matthew@mattleach.net>
8960
8961 * font-lock.el (font-lock-keywords): Fix typo in docstring
8962 (bug#16307).
8963
8964 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8965
8966 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
8967 line instead of wrongly reset `add-coment' (bug#13577).
8968
8969 2014-01-14 Daiki Ueno <ueno@gnu.org>
8970
8971 * epa-file.el (epa-file-write-region): Encode the region according
8972 to `buffer-file-format'. Problem reported at:
8973 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
8974
8975 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
8978 so it applies in the right buffer (bug#16410).
8979
8980 2014-01-13 Daniel Colascione <dancol@dancol.org>
8981
8982 * textmodes/rst.el (rst-define-key): Provide deprecated
8983 keybindings through named functions instead of anonymous ones so
8984 that "??" doesn't appear in describe-mode output.
8985
8986 2014-01-13 Bastien Guerry <bzg@gnu.org>
8987
8988 * simple.el (define-alternatives): Call the selected command
8989 interactively. When setting `COMMAND--implementation' for the
8990 first time, tell the user how to chose another implementation.
8991 Enhance the docstring.
8992
8993 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
8994
8995 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
8996 (log-edit--match-first-line): New function.
8997 (log-edit-font-lock-keywords): Use it.
8998 (log-edit-mode): Make jit-lock-defer-multiline work.
8999
9000 2014-01-13 Bastien Guerry <bzg@gnu.org>
9001
9002 * rect.el (rectangle-mark-mode): When the region is not active,
9003 display a message saying that the mark as been set and that
9004 rectangle mode is in use.
9005 (rectangle--highlight-for-redisplay): Only put an overlay with a
9006 visible vertical bar when (display-graphic-p) is non-nil.
9007 This partially fixes Bug#16403.
9008
9009 2014-01-13 Juri Linkov <juri@jurta.org>
9010
9011 * info.el (Info-find-file): Go to DIR before displaying the error
9012 about a nonexistent file if no previous Info file is visited.
9013 Use `user-error' instead of `error' for "Info file %s does not exist".
9014 (Info-find-node-2): In case of a nonexistent node in unwind forms
9015 go to the Top node if there is no previous node to revert to.
9016 (Bug#16405)
9017
9018 2014-01-13 Martin Rudalics <rudalics@gmx.at>
9019
9020 fit-frame/window-to-buffer code fixes including one for Bug#14096.
9021 * window.el (fit-frame-to-buffer): Fix doc-string.
9022 Respect window-min-height/-width. Fit pixelwise when
9023 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
9024 when avoiding that frame goes partially off-screen.
9025 (fit-window-to-buffer): Respect window-min-height/-width
9026 (Bug#14096).
9027
9028 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
9031 after an empty line.
9032
9033 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
9034
9035 * net/shr.el (shr-render-region): Autoload.
9036
9037 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
9038
9039 * net/eww.el (eww-download-directory): Rename from
9040 `eww-download-path' (Bug#16419).
9041
9042 2014-01-12 Leo Liu <sdl.web@gmail.com>
9043
9044 * dired-x.el (dired-mode-map): Fix last change.
9045
9046 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
9047
9048 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
9049
9050 Spelling fixes.
9051 * emacs-lisp/generic.el (generic--normalize-comments):
9052 Rename from generic--normalise-comments. All uses changed.
9053 * play/bubbles.el (bubbles--neighborhood-score)
9054 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
9055 (bubbles--neighborhood-available)
9056 (bubbles--update-neighborhood-score):
9057 Rename from names with 'neighbourhood'. All uses changed.
9058
9059 2014-01-12 Leo Liu <sdl.web@gmail.com>
9060
9061 Re-implement the feature of showing eldoc info after editing.
9062 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
9063 (eldoc-edit-message-commands): New function.
9064 (eldoc-print-after-edit): New variable.
9065 (eldoc-pre-command-refresh-echo-area): Emit message only by
9066 eldoc-message-commands.
9067 (eldoc-mode): Restrict eldoc-message-commands to editing commands
9068 if eldoc-print-after-edit is set. (Bug#16346)
9069 * simple.el (read--expression): Enable eldoc-mode.
9070 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9071
9072 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
9073 Eric S. Raymond <esr@thyrsus.com>
9074
9075 * version.el (emacs-repository-get-version): Enhance so the
9076 function works correctly in either a Bazaar or Git repo.
9077
9078 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
9079
9080 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
9081 Goes with removal of the joke manpages from /etc.
9082
9083 2014-01-10 Kenichi Handa <handa@gnu.org>
9084
9085 * mail/rmail.el (rmail-get-coding-system):
9086 Check rmail-get-coding-function before "funcall"ing it.
9087
9088 2014-01-10 Glenn Morris <rgm@gnu.org>
9089
9090 * emacs-lisp/authors.el (authors-fixed-entries):
9091 Update for files that no longer exist.
9092
9093 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
9094
9095 * version.el (emacs-bzr-get-version): Restore compatibilty with
9096 24.3 (Tested).
9097
9098 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
9099
9100 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
9101 and Podfile.
9102
9103 2014-01-10 Eli Zaretskii <eliz@gnu.org>
9104
9105 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
9106
9107 2014-01-10 Chong Yidong <cyd@gnu.org>
9108
9109 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
9110
9111 2014-01-10 Anders Lindgren <andlind@gmail.com>
9112
9113 * follow.el (follow-cache-command-list): Include right-char and
9114 left-char.
9115
9116 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
9117
9118 Spelling fixes.
9119 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
9120 * woman.el (woman-mark-horizontal-position):
9121 Rename from woman-mark-horizonal-position. Use changed.
9122
9123 2014-01-10 Glenn Morris <rgm@gnu.org>
9124
9125 * info.el (info-initialize): If running uninstalled, ensure our
9126 own info files are always found first, even if INFOPATH is set.
9127
9128 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
9129
9130 2014-01-09 David Engster <deng@randomsample.de>
9131
9132 * emacs-lisp/eieio-custom.el:
9133 * emacs-lisp/eieio-opt.el: Set generated autoload file to
9134 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
9135 * emacs-lisp/eieio.el: Regenerate autoloads.
9136
9137 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
9138
9139 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
9140 following renames. (Bug#8756)
9141
9142 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
9143
9144 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
9145 (bug#16382).
9146 (activate-mark): Add `no-tmm' argument.
9147 (set-mark, push-mark-command): Use it instead of running
9148 activate-mark-hook by hand.
9149
9150 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
9151
9152 In preparation for the move to git, sanitize out some
9153 Bazaar-specific names.
9154
9155 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
9156
9157 * version.el (emacs-bzr-version): Name changed to
9158 emacs-repository-version. Obsolete-variable alias made.
9159 * loadup.el: Follow through on this name change.
9160 * mail/emacsbug.el (report-emacs-bug): Factor out any
9161 assumption about the version control system in use.
9162
9163 2014-01-08 David Engster <deng@randomsample.de>
9164
9165 * help-fns.el (help-fns-describe-function-functions):
9166 New variable to call functions for augmenting help buffers.
9167 (describe-function-1): Remove explicit calls to
9168 `help-fns--compiler-macro', `help-fns--parent-mode' and
9169 `help-fns--obsolete'. Put them in above new variable instead, and
9170 call them through `run-hook-with-args'.
9171 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
9172 `eieio-describe-class'. Not meant for interactive use anymore,
9173 but to augment existing help buffers. Remove optional second
9174 argument. Create proper button for file location.
9175 Rewrite function to use `insert' instead of `princ' and `prin1' where
9176 possible.
9177 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
9178 (eieio-method-def, eieio-class-def): Move further up.
9179 (describe-method, describe-generic, eieio-describe-method):
9180 Remove aliases.
9181 (eieio-help-constructor, eieio-help-generic): Rename from
9182 `eieio-describe-constructor' and `eieio-describe-generic', resp.
9183 Rewrite to use `insert' in the current buffer and use proper help
9184 buttons.
9185 (eieio-help-find-method-definition)
9186 (eieio-help-find-class-definition): Also accept symbols as
9187 arguments.
9188 (eieio-help-mode-augmentation-maybee): Remove.
9189 (eieio-describe-class-sb): Use `describe-function'.
9190 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
9191 Add `eieio-help-generic' and `eieio-help-constructor'.
9192
9193 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
9194
9195 Spelling fixes.
9196 * language/china-util.el (hz-ascii-designation):
9197 Rename from hz-ascii-designnation.
9198 (hz-ascii-designation): Rename from hz-ascii-designnation.
9199 All uses changed.
9200
9201 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
9204 package-alist.
9205
9206 2014-01-08 Bastien Guerry <bzg@gnu.org>
9207
9208 * emacs-lisp/package.el (package-delete):
9209 Correctly delete the package from package-alist.
9210
9211 2014-01-08 Daiki Ueno <ueno@gnu.org>
9212
9213 * emacs-lisp/package.el (url-recreate-url): Declare.
9214 (url-http-target-url): Declare.
9215 (package-handle-response): Include requested URL in the error message.
9216 (package--check-signature): Don't re-signal errors from
9217 package--with-work-buffer. Suggested by Stefan Monnier.
9218
9219 2014-01-07 Bastien Guerry <bzg@gnu.org>
9220
9221 * minibuffer.el (completion--try-word-completion): When both a
9222 hyphen and a space are possible candidates for the character
9223 following a word, display both candidates. (Bug#15980)
9224
9225 2014-01-07 Martin Rudalics <rudalics@gmx.at>
9226
9227 * window.el (balance-windows-2): While rounding don't give a
9228 window more than the remainder. Bug#16351, bug#16383.
9229
9230 2014-01-07 Glenn Morris <rgm@gnu.org>
9231
9232 * menu-bar.el (menu-bar-help-extra-packages): Remove.
9233 (menu-bar-help-menu): Use view-external-packages instead.
9234
9235 2014-01-07 Bastien Guerry <bzg@gnu.org>
9236
9237 * emacs-lisp/package.el (package-delete): Also delete the package
9238 name from `package-alist', not its description only.
9239
9240 2014-01-07 Glenn Morris <rgm@gnu.org>
9241
9242 * help.el (view-external-packages):
9243 * menu-bar.el (menu-bar-help-extra-packages):
9244 Visit efaq.info rather than etc/MORE.STUFF.
9245
9246 2014-01-07 Juri Linkov <juri@jurta.org>
9247
9248 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
9249 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
9250
9251 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
9252 that shadows RET. (Bug#16342)
9253
9254 2014-01-07 Chong Yidong <cyd@gnu.org>
9255
9256 * isearch.el (isearch-yank-char, isearch-yank-word)
9257 (isearch-yank-line): Doc fix.
9258
9259 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
9262 * emacs-lisp/elint.el (elint-find-builtins):
9263 * emacs-lisp/eldoc.el (eldoc-symbol-function):
9264 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
9265 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
9266 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9267 * apropos.el (apropos-safe-documentation):
9268 * subr.el (symbol-file): Remove redundant fboundp.
9269 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
9270
9271 2014-01-06 Bastien Guerry <bzg@gnu.org>
9272
9273 * hl-line.el (global-hl-line-overlay): Make a local variable.
9274 (global-hl-line-overlays): New variable to store all overlays.
9275 (global-hl-line-mode): Don't delete overlays from the current
9276 buffer when `global-hl-line-sticky-flag' is non-nil.
9277 (global-hl-line-highlight): Add new overlays to
9278 `global-hl-line-overlays'.
9279 (global-hl-line-unhighlight-all): New function to delete all
9280 overlays when turning off `global-hl-line-mode'.
9281 This fixes Bug#16183.
9282
9283 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * subr.el (set-transient-map): Fix nested case and docstring.
9286
9287 2014-01-06 Tassilo Horn <tsdh@gnu.org>
9288
9289 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
9290 `Texinfo' entry.
9291
9292 2014-01-06 Daniel Colascione <dancol@dancol.org>
9293
9294 Fix defun navigation in vc log view.
9295
9296 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
9297 like `beginning-of-defun'.
9298 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
9299 log-view-end-of-defun to log-view-end-of-defun-1. Replace
9300 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
9301 (log-view-extract-comment): Call `log-view-current-entry' directly
9302 instead of relying on broken `log-view-beginning-of-defun' behavior.
9303
9304 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
9305
9306 Spelling fixes.
9307 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
9308 * emacs-lisp/debug.el (cancel-debug-on-entry):
9309 * epg.el (epg-error-to-string):
9310 * files.el (recover-file):
9311 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
9312 * mail/emacsbug.el (report-emacs-bug-hook):
9313 * mail/sendmail.el (mail-recover):
9314 * ses.el (ses-yank-resize):
9315 * term/ns-win.el (ns-print-buffer):
9316 Spelling fixes in diagnostics, mostly for "canceled" with one L.
9317 * epg.el (epg-key-capability-alist): Rename from misspelled version.
9318 All uses changed.
9319 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
9320
9321 2014-01-06 Leo Liu <sdl.web@gmail.com>
9322
9323 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
9324 to avoid shadowing global key. (Bug#16354)
9325
9326 2014-01-06 Daniel Colascione <dancol@dancol.org>
9327
9328 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
9329 rst-mode.
9330
9331 2014-01-05 Martin Rudalics <rudalics@gmx.at>
9332
9333 * window.el (balance-windows): Add mising t to fix Bug#16351.
9334
9335 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9336
9337 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
9338 (bug#16285).
9339 (shr-insert): If we have a word that's longer than `shr-width',
9340 break after it anyway. Otherwise we'll do no breaking once we get
9341 such a long word.
9342
9343 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9344
9345 * net/eww.el (eww): Support single/double quote for search.
9346 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
9347 (eww-history-quit): Delete and use quit-window.
9348 (eww-history-kill): Delete, because it doesn't work well and
9349 not necessary.
9350 (eww-history-mode-map): Delete some keys and add easy-menu.
9351
9352 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
9353
9354 Fix misspelling of 'chinese' in rx (Bug#16237).
9355 * emacs-lisp/rx.el (rx-categories): Correct spelling of
9356 chinese-two-byte.
9357
9358 Change subword regexps back to vars (Bug#16296).
9359 * progmodes/subword.el (subword-forward-regexp)
9360 (subword-backward-regexp): Change these back to variables.
9361
9362 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9363
9364 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
9365 syntax-begin-function (bug#16247).
9366
9367 2014-01-03 Chong Yidong <cyd@gnu.org>
9368
9369 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
9370 (advice--docstring): Delete variable.
9371 (advice--make-1): Leave the docstring empty.
9372 (advice-add): Use function-documentation for advised docstring.
9373
9374 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
9375 Ignore function-documentation property when getting documentation.
9376 (ad-activate-advised-definition): Use function-documentation
9377 generate the docstring.
9378 (ad-make-advised-definition): Don't call
9379 ad-make-advised-definition-docstring.
9380 (ad-make-advised-definition-docstring, ad-advised-definition-p):
9381 Delete functions.
9382
9383 * progmodes/sql.el (sql-help): Use function-documentation instead
9384 of dynamic-docstring-function property. No need to autoload now.
9385 (sql--help-docstring): New variable.
9386 (sql--make-help-docstring): Use it.
9387
9388 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * ielm.el (ielm-tab): Retarget.
9391 (ielm-map): Use ielm-tab for tab.
9392 (ielm-complete-filename): Use comint-filename-completion.
9393 (ielm-complete-symbol): Remove.
9394 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
9395 remove ielm-tab from completion-at-point-functions (bug#16224).
9396
9397 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
9398 Beware signals raised by predicates (bug#16201).
9399
9400 2014-01-02 Richard Stallman <rms@gnu.org>
9401
9402 * dired-aux.el (dired-do-print): Handle printer-name.
9403
9404 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
9405 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
9406 (rmail-epa-decrypt): Turn off mime processing.
9407
9408 * mail/rmail.el (rmail-make-in-reply-to-field):
9409 Add parens in message-id.
9410
9411 * mail/rmail.el (rmail-get-coding-function): Variable.
9412 (rmail-get-coding-system): Use it.
9413
9414 2013-12-31 Eli Zaretskii <eliz@gnu.org>
9415
9416 * international/mule-conf.el: Unify the charset indian-is13194.
9417 (indian-is13194): Specify unify-map.
9418
9419 2013-12-31 Leo Liu <sdl.web@gmail.com>
9420
9421 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
9422
9423 2013-12-30 Daniel Colascione <dancol@dancol.org>
9424
9425 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
9426 of printing a useless when we resume from sleep.
9427
9428 * progmodes/sh-script.el
9429 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
9430 in indentation code. (Bug#16233)
9431
9432 2013-12-28 João Távora <joaotavora@gmail.com>
9433
9434 * elec-pair.el (electric-pair-post-self-insert-function):
9435 Don't open extra newlines at beginning of buffer. (Bug#16272)
9436
9437 2013-12-28 Eli Zaretskii <eliz@gnu.org>
9438
9439 * frame.el (window-system-for-display): Don't allow to create a
9440 GUI frame from a -nw session on MS-Windows. (Bug#14739)
9441
9442 2013-12-28 Glenn Morris <rgm@gnu.org>
9443
9444 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
9445 Update callers.
9446
9447 * apropos.el (apropos-match-face):
9448 * calculator.el (calculator-displayer):
9449 * dabbrev.el (dabbrev-search-these-buffers-only):
9450 * face-remap.el (buffer-face-mode-face):
9451 * simple.el (yank-handled-properties):
9452 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
9453 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
9454 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
9455 (hashcash-double-spend-database):
9456 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
9457 (ruby-deep-indent-paren-style):
9458 * textmodes/flyspell.el (flyspell-auto-correct-binding):
9459 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
9460 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
9461 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
9462 Specify custom types.
9463
9464 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
9465 * bookmark.el (bookmark-bmenu-use-header-line):
9466 * doc-view.el (doc-view-scale-internally):
9467 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
9468 * register.el (register-preview-delay):
9469 * net/shr.el (shr-bullet):
9470 * progmodes/cfengine.el (cfengine-cf-promises)
9471 (cfengine-parameters-indent):
9472 * progmodes/octave.el (inferior-octave-error-regexp-alist):
9473 * textmodes/reftex-vars.el (reftex-label-regexps):
9474 * vc/log-edit.el (log-edit-setup-add-author): Add version.
9475
9476 * net/tls.el (tls-certtool-program): Fix default value.
9477
9478 * desktop.el (desktop-restore-in-current-display):
9479 * newcomment.el (comment-empty-lines):
9480 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
9481 (idlwave-pad-keyword):
9482 * progmodes/tcl.el (tcl-tab-always-indent):
9483 * textmodes/reftex-vars.el (reftex-index-default-tag):
9484 * elec-pair.el (electric-pair-skip-whitespace):
9485 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
9486
9487 * emacs-lisp/authors.el (authors-ignored-files)
9488 (authors-valid-file-names, authors-renamed-files-alist): Additions.
9489
9490 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
9491
9492 * shell.el (shell-dynamic-complete-command): Doc fix.
9493 (shell--command-completion-data): Shell completion now matches
9494 executable filenames from the current buffer's directory, on
9495 systems in which this behavior is the default (windows-nt, ms-dos).
9496
9497 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9498
9499 * net/shr.el (shr-insert): Don't infloop if the width is zero.
9500
9501 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9503 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
9504 (bug#16251).
9505
9506 * electric.el: Move all electric-pair-* to elec-pair.el.
9507 * elec-pair.el: New file, split from electric.el.
9508
9509 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9510
9511 * net/shr.el (shr-find-fill-point): Don't try to fill if the
9512 indentation level is larger than the width, because that will
9513 infloop.
9514 (shr-insert): Fill repeatedly long texts, so that Japanese is
9515 formatted correctly (bug#16263).
9516 (shr-find-fill-point): Off by one error in comparison with the
9517 indentation.
9518
9519 2013-12-26 João Távora <joaotavora@gmail.com>
9520
9521 * electric.el (electric-pair-mode): More flexible engine for skip-
9522 and inhibit predicates, new options for pairing-related functionality.
9523 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
9524 if that keeps or improves their balance in buffers.
9525 (electric-pair-delete-adjacent-pairs): Delete the pair when
9526 backspacing over adjacent matched delimiters.
9527 (electric-pair-open-extra-newline): Open extra newline when
9528 inserting newlines between adjacent matched delimiters.
9529 (electric--sort-post-self-insertion-hook):
9530 Sort post-self-insert-hook according to priority values when
9531 minor-modes are activated.
9532 * simple.el (newline-and-indent): Call newline with interactive
9533 set to t.
9534 (blink-paren-post-self-insert-function): Set priority to 100.
9535 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9536 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
9537 comments. Locally set electric-pair-skip-whitespace to 'chomp and
9538 electric-pair-open-newline-between-pairs to nil.
9539
9540 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
9541
9542 * progmodes/python.el: Use lexical-binding.
9543 (python-nav-beginning-of-defun): Stop searching ASAP.
9544
9545 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
9546
9547 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
9548 Fix interactive spec. Doc fix. (Bug#15754)
9549
9550 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
9551
9552 * emacs-lisp/byte-run.el (eval-when-compile):
9553 * progmodes/cc-defs.el (cc-eval-when-compile):
9554 Fix edebug spec (bug#16184).
9555
9556 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9557
9558 * net/shr.el (shr-visit-file): Remove debugging function.
9559 (shr-insert): Don't infloop if we can't find a good place to break
9560 the line (bug#16256).
9561
9562 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
9563
9564 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
9565 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
9566 python-nav-lisp-forward-sexp-safe.
9567 (python-nav--forward-sexp): New argument SAFE allows switching
9568 forward sexp movement behavior for parens.
9569 (python-nav-forward-sexp): Throw errors on unterminated parens
9570 (Bug#16191).
9571 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
9572 (python-nav-backward-sexp-safe): New functions.
9573 (python-shell-buffer-substring):
9574 Use `python-nav-forward-sexp-safe'.
9575
9576 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9577
9578 * net/shr.el (shr-find-fill-point): Don't break lines before a
9579 quotation mark.
9580 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
9581 (shr-find-fill-point): Remove the special checks for the quotation
9582 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
9583
9584 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9585
9586 * net/eww.el (eww-form-textarea): Use a different face for
9587 textareas than text input since they have different keymaps
9588 (bug#16142).
9589
9590 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
9591
9592 * progmodes/python.el (python-nav-beginning-of-statement):
9593 Speed up (Bug#15295).
9594
9595 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9596
9597 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
9598 the window configuration.
9599
9600 2013-12-24 Eli Zaretskii <eliz@gnu.org>
9601
9602 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
9603 we run on MS-Windows or MS-DOS.
9604
9605 2013-12-24 Martin Rudalics <rudalics@gmx.at>
9606
9607 * window.el (balance-windows-area): Call window-size instead of
9608 window-height and window-width. Bug#16241.
9609
9610 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9611
9612 * net/eww.el (eww-bookmark-quit): Remove.
9613 (eww-bookmark-browse): Restore the window configuration when you
9614 choose a bookmark (bug#16144).
9615
9616 2013-12-24 Daniel Colascione <dancol@dancol.org>
9617
9618 * icomplete.el: Remove redundant :group arguments to `defcustom'
9619 throughout.
9620 (icomplete-show-matches-on-no-input): New customizable variable.
9621 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
9622 we have something to show.
9623 (icomplete-exhibit): Compute completions even if we have no user input.
9624
9625 2013-12-23 Daniel Colascione <dancol@dancol.org>
9626
9627 * icomplete.el: Move `provide' to end of file.
9628
9629 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
9630
9631 * net/gnutls.el (gnutls-verify-error): Add version tag.
9632
9633 2013-12-23 Chong Yidong <cyd@gnu.org>
9634
9635 * subr.el (set-transient-map): Rename from
9636 set-temporary-overlay-map. Doc fix.
9637
9638 * face-remap.el (text-scale-adjust):
9639 * indent.el (indent-rigidly):
9640 * kmacro.el (kmacro-call-macro):
9641 * minibuffer.el (minibuffer-force-complete):
9642 * repeat.el (repeat):
9643 * simple.el (universal-argument--mode):
9644 * calendar/todo-mode.el (todo-insert-item--next-param):
9645 * progmodes/f90.el (f90-abbrev-start): Callers changed.
9646
9647 * indent.el (indent-rigidly): Use substitute-command-keys.
9648
9649 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9650
9651 * net/eww.el (eww-tag-select): Add text-property to jump to next
9652 select field.
9653 (eww): Add non-supported ftp error.
9654
9655 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9656
9657 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
9658 comments. Handle electric indent after typing `?' and `!'.
9659
9660 2013-12-22 Chong Yidong <cyd@gnu.org>
9661
9662 * faces.el (face-spec-recalc): If the theme specs are not
9663 applicable to a frame, fall back on the defface spec.
9664 This prevents themes from obliterating faces on low-color terminals.
9665
9666 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9667
9668 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
9669 after `{'. We need it after block openers, and it doesn't seem
9670 to hurt after hash openers.
9671
9672 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9673
9674 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
9675 extracted from `ruby-smie-rules'.
9676 (ruby--electric-indent-chars): New variable.
9677 (ruby--electric-indent-p): New function.
9678 (ruby-mode): Use `electric-indent-functions' instead of
9679 `electric-indent-chars'.
9680
9681 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9682
9683 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
9684 docstring.
9685 (ruby-smie-rules): Indent plus one level after `=>'.
9686
9687 2013-12-21 Richard Stallman <rms@gnu.org>
9688
9689 * simple.el (newline): Doc fix.
9690
9691 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9692
9693 * net/eww.el (eww-list-histories, eww-list-histories)
9694 (eww-history-browse, eww-history-quit, eww-history-kill)
9695 (eww-history-mode-map, eww-history-mode): New command and
9696 functions to list browser histories.
9697 (eww-form-text): Support text form with disabled
9698 and readonly attributes.
9699 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
9700
9701 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9702
9703 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
9704 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
9705 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
9706 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
9707 Use `user-error'.
9708 (eww-bookmark-mode-map): Add menu.
9709 (eww-render, eww-mode): Use `setq-local'.
9710 (eww-tool-bar-map): New variable.
9711 (eww-mode): Set `tool-bar-map'.
9712 (eww-view-source): Check for `html-mode' with `fboundp'.
9713
9714 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9715
9716 * net/shr.el (shr--extract-best-source): Don't bug out on audio
9717 elements with text inside. Also remove debugging.
9718
9719 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
9720
9721 * cus-start.el (all): Add ns-use-srgb-colorspace.
9722
9723 2013-12-21 Chong Yidong <cyd@gnu.org>
9724
9725 * custom.el (custom-theme-recalc-face): Do nothing if the face is
9726 undefined. Thus, theme settings for undefined faces do not take
9727 effect until the faces are defined with defface, the same as with
9728 theme variables.
9729
9730 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
9731 (face-spec-reset-face): Don't assign extra properties in temacs.
9732 (face-spec-recalc): Apply X resources too.
9733
9734 2013-12-21 Chong Yidong <cyd@gnu.org>
9735
9736 * faces.el (face-spec-set):
9737 * cus-face.el (custom-theme-set-faces, custom-set-faces):
9738 * custom.el (defface): Doc fixes (Bug#16203).
9739
9740 * indent.el (indent-rigidly-map): Add docstring, and move commands
9741 into named functions.
9742 (indent-rigidly-left, indent-rigidly-right)
9743 (indent-rigidly-left-to-tab-stop)
9744 (indent-rigidly-right-to-tab-stop): New functions. Decide on
9745 indentation direction based on bidi direction, and accumulate
9746 sequential commands in a single undo boundary.
9747 (indent-rigidly--pop-undo): New utility function.
9748
9749 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
9750
9751 * faces.el (read-face-name): Require crm.el when using crm-separator.
9752
9753 2013-12-20 Daniel Colascione <dancol@dancol.org>
9754
9755 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
9756 so that we don't reflow comments into the shebang line.
9757
9758 2013-12-20 Juri Linkov <juri@jurta.org>
9759
9760 * saveplace.el (save-place-to-alist): Add `dired-filename' as
9761 a position when `dired-directory' is non-nil. Check integer
9762 positions with `integerp'.
9763 (toggle-save-place, save-places-to-alist): Add check for
9764 `dired-directory'.
9765 (save-place-find-file-hook): Check integer positions with
9766 `integerp'.
9767 (save-place-dired-hook): Use `dired-goto-file' when
9768 `dired-filename' is found in the assoc list. Check integer
9769 positions with `integerp'.
9770 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
9771
9772 * dired.el (dired-initial-position-hook): Rename back from
9773 `dired-initial-point-hook'.
9774 (dired-initial-position): Rename `dired-initial-point-hook' to
9775 `dired-initial-position-hook'.
9776 (dired-file-name-at-point): Doc fix. (Bug#15329)
9777
9778 2013-12-20 Juri Linkov <juri@jurta.org>
9779
9780 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
9781 (read-regexp-suggestions): New function.
9782 (read-regexp): Use `read-regexp-defaults-function' to get default values.
9783 Use `read-regexp-suggestions'. Add non-empty default to history
9784 for empty input.
9785 (occur-read-regexp-defaults-function): Remove function.
9786 (occur-read-primary-args): Use `regexp-history-last' instead of
9787 `occur-read-regexp-defaults-function'.
9788
9789 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
9790 (hi-lock-line-face-buffer, hi-lock-face-buffer)
9791 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
9792 `hi-lock-read-regexp-defaults-function'. Doc fix.
9793 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
9794 with `find-tag-default-as-symbol-regexp'. Doc fix.
9795 (hi-lock-read-regexp-defaults): Remove function.
9796 (hi-lock-regexp-okay): Add check for null.
9797
9798 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
9799 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
9800
9801 * subr.el (find-tag-default-as-symbol-regexp): New function.
9802 (find-tag-default-as-regexp): Move symbol regexp formatting to
9803 `find-tag-default-as-symbol-regexp'.
9804
9805 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
9806
9807 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
9808 (Bug#14179)
9809
9810 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
9811
9812 * calendar/todo-mode.el: New implementation of item insertion
9813 commands and key bindings.
9814 (todo-key-prompt): New face.
9815 (todo-insert-item): New command.
9816 (todo-insert-item--parameters): New defconst, replacing defvar
9817 todo-insertion-commands-args-genlist.
9818 (todo-insert-item--param-key-alist): New defconst, replacing
9819 defvar todo-insertion-commands-arg-key-list.
9820 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
9821 (todo-insert-item--argsleft, todo-insert-item--apply-args)
9822 (todo-insert-item--next-param): New functions.
9823 (todo-insert-item--args, todo-insert-item--argleft)
9824 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
9825 New variables.
9826 (todo-key-bindings-t): Change binding of "i" from
9827 todo-insertion-map to todo-insert-item.
9828 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
9829 (todo-insertion-command-name, todo-insertion-commands-names)
9830 (todo-define-insertion-command, todo-insertion-commands)
9831 (todo-insertion-key-bindings, todo-insertion-map): Remove.
9832
9833 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
9834
9835 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
9836 (todo-toggle-item-highlighting): Use eval-and-compile instead of
9837 eval-when-compile.
9838 (todo-move-category): Allow choosing a non-existing todo file to
9839 move the category to, and create that file.
9840 (todo-default-priority): New user option.
9841 (todo-set-item-priority): Use it.
9842 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
9843 (desktop-restore-file-buffer): Declare.
9844 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
9845 (todo-modes-set-2): Locally set desktop-save-buffer to
9846 todo-desktop-save-buffer.
9847 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
9848 (auto-mode-alist): Add autoload cookie.
9849
9850 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
9851
9852 * emacs-lisp/subr-x.el: Renamed from helpers.el.
9853 helpers.el was a poor choice of name.
9854 (string-remove-prefix): New function.
9855 (string-remove-suffix): New function.
9856
9857 2013-12-20 Martin Rudalics <rudalics@gmx.at>
9858
9859 Fix assignment for new window total sizes.
9860 * window.el (window--pixel-to-size): Remove function.
9861 (window--pixel-to-total-1, window--pixel-to-total):
9862 Fix calculation of new total sizes.
9863
9864 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
9865
9866 * comint.el (comint-output-filter): Fix rear-nonsticky property
9867 placement (Bug#16010).
9868
9869 2013-12-20 Chong Yidong <cyd@gnu.org>
9870
9871 * faces.el (read-color): Minor fix for completion function.
9872
9873 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
9874
9875 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
9876 New option. (Bug#16182)
9877 (ruby-smie--indent-to-stmt-p): Use it.
9878 (ruby-smie-rules): Revert the logic in the handling of `when'.
9879 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
9880 (ruby-deep-arglist, ruby-deep-indent-paren)
9881 (ruby-deep-indent-paren-style): Update docstrings to note that the
9882 vars don't have any effect with SMIE.
9883
9884 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
9885
9886 * calc/calc.el (calc-enter, calc-pop): Use the variable
9887 `calc-context-sensitive-enter'.
9888
9889 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9890
9891 * net/shr.el (shr-insert): Protect against infloops in degenerate
9892 tables.
9893
9894 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9895
9896 * progmodes/octave.el (octave): Add link to manual and octave
9897 homepage.
9898 (octave-mode-menu): Link to octave-mode manual.
9899
9900 2013-12-20 Leo Liu <sdl.web@gmail.com>
9901
9902 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
9903 insertion using skeleton-end-newline. (Bug#16138)
9904
9905 2013-12-20 Juri Linkov <juri@jurta.org>
9906
9907 * replace.el (occur-engine): Use `add-face-text-property'
9908 to add the face property to matches and titles. (Bug#14645)
9909
9910 * hi-lock.el (hi-green): Use lighter color "light green" closer to
9911 the palette of other hi-lock colors.
9912 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
9913
9914 2013-12-19 Juri Linkov <juri@jurta.org>
9915
9916 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
9917 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
9918 (minibuffer-history-symbol): Move variable declaration closer to
9919 its usage.
9920
9921 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
9922 (Bug#14785)
9923
9924 2013-12-19 Juri Linkov <juri@jurta.org>
9925
9926 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
9927 New function.
9928 (log-edit-hook): Add it to :options. (Bug#16170)
9929
9930 2013-12-19 Juri Linkov <juri@jurta.org>
9931
9932 * simple.el (eval-expression-print-format): Don't check for
9933 command names and the last command. Always display additional
9934 formats of the integer result in the echo area, and insert them
9935 to the current buffer only with a zero prefix arg.
9936 Display character when char-displayable-p is non-nil.
9937 (eval-expression): With a zero prefix arg, set `print-length' and
9938 `print-level' to nil, and insert the integer values from
9939 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
9940
9941 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
9942 `eval-last-sexp-arg-internal'. Doc fix.
9943 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
9944 `eval-last-sexp-print-value'. Doc fix.
9945 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
9946 Set `print-length' and `print-level' to nil when arg is zero.
9947 (eval-last-sexp): Doc fix.
9948 (eval-defun-2): Print the integer values from
9949 `eval-expression-print-format' at the end.
9950
9951 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
9952 values from `eval-expression-print-format' at the end.
9953
9954 * ielm.el (ielm-eval-input): Print the integer
9955 values from `eval-expression-print-format' at the end.
9956
9957 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
9958
9959 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
9960 2013-12-11T19:01:44Z!tzz@lifelogs.com.
9961
9962 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
9963
9964 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
9965 (hl-line-highlight, global-hl-line-highlight): Use it.
9966 (hl-line-overlay): Use defvar-local.
9967
9968 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
9969
9970 * term/ns-win.el: Require dnd.
9971 (global-map): Remove drag items.
9972 (ns-insert-text, ns-set-foreground-at-mouse)
9973 (ns-set-background-at-mouse):
9974 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
9975 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
9976 New functions.
9977
9978 2013-12-19 Glenn Morris <rgm@gnu.org>
9979
9980 * emacs-lisp/ert.el (ert-select-tests):
9981 Fix string/symbol mixup. (Bug#16121)
9982
9983 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
9984
9985 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
9986 keywords to their parent.
9987
9988 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
9989
9990 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
9991 first arg to be a string (fixed dead code), or an operator symbol.
9992 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
9993 operator symbols.
9994 (ruby-smie-rules): Remove parent token check in the `.' clause, it
9995 did nothing. Don't respond to `(:after ".")', it will be called
9996 with :before anyway. Remove the ` @ ' rule, it didn't seem to
9997 change anything. Only return indentation for binary operators
9998 when they are hanging. De-dent opening paren when its parent is
9999 `.', otherwise it looks bad when the dot is not at bol or eol
10000 (bug#16182).
10001
10002 2013-12-19 Juri Linkov <juri@jurta.org>
10003
10004 * replace.el (query-replace-read-args): Split a non-negative arg
10005 and a negative arg into separate elements.
10006 (query-replace, query-replace-regexp, replace-string)
10007 (replace-regexp): Add arg `backward'. Doc fix.
10008 (replace-match-maybe-edit): When new arg `backward' is non-nil,
10009 move point to the beginning of the match.
10010 (replace-search, replace-highlight): Use new arg `backward'
10011 to set the value of `isearch-forward'.
10012 (perform-replace): Add arg `backward' and use it to perform
10013 replacement backward. (Bug#14979)
10014
10015 * isearch.el (isearch-query-replace): Use a negative prefix arg
10016 to call `perform-replace' with a non-nil arg `backward'.
10017
10018 2013-12-18 Juri Linkov <juri@jurta.org>
10019
10020 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
10021 to the default list. Move `log-edit-show-files' to the end.
10022 Add more available functions to options.
10023 (log-edit): Move default specific settings to
10024 `log-edit-insert-message-template'. Don't move point.
10025 (log-edit-insert-message-template): New function.
10026 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
10027 (Bug#16170)
10028
10029 2013-12-18 Juri Linkov <juri@jurta.org>
10030
10031 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
10032 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
10033
10034 2013-12-18 Leo Liu <sdl.web@gmail.com>
10035
10036 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
10037 (Bug#16186)
10038
10039 2013-12-18 Eli Zaretskii <eliz@gnu.org>
10040
10041 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
10042 formats for displaying file sizes when the -s switch is given.
10043 Instead, compute a separate format for displaying the size in
10044 blocks, which is displayed in addition to the "regular" size.
10045 When -h is given in addition to -s, produce size in blocks in
10046 human-readable form as well. (Bug#16179)
10047
10048 2013-12-18 Tassilo Horn <tsdh@gnu.org>
10049
10050 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10051 Reference tables with ~\ref{...} instead of only \ref{...}.
10052
10053 2013-12-18 Chong Yidong <cyd@gnu.org>
10054
10055 * cus-edit.el (custom-magic-alist): Fix "themed" description
10056 (Bug#14348).
10057
10058 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
10059 is non-nil, do not create a new entry in the symbol's theme-value
10060 or theme-face property; update theme-settings only (Bug#14664).
10061 (custom-available-themes): Doc fix.
10062
10063 * cus-theme.el (custom-new-theme-mode-map): Add bindings
10064 (Bug#15674).
10065
10066 * replace.el (occur-engine): Avoid infloop (Bug#7593).
10067
10068 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
10069
10070 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
10071 (Bug#13914).
10072
10073 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
10074
10075 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
10076
10077 2013-12-18 Glenn Morris <rgm@gnu.org>
10078
10079 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
10080 * cus-start.el (load-prefer-newer): New option.
10081
10082 2013-12-18 Le Wang <l26wang@gmail.com>
10083
10084 * comint.el (comint-previous-matching-input-from-input):
10085 Retain point (Bug#13404).
10086
10087 2013-12-18 Chong Yidong <cyd@gnu.org>
10088
10089 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
10090
10091 2013-12-18 Glenn Morris <rgm@gnu.org>
10092
10093 * mail/emacsbug.el (report-emacs-bug):
10094 Only mention enable-multibyte-characters if non-standard.
10095
10096 2013-12-17 Juri Linkov <juri@jurta.org>
10097
10098 * arc-mode.el (archive-extract-by-file): Check if directory exists
10099 before deletion to not show irrelevant errors if it doesn't exist.
10100
10101 2013-12-17 Juri Linkov <juri@jurta.org>
10102
10103 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
10104 (Bug#14751)
10105
10106 * net/eww.el (browse-web): Add alias to `eww'.
10107 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
10108 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
10109
10110 * net/browse-url.el (browse-url-browser-function): Move `eww'
10111 closer to similar functions.
10112
10113 * startup.el (fancy-startup-screen, fancy-about-screen):
10114 Set browse-url-browser-function to eww-browse-url locally.
10115 (Bug#14751)
10116
10117 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * window.el (window--pixel-to-total): Remove unused `mini' var.
10120 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
10121 (split-window): Remove unused `new' var.
10122 (window--display-buffer): Remove unused `frame' and `delta' vars.
10123 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
10124 and display-width'.
10125
10126 2013-12-17 Martin Rudalics <rudalics@gmx.at>
10127
10128 * dired.el (dired-mark-pop-up):
10129 * register.el (register-preview): Don't bind
10130 split-height-threshold here since it's now done in
10131 display-buffer-below-selected.
10132
10133 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
10134
10135 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
10136 xterm-rgb-convert-to-16bit.
10137 (rxvt-register-default-colors): Standardize with
10138 xterm-register-default-colors (Bug#14078).
10139
10140 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
10141
10142 * simple.el (kill-region): Pass mark first, then point, so that
10143 kill-append works right (Bug#12819).
10144 (copy-region-as-kill, kill-ring-save): Likewise.
10145
10146 2013-12-17 Leo Liu <sdl.web@gmail.com>
10147
10148 * net/rcirc.el (rcirc-add-face):
10149 * eshell/em-prompt.el (eshell-emit-prompt):
10150 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
10151 (Bug#16167)
10152
10153 2013-12-17 Chong Yidong <cyd@gnu.org>
10154
10155 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
10156 Suggested by Xue Fuqiao.
10157
10158 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
10159
10160 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
10161
10162 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
10163
10164 * net/shr.el (shr-insert-document): Remove unused var
10165 `shr-preliminary-table-render'.
10166 (shr-rescale-image): Remove unused arg `force'.
10167 (shr-put-image): Update calls accordingly.
10168 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
10169
10170 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
10171
10172 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
10173 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
10174 :close-all, to see which indentation method to use (Bug#16116).
10175 (smie-rules-function): Document the method :close-all.
10176
10177 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10178
10179 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
10180
10181 * net/eww.el (eww-display-html): If we can't find the anchor we're
10182 looking for, then go to point-min.
10183
10184 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
10185
10186 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
10187 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
10188 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
10189 Expand dir too, in case it's relative.
10190
10191 2013-12-16 Juri Linkov <juri@jurta.org>
10192
10193 * desktop.el (desktop-auto-save-timeout): Change default to
10194 `auto-save-timeout'. Doc fix.
10195 (desktop-save): Skip the timestamp in desktop-saved-frameset
10196 when checking for auto-save changes.
10197 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
10198 `desktop-auto-save' is called repeatedly by the idle timer.
10199 (desktop-auto-save-set-timer): Replace `run-with-timer' with
10200 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
10201 (Bug#15331)
10202
10203 2013-12-16 Juri Linkov <juri@jurta.org>
10204
10205 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
10206 (Bug#16035)
10207 (isearch-pre-command-hook): Check `this-command' for symbolp.
10208
10209 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
10212
10213 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
10214
10215 * progmodes/cfengine.el (cfengine3--current-word): Remove.
10216 (cfengine3--current-function): Bring in the current-function
10217 functionality from `cfengine3--current-word'.
10218 (cfengine3-completion-function): Bring in the
10219 bounds-of-current-word functionality from
10220 `cfengine3--current-word'.
10221
10222 2013-12-16 Martin Rudalics <rudalics@gmx.at>
10223
10224 * window.el (display-buffer-below-selected):
10225 Bind split-height-threshold to 0 as suggested by Juri Linkov.
10226
10227 2013-12-16 Leo Liu <sdl.web@gmail.com>
10228
10229 * progmodes/compile.el (compile-goto-error): Do not push-mark.
10230 Remove NOMSG arg and all uses changed.
10231
10232 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
10235 (cua--deactivate-rectangle): Don't deactivate the mark.
10236 (cua-set-rectangle-mark): Don't set mark-active since
10237 cua--activate-rectangle already does it for us.
10238 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
10239 non-rectangular region.
10240
10241 * emulation/cua-base.el (cua-repeat-replace-region):
10242 Use with-current-buffer.
10243
10244 * net/gnutls.el: Use cl-lib.
10245 (gnutls-negotiate): `mapcan' -> cl-mapcan.
10246
10247 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10248
10249 * emacs-lisp/package.el (package-built-in-p): Support both
10250 built-in and the package.el converted package descriptions.
10251 (package-show-package-list): Allow keywords.
10252 (package-keyword-button-action): Use it instead of
10253 `finder-list-matches'.
10254 (package-menu-filter-interactive): Interactive filtering (by
10255 keyword) function.
10256 (package-menu--generate): Support keywords and change keymappings
10257 and headers when they are given.
10258 (package--has-keyword-p): Helper function.
10259 (package-menu--refresh): Use it.
10260 (package--mapc): Helper function.
10261 (package-all-keywords): Use it.
10262 (package-menu-mode-map): Set up menu items and keybindings to
10263 provide a filtering UI.
10264
10265 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10266
10267 * net/gnutls.el (gnutls-verify-error): New defcustom to control
10268 the behavior when a certificate fails validation. Defaults to
10269 old behavior: never abort, just warn.
10270 (gnutls-negotiate): Use it.
10271
10272 2013-12-14 Martin Rudalics <rudalics@gmx.at>
10273
10274 * window.el (display-buffer-below-selected): Never split window
10275 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
10276
10277 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
10278
10279 * emacs-lisp/package.el (package--prepare-dependencies): New function.
10280 (package-buffer-info): Use it (bug#15108).
10281
10282 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
10283
10284 * icomplete.el (icomplete-completions): Make sure the prefix is already
10285 displayed elsewhere before hiding it (bug#16219).
10286
10287 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
10288
10289 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
10290 open-paren tokens when preceded by a open-paren, too.
10291 (ruby-smie-rules): Handle virtual indentation after open-paren
10292 tokens specially. If there is code between it and eol, return the
10293 column where is starts (Bug#16118).
10294
10295 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10296
10297 * progmodes/cfengine.el: Fix `add-hook' doc.
10298 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
10299 (cfengine3--current-word): Fix parameters.
10300 (cfengine3-make-syntax-cache): Simplify further.
10301 (cfengine3-completion-function, cfengine3--current-function):
10302 Use `assq' for symbols.
10303 (cfengine3--current-function): Fix `cfengine3--current-word' call.
10304
10305 2013-12-13 Glenn Morris <rgm@gnu.org>
10306
10307 * loadup.el (load-path): Warn if site-load or site-init changes it.
10308 No more need to reset it when bootstrapping.
10309
10310 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10311
10312 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
10313 locations for cf-promises.
10314 (cfengine-mode-syntax-functions-regex): New caching variable.
10315 (cfengine3-fallback-syntax): Fallback syntax for cases where
10316 cf-promises doesn't run.
10317 (cfengine3--current-word): Reimplement using
10318 `cfengine-mode-syntax-functions-regex'.
10319 (cfengine3-completion-function, cfengine3--current-function):
10320 Use `cfengine3-make-syntax-cache' directly.
10321 (cfengine3-clear-syntax-cache): New function.
10322 (cfengine3-make-syntax-cache): Simplify and create
10323 `cfengine-mode-syntax-functions-regex' on demand.
10324 (cfengine3-format-function-docstring): Don't call
10325 `cfengine3-make-syntax-cache' explicitly.
10326
10327 2013-12-13 Martin Rudalics <rudalics@gmx.at>
10328
10329 Fix windmove-find-other-window broken after pixelwise resizing
10330 (Bug#16017).
10331 * windmove.el (windmove-other-window-loc): Revert change from
10332 2013-12-04.
10333 (windmove-find-other-window): Call window-in-direction.
10334 * window.el (window-in-direction): New arguments SIGN, WRAP and
10335 MINI to emulate original windmove-find-other-window behavior.
10336
10337 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
10338
10339 * simple.el (blink-matching--overlay): New variable.
10340 (blink-matching-open): Instead of moving point, highlight the
10341 matching paren with an overlay
10342 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
10343
10344 * faces.el (paren-showing-faces, show-paren-match)
10345 (show-paren-mismatch): Move from paren.el.
10346
10347 2013-12-13 Leo Liu <sdl.web@gmail.com>
10348
10349 * indent.el (indent-region): Disable progress reporter in
10350 minibuffer. (Bug#16108)
10351
10352 * bindings.el (visual-order-cursor-movement): Fix version.
10353
10354 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10355
10356 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
10357 Also match after beginning of line.
10358 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
10359 files. Thanks to Russell Sim. (Bug#15378)
10360
10361 2013-12-13 Juri Linkov <juri@jurta.org>
10362
10363 * simple.el <Keypad support>: Remove key bindings duplicated
10364 with bindings.el. (Bug#14397)
10365
10366 2013-12-13 Juri Linkov <juri@jurta.org>
10367
10368 * comint.el (comint-mode-map): Replace `delete-char' with
10369 `delete-forward-char'. (Bug#16109)
10370
10371 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10372
10373 * progmodes/python.el (python-indent-calculate-indentation):
10374 Fix de-denters cornercase. (Bug#15731)
10375
10376 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10377
10378 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
10379 (advice--make): Pay attention to `depth'.
10380 (advice--make-1): Don't autoload commands eagerly.
10381 * emacs-lisp/elp.el (elp-instrument-function):
10382 * emacs-lisp/trace.el (trace-function-internal):
10383 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
10384
10385 * iswitchb.el (iswitchb-mode): Don't belittle ido.
10386
10387 2013-12-12 Eli Zaretskii <eliz@gnu.org>
10388
10389 * term/w32-win.el (w32-handle-dropped-file):
10390 * startup.el (normal-top-level):
10391 * net/browse-url.el (browse-url-file-url):
10392 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
10393 decode file names using 'utf-8' rather than
10394 file-name-coding-system.
10395
10396 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10397
10398 * progmodes/python.el (python-indent-context)
10399 (python-indent-calculate-indentation): Fix auto-identation
10400 behavior for comment blocks. (Bug#15916)
10401
10402 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
10403
10404 * progmodes/python.el (python-indent-calculate-indentation):
10405 When determining indentation, don't treat "return", "pass", etc., as
10406 operators when they are just string constituents. (Bug#15812)
10407
10408 2013-12-12 Juri Linkov <juri@jurta.org>
10409
10410 * uniquify.el (uniquify-buffer-name-style): Change default to
10411 `post-forward-angle-brackets'.
10412
10413 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
10414 `uniquify'. Change default to `post-forward-angle-brackets'.
10415
10416 2013-12-11 Glenn Morris <rgm@gnu.org>
10417
10418 * emacs-lisp/package.el (finder-list-matches):
10419 Autoload rather than falsely declaring.
10420
10421 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
10422
10423 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
10424 (eww-mode-map): Use them.
10425
10426 2013-12-11 Martin Rudalics <rudalics@gmx.at>
10427
10428 * window.el (display-buffer-in-side-window): Fix doc-string
10429 (Bug#16115).
10430
10431 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
10432
10433 * vc/vc-git.el: Silence byte-compiler warnings.
10434 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
10435 (log-edit-set-header): Declare.
10436
10437 2013-12-11 Eli Zaretskii <eliz@gnu.org>
10438
10439 * Makefile.in (custom-deps, finder-data): Run output file names
10440 through unmsys--file-name. (Bug#16099)
10441
10442 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
10445 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
10446
10447 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
10448 instead of deleting the selection "by hand" (bug#16098).
10449 Rely on insert-for-yank to yank rectangles.
10450 (cua-highlight-region-shift-only): Mark obsolete.
10451 (cua-mode): Don't enable/disable transient-mark-mode,
10452 shift-select-mode (cua-mode works both with and without them), and
10453 pc-selection-mode (obsolete).
10454 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
10455 (cua--deactivate-rectangle): Deactivate it.
10456
10457 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
10458 (delete-selection-helper): Make sure yank starts at the top of the
10459 deleted region.
10460 (minibuffer-keyboard-quit): Use region-active-p.
10461
10462 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
10463
10464 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
10465 to `delete' (bug#16109).
10466
10467 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10468
10469 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
10470 info manual and show keybindings and set `:group' keyword.
10471
10472 2013-12-11 Juri Linkov <juri@jurta.org>
10473
10474 * delsel.el (delete-active-region): Let-bind `this-command'
10475 to prevent `kill-region' from changing its original value.
10476 (delete-selection-helper): Handle `overwrite-mode' for the type
10477 `kill' exactly the same way as for the type `t'.
10478 (insert-char, quoted-insert, reindent-then-newline-and-indent):
10479 Support more commands. (Bug#13312)
10480
10481 2013-12-11 Juri Linkov <juri@jurta.org>
10482
10483 * bindings.el: Map kp keys to non-kp keys systematically
10484 with basic modifiers control, meta and shift. (Bug#14397)
10485
10486 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10487
10488 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
10489 "Close browser" menu items. Fix wrong function of "List
10490 bookmarks".
10491
10492 2013-12-11 Juri Linkov <juri@jurta.org>
10493
10494 * misearch.el (multi-isearch-buffers): Set the value of
10495 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10496 arg of isearch-forward to t.
10497 (multi-isearch-buffers-regexp): Set the value of
10498 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10499 arg of isearch-forward-regexp to t.
10500 (multi-isearch-files): Set the value of
10501 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10502 arg of isearch-forward to t.
10503 (multi-isearch-files-regexp): Set the value of
10504 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10505 arg of isearch-forward-regexp to t. (Bug#16035)
10506
10507 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
10508 arg of isearch-forward to t.
10509 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
10510 arg of isearch-forward-regexp to t.
10511 (dired-isearch-filter-filenames): Remove unnecessary check for
10512 `dired-isearch-filenames'.
10513
10514 * comint.el (comint-history-isearch-backward):
10515 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
10516 (comint-history-isearch-backward-regexp):
10517 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
10518
10519 2013-12-10 Eli Zaretskii <eliz@gnu.org>
10520
10521 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
10522 unmsys--file-name. (Bug#16099)
10523
10524 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
10525
10526 * emacs-lisp/package.el (package-keyword-button-action):
10527 Remove finder.el require dependency.
10528
10529 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
10530
10531 * emacs-lisp/package.el: Require finder.el.
10532 (describe-package-1): Add keyword buttons.
10533 (package-make-button): New convenience function.
10534 (package-keyword-button-action): Keyword button action using
10535 `finder-list-matches'.
10536
10537 2013-12-09 Eli Zaretskii <eliz@gnu.org>
10538
10539 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
10540 last commit.
10541
10542 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
10543
10544 * autorevert.el (auto-revert-notify-add-watch): Do not handle
10545 symlinked files.
10546
10547 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10548
10549 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
10550 after the end of a percent literal.
10551
10552 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
10553
10554 * progmodes/ruby-mode.el (ruby-forward-string): Document.
10555 Handle caret-delimited strings (Bug#16079).
10556
10557 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10558
10559 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
10560 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
10561 `ruby-parse-partial' (Bug#16078).
10562
10563 2013-12-09 Leo Liu <sdl.web@gmail.com>
10564
10565 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
10566
10567 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
10568
10569 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
10570 (js-switch-indent-offset): New option.
10571 (js--proper-indentation): Use it. And handle the case when
10572 "default" is actually a key in an object literal.
10573 (js--same-line): New function.
10574 (js--multi-line-declaration-indentation): Use it.
10575 (js--indent-in-array-comp, js--array-comp-indentation):
10576 New functions.
10577 (js--proper-indentation): Use them, to handle array comprehension
10578 continuations.
10579
10580 2013-12-08 Leo Liu <sdl.web@gmail.com>
10581
10582 * progmodes/flymake.el (flymake-highlight-line): Re-write.
10583 (flymake-make-overlay): Remove arg MOUSE-FACE.
10584 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
10585
10586 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
10589 New function.
10590 (redisplay-highlight-region-function): Use it.
10591
10592 * emulation/cua-base.el (cua--explicit-region-start)
10593 (cua--last-region-shifted): Remove.
10594 (cua--deactivate): Use deactivate-mark.
10595 (cua--pre-command-handler-1): Don't handle shift-selection.
10596 (cua--post-command-handler-1): Don't change transient-mark-mode.
10597 (cua--select-keymaps): Use region-active-p rather than
10598 cua--explicit-region-start or cua--last-region-shifted.
10599 (cua-mode): Enable shift-select-mode.
10600
10601 2013-12-08 Leo Liu <sdl.web@gmail.com>
10602
10603 * progmodes/flymake.el (flymake-popup-current-error-menu):
10604 Rename from flymake-display-err-menu-for-current-line. Reimplement.
10605 (flymake-posn-at-point-as-event, flymake-popup-menu)
10606 (flymake-make-emacs-menu): Remove. (Bug#16077)
10607
10608 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * rect.el (rectangle-mark-mode): Activate mark even if
10611 transient-mark-mode is off (bug#16066).
10612 (rectangle--highlight-for-redisplay): Fix boundary condition when point
10613 is > mark and at bolp.
10614
10615 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
10616 (region-extract-function): Use it.
10617 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
10618 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
10619 Delete functions.
10620 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
10621 kill-ring-save, kill-region, delete-char, delete-forward-char.
10622 Ignore self-insert-iso.
10623
10624 * emulation/cua-gmrk.el (cua--init-global-mark):
10625 Ignore `self-insert-iso'.
10626
10627 * emulation/cua-base.el (cua--prefix-copy-handler)
10628 (cua--prefix-cut-handler): Rely on region-extract-function rather than
10629 checking cua--rectangle.
10630 (cua-delete-region): Use region-extract-function.
10631 (cua-replace-region): Delete function.
10632 (cua-copy-region, cua-cut-region): Obey region-extract-function.
10633 (cua--pre-command-handler-1): Don't do the delete-selection thing.
10634 (cua--self-insert-char-p): Ignore `self-insert-iso'.
10635 (cua--init-keymaps): Don't remap delete-selection commands.
10636 (cua-mode): Use delete-selection-mode instead of rolling our own
10637 (bug#16085).
10638
10639 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
10640 Obey region-extract-function.
10641
10642 Make registers and delete-selection-mode work on rectangles.
10643 * register.el (describe-register-1): Don't modify the register's value.
10644 (copy-to-register): Obey region-extract-function.
10645 * delsel.el (delete-active-region): Obey region-extract-function.
10646
10647 2013-12-08 Leo Liu <sdl.web@gmail.com>
10648
10649 * progmodes/flymake.el (flymake, flymake-error-bitmap)
10650 (flymake-warning-bitmap, flymake-fringe-indicator-position)
10651 (flymake-compilation-prevents-syntax-check)
10652 (flymake-start-syntax-check-on-newline)
10653 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
10654 (flymake-start-syntax-check-on-find-file, flymake-log-level)
10655 (flymake-xml-program, flymake-master-file-dirs)
10656 (flymake-master-file-count-limit)
10657 (flymake-allowed-file-name-masks): Relocate.
10658 (flymake-makehash, flymake-float-time)
10659 (flymake-replace-regexp-in-string, flymake-split-string)
10660 (flymake-get-temp-dir): Remove.
10661 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
10662 (flymake-current-row, flymake-selected-frame)
10663 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
10664 related functions. (Bug#16077)
10665
10666 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
10667
10668 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
10669
10670 2013-12-07 Tassilo Horn <tsdh@gnu.org>
10671
10672 * help-fns.el (describe-function-1): Use new advice-* functions
10673 rather than old ad-* functions. Fix function type description and
10674 source links for advised functions and subrs.
10675
10676 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10677
10678 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
10679
10680 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
10681
10682 * progmodes/compile.el (compilation-start):
10683 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
10684
10685 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10686 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
10687
10688 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10689
10690 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10691 Touch up the last change.
10692
10693 2013-12-06 Leo Liu <sdl.web@gmail.com>
10694
10695 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
10696 (inferior-octave-startup): Always use "octave> " for prompt.
10697 (octave-goto-function-definition)
10698 (octave-sync-function-file-names)
10699 (octave-find-definition-default-filename): Remove redundant backquotes.
10700
10701 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10702
10703 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
10704 syntax for `?'.
10705 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
10706 where appropriate already.
10707 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
10708 end of method names (Bug#15874).
10709
10710 2013-12-06 Juri Linkov <juri@jurta.org>
10711
10712 * isearch.el (isearch--saved-overriding-local-map):
10713 New internal variable.
10714 (isearch-mode): Set it to the initial value of
10715 `overriding-terminal-local-map'.
10716 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
10717 with `isearch--saved-overriding-local-map'. (Bug#16035)
10718
10719 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10720
10721 * progmodes/octave.el (inferior-octave-completion-table):
10722 Turn back into function, use `completion-table-with-cache'
10723 (Bug#11906). Update all references.
10724
10725 * minibuffer.el (completion-table-with-cache): New function.
10726
10727 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
10728
10729 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
10730
10731 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
10732
10733 * net/eww.el (eww-current-source): New variable to store page
10734 source.
10735 (eww-display-html, eww-mode, eww-save-history)
10736 (eww-restore-history): Use it.
10737 (eww-view-source): New command to view page source.
10738 Opportunistically uses `html-mode' to highlight the buffer.
10739 (eww-mode-map): Install it.
10740
10741 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
10742
10743 * net/dbus.el (dbus-unregister-service)
10744 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
10745 Fix docstring.
10746 (dbus-unregister-service): Skip :serial entries in
10747 `dbus-registered-objects-table'.
10748 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
10749
10750 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
10751
10752 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
10753 around keywords with extra `split-string' argument.
10754
10755 2013-12-04 Martin Rudalics <rudalics@gmx.at>
10756
10757 * windmove.el (windmove-other-window-loc): Handle navigation
10758 between windows (excluding the minibuffer window - Bug#16017).
10759
10760 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
10761
10762 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
10763 in D-Bus type syntax.
10764 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
10765 preserve unibyte strings. (Bug#16048)
10766
10767 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10768
10769 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10770 Call force-mode-line-update is the proper buffer (bug#16042).
10771
10772 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
10773
10774 * vc/log-edit.el (log-edit-add-new-comment): Rename to
10775 `log-edit-remember-comment', make argument optional. Adjust all
10776 callers.
10777 (log-edit-mode): Add `log-edit-remember-comment' to
10778 `kill-buffer-hook' locally.
10779 (log-edit-kill-buffer): Don't remember comment explicitly since
10780 the buffer is killed anyway.
10781
10782 2013-12-04 Juri Linkov <juri@jurta.org>
10783
10784 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
10785 add-hook and remove-hook for multi-buffer search. (Bug#16035)
10786
10787 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
10788
10789 * notifications.el (notifications-close-notification): Call the
10790 D-Bus method with ID being a `:uint32'. (Bug#16030)
10791
10792 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
10793
10794 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
10795
10796 2013-12-03 Juri Linkov <juri@jurta.org>
10797
10798 * progmodes/compile.el (compilation-start): Rename window alist
10799 entry `no-display-ok' to `allow-no-window'.
10800
10801 * simple.el (shell-command): Add window alist entry
10802 `allow-no-window' to `display-buffer'.
10803 (async-shell-command): Doc fix.
10804
10805 * window.el (display-buffer-no-window): New action function.
10806 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
10807
10808 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10809
10810 * vc/log-edit.el (log-edit-set-header): Extract from
10811 `log-edit-toggle-header'.
10812 (log-edit-extract-headers): Separate the summary, when extracted
10813 from header, from the rest of the message with an empty line.
10814
10815 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
10816 line, if present, to the Summary header.
10817
10818 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10819
10820 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
10821 in current-buffer (bug#16029).
10822
10823 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
10824
10825 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
10826 (debugger-mode-map): Bind it.
10827 (debugger--backtrace-base): New function.
10828 (debugger-eval-expression): Use it.
10829 (debugger-frame-number): Skip local vars when present.
10830 (debugger--locals-visible-p, debugger--insert-locals)
10831 (debugger--show-locals, debugger--hide-locals): New functions.
10832
10833 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
10834
10835 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
10836 "LC_ALL".
10837 (tramp-get-remote-locale): New defun.
10838 (tramp-open-connection-setup-interactive-shell): Use it.
10839
10840 2013-12-02 Leo Liu <sdl.web@gmail.com>
10841
10842 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
10843
10844 * progmodes/sh-script.el (sh-shell-process):
10845 * progmodes/octave.el (inferior-octave-process-live-p):
10846 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
10847 (gdb-inferior-io-sentinel):
10848 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
10849
10850 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10851
10852 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
10853 `save-selected-window' to `log-edit-hide-buf'. This makes
10854 `log-edit-show-files' idempotent.
10855 (log-edit-show-files): Mark the new window as dedicated.
10856
10857 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10858
10859 * vc/log-edit.el (log-edit-mode-map): Add binding for
10860 `log-edit-kill-biffer'.
10861 (log-edit-hide-buf): Add a FIXME comment.
10862 (log-edit-add-new-comment): New function, extracted from
10863 `log-edit-done'.
10864 (log-edit-done, log-edit-add-to-changelog): Use it.
10865 (log-edit-kill-buffer): New command.
10866
10867 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10868
10869 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
10870 instead of killing the buffer.
10871
10872 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10873
10874 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
10875
10876 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10877
10878 * net/eww.el (eww-form-checkbox-selected-symbol)
10879 (eww-form-checkbox-symbol): New customizable variable.
10880 (eww-form-checkbox, eww-toggle-checkbox):
10881 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
10882
10883 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
10884 (shr--get-media-pref, shr--extract-best-source): New function.
10885 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
10886 no :src tag was specified.
10887
10888 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
10889 (eww-render): Handle `eww-use-external-browser-for-content-type'.
10890 Use \\` to match beginning of string instead of ^.
10891 (eww-browse-with-external-browser): Provide optional URL parameter.
10892 (eww-render): Set `eww-current-title' back to "".
10893
10894 * net/shr.el (shr-tag-video): Display content for video if no
10895 poster is available.
10896 (shr-tag-audio): Add support for <audio> tag.
10897
10898 * net/eww.el (eww-text-input-types): New const.
10899 (eww-process-text-input): Treat input types in
10900 `eww-text-input-types' as text.
10901
10902 * net/shr.el (shr-tag-table): Fix comment typo.
10903
10904 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10905
10906 * net/eww.el (eww-follow-link): New command to avoid reloading
10907 pages when we follow #target links (bug#15243).
10908 (eww-quit): Special mode buffers shouldn't query before exiting.
10909
10910 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10911
10912 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
10913 forms.
10914
10915 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10916
10917 * net/eww.el (eww-restore-history): Update the window title after
10918 moving in the history.
10919 (eww-current-dom): New variable used to save the current DOM.
10920
10921 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
10922
10923 * vc/log-edit.el (log-edit-mode-map): Add binding for
10924 `log-edit-beginning-of-line'.
10925 (log-edit-setup-add-author): New user option.
10926 (log-edit-beginning-of-line): New command.
10927 (log-edit): Move major mode call above the contents setup so that
10928 the local variable values are already applied.
10929 (log-edit): Only insert "Author: " when
10930 `log-edit-setup-add-author' is non-nil.
10931 (log-edit): When SETUP is non-nil, position point after ": "
10932 instead of point-min.
10933
10934 2013-12-01 Glenn Morris <rgm@gnu.org>
10935
10936 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
10937
10938 2013-11-30 Eli Zaretskii <eliz@gnu.org>
10939
10940 * startup.el (fancy-splash-frame): On MS-Windows, trigger
10941 redisplay to make sure the initial frame gets a chance to become
10942 visible. (Bug#16014)
10943
10944 2013-11-30 Martin Rudalics <rudalics@gmx.at>
10945
10946 Support resizing frames and windows pixelwise.
10947 * cus-start.el (frame-resize-pixelwise)
10948 (window-resize-pixelwise): New entries.
10949 * emacs-lisp/debug.el (debug): Use window-total-height instead
10950 of window-total-size.
10951 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
10952 * help.el (describe-bindings-internal): Use help-buffer as
10953 argument for with-help-window.
10954 (temp-buffer-max-width): New option.
10955 (resize-temp-buffer-window, help-window-setup)
10956 (with-help-window): Rewrite.
10957 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
10958 dragging dividers.
10959 * window.el (frame-char-size, window-min-pixel-height)
10960 (window-safe-min-pixel-height, window-safe-min-pixel-width)
10961 (window-min-pixel-width, window-safe-min-pixel-size)
10962 (window-combination-p, window-safe-min-size)
10963 (window-resizable-p, window--size-to-pixel)
10964 (window--pixel-to-size, window--resize-apply-p): New functions.
10965 (window-safe-min-height): Fix doc-string.
10966 (window-size, window-min-size, window--min-size-1)
10967 (window-sizable, window-sizable-p, window--min-delta-1)
10968 (window-min-delta, window--max-delta-1, window-max-delta)
10969 (window--resizable, window--resizable-p, window-resizable)
10970 (window-full-height-p, window-full-width-p, window-at-side-p)
10971 (window--in-direction-2, window-in-direction)
10972 (window--resize-reset-1, window--resize-mini-window)
10973 (window-resize, window-resize-no-error)
10974 (window--resize-child-windows-normal)
10975 (window--resize-child-windows, window--resize-siblings)
10976 (window--resize-this-window, window--resize-root-window)
10977 (window--resize-root-window-vertically)
10978 (adjust-window-trailing-edge, enlarge-window, shrink-window)
10979 (maximize-window, minimize-window, delete-window)
10980 (quit-restore-window, window-split-min-size, split-window)
10981 (balance-windows-2, balance-windows)
10982 (balance-windows-area-adjust, balance-windows-area)
10983 (window--state-get-1, window-state-get, window--state-put-1)
10984 (window--state-put-2, window-state-put)
10985 (display-buffer-record-window, window--display-buffer):
10986 Make functions handle pixelwise sizing of windows.
10987 (display-buffer--action-function-custom-type)
10988 (display-buffer-fallback-action):
10989 Add display-buffer-in-previous-window.
10990 (display-buffer-use-some-window): Resize window to height it had
10991 before.
10992 (fit-window-to-buffer-horizontally): New option.
10993 (fit-frame-to-buffer): Describe new values.
10994 (fit-frame-to-buffer-bottom-margin): Replace with
10995 fit-frame-to-buffer-margins.
10996 (window--sanitize-margin): New function.
10997 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
10998 using window-text-pixel-size.
10999
11000 2013-11-30 Glenn Morris <rgm@gnu.org>
11001
11002 * emacs-lisp/bytecomp.el (byte-compile-form):
11003 Make the `interactive-only' warning like the `obsolete' one.
11004 * comint.el (comint-run):
11005 * files.el (insert-file-literally, insert-file):
11006 * replace.el (replace-string, replace-regexp):
11007 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11008 (goto-line, insert-buffer, next-line, previous-line):
11009 Tweak `interactive-only' spec.
11010
11011 Stop keeping (most) generated cedet grammar files in the repository.
11012 * Makefile.in (semantic): New.
11013 (compile-main): Depend on semantic.
11014
11015 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11016
11017 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
11018 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
11019
11020 * uniquify.el (uniquify-buffer-name-style): Change default.
11021
11022 * loadup.el: Preload "uniquify".
11023
11024 * time.el (display-time-update): Update all mode lines (bug#15999).
11025
11026 * electric.el (electric-indent-mode): Enable by default.
11027 * loadup.el: Preload "electric".
11028
11029 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
11030
11031 * emacs-lisp/helpers.el (string-empty-p): New function.
11032 (string-blank-p): New function.
11033
11034 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
11035
11036 * imenu.el (imenu--index-alist): Add missing dot to the docstring
11037 (Bug#14029).
11038
11039 2013-11-29 Andreas Politz <politza@fh-trier.de>
11040 * imenu.el (imenu--subalist-p): Don't error on non-conses and
11041 allow non-lambda lists as functions.
11042 (imenu--in-alist): Don't recurse into non-subalists.
11043 (imenu): Don't pass function itself as an argument (Bug#14029).
11044
11045 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * progmodes/python.el (python-mode-map): Remove binding for ":".
11048 (python-indent-electric-colon): Remove command.
11049 (python-indent-post-self-insert-function): Integrate the previous code
11050 of python-indent-electric-colon. Make it conditional on
11051 electric-indent-mode.
11052 (python-mode): Add ?: to electric-indent-chars.
11053 Move python-indent-post-self-insert-function to the end of
11054 post-self-insert-hook.
11055
11056 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * doc-view.el (doc-view-goto-page): Update mode-line.
11059
11060 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
11061
11062 2013-11-27 Glenn Morris <rgm@gnu.org>
11063
11064 * international/charprop.el, international/uni-bidi.el:
11065 * international/uni-category.el, international/uni-combining.el:
11066 * international/uni-comment.el, international/uni-decimal.el:
11067 * international/uni-decomposition.el, international/uni-digit.el:
11068 * international/uni-lowercase.el, international/uni-mirrored.el:
11069 * international/uni-name.el, international/uni-numeric.el:
11070 * international/uni-old-name.el, international/uni-titlecase.el:
11071 * international/uni-uppercase.el:
11072 Remove generated files from VCS repository.
11073
11074 2013-11-27 Eli Zaretskii <eliz@gnu.org>
11075
11076 * filenotify.el (file-notify-add-watch): Don't special-case
11077 w32notify when computing the directory to watch.
11078
11079 2013-11-27 Glenn Morris <rgm@gnu.org>
11080
11081 Make bootstrap without generated uni-*.el files possible again.
11082 * loadup.el: Update command-line-args checking for unidata-gen.
11083 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
11084 * composite.el, international/characters.el:
11085 Handle unicode tables being undefined.
11086
11087 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
11088 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
11089 (compile-main): Depend on leim rule.
11090 (leim): New rule.
11091 * loadup.el: Move leim-list.el to leim/ subdirectory.
11092 * startup.el (normal-top-level): No more leim directory.
11093 * international/ja-dic-cnv.el (skkdic-convert):
11094 Disable version-control and autoloads in output files.
11095 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
11096 Disable version-control and autoloads in output files.
11097 * leim/quail: Move here from ../leim.
11098 * leim/quail/hangul.el (hangul-input-method-activate):
11099 Add autoload cookie.
11100 (generated-autoload-load-name): Set file-local value.
11101 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
11102 (generated-autoload-load-name): Set file-local value.
11103
11104 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
11105
11106 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
11107 (eww-add-bookmark): Ask confirmation when add to bookmarks.
11108 (eww-quit): Ask confirmation before quitting eww.
11109
11110 2013-11-26 Eli Zaretskii <eliz@gnu.org>
11111
11112 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
11113 reading output from Diff on MS-Windows and MS-DOS.
11114
11115 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
11116
11117 * emacs-lisp/helpers.el (string-reverse): New function.
11118
11119 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
11120
11121 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
11122 names on MS Windows, like "/[::1]:".
11123
11124 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
11125 SWITCHES.
11126
11127 2013-11-26 Glenn Morris <rgm@gnu.org>
11128
11129 * progmodes/python.el (python-indent-guess-indent-offset):
11130 Avoid corner-case error. (Bug#15975)
11131
11132 Preload leim-list.el. (Bug#4789)
11133 * loadup.el: Load leim-list.el when found.
11134 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
11135
11136 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
11137
11138 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
11139
11140 * emacs-lisp/helpers.el (string-join): New function.
11141
11142 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
11143
11144 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11145 Mark as obsolete and replace it with a symbol property.
11146 (byte-compile-form): Use new 'interactive-only property.
11147 * comint.el, files.el, replace.el, simple.el:
11148 Apply new 'interactive-only properly.
11149
11150 2013-11-25 Martin Rudalics <rudalics@gmx.at>
11151
11152 * window.el (display-buffer-at-bottom): Make sure that
11153 split-window-sensibly creates the new window on bottom
11154 (Bug#15961).
11155
11156 2013-11-23 David Kastrup <dak@gnu.org>
11157
11158 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
11159 on the conflict markers when available.
11160 (smerge--get-marker): New function.
11161 (smerge-end-re, smerge-base-re): Add subgroup.
11162
11163 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * frame.el (handle-focus-in, handle-focus-out): Add missing
11166 interactive spec.
11167
11168 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
11169
11170 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11171 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
11172
11173 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11174
11175 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
11176 (gomoku--last-pos): New var.
11177 (gomoku--intangible-chars): New const.
11178 (gomoku--intangible): New function.
11179 (gomoku-mode): Use it. Derive from special-mode.
11180 (gomoku-move-up): Adjust line count.
11181 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
11182 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
11183 Simplify accordingly.
11184
11185 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
11186 Remove blink-cursor code.
11187 (blink-cursor-timer-function, blink-cursor-suspend):
11188 Don't special-case GUIs.
11189 (blink-cursor-mode): Use focus-in/out-hook.
11190
11191 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
11192
11193 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
11194 work when annotation is invisible (Bug#13886).
11195
11196 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
11197
11198 * json.el (json-alist-p): Only return non-nil if the alist has
11199 simple keys (Bug#13518).
11200
11201 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
11202
11203 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
11204 when control-statement is the first statement in a buffer (Bug#15956).
11205
11206 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
11207
11208 * imenu.el (imenu-generic-skip-comments-and-strings):
11209 New option (Bug#15560).
11210 (imenu--generic-function): Use it.
11211
11212 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
11213
11214 * minibuffer.el (completion--in-region-1): Scroll the correct window.
11215 (Bug#13898)
11216
11217 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
11218
11219 * emacs-lisp/helpers.el: Add some string helpers.
11220 (string-trim-left): Removes leading whitespace.
11221 (string-trim-right): Removes trailing whitespace.
11222 (string-trim): Removes leading and trailing whitespace.
11223
11224 * subr.el (string-suffix-p): New function.
11225
11226 2013-11-23 Glenn Morris <rgm@gnu.org>
11227
11228 * progmodes/python.el (python-shell-send-file):
11229 Add option to delete file when done. (Bug#15647)
11230 (python-shell-send-string, python-shell-send-region): Use it.
11231
11232 2013-11-23 Ivan Shmakov <ivan@siamics.net>
11233
11234 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
11235 to set buffer-read-only to t, never to nil. (Bug#15938)
11236
11237 * textmodes/tex-mode.el (latex-noindent-environments):
11238 Add safe-local-variable property. (Bug#15936)
11239
11240 2013-11-23 Glenn Morris <rgm@gnu.org>
11241
11242 * textmodes/enriched.el (enriched-mode): Doc fix.
11243 * emacs-lisp/authors.el (authors-renamed-files-alist):
11244 Add enriched.doc -> enriched.txt.
11245
11246 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
11247
11248 2013-11-22 Leo Liu <sdl.web@gmail.com>
11249
11250 * progmodes/octave.el (inferior-octave-startup): Spit out error
11251 message.
11252
11253 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
11254
11255 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11256 Improve docstring.
11257 Add :version.
11258 (ruby-encoding-magic-comment-style): Add :version.
11259
11260 2013-11-22 Leo Liu <sdl.web@gmail.com>
11261
11262 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
11263 (Bug#15076)
11264 (octave-help-mode): Adapt to change to help-mode-finish to use
11265 derived-mode-p on 2013-09-17.
11266 (inferior-octave-prompt): Also match octave-gui.
11267 (octave-kill-process): Don't ask twice. (Bug#10564)
11268
11269 2013-11-22 Leo Liu <sdl.web@gmail.com>
11270
11271 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
11272 (inferior-octave-startup, inferior-octave-check-process)
11273 (inferior-octave-track-window-width-change)
11274 (octave-completion-at-point, octave-eldoc-function): Use it.
11275 (octave-kill-process): Provide confirmation. (Bug#10564)
11276
11277 2013-11-21 Leo Liu <sdl.web@gmail.com>
11278
11279 * progmodes/octave.el (octave-mode, inferior-octave-mode):
11280 Fix obsolete variable comment-use-global-state.
11281
11282 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11283
11284 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
11285 Add `octave-source-file'.
11286 (octave-source-file): New function. (Bug#15935)
11287
11288 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
11289
11290 * net/eww.el (eww-local-regex): New variable.
11291 (eww): Use it to detect localhost and similar.
11292
11293 2013-11-21 Leo Liu <sdl.web@gmail.com>
11294
11295 Add completion for command `ag'.
11296 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
11297 (pcomplete/ag): New function.
11298 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
11299
11300 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
11303 (bug#14646).
11304 (make-obsolete): Remove interactive spec.
11305
11306 2013-11-21 Glenn Morris <rgm@gnu.org>
11307
11308 * startup.el (command-line-1): Use path-separator with -L.
11309
11310 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
11311
11312 * emacs-lisp/package.el (describe-package-1): Add package archive
11313 to shown fields.
11314
11315 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
11316
11317 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11318 Change default to "# encoding: %s" to differentiate it from the
11319 default Ruby encoding comment template.
11320
11321 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
11322
11323 * ses.el (ses-mode): Doc fix. (Bug#14748)
11324
11325 2013-11-20 Leo Liu <sdl.web@gmail.com>
11326
11327 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
11328
11329 2013-11-19 Dan Nicolaescu <dann@gnu.org>
11330
11331 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
11332 when rebase or bisect are in progress.
11333
11334 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
11335
11336 * filenotify.el (file-notify-add-watch): Doc fix.
11337
11338 2013-11-19 Leo Liu <sdl.web@gmail.com>
11339
11340 * obsolete/rcompile.el: Mark obsolete.
11341
11342 * progmodes/compile.el (compilation-start)
11343 (compilation-goto-locus, compilation-find-file):
11344 Pass no-display-ok and handle nil value from display-buffer.
11345 (Bug#13594)
11346
11347 * window.el (display-buffer-alist, display-buffer): Document the
11348 new parameter no-display-ok. Return either a window or nil
11349 but never a non-window value.
11350
11351 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11352
11353 * electric.el (electric-indent-mode-map): Remove.
11354 (electric-indent-mode): Change the global-map instead (bug#15915).
11355
11356 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11357 Use add-function.
11358
11359 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * emacs-lisp/nadvice.el (remove-function): Align with
11362 add-function's behavior.
11363
11364 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
11365 (gdb--string-regexp): New constant.
11366 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
11367 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
11368 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
11369 submatch 1.
11370 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
11371 Adjust use accordingly.
11372 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
11373
11374 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
11375
11376 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
11377 interpolation curlies (Bug#15914).
11378
11379 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
11380
11381 * calc/calc.el (calc-context-sensitive-enter): New variable.
11382 (calc-enter): Use `calc-context-sensitive-enter'.
11383
11384 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
11385
11386 * progmodes/cfengine.el: Version bump.
11387 (cfengine-cf-promises): New defcustom to locate cf-promises.
11388 (cfengine3-vartypes): Add new "data" type.
11389 (cfengine3--current-word): New function to get current name-like
11390 word or its bounds.
11391 (cfengine3--current-function): New function to look up a CFEngine
11392 function's definition.
11393 (cfengine3-format-function-docstring): New function.
11394 (cfengine3-make-syntax-cache): New function.
11395 (cfengine3-documentation-function): New function: ElDoc glue.
11396 (cfengine3-completion-function): New function: completion glue.
11397 (cfengine3-mode): Set `compile-command',
11398 `eldoc-documentation-function', and add to
11399 `completion-at-point-functions'.
11400
11401 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
11402
11403 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11404 `tramp-current-connection'.
11405
11406 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
11407
11408 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
11409 nil/self/true/false with "end of symbol".
11410
11411 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
11412
11413 * subr.el (version-regexp-alist): Fix a typo.
11414
11415 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
11416
11417 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
11418 "en_US.utf8" and "LC_CTYPE" to "".
11419 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
11420 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
11421
11422 2013-11-15 Leo Liu <sdl.web@gmail.com>
11423
11424 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
11425
11426 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11427
11428 * progmodes/gud.el (ctl-x-map):
11429 Remove C-x SPC binding. (Bug#12342)
11430 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
11431
11432 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
11433
11434 * subr.el (version-regexp-alist):
11435 Recognize hg, svn and darcs versions as snapshot versions.
11436
11437 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
11438 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
11439 (ruby--encoding-comment-required-p): Extract from
11440 `ruby-mode-set-encoding'.
11441 (ruby-mode-set-encoding): Add the ability to always insert an
11442 utf-8 encoding comment. Fix and simplify coding comment update
11443 logic.
11444
11445 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
11446
11447 * net/tramp-gvfs.el (top): Run init code only when
11448 `tramp-gvfs-enabled' is not nil.
11449 (tramp-gvfs-enabled): Check also :system bus.
11450
11451 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 Sync with upstream verilog-mode revision 78e66ba.
11454 * progmodes/verilog-mode.el (verilog-end-of-defun)
11455 (verilog-type-completion, verilog-get-list): Remove unused funcs.
11456 (verilog-get-end-of-defun): Remove unused argument.
11457 (verilog-comment-depth): Remove unused local `e'.
11458 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
11459 Don't pass arg to verilog-get-end-of-defun.
11460
11461 2013-11-14 Glenn Morris <rgm@gnu.org>
11462
11463 * obsolete/assoc.el (aget): Prefix dynamic variable.
11464
11465 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
11466
11467 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11468
11469 * widget.el, hfy-cmap.el: Remove bogus package version number.
11470
11471 2013-11-13 Glenn Morris <rgm@gnu.org>
11472
11473 * replace.el (replace-eval-replacement):
11474 Try to give more helpful error message. (Bug#15836)
11475
11476 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11477 (archive-7z-update): Avoid custom type mismatches.
11478
11479 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
11480
11481 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
11482
11483 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11484 address can be empty.
11485
11486 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
11487 Accept nil SWITCHES.
11488 (tramp-gvfs-handle-write-region): Implement APPEND.
11489
11490 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
11491
11492 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
11493 binary "|" operator and closing block args delimiter.
11494 Remove FIXME comment referring to Ruby 1.8-only syntax.
11495 (ruby-smie--implicit-semi-p): Not after "|" operator.
11496 (ruby-smie--closing-pipe-p): New function.
11497 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
11498 (ruby-smie-rules): Indent after "|".
11499
11500 2013-11-12 Glenn Morris <rgm@gnu.org>
11501
11502 * ps-print.el (ps-face-attribute-list):
11503 Handle anonymous faces. (Bug#15827)
11504
11505 2013-11-12 Martin Rudalics <rudalics@gmx.at>
11506
11507 * window.el (display-buffer-other-frame): Fix doc-string.
11508 (Bug#15868)
11509
11510 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11511
11512 * subr.el (force-mode-line-update): Delete, move to buffer.c.
11513
11514 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
11515
11516 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
11517 (tramp-sh-handle-file-local-copy): Don't write a message when
11518 saving temporary files.
11519
11520 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
11521 both directories are remote.
11522 (tramp-smb-handle-directory-files): Do not return double entries.
11523 Do not expand full file names.
11524 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
11525 (tramp-smb-handle-write-region): Implement APPEND.
11526 (tramp-smb-get-stat-capability): Fix a stupid bug.
11527
11528 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11529
11530 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
11531
11532 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11533
11534 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
11535 throwing error over malformed let/let* (bug#15814).
11536
11537 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11538
11539 * iswitchb.el (iswitchb-mode): Mark obsolete.
11540
11541 2013-11-11 Glenn Morris <rgm@gnu.org>
11542
11543 * international/uni-bidi.el, international/uni-category.el:
11544 * international/uni-name.el, international/uni-numeric.el:
11545 Regenerate for Unicode 6.3.0.
11546
11547 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
11548
11549 * net/tramp.el (tramp-methods):
11550 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
11551 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
11552
11553 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
11554
11555 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11556 Force highlighting text after Summary keyword in doc face for rpm.
11557
11558 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
11559
11560 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
11561 available and the word has no wildcards, append one to the grep pattern.
11562 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
11563 (ispell-complete-word): Call `ispell-lookup-words' with the value
11564 independent of `ispell-look-p'.
11565
11566 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11567
11568 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
11569 Not after "||".
11570 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
11571 their parent.
11572
11573 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11574
11575 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
11576 (ruby-font-lock-keywords): Use backquote.
11577
11578 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11579
11580 * progmodes/ruby-mode.el (ruby-smie--forward-token)
11581 (ruby-smie--backward-token): Only consider full-string matches.
11582
11583 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
11584
11585 * faces.el (describe-face): Add distant-foreground.
11586
11587 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
11588
11589 * progmodes/ruby-mode.el: Improve encoding comment handling.
11590 (ruby-encoding-magic-comment-style): New option.
11591 (ruby-custom-encoding-magic-comment-template): New option.
11592 (ruby--insert-coding-comment, ruby--detect-encoding):
11593 New functions extracted from `ruby-mode-set-encoding'.
11594 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
11595 to control the style of the auto-inserted encoding comment.
11596
11597 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11598
11599 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
11600 Use `smie-backward-sexp' with token argument.
11601
11602 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
11603
11604 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11605 Remove instrumentation code.
11606
11607 2013-11-08 Glenn Morris <rgm@gnu.org>
11608
11609 * progmodes/autoconf.el (autoconf-mode):
11610 Tweak comment-start-skip. (Bug#15822)
11611
11612 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
11615 at bobp (bug#15826).
11616 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
11617
11618 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
11619
11620 * man.el (Man-start-calling): New macro, extracted from
11621 Man-getpage-in-background.
11622 (Man-getpage-in-background): Use it.
11623 (Man-update-manpage): New command.
11624 (Man-mode-map): Bind it.
11625
11626 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11627
11628 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
11629 of "and", "or", "&&" and "||".
11630 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
11631 argument. Prohibit opening curly brace because it could only be a
11632 block opener in that position.
11633 (ruby-smie--forward-token, ruby-smie--backward-token):
11634 Separate "|" from "&" or "*" going after it. That can happen in block
11635 arguments.
11636 (ruby-smie--indent-to-stmt): New function, seeks the end of
11637 previous statement or beginning of buffer.
11638 (ruby-smie-rules): Use it.
11639 (ruby-smie-rules): Check if there's a ":" before a curly block
11640 opener candidate; if there is, it's a hash.
11641
11642 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
11645 (cl--block-wrapper): Fix last accidental change.
11646
11647 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
11648
11649 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11650 Instrument, in order to hunt failure on hydra.
11651
11652 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11653
11654 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
11655 malformed bindings form (bug#15814).
11656
11657 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
11658
11659 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
11660 "." compared to " @ ". This incidentally fixes some indentation
11661 examples with "do".
11662 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
11663 (ruby-smie-grammar): New tokens: "and" and "or".
11664 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
11665 Exclude "and" and "or". Remove "do" in order to work around token
11666 priorities.
11667 (ruby-smie-rules): Add all infix tokens. Handle the case of
11668 beginning-of-buffer.
11669
11670 2013-11-06 Glenn Morris <rgm@gnu.org>
11671
11672 * Makefile.in (setwins_almost, setwins_for_subdirs):
11673 Avoid accidental matches.
11674
11675 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11676
11677 * menu-bar.el (popup-menu): Use key-binding.
11678
11679 2013-11-06 Eli Zaretskii <eliz@gnu.org>
11680
11681 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
11682 menus, support also the menus produced by minor modes.
11683 (Bug#15817)
11684
11685 2013-11-06 Leo Liu <sdl.web@gmail.com>
11686
11687 * thingatpt.el (thing-at-point-looking-at): Add optional arg
11688 DISTANCE to bound the search. All uses changed. (Bug#15808)
11689
11690 2013-11-06 Glenn Morris <rgm@gnu.org>
11691
11692 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
11693 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
11694 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
11695
11696 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * electric.el (electric-indent-just-newline): New command.
11699 (electric-indent-mode-map): New keymap.
11700 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
11701 Re-add :group which weren't redundant.
11702
11703 * electric.el (electric-indent-local-mode): New minor mode.
11704 (electric-indent-functions-without-reindent): New var.
11705 (electric-indent-post-self-insert-function): Use it.
11706 * emacs-lisp/gv.el (buffer-local-value): Add setter.
11707
11708 2013-11-05 Eli Zaretskii <eliz@gnu.org>
11709
11710 * international/quail.el (quail-help): Be more explicit about the
11711 meaning of the labels shown on the keys. (Bug#15800)
11712
11713 * startup.el (normal-top-level): Load the subdirs.el files before
11714 setting the locale environment. (Bug#15805)
11715
11716 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11717
11718 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
11719 via arguments so as to get the right ones (bug#15418).
11720
11721 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
11722
11723 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
11724
11725 Fix problems found while writing a test suite.
11726
11727 * net/tramp-compat.el (tramp-compat-load): New defun.
11728 * net/tramp.el (tramp-handle-load): Use it.
11729
11730 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
11731 "(numberp ok-if-already-exists)" correctly.
11732
11733 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
11734
11735 * international/characters.el (glyphless-char-display-control):
11736 Add usage note.
11737
11738 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
11739
11740 * progmodes/python.el (python-mode):
11741 * progmodes/scheme.el (scheme-mode):
11742 * progmodes/prolog.el (prolog-mode):
11743 * progmodes/ruby-mode.el (ruby-mode):
11744 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
11745 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
11746
11747 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11748
11749 * rect.el (rectangle--highlight-for-redisplay):
11750 * emacs-lisp/smie.el (smie--next-indent-change):
11751 Use buffer-chars-modified-tick.
11752
11753 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
11754
11755 * electric.el (electric-indent-post-self-insert-function):
11756 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
11757
11758 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
11759
11760 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
11761
11762 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11763
11764 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
11765 (bug#15786).
11766
11767 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
11770
11771 * progmodes/python.el: Fix up last change.
11772 (python-shell--save-temp-file): New function.
11773 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
11774 `string' comes from the current buffer.
11775 (python-shell-send-string-no-output): Remove `msg' arg.
11776 (python--use-fake-loc): New var.
11777 (python-shell-buffer-substring): Obey it. Try to compensate for the
11778 extra coding line added by python-shell--save-temp-file.
11779 (python-shell-send-region): Use python-shell--save-temp-file and
11780 python-shell-send-file directly. Add `nomain' argument.
11781 (python-shell-send-buffer): Use python-shell-send-region.
11782 (python-electric-pair-string-delimiter): New function.
11783 (python-mode): Use it.
11784
11785 2013-11-04 Eli Zaretskii <eliz@gnu.org>
11786
11787 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
11788 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
11789 environment and decoding all of the default-directory's to here
11790 from command-line.
11791 (command-line): Decode also argv[0].
11792
11793 * loadup.el: Error out if default-directory is a multibyte string
11794 when we are dumping.
11795
11796 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
11797
11798 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
11799
11800 * emacs-lisp/package.el (package-menu-mode)
11801 (package-menu--print-info, package-menu--archive-predicate):
11802 Add Archive column to package list.
11803
11804 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
11805
11806 Fix problems found while writing a test suite.
11807
11808 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
11809 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
11810 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
11811 to nil when running original file name handler. Otherwise,
11812 there are problems with constructs like "$$FOO".
11813
11814 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
11815 for `localname'.
11816
11817 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
11818
11819 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
11820
11821 * subr.el (version<, version<=, version=):
11822 Update docstrings with information for snapshot versions.
11823
11824 * helpers.el: New library for misc helper functions.
11825 (hash-table-keys): New function returning a list of hash keys.
11826 (hash-table-values): New function returning a list of hash values.
11827
11828 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
11829
11830 * progmodes/ruby-mode.el (ruby-smie--forward-token)
11831 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
11832
11833 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
11834
11835 * textmodes/fill.el (fill-single-char-nobreak-p): New function
11836 checking whether point is after a 1-letter word.
11837
11838 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11839
11840 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
11841 Don't infloop when expanding region over `multiline' syntax-type that
11842 begins a line (bug#15778).
11843
11844 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
11847 Make it into a proper minor mode.
11848 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
11849 (rectangle-mark-mode-map): New keymap.
11850 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
11851
11852 2013-11-04 Glenn Morris <rgm@gnu.org>
11853
11854 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
11855
11856 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11857
11858 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
11859 (ruby-smie-rules): Use smie-rule-parent instead.
11860
11861 * emacs-lisp/smie.el (smie-rule-parent): Always call
11862 smie-indent-virtual rather than only for hanging tokens.
11863 (smie--next-indent-change): New helper command.
11864
11865 2013-11-03 Glenn Morris <rgm@gnu.org>
11866
11867 * Makefile.in (abs_srcdir): Remove.
11868 (emacs): Unset EMACSLOADPATH.
11869
11870 2013-11-02 Glenn Morris <rgm@gnu.org>
11871
11872 * Makefile.in (EMACS): Use a relative filename.
11873 (abs_top_builddir): Remove.
11874 (custom-deps, finder-data, autoloads): Use --chdir.
11875
11876 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
11877
11878 Use relative filenames in TAGS files.
11879 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11880 (lisptagsfiles4, TAGS): Use relative file names.
11881 (TAGS-LISP): Remove.
11882 (maintainer-clean): No more TAGS-LISP file.
11883
11884 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11885 (lisptagsfiles4): Use absolute filenames again.
11886 (TAGS, TAGS-LISP): Not everything needs to run in one line.
11887 Remove all *loaddefs files, not just the first. Remove esh-groups.
11888 (maintainer-clean): Delete TAGS, TAGS-LISP.
11889
11890 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
11891
11892 * emacs-lisp/package.el (package-version-join):
11893 Recognize snapshot versions.
11894
11895 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
11896
11897 * subr.el (version-regexp-alist): Add support for snapshot versions.
11898
11899 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
11900
11901 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
11902 New function, replacement for `smie-rule-parent' for when we want to
11903 skip over our direct parent if it's an assignment token..
11904 (ruby-smie-rules): Use it.
11905
11906 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
11907
11908 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
11909 unconditionally. Remove now unnecessary forward declarations.
11910 Remove XEmacs-specific setup.
11911 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
11912 (ruby-font-lock-syntactic-keywords)
11913 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
11914 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
11915 (ruby-here-doc-end-syntax): Remove.
11916 (ruby-mode): Don't check whether `syntax-propertize-rules' is
11917 defined as function.
11918
11919 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
11920
11921 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
11922
11923 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
11924
11925 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
11926 table and abbrev table, `define-derived-mode' does that for us
11927 anyway.
11928
11929 2013-11-01 Glenn Morris <rgm@gnu.org>
11930
11931 * Makefile.in: Remove manual mh-e dependencies (writing .elc
11932 files is atomic for some time, so no parallel compilation issues).
11933
11934 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
11935
11936 * faces.el (face-x-resources): Add :distant-foreground.
11937 (region): Use :distant-foreground for gtk and ns.
11938
11939 2013-11-01 Tassilo Horn <tsdh@gnu.org>
11940
11941 Allow multiple bibliographies when BibLaTeX is used rather than
11942 BibTeX.
11943 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
11944 (reftex-locate-bibliography-files): Us it.
11945
11946 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
11947
11948 * image.el (image-type-header-regexps): Fix the 'pbm' part to
11949 allow comments in pbm files.
11950
11951 * term/w32-win.el (dynamic-library-alist): Support newer versions
11952 of libjpeg starting with v7: look only for the DLL from the
11953 version against which Emacs was built.
11954 Support versions of libpng beyond 1.4.x.
11955 Support libtiff v4.x.
11956
11957 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
11958
11959 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
11960 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
11961 Add property :safe.
11962 (ruby-deep-arglist): Add property :type.
11963
11964 2013-10-31 Glenn Morris <rgm@gnu.org>
11965
11966 * Makefile.in (custom-deps, finder-data): No need to setq the target
11967 variables, we are in the right directory and the defaults work fine.
11968
11969 2013-10-30 Glenn Morris <rgm@gnu.org>
11970
11971 * Makefile.in (autoloads): Do not use abs_lisp.
11972
11973 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11974 `newline' does not respect `standard-output', so use `princ'.
11975
11976 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
11977
11978 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
11979 * buff-menu.el (Buffer-menu--unmark): New function.
11980 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
11981
11982 2013-10-30 Glenn Morris <rgm@gnu.org>
11983
11984 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
11985
11986 * emacs-lisp/package.el (lm-homepage): Declare.
11987
11988 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
11989 Fix doc typos.
11990
11991 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
11992
11993 * Makefile.in (finder-data, autoloads, update-subdirs)
11994 (compile-main, compile-clean, compile-always, bootstrap-clean):
11995 Check return value of cd.
11996 (compile-calc): Remove.
11997
11998 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11999
12000 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
12001
12002 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
12003 (byte-compile-and-folded): New function.
12004 (=, <, >, <=, >=): Use it.
12005
12006 * dos-w32.el (minibuffer-history-case-insensitive-variables)
12007 (path-separator, null-device, buffer-file-coding-system)
12008 (lpr-headers-switches): Check system-type before modifying them.
12009 (find-buffer-file-type-coding-system): Mark obsolete.
12010 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
12011 find-file-not-found-set-buffer-file-coding-system.
12012 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
12013 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
12014 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
12015 (w32-direct-print-region-helper, w32-direct-print-region-function)
12016 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
12017 * startup.el (normal-top-level-add-subdirs-to-load-path):
12018 * ps-print.el (ps-print-region-function):
12019 * lpr.el (print-region-function): Use new name.
12020
12021 * subr.el (custom-declare-variable-early): Remove function.
12022 (custom-declare-variable-list): Remove var.
12023 (error, user-error): Remove `while' loop.
12024 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
12025 (user-emacs-directory-warning, locate-user-emacs-file):
12026 Move to files.el.
12027 * simple.el (read-quoted-char-radix, read-quoted-char):
12028 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
12029 Move from subr.el.
12030 * custom.el (custom-declare-variable-list): Don't process
12031 custom-declare-variable-list.
12032
12033 * progmodes/python.el (python-shell-get-buffer): New function.
12034 (python-shell-get-process): Use it.
12035 (python-shell-send-string): Always use utf-8 and add a cookie to tell
12036 Python which encoding was used. Don't split-string since we only care
12037 about the first line. Return the temp-file, if applicable.
12038 (python-shell-send-region): Tell compile.el how to turn locations in
12039 the temp-file into locations in the source buffer.
12040
12041 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * subr.el (undefined): Add missing behavior from the C code for
12044 unbound keys.
12045
12046 * rect.el: Use lexical-binding. Add new rectangular region support.
12047 (rectangle-mark): New command.
12048 (rectangle--region): New var.
12049 (deactivate-mark-hook): Reset rectangle--region.
12050 (rectangle--extract-region, rectangle--insert-for-yank)
12051 (rectangle--highlight-for-redisplay)
12052 (rectangle--unhighlight-for-redisplay): New functions.
12053 (region-extract-function, redisplay-unhighlight-region-function)
12054 (redisplay-highlight-region-function): Use them to handle
12055 rectangular region.
12056 * simple.el (region-extract-function): New var.
12057 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
12058 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
12059 (kill-region): Replace obsolete `yank-handler' arg with `region'.
12060 (copy-region-as-kill, kill-ring-save): Add `region' argument.
12061 (redisplay-unhighlight-region-function)
12062 (redisplay-highlight-region-function): New vars.
12063 (redisplay--update-region-highlight): New function.
12064 (pre-redisplay-function): Use it.
12065 (exchange-point-and-mark): Don't deactivate the mark before
12066 reactivate-it anyway.
12067 * comint.el (comint-kill-region): Remove yank-handler argument.
12068 * delsel.el (delete-backward-char, backward-delete-char-untabify)
12069 (delete-char): Remove property, since it's now part of their
12070 default behavior.
12071 (self-insert-iso): Remove property since this command doesn't exist.
12072
12073 * emacs-lisp/package.el (package--download-one-archive)
12074 (describe-package-1): Don't query the user about final newline.
12075
12076 2013-10-29 Daniel Colascione <dancol@dancol.org>
12077
12078 * net/tramp.el (tramp-methods): Document new functionality.
12079 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
12080 tramp-hostname-checker if method provides one instead of scanning
12081 argument list for "%h" to decide hostname acceptability.
12082
12083 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
12084
12085 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12086 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12087 Handle COPY-CONTENTS. (Bug#15737)
12088
12089 2013-10-28 Daiki Ueno <ueno@gnu.org>
12090
12091 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12092 Document that this option has no effect with GnuPG 2.0 (bug#15552).
12093
12094 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
12095
12096 * image.el (defimage, image-load-path): Doc fixes.
12097
12098 2013-10-27 Alan Mackenzie <acm@muc.de>
12099
12100 Indent statements in macros following "##" correctly.
12101 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12102 Modify the "#" arm of a cond form to handle "#" and "##" operators.
12103
12104 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
12105
12106 * linum.el (linum-update-window): Fix boundary test (bug#13446).
12107
12108 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
12109
12110 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
12111 after `=' is probably a new expression.
12112
12113 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12114
12115 * man.el (man-imenu-title): New option.
12116 (Man-mode-map): Add menu. (Bug#15722)
12117 (Man-mode): Add imenu to menu.
12118
12119 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
12120
12121 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
12122 specific in what the first arg can be: a non-keyword word,
12123 string/regexp/percent literal opener, opening paren, or unary
12124 operator followed directly by word.
12125
12126 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
12129 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
12130 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
12131 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
12132 Remove vars, they do not apply any more.
12133 (prolog-mode-abbrev-table): Remove redundant declaration.
12134 (prolog-upper-case-string, prolog-lower-case-string): Remove.
12135 (prolog-use-smie): Remove.
12136 (prolog-smie-rules): Add indentation rule for the if-then-else layout
12137 supported by prolog-electric-if-then-else-flag.
12138 (prolog-mode-variables, prolog-menu): Use setq-local.
12139 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
12140 Remove binding to `Backspace' since this key doesn't exist anyway.
12141 Remove bindings for electric self-inserting keys.
12142 (prog-mode): Assume it's defined.
12143 (prolog-post-self-insert): New function.
12144 (prolog-mode): Use it.
12145 (prolog-indent-line, prolog-indent-level)
12146 (prolog-find-indent-of-matching-paren)
12147 (prolog-indentation-level-of-line, prolog-goto-comment-column)
12148 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
12149 (prolog-goto-next-paren, prolog-in-string-or-comment)
12150 (prolog-tokenize, prolog-inside-mline-comment)
12151 (prolog-find-start-of-mline-comment): Remove functions.
12152 (prolog-find-unmatched-paren, prolog-clause-end)
12153 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
12154 (prolog-electric--if-then-else): Rename from
12155 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
12156 (prolog-tokenize-searchkey): Remove const.
12157 (prolog-clause-info): Use forward-sexp.
12158 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
12159 (prolog-electric-if-then-else): Remove commands.
12160 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
12161 for use in post-self-insert-hook.
12162 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
12163 for use in post-self-insert-hook.
12164 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
12165 for use in post-self-insert-hook.
12166 (prolog-electric--underscore): Rename from prolog-electric--underscore;
12167 adapt it for use in post-self-insert-hook.
12168
12169 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
12170
12171 * emacs-lisp/ert.el (ert-run-tests-interactively):
12172 Use `completing-read'. (Bug#9756)
12173
12174 2013-10-25 Eli Zaretskii <eliz@gnu.org>
12175
12176 * simple.el (line-move): Call line-move-1 instead of
12177 line-move-visual when the current window hscroll is zero, but
12178 temporary-goal-column indicates we will need to hscroll as result
12179 of the movement. (Bug#15712)
12180
12181 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
12182
12183 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
12184 capitalization. Use :visible instead of :active.
12185 Fix `ruby-indent-exp' reference. Add menu items for the generic
12186 commands that are used with SMIE.
12187 (ruby-do-end-to-brace): Insert space after `{'.
12188
12189 2013-10-25 John Anthony <john@jo.hnanthony.com>
12190
12191 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
12192
12193 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
12194
12195 2013-10-25 Glenn Morris <rgm@gnu.org>
12196
12197 * vc/vc.el (vc-print-log): Don't use a working revision unless
12198 one was explicitly specified. (Bug#15322)
12199
12200 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12201
12202 * subr.el (add-to-list): Preserve return value in compiler-macro
12203 (bug#15692).
12204
12205 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12206
12207 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
12208 result. Ask user to retry using '-all' flag. (Bug#15701)
12209
12210 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * emacs-lisp/smie.el: New smie-config system.
12213 (smie-config): New defcustom.
12214 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
12215 (smie-config-guess, smie-config-save): New commands.
12216 (smie-config--mode-local, smie-config--buffer-local)
12217 (smie-config--trace, smie-config--modefuns): New vars.
12218 (smie-config--advice, smie-config--mode-hook)
12219 (smie-config--setter, smie-config-local, smie-config--get-trace)
12220 (smie-config--guess-value, smie-config--guess): New functions.
12221 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
12222 text properties. Treat "string fence" syntax like string syntax.
12223
12224 * progmodes/sh-script.el (sh-use-smie): Change default.
12225 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
12226 (sh-var-value): Simplify by CSE.
12227 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
12228 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
12229 is used.
12230 (sh-guess-basic-offset): Use cl-incf.
12231 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
12232
12233 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
12234
12235 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
12236 (bug#15699).
12237
12238 2013-10-24 Glenn Morris <rgm@gnu.org>
12239
12240 * Makefile.in (abs_top_srcdir): Remove.
12241 (update-subdirs): Use relative path to update-subdirs.
12242
12243 2013-10-24 Eli Zaretskii <eliz@gnu.org>
12244
12245 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
12246 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
12247 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
12248 Call unmsys--file-name before expand-file-name, not after it.
12249
12250 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
12251
12252 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
12253 (ert-test-skipped): New error.
12254 (ert-skip, ert-stats-skipped): New defuns.
12255 (ert--skip-unless): New macro.
12256 (ert-test-skipped): New struct.
12257 (ert--run-test-debugger, ert-test-result-type-p)
12258 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
12259 (ert--stats-set-test-and-result, ert-char-for-test-result)
12260 (ert-string-for-test-result, ert-run-tests-batch)
12261 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
12262 Handle skipped tests. (Bug#9803)
12263
12264 2013-10-24 Glenn Morris <rgm@gnu.org>
12265
12266 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
12267
12268 * Makefile.in (abs_top_srcdir): New, set by configure.
12269 (update-subdirs): Correct build-aux location.
12270
12271 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
12272
12273 * vc/vc.el (vc-print-root-log): Always set `default-directory'
12274 value, whether we could auto-deduce `backend', or not.
12275
12276 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
12277 with parameters" example. Simplify the "is it block or is it
12278 hash" check, but also make it more thorough.
12279
12280 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
12281
12282 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
12283
12284 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12285
12286 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
12287 { if it is hanging.
12288
12289 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
12290 :before ";".
12291
12292 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
12293
12294 * progmodes/compile.el (compilation-directory-matcher)
12295 (compilation-page-delimiter):
12296 Support GNU Make-4.0 directory quoting. (Bug#15678)
12297
12298 2013-10-23 Leo Liu <sdl.web@gmail.com>
12299
12300 * ido.el (ido-tidy): Handle read-only text.
12301
12302 2013-10-23 Glenn Morris <rgm@gnu.org>
12303
12304 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
12305 (emacs, compile, compile-always):
12306 Quote entities that might contain whitespace.
12307 (custom-deps, finder-data, autoloads): Use abs_lisp.
12308 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12309 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12310 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
12311
12312 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
12313
12314 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
12315 Use `following-char'.
12316
12317 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12318
12319 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
12320 * progmodes/ruby-mode.el (ruby-smie-rules):
12321 Remove corresponding workaround. Fix indentation rule of ";" so it
12322 also applies when ";" is the parent.
12323
12324 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
12325
12326 * frame.el (display-screens, display-pixel-height)
12327 (display-pixel-width, display-mm-width, display-backing-store)
12328 (display-save-under, display-planes, display-color-cells)
12329 (display-visual-class, display-monitor-attributes-list):
12330 Mention the optional ‘display’ argument in doc strings.
12331
12332 2013-10-22 Michael Gauland <mikelygee@amuri.net>
12333
12334 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
12335 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
12336
12337 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12338
12339 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
12340 TODO. Add "." after " @ ".
12341 (ruby-smie--at-dot-call): New function. Checks if point at method
12342 call with explicit target.
12343 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
12344 to the method name tokens when it precedes them.
12345 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
12346 (ruby-smie-rules): Add rule for indentation before and after "."
12347 token.
12348
12349 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12350
12351 * textmodes/remember.el (remember-diary-extract-entries):
12352 Avoid add-to-list.
12353
12354 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
12355 an instruction.
12356
12357 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12358
12359 * progmodes/ruby-mode.el (ruby-smie-grammar):
12360 Add (almost) all infix operators.
12361 (ruby-smie--implicit-semi-p): Add new operator chars.
12362
12363 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
12364 `smie-down-list'.
12365 (ruby-smie--args-separator-p): Check that there's no newline
12366 between method call and its arguments.
12367
12368 2013-10-20 Alan Mackenzie <acm@muc.de>
12369
12370 Allow comma separated lists after Java "implements".
12371
12372 * progmodes/cc-engine.el (c-backward-over-enum-header):
12373 Parse commas.
12374 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
12375 from a "disallowed" list in enum fontification.
12376
12377 2013-10-20 Johan Bockgård <bojohan@gnu.org>
12378
12379 * startup.el (default-frame-background-mode): Remove unused defvar.
12380
12381 * progmodes/verilog-mode.el (verilog-mode): Don't set
12382 comment-indent-function globally.
12383
12384 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
12385
12386 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
12387 Move Info menu item creation to ns-win.el.
12388
12389 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
12390 in menu bar.
12391
12392 * menu-bar.el: Move GNUstep specific menus...
12393
12394 * term/ns-win.el (ns-initialize-window-system): ... to here.
12395
12396 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12397
12398 * simple.el (newline): Only run post-self-insert-hook when
12399 called interactively.
12400
12401 2013-10-19 Johan Bockgård <bojohan@gnu.org>
12402
12403 * icomplete.el (icomplete-with-completion-tables): Add :version.
12404
12405 2013-10-19 Alan Mackenzie <acm@muc.de>
12406
12407 Fix fontification bugs with constructors and const.
12408
12409 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
12410 CASE 2) Remove the check for the absence of a suffix construct
12411 after a function declaration with only types (no identifiers) in
12412 the parentheses. Also, accept a function declaration with just a
12413 type inside the parentheses, if this type can be positively
12414 recognised as such, or if a prefix keyword like "explicit" nails
12415 down the construct as a declaration.
12416
12417 2013-10-19 Eli Zaretskii <eliz@gnu.org>
12418
12419 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
12420 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
12421 the problem whereby selecting a menu item that leads to a
12422 minibuffer prompt moves the cursor out of the minibuffer window,
12423 making it hard to type at the prompt. Suggested by Stefan Monnier
12424 <monnier@iro.umontreal.ca>.
12425
12426 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
12427
12428 * menu-bar.el: Don't make Services menu.
12429
12430 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12431
12432 * ffap.el: Handle "/usr/include/c++/<version>" directories.
12433 (ffap-alist): Use ffap-c++-mode for c++-mode.
12434 (ffap-c++-path): New variable.
12435 (ffap-c++-mode): New function.
12436
12437 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
12438
12439 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
12440
12441 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
12442
12443 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
12444 introduced on 2013-09-08, which results in an infinite loop
12445 requesting a password.
12446
12447 2013-10-18 Glenn Morris <rgm@gnu.org>
12448
12449 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
12450
12451 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
12452
12453 Sync with upstream verilog-mode revision 1a6ecec7.
12454 * progmodes/verilog-mode.el (verilog-mode-version): Update.
12455 (verilog-mode-release-date): Remove.
12456 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
12457 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
12458 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
12459 (verilog-auto-tieoff-ignore-regexp)
12460 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
12461 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
12462 (verilog-signals-with, verilog-dir-cache-preserving)
12463 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
12464 Doc fixes.
12465 (verilog-case-fold): New option, to control case folding in
12466 regexp searches, bug597.
12467 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
12468 (verilog-string-match-fold, verilog-in-paren-count)
12469 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
12470 (verilog-at-close-struct-p): New functions.
12471 (verilog-beg-block-re-ordered, verilog-extended-case-re)
12472 (verilog-forward-sexp, verilog-set-auto-endcomments)
12473 (verilog-leap-to-case-head): Handle "unique0" case.
12474 (verilog-in-constraint-re): New constant.
12475 (verilog-keywords, verilog-type-font-keywords):
12476 Add some SystemVerilog 1800-2012 keywords.
12477 (verilog-label-be): Remove unimplemented argument, bug669.
12478 (verilog-batch-execute-func): When batch expanding clear
12479 create-lockfiles to prevent spurious user locks when a file ends
12480 up not changing.
12481 (verilog-calculate-indent, verilog-calc-1)
12482 (verilog-at-close-constraint-p, verilog-at-constraint-p)
12483 (verilog-do-indent): Fix indentation of nested constraints
12484 and structures.
12485 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
12486 (verilog-auto-inst-param): Use verilog-string-match-fold.
12487 (verilog-read-inst-module-matcher):
12488 Fix AUTOINST on gate primitives with #1.
12489 (verilog-read-decls): Fix double-declaring user-defined typed signals.
12490 Reads all user-defined typed variables.
12491 (verilog-read-defines): Fix reading definitions inside comments, bug647.
12492 (verilog-signals-matching-regexp)
12493 (verilog-signals-not-matching-regexp, verilog-auto):
12494 Respect verilog-case-fold.
12495 (verilog-diff-report): Fix line count.
12496 (verilog-auto-assign-modport): Remove unused local `modi'.
12497 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
12498 better handle multidimensional arrays.
12499 Fix packed array ports misadding bit index in AUTOINST, bug637.
12500 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
12501 to not double-declare existing outputs and inputs, respectively.
12502 (verilog-template-map): Bind U to verilog-sk-uvm-component.
12503 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
12504 (verilog-sk-uvm-component): New skeleton.
12505 (verilog-submit-bug-report): Add verilog-case-fold,
12506 remove verilog-mode-release-date.
12507
12508 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
12509
12510 * subr.el (sit-for): Call (input-pending-p t) so as to behave
12511 as before.
12512
12513 2013-10-18 Reuben Thomas <rrt@sc3d.org>
12514
12515 * textmodes/remember.el (remember): Set buffer-offer-save in
12516 remember buffers (bug#13566).
12517
12518 2013-10-18 Daniel Colascione <dancol@dancol.org>
12519
12520 When evaluating forms in ielm, direct standard output to ielm
12521 buffer. Add new ielm-return-for-effect command. Remove trailing
12522 whitespace throughout.
12523
12524 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
12525 (ielm-return-for-effect): New command.
12526 (ielm-send-input): Accept optional `for-effect' parameter.
12527 (ielm-eval-input): Accept optional `for-effect' parameter.
12528 Bind `standard-output' to stream we create using
12529 `ielm-standard-output-impl'. Suppress printing result when
12530 `for-effect'.
12531 (ielm-standard-output-impl): New function.
12532 (inferior-emacs-lisp-mode): Explain new features in documentation.
12533
12534 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
12535
12536 Code cleanup.
12537
12538 * net/tramp.el (tramp-debug-message): Do not check for connection
12539 buffer.
12540 (tramp-message): Use "vector" connection property.
12541
12542 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
12543 (tramp-equal-remote, tramp-eshell-directory-change)
12544 * net/tramp-adb.el (tramp-adb-handle-copy-file)
12545 (tramp-adb-handle-rename-file)
12546 * net/tramp-cmds.el (tramp-list-remote-buffers)
12547 (tramp-cleanup-connection, tramp-cleanup-this-connection)
12548 * net/tramp-compat.el (tramp-compat-process-running-p)
12549 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
12550 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
12551 (tramp-gvfs-handle-rename-file)
12552 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12553 (tramp-set-file-uid-gid)
12554 * net/tramp-smb.el (tramp-smb-handle-copy-file)
12555 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
12556 of `file-remote-p'.
12557
12558 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
12559 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12560 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
12561 (tramp-gw-open-network-stream): Suppress unrelated traces.
12562
12563 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
12564 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12565 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12566 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
12567 connection property.
12568
12569 * net/tramp-cache.el (top): Suppress traces when reading
12570 persistency file.
12571
12572 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12573 Refactor common code. Improve debug message.
12574 (tramp-maybe-open-connection)
12575 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
12576 connection buffer too early.
12577
12578 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
12579 from `tramp-smb-actions-with-acl'.
12580 (tramp-smb-actions-set-acl): New defconst.
12581 (tramp-smb-handle-copy-directory)
12582 (tramp-smb-action-get-acl): New defun, renamed from
12583 `tramp-smb-action-with-acl'.
12584 (tramp-smb-action-set-acl): New defun.
12585 (tramp-smb-handle-set-file-acl): Rewrite.
12586
12587 2013-10-17 Glenn Morris <rgm@gnu.org>
12588
12589 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
12590
12591 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12592
12593 * skeleton.el (skeleton-newline): Remove.
12594 (skeleton-internal-1): Use (insert "\n") instead.
12595
12596 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
12597 let-bindings.
12598
12599 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
12600 forward-sexp-function while we redo its job (bug#15613).
12601
12602 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
12603
12604 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
12605 represented by lists.
12606
12607 2013-10-16 Glenn Morris <rgm@gnu.org>
12608
12609 * tmm.el (tmm--history): New dynamic variable.
12610 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
12611
12612 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
12613
12614 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
12615 (tramp-smb-errors): Add error messages.
12616 (tramp-smb-actions-with-acl): New defconst.
12617 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
12618 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
12619 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
12620 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
12621 (tramp-smb-get-stat-capability): Fix tests.
12622
12623 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
12624
12625 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
12626 (bug#15580).
12627
12628 2013-10-16 Glenn Morris <rgm@gnu.org>
12629
12630 * ansi-color.el (ansi-color-drop-regexp):
12631 Add 1J, 1K, 2K. (Bug#15617)
12632
12633 * files.el (hack-local-variables--warned-lexical): New.
12634 (hack-local-variables):
12635 Warn about misplaced lexical-binding. (Bug#15616)
12636
12637 * net/eww.el (eww-render): Always set eww-current-url,
12638 and update header line. (Bug#15622)
12639 (eww-display-html): ... Rather than just doing it here.
12640
12641 2013-10-15 Eli Zaretskii <eliz@gnu.org>
12642
12643 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
12644 menu navigations commands.
12645
12646 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
12647
12648 * progmodes/subword.el (subword-capitalize): Be careful when
12649 the search for [[:alpha:]] fails (bug#15580).
12650
12651 2013-10-14 Eli Zaretskii <eliz@gnu.org>
12652
12653 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
12654 to commands that scroll the menu.
12655
12656 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
12657
12658 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
12659 Handle methods ending with `?' and `!'.
12660
12661 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
12662
12663 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
12664 `japanese-cp932' to `cp932' to fix the problem where saving a
12665 source file written in Shift_JIS twice would end up having
12666 `coding: japanese-cp932' which Ruby could not recognize.
12667 (ruby-mode-set-encoding): Add support for encodings mapped to nil
12668 in `ruby-encoding-map'.
12669 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
12670 doesn't need to be explicitly declared in magic comment.
12671 (ruby-encoding-map): Add type declaration for better customize UI.
12672
12673 2013-10-13 Glenn Morris <rgm@gnu.org>
12674
12675 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
12676 Occur buffers are read-only. http://bugs.debian.org/720775
12677
12678 * emacs-lisp/authors.el (authors-fixed-entries):
12679 Comment out old alpha stuff.
12680
12681 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
12682
12683 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
12684 to `after-save-hook' instead of `before-save-hook'.
12685 (ruby-mode-set-encoding): Use the value of coding system used to
12686 write the file. Call `basic-save-buffer-1' after modifying the
12687 buffer.
12688
12689 2013-10-13 Alan Mackenzie <acm@muc.de>
12690
12691 Fix indentation/fontification of Java enum with
12692 "implements"/generic.
12693
12694 * progmodes/cc-engine.el (c-backward-over-enum-header):
12695 Extracted from the three other places and enhanced to handle generics.
12696 (c-inside-bracelist-p): Uses new function above.
12697 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
12698 function above.
12699 (c-font-lock-enum-tail): Uses new function above.
12700
12701 2013-10-13 Kenichi Handa <handa@gnu.org>
12702
12703 * international/mule-cmds.el (select-safe-coding-system): Remove a
12704 superfluous condition in chekcing whether a coding system is safe
12705 or not.
12706
12707 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
12708
12709 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
12710
12711 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
12712
12713 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
12714
12715 2013-10-13 Glenn Morris <rgm@gnu.org>
12716
12717 * menu-bar.el (menu-bar-update-buffers):
12718 Unify Buffers menu prompt string. (Bug#15576)
12719
12720 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
12721
12722 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
12723 Add some entries.
12724 (authors-fixed-entries): Use accented form of name.
12725
12726 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12727
12728 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
12729 method calls (bug#15594).
12730 (ruby-smie--args-separator-p): New function.
12731 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
12732 recognize paren-free method calls.
12733
12734 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
12735 internals of universal-argument.
12736
12737 2013-10-11 Eli Zaretskii <eliz@gnu.org>
12738
12739 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
12740 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
12741 dropped menu on second mouse click on the menu bar.
12742
12743 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
12746 (explicit-shell-file-name): Declare.
12747 (sh--vars-before-point, sh--cmd-completion-table): New functions.
12748 (sh-completion-at-point-function): New function.
12749 (sh-mode): Use it.
12750 (sh-smie--keyword-p): Remove unused argument.
12751 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
12752 vars.
12753 (sh-set-shell): Always setup SMIE, even if we use the
12754 old indentation code.
12755
12756 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
12757
12758 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
12759 cases of ? and =.
12760 (ruby-smie-rules): Simplify the "do" rule. The cases when the
12761 predicate would return nil are almost non-existent.
12762 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
12763
12764 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
12765 cache also after commands that modify the buffer but don't move
12766 point.
12767
12768 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
12769
12770 * env.el (substitute-env-in-file-name): New function.
12771 (substitute-env-vars): Extend the meaning of the optional arg.
12772
12773 2013-10-10 Eli Zaretskii <eliz@gnu.org>
12774
12775 * term/w32-win.el (dynamic-library-alist): Define separate lists
12776 of GIF DLLs for versions before and after 5.0.0 of giflib.
12777 (Bug#15531)
12778
12779 2013-10-10 João Távora <joaotavora@gmail.com>
12780
12781 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
12782 not locked, use last revision and current source as
12783 defaults. (Bug#15569)
12784
12785 2013-10-10 Masatake YAMATO <yamato@redhat.com>
12786
12787 * menu-bar.el (menu-bar-open): Don't use popup-menu if
12788 menu-bar is hidden.
12789
12790 2013-10-10 Martin Rudalics <rudalics@gmx.at>
12791
12792 * window.el (pop-to-buffer-same-window): Fix doc-string.
12793 (Bug#15492)
12794
12795 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
12798
12799 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
12800
12801 * calendar/icalendar.el (icalendar-import-file):
12802 Fix interactive spec. (Bug#15482)
12803
12804 2013-10-10 Glenn Morris <rgm@gnu.org>
12805
12806 * desktop.el (desktop-save): Default to saving in .emacs.d,
12807 since PWD is no longer in desktop-path by default. (Bug#15319)
12808
12809 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
12810 now that text mode has a menu with the same entry.
12811 (menu-bar-text-mode-auto-fill): Remove now unused func.
12812 * textmodes/text-mode.el (text-mode-map):
12813 Use auto-fill help text from menu-bar.el.
12814
12815 2013-10-10 John Anthony <john@jo.hnanthony.com>
12816
12817 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
12818
12819 2013-10-09 Juri Linkov <juri@jurta.org>
12820
12821 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
12822 instead of this-command-keys. Add universal-argument-more and
12823 universal-argument-minus to the list of prefix commands. (Bug#15568)
12824
12825 2013-10-09 Glenn Morris <rgm@gnu.org>
12826
12827 * vc/vc-svn.el (vc-svn-create-repo):
12828 Expand paths in file://... url. (Bug#15446)
12829
12830 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
12831 Add some entries.
12832 (authors): Remove unused local variables.
12833
12834 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
12835
12836 * profiler.el: Create a more coherent calltree from partial backtraces.
12837 (profiler-format): Hide the tail with `invisible' so that C-s can still
12838 find the hidden elements.
12839 (profiler-calltree-depth): Don't recurse so enthusiastically.
12840 (profiler-function-equal): New hash-table-test.
12841 (profiler-calltree-build-unified): New function.
12842 (profiler-calltree-build): Use it.
12843 (profiler-report-make-name-part): Indent the calltree less.
12844 (profiler-report-mode): Add visibility specs for profiler-format.
12845 (profiler-report-expand-entry, profiler-report-toggle-entry):
12846 Expand the whole subtree when provided with a prefix arg.
12847
12848 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
12849
12850 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
12851 iuwu-mod token.
12852 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
12853 hanging iuwu-mod token.
12854 (ruby-smie--forward-token): Do not include a dot after a token in
12855 that token.
12856 (ruby-smie--backward-token): Likewise.
12857
12858 2013-10-08 Juri Linkov <juri@jurta.org>
12859
12860 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
12861 to isearch-other-control-char.
12862 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
12863 and isearch-post-command-hook to post-command-hook.
12864 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
12865 and isearch-post-command-hook from post-command-hook.
12866 (isearch-unread-key-sequence)
12867 (isearch-reread-key-sequence-naturally)
12868 (isearch-lookup-scroll-key, isearch-other-control-char)
12869 (isearch-other-meta-char): Remove functions.
12870 (isearch-pre-command-hook, isearch-post-command-hook):
12871 New functions based on isearch-other-meta-char rewritten
12872 relying on the new behavior of overriding-terminal-local-map
12873 that does not replace the local keymaps any more. (Bug#15200)
12874
12875 2013-10-08 Eli Zaretskii <eliz@gnu.org>
12876
12877 Support menus on text-mode terminals.
12878 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
12879 functionality.
12880
12881 * tooltip.el (tooltip-mode): Don't error out on TTYs.
12882
12883 * menu-bar.el (popup-menu, popup-menu-normalize-position):
12884 Move here from mouse.el.
12885 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
12886 and arrow keys.
12887 (tty-menu-navigation-map): New map for TTY menu navigation.
12888
12889 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
12890
12891 * frame.el (display-mouse-p): Report text-mode mouse as available
12892 on w32.
12893 (display-popup-menus-p): Report availability if mouse is
12894 available; don't condition on window-system.
12895
12896 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
12897 (tty-menu-selected-face): New faces.
12898
12899 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
12900
12901 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
12902 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
12903 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
12904 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
12905 New constants.
12906 (lisp-mode-variables): New `elisp' argument.
12907 (emacs-lisp-mode): Use it.
12908 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
12909 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
12910
12911 * indent.el: Use lexical-binding.
12912 (indent-region): Add progress reporter.
12913 (tab-stop-list): Make it implicitly extend to infinity by repeating the
12914 last step.
12915 (indent--next-tab-stop): New function to implement this behavior.
12916 (tab-to-tab-stop, move-to-tab-stop): Use it.
12917
12918 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
12919
12920 * indent.el (indent-rigidly--current-indentation): New function.
12921 (indent-rigidly-map): New var.
12922 (indent-rigidly): Use it to provide interactive mode (bug#8196).
12923
12924 2013-10-08 Bastien Guerry <bzg@gnu.org>
12925
12926 * register.el (insert-register): Fix 2013-10-07 change.
12927
12928 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 * progmodes/perl-mode.el: Use lexical-binding.
12931 Remove redundant :group args.
12932 (perl-nochange): Change default to be closer to other major modes's
12933 standard behavior.
12934 (perl-indent-line): Don't consider text on current line as a
12935 valid beginning of function from which to indent.
12936
12937 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
12938 with more than one argument (bug#15538).
12939
12940 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
12941
12942 * vc/pcvs.el: Use lexical-binding.
12943 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
12944 environment of `eval'.
12945 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
12946 than a list of expressions. Adjust callers.
12947 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
12948
12949 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
12950
12951 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
12952 case of the dot in a chained method call being on the following line.
12953
12954 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12955
12956 * electric.el (electric-indent-inhibit): New var.
12957 (electric-indent-post-self-insert-function): Use it.
12958 * progmodes/python.el (python-mode): Set it.
12959
12960 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
12961 open braces.
12962
12963 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
12964
12965 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
12966 (css-mode): Use electric-indent-chars.
12967
12968 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
12969 (font-lock-beg, font-lock-end): Move before first use.
12970 (nxml-mode): Use syntax-propertize-function.
12971 (nxml-after-change, nxml-after-change1): Adjust accordingly.
12972 (nxml-extend-after-change-region): Remove.
12973 * nxml/xmltok.el: Use lexical-binding.
12974 (xmltok-save): Use `declare'.
12975 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
12976 * nxml/nxml-util.el: Use lexical-binding.
12977 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
12978 Use `declare'.
12979 * nxml/nxml-ns.el: Use lexical-binding.
12980 (nxml-ns-save): Use `declare'.
12981 (nxml-ns-prefixes-for): Avoid add-to-list.
12982 * nxml/rng-match.el: Use lexical-binding.
12983 (rng--ipattern): Use cl-defstruct.
12984 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
12985 (rng-cons-group-after, rng-subst-group-after)
12986 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
12987 Use closures instead of `(lambda...).
12988
12989 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
12990
12991 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
12992 of BEG and END.
12993
12994 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12995 Use `tramp-handle-insert-file-contents'.
12996 (tramp-gvfs-handle-insert-file-contents): Remove function.
12997
12998 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12999 Use `save-restriction' in order to keep markers.
13000
13001 * net/trampver.el: Update release number.
13002
13003 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * progmodes/compile.el (compilation-parse-errors):
13006 Use compilation--put-prop.
13007 (compilation--ensure-parse): Check compilation-multiline.
13008
13009 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
13010
13011 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
13012 lexical-binding.
13013
13014 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
13015
13016 * progmodes/ruby-mode.el: Fix recently added tests.
13017 (ruby-smie-grammar): Add - and +.
13018 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
13019 (ruby-smie--backward-id): New functions.
13020 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
13021 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
13022 any more.
13023
13024 2013-10-07 Leo Liu <sdl.web@gmail.com>
13025
13026 * register.el (register-preview-delay)
13027 (register-preview-functions): New variables.
13028 (register-read-with-preview, register-preview)
13029 (register-describe-oneline): New functions.
13030 (point-to-register, window-configuration-to-register)
13031 (frame-configuration-to-register, jump-to-register)
13032 (number-to-register, view-register, insert-register)
13033 (copy-to-register, append-to-register, prepend-to-register)
13034 (copy-rectangle-to-register): Use register-read-with-preview to
13035 read register. (Bug#15525)
13036
13037 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
13038
13039 * net/network-stream.el (network-stream-open-starttls): Don't add
13040 --insecure if it's already present, because that gnutls-cli
13041 rejects getting that parameter twice.
13042
13043 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
13044
13045 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
13046 keyword, too.
13047
13048 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
13049
13050 * newcomment.el (comment-use-global-state): Change default value
13051 to t, mark obsolete (Bug#15251).
13052 (comment-beginning): In addition to `comment-to-syntax', check the
13053 value of `comment-use-global-state'.
13054
13055 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13056
13057 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
13058 (ruby-comment-column): Follow the global default, by default.
13059 (ruby-smie-grammar): Add assignment syntax.
13060 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
13061 open-paren, a comma, or a \.
13062 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
13063 and line continuations.
13064 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
13065 followed by implicit semi-colons. Add rule for string concatenation
13066 and for indentation at BOB.
13067 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
13068
13069 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
13070 calling next-sexp, since next-token may have skipped chars which
13071 next-sexp doesn't know should be skipped!
13072
13073 2013-10-05 Leo Liu <sdl.web@gmail.com>
13074
13075 * progmodes/octave.el (octave-send-region):
13076 Call compilation-forget-errors.
13077
13078 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
13079
13080 * vc/vc-svn.el (vc-svn-find-admin-dir):
13081 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
13082 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
13083 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
13084 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
13085
13086 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
13089
13090 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
13091
13092 * subr.el (read-passwd): Hide chars even when called within a context
13093 where after-change-functions is disabled (bug#15501).
13094 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
13095 until we removed ourself from overriding-terminal-local-map.
13096
13097 2013-10-04 Leo Liu <sdl.web@gmail.com>
13098
13099 * progmodes/octave.el (inferior-octave-mode):
13100 Call compilation-forget-errors.
13101
13102 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
13103
13104 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
13105
13106 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
13107
13108 * net/secrets.el (secrets-create-collection): Add optional
13109 argument ALIAS. Use proper Label keyword. Append ALIAS as
13110 dbus-call-method argument. (Bug#15516)
13111
13112 2013-10-04 Leo Liu <sdl.web@gmail.com>
13113
13114 * progmodes/octave.el (inferior-octave-error-regexp-alist)
13115 (inferior-octave-compilation-font-lock-keywords): New variables.
13116 (compilation-error-regexp-alist)
13117 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
13118 (inferior-octave-mode): Use compilation-shell-minor-mode.
13119
13120 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
13121
13122 * minibuffer.el (completion--replace): Be careful that `end' might be
13123 a marker.
13124
13125 2013-10-03 Daiki Ueno <ueno@gnu.org>
13126
13127 Add support for package signature checking.
13128 * emacs-lisp/package.el (url-http-file-exists-p)
13129 (epg-make-context, epg-context-set-home-directory)
13130 (epg-verify-string, epg-context-result-for)
13131 (epg-signature-status, epg-signature-to-string)
13132 (epg-check-configuration, epg-configuration)
13133 (epg-import-keys-from-file): Declare.
13134 (package-check-signature): New user option.
13135 (package-unsigned-archives): New user option.
13136 (package-desc): Add `signed' field.
13137 (package-load-descriptor): Set `signed' field if .signed file exists.
13138 (package--archive-file-exists-p): New function.
13139 (package--check-signature): New function.
13140 (package-install-from-archive): Check package signature.
13141 (package--download-one-archive): Check archive signature.
13142 (package-delete): Remove .signed file.
13143 (package-import-keyring): New command.
13144 (package-refresh-contents): Import default keyring.
13145 (package-desc-status): Add "unsigned" status.
13146 (describe-package-1, package-menu--print-info)
13147 (package-menu-mark-delete, package-menu--find-upgrades)
13148 (package-menu--status-predicate): Support "unsigned" status.
13149
13150 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13151
13152 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
13153 the new compilation scheme using the new byte-codes.
13154
13155 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
13156 (byte-pophandler): New byte codes.
13157 (byte-goto-ops): Adjust accordingly.
13158 (byte-compile--use-old-handlers): New var.
13159 (byte-compile-catch): Use new byte codes depending on
13160 byte-compile--use-old-handlers.
13161 (byte-compile-condition-case--old): Rename from
13162 byte-compile-condition-case.
13163 (byte-compile-condition-case--new): New function.
13164 (byte-compile-condition-case): New function that dispatches depending
13165 on byte-compile--use-old-handlers.
13166 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
13167 when we can.
13168
13169 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
13170 Optimize under `condition-case' and `catch' if
13171 byte-compile--use-old-handlers is nil.
13172 (disassemble-offset): Handle new bytecodes.
13173
13174 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13175
13176 * subr.el (error): Use `declare'.
13177 (decode-char, encode-char): Use advertised-calling-convention instead
13178 of the docstring to discourage use of the `restriction' arg.
13179
13180 2013-10-03 Daiki Ueno <ueno@gnu.org>
13181
13182 * epg.el (epg-verify-file): Add a comment saying that it does not
13183 notify verification error as a return value nor a signal.
13184 (epg-verify-string): Ditto.
13185
13186 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
13187
13188 * progmodes/compile.el (compilation-start): Try globbing the arg to
13189 `cd' (bug#15417).
13190
13191 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
13192
13193 Sync with Tramp 2.2.8.
13194
13195 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
13196 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
13197 * net/trampver.el: Update release number.
13198
13199 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
13200
13201 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13202 and default-process-coding-system for darwin only.
13203
13204 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
13207
13208 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
13209
13210 * vc/vc-git.el (vc-git-grep): Disable pager.
13211
13212 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
13213
13214 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
13215 Use :url instead of :homepage, as per
13216 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
13217
13218 * newcomment.el (comment-beginning): When `comment-use-syntax' is
13219 non-nil, use `syntax-ppss' (Bug#15251).
13220
13221 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13222
13223 * progmodes/octave.el (inferior-octave-startup-file):
13224 Prefer ~/.emacs.d/init_octave.m.
13225
13226 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
13227
13228 * emacs-lisp/package.el (package-desc-from-define):
13229 Accept additional arguments as plist, convert them to an alist and store
13230 them in the `extras' slot.
13231 (package-generate-description-file): Convert extras alist back to
13232 plist and append to the `define-package' form arguments.
13233 (package--alist-to-plist): New function.
13234 (package--ac-desc): Add `extras' slot.
13235 (package--add-to-archive-contents): Check if the archive-contents
13236 vector is long enough, and if it is, pass its `extras' slot value
13237 to `package-desc-create'.
13238 (package-buffer-info): Call `lm-homepage', pass the returned value
13239 to `package-desc-from-define'.
13240 (describe-package-1): Render the homepage button (Bug#13291).
13241
13242 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13243 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
13244
13245 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
13246
13247 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13248 and default-process-coding-system to utf-8-unix (Bug#15402).
13249
13250 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
13251
13252 * subr.el (looking-back): Do not recommend using looking-back.
13253
13254 2013-09-28 Alan Mackenzie <acm@muc.de>
13255
13256 Fix indentation/fontification of Java enum with "implements".
13257
13258 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
13259 regexp which matches "implements", etc., in Java.
13260 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
13261 specifier clauses coming after "enum".
13262 * progmodes/cc-fonts.el (c-font-lock-declarations)
13263 (c-font-lock-enum-tail): Check for extra specifier clauses coming
13264 after "enum".
13265
13266 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
13267
13268 * faces.el (region): Change ns_selection_color to
13269 ns_selection_fg_color, add ns_selection_bg_color.
13270
13271 2013-09-28 Leo Liu <sdl.web@gmail.com>
13272
13273 * progmodes/octave.el (inferior-octave-completion-table)
13274 (inferior-octave-completion-at-point): Minor tweaks.
13275
13276 * textmodes/ispell.el (ispell-lookup-words): Rename from
13277 lookup-words. (Bug#15460)
13278 (lookup-words): Obsolete.
13279 (ispell-complete-word, ispell-command-loop): All uses changed.
13280
13281 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13282
13283 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
13284 (octave-mode-menu): Add octave-send-buffer.
13285 (octave-send-buffer): New function.
13286
13287 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13288
13289 * progmodes/octave.el (octave-mode-map): Add key binding for
13290 octave-lookfor.
13291 (octave-mode-menu): Add octave-lookfor.
13292 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
13293 octave-lookfor.
13294 (octave-lookfor): New function.
13295
13296 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
13299 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
13300 its convention.
13301 (cl--loop-set-iterator-function): New function.
13302 (cl-loop): Adjust accordingly, so as not to use cl-subst.
13303 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
13304 Bind `it' with `let' instead of substituting it with `cl-subst'.
13305 (cl--unused-var-p): New function.
13306 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
13307 Eliminate some unused variable warnings (bug#15326).
13308
13309 2013-09-27 Tassilo Horn <tsdh@gnu.org>
13310
13311 * doc-view.el (doc-view-scale-reset): Rename from
13312 `doc-view-reset-zoom-level'.
13313 (doc-view-scale-adjust): New command.
13314 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
13315 `doc-view-scale-adjust'.
13316
13317 2013-09-26 Tassilo Horn <tsdh@gnu.org>
13318
13319 * doc-view.el (doc-view-reset-zoom-level): New command.
13320 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
13321 zoom commands (bug#15466).
13322
13323 2013-09-26 Kenichi Handa <handa@gnu.org>
13324
13325 * international/quail.el (quail-help): Make it not a command.
13326
13327 2013-09-26 Leo Liu <sdl.web@gmail.com>
13328
13329 * minibuffer.el (completion-all-sorted-completions): Make args
13330 optional as they are.
13331
13332 2013-09-25 Daniel Colascione <dancol@dancol.org>
13333
13334 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
13335 specs are and that they're not evaluated.
13336
13337 2013-09-24 Sam Steingold <sds@gnu.org>
13338
13339 * midnight.el (clean-buffer-list-kill-regexps)
13340 (clean-buffer-list-kill-buffer-names): Update for the new Man
13341 buffer naming which includes the object name.
13342
13343 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13344
13345 * eshell/esh-cmd.el (eshell--sep-terms): New var.
13346 (eshell-parse-command, eshell-parse-pipeline): Use it since
13347 eshell-separate-commands requires a dynamic scoped var.
13348 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
13349
13350 2013-09-23 Leo Liu <sdl.web@gmail.com>
13351
13352 * autoinsert.el (auto-insert-alist): Make the value of
13353 lexical-binding match its file setting.
13354
13355 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
13356
13357 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
13358
13359 * autoarg.el (autoarg-kp-digit-argument):
13360 * electric.el (Electric-command-loop):
13361 * kmacro.el (kmacro-step-edit-insert):
13362 Do not set universal-argument-num-events.
13363
13364 2013-09-22 Leo Liu <sdl.web@gmail.com>
13365
13366 * files.el (interpreter-mode-alist): Add octave.
13367
13368 2013-09-21 Alan Mackenzie <acm@muc.de>
13369
13370 C++: fontify identifier in declaration following "public:" correctly.
13371 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
13372 to match "public", etc.
13373 (c-decl-prefix-re): Add ":" into the C++ value.
13374 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
13375 bit. Add a check for a ":" preceded by "public", etc.
13376
13377 2013-09-21 Eli Zaretskii <eliz@gnu.org>
13378
13379 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
13380 recognized by GDB 7.5 and later.
13381
13382 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
13383
13384 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
13385
13386 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13387
13388 * subr.el (internal--call-interactively): New const.
13389 (called-interactively-p): Use it (bug#3984).
13390
13391 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
13392
13393 * vc/pcvs.el (cvs-mode-ignore):
13394 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
13395 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
13396
13397 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13398
13399 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
13400 (eshell-ls-orig-insert-directory): Remove.
13401 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
13402 (eshell-ls-use-in-dired): Use advice-add/remove.
13403 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
13404 Add `orig-fun' arg for use in :around advice.
13405 Make it check (redundantly) eshell-ls-use-in-dired.
13406
13407 2013-09-19 Glenn Morris <rgm@gnu.org>
13408
13409 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
13410
13411 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
13412
13413 * emacs-lisp/eieio.el (class-parent): Undo previous change.
13414
13415 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
13416
13417 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
13418 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
13419 (tramp-get-remote-python): New defuns.
13420 (tramp-get-remote-uid-with-perl)
13421 (tramp-get-remote-gid-with-perl): New defuns. Perl code
13422 contributed by yary <not.com@gmail.com> (tiny change).
13423 (tramp-get-remote-uid-with-python)
13424 (tramp-get-remote-gid-with-python): New defuns. Python code
13425 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
13426 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
13427
13428 2013-09-19 Glenn Morris <rgm@gnu.org>
13429
13430 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
13431
13432 * eshell/em-unix.el (eshell-remove-entries):
13433 Rename argument to avoid name-clash with global `top-level'.
13434
13435 * eshell/esh-proc.el (eshell-kill-process-function):
13436 Remove eshell-reset-after-proc from eshell-kill-hook if present.
13437 (eshell-reset-after-proc): Remove unused arg `proc'.
13438
13439 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
13440 (directory-files-and-attributes): Mark unused arg.
13441
13442 * eshell/em-unix.el (eshell-remove-entries):
13443 Remove unused arg `path'. Update callers.
13444
13445 * eshell/em-hist.el (eshell-hist-parse-arguments):
13446 Remove unused arg `silent'. Update callers.
13447
13448 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
13449 Fix (f)boundp mix-up.
13450
13451 * eshell/em-smart.el (eshell-smart-scroll-window)
13452 (eshell-disable-after-change):
13453 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
13454
13455 2013-09-18 Alan Mackenzie <acm@muc.de>
13456
13457 Fix fontification of type when followed by "const".
13458 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
13459 "known" types from fontification.
13460
13461 2013-09-18 Glenn Morris <rgm@gnu.org>
13462
13463 * emacs-lisp/chart.el (x-display-color-cells): Declare.
13464 (chart-face-list): Drop Emacsen without display-color-p.
13465
13466 * net/eww.el (libxml-parse-html-region): Declare.
13467 (eww-display-html): Explicit error if no libxml2 support.
13468
13469 * doc-view.el (doc-view-mode): Silence --without-x compilation.
13470
13471 * image.el (image-type-from-buffer, image-multi-frame-p):
13472 Remove --without-x warning/error.
13473
13474 * mouse.el (mouse-yank-primary):
13475 * term.el (term-mouse-paste):
13476 Reorder to silence --without-x compilation.
13477
13478 * mpc.el (doc-view-mode): Silence --without-x compilation.
13479
13480 * mail/rmailmm.el (rmail-mime-set-bulk-data):
13481 Silence --without-x compilation.
13482
13483 * progmodes/gud.el (gud-find-file, gud-mode):
13484 Silence --without-x compilation.
13485 (tooltip-mode): Declare.
13486
13487 * wdired.el (dired-backup-overwrite): Remove declaration.
13488 (wdired-mode-map): Add doc string.
13489
13490 * custom.el (x-get-resource): Declare.
13491
13492 * eshell/em-glob.el (ange-cache):
13493 * eshell/em-unix.el (ange-cache): Declare.
13494
13495 * faces.el (x-display-list, x-open-connection, x-get-resource):
13496 Declare.
13497
13498 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
13499 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
13500 Declare.
13501
13502 * frame.el (x-display-grayscale-p, x-display-name): Declare.
13503
13504 * net/gnutls.el (gnutls-log-level): Declare.
13505
13506 * net/shr.el (image-size, image-animate): Declare.
13507
13508 * simple.el (font-info): Declare.
13509
13510 * subr.el (x-popup-dialog): Declare.
13511
13512 * term/common-win.el (x-select-enable-primary)
13513 (x-last-selected-text-primary, x-last-selected-text-clipboard):
13514 Declare.
13515
13516 * term/ns-win.el (x-handle-args): Declare.
13517
13518 * term/x-win.el (x-select-enable-clipboard): Declare.
13519
13520 * term/w32-win.el (create-default-fontset): Declare.
13521
13522 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
13523 Declare.
13524
13525 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
13526 (fit-frame-to-buffer): Explicit error if --without-x.
13527 (mouse-autoselect-window-select): Silence compiler.
13528
13529 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13530
13531 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
13532 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
13533 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
13534 * eshell/esh-util.el (eshell-sublist):
13535 Remove unused local variables.
13536
13537 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
13538
13539 * textmodes/two-column.el: Make 2C-split work for --without-x.
13540 (scroll-bar-columns): Autoload.
13541 (top-level): Require fringe when compiling.
13542
13543 2013-09-18 Leo Liu <sdl.web@gmail.com>
13544
13545 * subr.el (add-hook): Robustify to handle closure as well.
13546
13547 2013-09-17 Glenn Morris <rgm@gnu.org>
13548
13549 * simple.el (messages-buffer-mode-map): Unbind "g".
13550
13551 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13552
13553 * help-mode.el (help-mode-finish): Use derived-mode-p.
13554 Remove obsolete highlighting.
13555
13556 * play/life.el (life-mode): Use define-derived-mode. Derive from
13557 special-mode.
13558 (life): Let-bind inhibit-read-only.
13559 (life-setup): Avoid `setq'. Use `life-mode'.
13560
13561 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
13562 which should not be needed any more.
13563 (package-menu-refresh, package-menu-describe-package): Use user-error.
13564
13565 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
13566 (eshell-post-rewrite-command-hook): Make obsolete.
13567 (eshell-parse-command): Simplify.
13568 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
13569 (eshell--cmd): Declare.
13570 (eshell-parse-pipeline): Remove unused var `final-p'.
13571 Pass a dynvar to eshell-post-rewrite-command-hook.
13572 Implement the new eshell-post-rewrite-command-function.
13573 (eshell-invoke-directly): Remove unused arg `input'.
13574 * eshell/esh-io.el (eshell-io-initialize):
13575 Use eshell-post-rewrite-command-function (bug#15399).
13576 (eshell--apply-redirections): Rename from eshell-apply-redirections;
13577 adjust to new calling convention.
13578 (eshell-create-handles): Rename args to avoid clashing with dynvar
13579 `standard-output'.
13580
13581 2013-09-17 Glenn Morris <rgm@gnu.org>
13582
13583 * simple.el (messages-buffer-mode): New major mode.
13584 (messages-buffer): New function.
13585 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
13586 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
13587 (ert-run-test): Use `messages-buffer' function.
13588 (ert--force-message-log-buffer-truncation): Ignore read-only.
13589 * help.el (view-echo-area-messages): Use `messages-buffer' function.
13590 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
13591
13592 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
13595
13596 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
13597
13598 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13599
13600 * icomplete.el (icomplete-in-buffer): New var.
13601 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
13602 vars and replace them with functions.
13603 (icomplete-minibuffer-setup): Adjust accordingly.
13604 (icomplete--completion-table, icomplete--completion-predicate)
13605 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
13606 New functions.
13607 (icomplete-forward-completions, icomplete-backward-completions)
13608 (icomplete-simple-completing-p, icomplete-exhibit)
13609 (icomplete-completions): Use them.
13610 (icomplete--in-region-buffer): New var.
13611 (icomplete--in-region-setup): New function.
13612 (icomplete-mode): Use it.
13613
13614 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
13615 (bug#15379).
13616 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
13617 return args and options.
13618 (eshell-eval-using-options): Use the new return value of
13619 eshell--do-opts to set the options's vars in their scope.
13620 (eshell--set-option): Rename from eshell-set-option.
13621 Add arg `opt-vals'.
13622 (eshell--process-option): Rename from eshell-process-option.
13623 Add arg `opt-vals'.
13624 (eshell--process-args): Use an `opt-vals' alist to store the options's
13625 values during their processing and return them additionally to the
13626 remaining args.
13627
13628 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
13629
13630 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
13631 continuation character an operator, as far as indentation is
13632 concerned (Bug#15369).
13633
13634 2013-09-15 Martin Rudalics <rudalics@gmx.at>
13635
13636 * window.el (window--state-put-2): Don't process buffer state
13637 when buffer doesn't exist any more (Bug#15382).
13638
13639 2013-09-15 Glenn Morris <rgm@gnu.org>
13640
13641 * eshell/em-unix.el (eshell/rm):
13642 Make -f ignore missing files. (Bug#15373)
13643
13644 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
13645 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
13646 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
13647
13648 2013-09-14 Glenn Morris <rgm@gnu.org>
13649
13650 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
13651
13652 2013-09-13 Glenn Morris <rgm@gnu.org>
13653
13654 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
13655 (dired-guess-default): Make `file' available in the env. (Bug#15363)
13656
13657 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
13658
13659 * frame.el (x-focus-frame): Mark as declared in frame.c.
13660
13661 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13662
13663 * ls-lisp.el: Use advice-add.
13664 (original-insert-directory): Remove.
13665 (ls-lisp--insert-directory): Rename from insert-directory; add
13666 `orig-fun' argument.
13667 (insert-directory): Advise.
13668
13669 2013-09-13 Eli Zaretskii <eliz@gnu.org>
13670
13671 * term.el (term-emulate-terminal): Decode the command string
13672 before passing it to term-command-hook. (Bug#15337)
13673
13674 2013-09-13 Glenn Morris <rgm@gnu.org>
13675
13676 * eshell/esh-util.el (ange-cache): Move declaration earlier.
13677
13678 * eshell/esh-ext.el (eshell-search-path): Declare.
13679
13680 * eshell/em-prompt.el (eshell/pwd): Autoload it.
13681 Otherwise an error occurs if eshell-dirs module not loaded.
13682
13683 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
13684
13685 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
13686
13687 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
13688 `tramp-check-proper-host'. Check for a valid method name.
13689
13690 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13691 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13692 * net/tramp-sh.el (tramp-maybe-open-connection):
13693 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
13694
13695 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
13696 also for hash values.
13697
13698 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13699
13700 * term/ns-win.el (parameters): Don't declare as dynamic.
13701 (before-make-frame-hook): Don't add ineffective function.
13702
13703 * eshell/*.el: Use lexical-binding (bug#15231).
13704
13705 2013-09-12 Kenichi Handa <handa@gnu.org>
13706
13707 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
13708
13709 2013-09-12 Glenn Morris <rgm@gnu.org>
13710
13711 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
13712 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
13713
13714 * subr.el (do-after-load-evaluation): Also give compiler warnings
13715 when obsolete files are used (except by obsolete files).
13716
13717 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
13718 in the status output, assume `filename' is the first. (Bug#15322)
13719
13720 * vc/vc.el (vc-deduce-fileset): Doc fix.
13721
13722 * calc/calc-help.el (Info-goto-node):
13723 * progmodes/cperl-mode.el (Info-find-node):
13724 * vc/ediff.el (Info-goto-node): Update declarations.
13725
13726 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
13727
13728 * vc/vc-bzr.el (vc-compilation-mode): Declare.
13729 (vc-bzr-pull): Require vc-dispatcher.
13730 * vc/vc-git.el (vc-compilation-mode): Declare.
13731 (vc-git-pull): Require vc-dispatcher.
13732
13733 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
13734
13735 * progmodes/octave.el (help-button-action): Declare.
13736
13737 * shell.el (shell-directory-tracker): Output error as a message
13738 rather than just returning it as a string.
13739 (shell-process-pushd): Remove useless use of message.
13740
13741 * dframe.el (dframe-timer-fn):
13742 * files.el (dir-locals-read-from-file):
13743 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
13744 (mpc-format):
13745 * reveal.el (reveal-post-command):
13746 * saveplace.el (load-save-place-alist-from-file):
13747 * shell.el (shell-resync-dirs):
13748 * w32-common-fns.el (x-get-selection-value):
13749 * emacs-lisp/copyright.el (copyright-find-copyright):
13750 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
13751 * emulation/tpu-edt.el (tpu-copy-keyfile):
13752 * play/bubbles.el (bubbles--mark-neighbourhood):
13753 * progmodes/executable.el
13754 (executable-make-buffer-file-executable-if-script-p):
13755 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
13756
13757 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13758
13759 Cleanup Eshell to rely less on dynamic scoping.
13760 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
13761 last-value, and ext-command here. Bind `args' closer to `body'.
13762 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
13763 (eshell--args): Declare new dynamic var.
13764 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
13765 last-value, and ext-command. Pass `args' to `body'.
13766 (eshell-process-args): Bind eshell--args.
13767 (eshell-set-option): Use eshell--args.
13768 * eshell/eshell.el (eshell): Use derived-mode-p.
13769 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
13770 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
13771 (eshell-glob-function): Declare.
13772 * eshell/esh-util.el: Require cl-lib.
13773 (eshell-read-hosts-file): Avoid add-to-list.
13774 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
13775 `err'.
13776 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
13777 Declare.
13778 (eshell/diff): Remove unused var `err'.
13779 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
13780 `killflag'.
13781 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
13782 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
13783 first use.
13784 * eshell/em-glob.el (eshell-glob-matches, message-shown):
13785 Move declaration before first use.
13786 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
13787 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
13788 rely on cl-return.
13789
13790 2013-09-12 Glenn Morris <rgm@gnu.org>
13791
13792 * term/ns-win.el (global-map): Remove binding for ispell-next,
13793 deleted 1999-05-29. (Bug#15357)
13794
13795 2013-09-11 Glenn Morris <rgm@gnu.org>
13796
13797 * echistory.el (electric-command-history): Remove call to deleted func.
13798
13799 * play/landmark.el (landmark-mode): Fix typos.
13800
13801 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
13802 Check cvs-sort-ignore-file is bound.
13803
13804 * savehist.el: No need for cl when compiling on Emacs.
13805
13806 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13807
13808 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
13809 (bug#15338).
13810 (eshell-self-insert-command, eshell-send-invisible):
13811 Remove unused argument.
13812 (eshell-handle-control-codes): Remove unused var `orig'.
13813 Avoid delete-backward-char.
13814
13815 * files.el (set-auto-mode): Simplify a bit further.
13816
13817 2013-09-11 Glenn Morris <rgm@gnu.org>
13818
13819 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
13820 (set-auto-mode): Don't regexp-quote elements.
13821 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
13822 * progmodes/cc-mode.el (interpreter-mode-alist):
13823 * progmodes/ruby-mode.el (interpreter-mode-alist):
13824 Revert previous change.
13825
13826 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13827
13828 * play/snake.el (snake-mode):
13829 * play/mpuz.el (mpuz-mode):
13830 * play/landmark.el (lm-mode):
13831 * play/blackbox.el (blackbox-mode):
13832 * play/5x5.el (5x5-mode):
13833 * obsolete/options.el (Edit-options-mode):
13834 * net/quickurl.el (quickurl-list-mode):
13835 * net/newst-treeview.el (newsticker-treeview-mode):
13836 * mail/rmailsum.el (rmail-summary-mode):
13837 * mail/mspools.el (mspools-mode):
13838 * locate.el (locate-mode):
13839 * ibuffer.el (ibuffer-mode):
13840 * emulation/ws-mode.el (wordstar-mode):
13841 * emacs-lisp/debug.el (debugger-mode):
13842 * array.el (array-mode):
13843 * net/eudc.el (eudc-mode): Use define-derived-mode.
13844 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
13845 Move initialization into declaration.
13846 (mairix-searches-mode): Use define-derived-mode.
13847 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
13848 (eudc-edit-hotlist): Use dolist.
13849 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
13850 (Man-mode): Use define-derived-mode.
13851 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
13852 (Info-edit-mode): Use define-derived-mode.
13853 (Info-cease-edit): Use Info-mode.
13854 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
13855 into declaration.
13856 (eshell-mode): Use define-derived-mode.
13857 * chistory.el (command-history-mode-map): Rename from
13858 command-history-map.
13859 (command-history-mode): Use define-derived-mode.
13860 (Command-history-setup): Remove function.
13861 * calc/calc.el (calc-trail-mode-map): New var.
13862 (calc-trail-mode): Use define-derived-mode.
13863 (calc-trail-buffer): Set calc-main-buffer manually.
13864 * bookmark.el (bookmark-insert-annotation): New function.
13865 (bookmark-edit-annotation): Use it.
13866 (bookmark-edit-annotation-mode): Make it a proper major mode.
13867 (bookmark-send-edited-annotation): Use derived-mode-p.
13868 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
13869 closer to its ideal place. Use \' to match EOS.
13870
13871 * profiler.el (profiler-calltree-find): Use function-equal.
13872
13873 2013-09-10 Glenn Morris <rgm@gnu.org>
13874
13875 * files.el (interpreter-mode-alist): Convert to regexps.
13876 (set-auto-mode): Adapt for this. (Bug#15306)
13877 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
13878 Comment out unused variable.
13879 * progmodes/cc-mode.el (interpreter-mode-alist):
13880 * progmodes/python.el (interpreter-mode-alist):
13881 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
13882 * progmodes/sh-script.el (sh-set-shell):
13883 No longer use interpreter-mode-alist to get list of shells.
13884
13885 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
13886
13887 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
13888
13889 * simple.el: Use set-temporary-overlay-map for universal-argument.
13890 (universal-argument-map): Don't use default-bindings (bug#15317).
13891 Bind switch-frame explicitly. Replace universal-argument-minus with
13892 a conditional binding.
13893 (universal-argument-num-events, saved-overriding-map): Remove.
13894 (restore-overriding-map): Remove.
13895 (universal-argument--mode): Rename from save&set-overriding-map,
13896 and rewrite.
13897 (universal-argument, universal-argument-more, negative-argument)
13898 (digit-argument): Adjust accordingly.
13899 (universal-argument-minus): Remove.
13900 (universal-argument-other-key): Remove.
13901
13902 * subr.el (with-demoted-errors): Add `format' argument.
13903
13904 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
13905
13906 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
13907 `tramp-cleanup-connection'.
13908
13909 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
13910 parameters KEEP-DEBUG and KEEP-PASSWORD.
13911
13912 * net/tramp.el (tramp-file-name-handler):
13913 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13914 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13915 (tramp-maybe-open-connection):
13916 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
13917 Use `tramp-cleanup-connection'.
13918
13919 * net/tramp-sh.el (tramp-maybe-open-connection):
13920 Catch 'uname-changed inside the progress reporter.
13921
13922 2013-09-10 Glenn Morris <rgm@gnu.org>
13923
13924 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
13925
13926 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
13927 returns "alternate access method" in mode (eg "-rw-r--r--.").
13928
13929 2013-09-08 Glenn Morris <rgm@gnu.org>
13930
13931 * saveplace.el (load-save-place-alist-from-file):
13932 Demote errors. (Bug#15305)
13933
13934 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
13935
13936 Improve compatibility with older Emacsen, and XEmacs.
13937
13938 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
13939 only if it is bound. It isn't for XEmacs.
13940 (with-tramp-progress-reporter): Do not let-bind `result'.
13941 This yields to scoping errors in XEmacs.
13942 (tramp-handle-make-auto-save-file-name): New function, moved from
13943 tramp-sh.el.
13944
13945 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
13946 for `make-auto-save-file-name'.
13947 (tramp-adb--gnu-switches-to-ash):
13948 Use `tramp-compat-replace-regexp-in-string'.
13949
13950 * net/tramp-cache.el (tramp-cache-print): Call
13951 `substring-no-properties' only if it is bound. It isn't for XEmacs.
13952
13953 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
13954 bound. It isn't for XEmacs.
13955
13956 * net/tramp-compat.el (tramp-compat-copy-file):
13957 Catch `wrong-number-of-arguments' error.
13958 (tramp-compat-replace-regexp-in-string): New defun.
13959
13960 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
13961 for `make-auto-save-file-name'.
13962 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
13963 `copy-file'.
13964 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
13965 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
13966 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
13967
13968 * net/tramp-gw.el (tramp-gw-open-network-stream):
13969 Use `tramp-compat-replace-regexp-in-string'.
13970
13971 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13972 Call `tramp-handle-make-auto-save-file-name'.
13973 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
13974 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13975 (tramp-sh-file-inotifywait-process-filter):
13976 Use `tramp-compat-replace-regexp-in-string'.
13977 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
13978
13979 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
13980 for `make-auto-save-file-name'.
13981 (tramp-smb-handle-copy-directory):
13982 Call `tramp-compat-replace-regexp-in-string'.
13983 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
13984 (tramp-smb-handle-copy-file): Improve error message.
13985 (tramp-smb-handle-rename-file): Rename directly only in case
13986 `newname' does not exist yet. This is a restriction of smbclient.
13987 (tramp-smb-maybe-open-connection): Rerun the function only when
13988 `auth-sources' is non-nil.
13989
13990 2013-09-08 Kenichi Handa <handa@gnu.org>
13991
13992 * international/characters.el: Set category "^" (Combining) for
13993 more characters.
13994
13995 2013-09-07 Alan Mackenzie <acm@muc.de>
13996
13997 Correctly fontify Java class constructors.
13998 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
13999 in Java Mode.
14000 (c-recognize-typeless-decls): Set the Java value to t.
14001 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14002 While handling a "(", add a check for, effectively, Java, and handle a
14003 "typeless" declaration there.
14004
14005 2013-09-07 Roland Winkler <winkler@gnu.org>
14006
14007 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
14008 field subtitle for entry type book.
14009
14010 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14011
14012 * minibuffer.el: Make minibuffer-complete call completion-in-region
14013 rather than other way around.
14014 (completion--some, completion-pcm--find-all-completions):
14015 Don't delay signals when debugging.
14016 (minibuffer-completion-contents): Beware fields within the
14017 minibuffer contents.
14018 (completion-all-sorted-completions): Use defvar-local.
14019 (completion--do-completion, completion--cache-all-sorted-completions)
14020 (completion-all-sorted-completions, minibuffer-force-complete):
14021 Add args `beg' and `end'.
14022 (completion--in-region-1): New fun, extracted from minibuffer-complete.
14023 (minibuffer-complete): Use completion-in-region.
14024 (completion-complete-and-exit): New fun, extracted from
14025 minibuffer-complete-and-exit.
14026 (minibuffer-complete-and-exit): Use it.
14027 (completion--complete-and-exit): Rename from
14028 minibuffer--complete-and-exit.
14029 (completion-in-region--single-word): New function, extracted from
14030 minibuffer-complete-word.
14031 (minibuffer-complete-word): Use it.
14032 (display-completion-list): Make `common-substring' argument obsolete.
14033 (completion--in-region): Call completion--in-region-1 instead of
14034 minibuffer-complete.
14035 (completion-help-at-point): Pass boundaries to
14036 minibuffer-completion-help as args rather than via an overlay.
14037 (completion-pcm--string->pattern): Use `any-delim'.
14038 (completion-pcm--optimize-pattern): New function.
14039 (completion-pcm--pattern->regex): Handle `any-delim'.
14040 * icomplete.el (icomplete-forward-completions)
14041 (icomplete-backward-completions, icomplete-completions):
14042 Adjust calls to completion-all-sorted-completions and
14043 completion--cache-all-sorted-completions.
14044 (icomplete-with-completion-tables): Default to t.
14045 * emacs-lisp/crm.el (crm--current-element): Rename from
14046 crm--select-current-element. Don't put an overlay but return the
14047 boundaries instead.
14048 (crm--completion-command): Take two new args to bind to the boundaries.
14049 (crm-completion-help): Adjust accordingly.
14050 (crm-complete): Use completion-in-region.
14051 (crm-complete-word): Use completion-in-region--single-word.
14052 (crm-complete-and-exit): Use completion-complete-and-exit.
14053
14054 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
14057 than dynamically.
14058
14059 2013-09-06 Juri Linkov <juri@jurta.org>
14060
14061 * info.el (Info-display-images-node): When image file doesn't exist
14062 display text version of the image if it's provided in the Info file.
14063 Otherwise, display the location of missing image from SRC attribute.
14064 Add help-echo text property from ALT attribute. (Bug#15279)
14065
14066 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14067
14068 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
14069 (edit-abbrevs-mode): Use define-derived-mode.
14070
14071 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
14072 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
14073 that it's defined.
14074 (epa-key-list-mode, epa-key-mode, epa-info-mode):
14075 Use define-derived-mode.
14076
14077 * epg.el (epg-start-encrypt): Minor CSE simplification.
14078
14079 2013-09-06 William Xu <william.xwl@gmail.com>
14080
14081 * arc-mode.el: Add support for 7za (bug#15264).
14082 (archive-7z-program): New var.
14083 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
14084 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
14085 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
14086
14087 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
14088
14089 Remove URL syntax.
14090
14091 * net/tramp.el (tramp-syntax, tramp-prefix-format)
14092 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
14093 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
14094 (tramp-postfix-host-format, tramp-file-name-regexp)
14095 (tramp-completion-file-name-regexp)
14096 (tramp-completion-dissect-file-name)
14097 (tramp-handle-substitute-in-file-name): Remove 'url case.
14098 (tramp-file-name-regexp-url)
14099 (tramp-completion-file-name-regexp-url): Remove constants.
14100
14101 2013-09-06 Glenn Morris <rgm@gnu.org>
14102
14103 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
14104
14105 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
14106
14107 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
14108 keywords" below "here-doc beginnings" (Bug#15270).
14109
14110 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
14111
14112 * subr.el (pop): Use `car-safe'.
14113 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
14114 to detect unused `pop' return value.
14115
14116 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
14117 var `block-regexp'.
14118 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
14119 (python-fill-string): Remove unused var `marker'.
14120 (python-skeleton-add-menu-items): Remove unused var `items'.
14121
14122 * international/mule-cmds.el: Require CL.
14123 (find-coding-systems-for-charsets): Avoid add-to-list.
14124 (sanitize-coding-system-list): New function, extracted from
14125 select-safe-coding-system-interactively.
14126 (select-safe-coding-system-interactively): Use it.
14127 (read-input-method-name): Accept symbols for `default'.
14128
14129 * emacs-lisp/advice.el (defadvice): Add indent rule.
14130
14131 2013-09-05 Daniel Hackney <dan@haxney.org>
14132
14133 * dired-x.el:
14134 * net/ange-ftp.el:
14135 * net/browse-url.el:
14136 * net/dbus.el:
14137 * net/eudc.el:
14138 * net/eudcb-ldap.el:
14139 * net/eww.el:
14140 * net/imap.el:
14141 * printing.el:
14142 * vc/ediff-diff.el:
14143 * vc/ediff-init.el:
14144 * vc/ediff-merg.el:
14145 * vc/ediff-mult.el:
14146 * vc/ediff-util.el:
14147 * vc/ediff-wind.el:
14148 * vc/ediff.el:
14149 * vc/emerge.el:
14150 * vc/pcvs.el:
14151 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
14152 byte compiler. Remove some unused let-bound variables.
14153
14154 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
14155
14156 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
14157 a "ref-cell", since it gets better optimized (bug#14883).
14158
14159 2013-09-05 Glenn Morris <rgm@gnu.org>
14160
14161 * progmodes/cc-awk.el (c-forward-sws): Declare.
14162
14163 2013-09-04 Glenn Morris <rgm@gnu.org>
14164
14165 * generic-x.el [rul-generic-mode]: Require cc-mode.
14166 (c++-mode-syntax-table): Declare.
14167 (rul-generic-mode-syntax-table): Init in the defvar.
14168
14169 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14170
14171 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
14172 (vc-do-command, vc-set-async-update):
14173 * vc/vc-mtn.el (vc-mtn-dir-status):
14174 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
14175 (vc-hg-pull, vc-hg-merge-branch):
14176 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
14177 (vc-git-merge-branch):
14178 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
14179 (vc-cvs-dir-status-files):
14180 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
14181 (vc-bzr-dir-status-files):
14182 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
14183 * vc/vc-annotate.el: Use lexical-binding.
14184 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
14185 (vc-sentinel-movepoint): Declare.
14186 (vc-annotate): Don't use `goto-line'.
14187 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
14188 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
14189 (vc-sentinel-movepoint): Declare.
14190 * vc/vc-svn.el: Use lexical-binding.
14191 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
14192 * vc/vc-sccs.el:
14193 * vc/vc-rcs.el: Use lexical-binding.
14194
14195 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
14196 `deleted'. Don't drop errors silently.
14197
14198 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
14199
14200 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
14201
14202 * vc/vc.el (vc-ignore): Rewrite.
14203 (vc-default-ignore): New function.
14204 (vc-default-ignore-completion-table): Use find-ignore-file.
14205
14206 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
14207 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
14208 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
14209 Remove. Most code moved to vc.el.
14210
14211 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
14212
14213 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
14214 * net/tramp-smb.el (tramp-smb-get-file-entries):
14215 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
14216 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
14217
14218 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
14219 Update call to it.
14220 (eww-change-select): Remove unused var `properties'.
14221 (eww-make-unique-file-name): Remove unused var `base'.
14222
14223 * finder.el (finder-compile-keywords): Don't mess with windows.
14224
14225 * calculator.el (calculator-funcall): Fix typo in last change.
14226
14227 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
14228
14229 * emacs-lisp/package.el (package-activate-1): Don't let a missing
14230 <pkg>-autoloads.el file stop us.
14231
14232 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14233 warnings, and factor out common code.
14234
14235 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
14236
14237 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
14238 two-character operators and whether the character preceding them
14239 changes their meaning (Bug#15208).
14240
14241 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14242
14243 Format code sent to Python shell for robustness.
14244 * progmodes/python.el (python-shell-buffer-substring):
14245 New function.
14246 (python-shell-send-region, python-shell-send-buffer): Use it.
14247
14248 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
14249
14250 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
14251 * net/tramp.el (tramp-user-error): ... here.
14252 (tramp-find-method, tramp-check-proper-host)
14253 (tramp-dissect-file-name, tramp-debug-message)
14254 (tramp-handle-shell-command):
14255 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14256 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
14257
14258 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
14259
14260 2013-09-02 Martin Rudalics <rudalics@gmx.at>
14261
14262 * avoid.el (mouse-avoidance-point-position)
14263 (mouse-avoidance-too-close-p): Handle case where posn-at-point
14264 returns nil.
14265
14266 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14267
14268 * progmodes/python.el (python-shell-completion-get-completions):
14269 Drop use of deleted `comint-last-prompt-overlay'.
14270 (python-nav-if-name-main): New command.
14271
14272 2013-09-01 Glenn Morris <rgm@gnu.org>
14273
14274 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14275 Avoid leading space in $wins. Otherwise the sed command used by
14276 eg compile-main ends up containing "/*.el". (Bug#15170)
14277
14278 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
14279
14280 2013-08-30 Glenn Morris <rgm@gnu.org>
14281
14282 * emacs-lisp/bytecomp.el (byte-recompile-directory):
14283 Fix is-this-a-directory logic. (Bug#15220)
14284
14285 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14286
14287 * textmodes/css-mode.el: Use SMIE.
14288 (css-smie-grammar): New var.
14289 (css-smie--forward-token, css-smie--backward-token)
14290 (css-smie-rules): New functions.
14291 (css-mode): Use them.
14292 (css-navigation-syntax-table): Remove var.
14293 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
14294 (css-indent-calculate, css-indent-line): Remove functions.
14295
14296 Misc changes to reduce use of `(lambda...); and other cleanups.
14297 * cus-edit.el: Use lexical-binding.
14298 (customize-push-and-save, customize-apropos)
14299 (custom-buffer-create-internal): Use closures.
14300 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
14301 * progmodes/ada-xref.el: Use setq.
14302 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
14303 * dframe.el: Use lexical-binding.
14304 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
14305 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
14306 * descr-text.el: Use lexical-binding.
14307 (describe-text-widget, describe-text-sexp, describe-property-list):
14308 Use closures.
14309 * comint.el (comint-history-isearch-push-state): Use a closure.
14310 * calculator.el: Use lexical-binding.
14311 (calculator-number-to-string): Make it work with lexical-binding.
14312 (calculator-funcall): Same and use cl-letf.
14313
14314 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
14315 (lisp--company-doc-string, lisp--company-location): New functions.
14316 (lisp-completion-at-point): Use them to improve Company support.
14317
14318 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
14319 params of lambda expressions.
14320 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
14321 (ruby-smie--opening-pipe-p): New function.
14322 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
14323 symbols and matched |...| for formal params.
14324 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
14325 from being treated as hanging. Handle "rescue".
14326
14327 2013-08-29 Glenn Morris <rgm@gnu.org>
14328
14329 * progmodes/cc-engine.el (c-pull-open-brace):
14330 Move definition before use.
14331
14332 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
14335 are immutable. Don't use `unsafe' any more.
14336 (cl--defsubst-expand): Don't substitute at the same time as keeping
14337 a residual unused let-binding. Don't use `unsafe' any more.
14338
14339 2013-08-29 Glenn Morris <rgm@gnu.org>
14340
14341 * calendar/cal-china.el (calendar-chinese-year-cache):
14342 Recenter on 2015.
14343
14344 * nxml/nxml-util.el (nxml-debug-clear-inside):
14345 Use cl-loop rather than loop.
14346
14347 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
14348
14349 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
14350
14351 2013-08-28 Glenn Morris <rgm@gnu.org>
14352
14353 * progmodes/antlr-mode.el: No need to require cc-mode twice.
14354
14355 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
14356
14357 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
14358
14359 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14360
14361 * simple.el (repeat-complex-command--called-interactively-skip):
14362 New function.
14363 (repeat-complex-command): Use it (bug#14136).
14364
14365 * progmodes/cc-mode.el: Minor cleanup of var declarations.
14366 (c-define-abbrev-table): Add `doc' argument.
14367 (c-mode-abbrev-table, c++-mode-abbrev-table)
14368 (objc-mode-abbrev-table, java-mode-abbrev-table)
14369 (idl-mode-abbrev-table, pike-mode-abbrev-table)
14370 (awk-mode-abbrev-table): Use it.
14371 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
14372 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
14373 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
14374 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
14375 Move initialization into the declaration; and remove any
14376 autoload cookie.
14377
14378 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
14379 and dynamic let binding.
14380
14381 * vc/smerge-mode.el: Remove redundant :group args.
14382
14383 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
14384 to load-path.
14385
14386 2013-08-28 Juri Linkov <juri@jurta.org>
14387
14388 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
14389 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
14390 (isearch-other-meta-char): Handle an undefined shifted printing
14391 character by downshifting it. (Bug#15200)
14392
14393 2013-08-28 Juri Linkov <juri@jurta.org>
14394
14395 * isearch.el (isearch-search): Change regexp error message for
14396 non-regexp searches. (Bug#15166)
14397
14398 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
14399
14400 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
14401 for portability to hosts where /bin/sh has problems.
14402
14403 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
14406
14407 2013-08-27 Juri Linkov <juri@jurta.org>
14408
14409 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
14410 in the keyboard macro. (Bug#15126)
14411
14412 2013-08-27 Juri Linkov <juri@jurta.org>
14413
14414 * isearch.el (isearch-quote-char): Comment out converting unibyte
14415 to multibyte, thus syncing with its `quoted-insert' counterpart.
14416 (Bug#15166)
14417
14418 2013-08-27 Martin Rudalics <rudalics@gmx.at>
14419
14420 * window.el (display-buffer-use-some-window): Add missing
14421 argument in call of get-largest-window (Bug#15185).
14422 Reported by Stephen Leake.
14423
14424 2013-08-27 Glenn Morris <rgm@gnu.org>
14425
14426 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
14427
14428 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14429
14430 * progmodes/python.el (python-font-lock-keywords): Don't return nil
14431 from a matcher-function unless there's no more matches (bug#15161).
14432
14433 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14434
14435 * minibuffer.el: Revert change from 2013-08-20.
14436
14437 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
14438 with text property `tramp-default', if appropriate.
14439 (tramp-check-proper-host): New defun.
14440 (tramp-dissect-file-name): Do not check hostname. Revert change
14441 of 2013-03-18.
14442 (tramp-backtrace): Make VEC-OR-PROC optional.
14443
14444 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14445 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14446 * net/tramp-sh.el (tramp-maybe-open-connection):
14447 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14448 Apply `tramp-check-proper-host'.
14449
14450 2013-08-26 Tassilo Horn <tsdh@gnu.org>
14451
14452 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
14453 lambda expression in order to have `describe-variable' display it.
14454
14455 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14456
14457 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
14458 BUF can be optional. (Bug#15186)
14459
14460 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
14461
14462 * progmodes/flymake.el (flymake-get-real-file-name-function):
14463 Fix broken customization. (Bug#15184)
14464
14465 2013-08-25 Alan Mackenzie <acm@muc.de>
14466
14467 Improve indentation of bracelists defined by macros (without "=").
14468
14469 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
14470 expansion begins with "{", regard it as bracelist when it doesn't
14471 contain a ";".
14472
14473 Parse C++ inher-intro when there's a template split over 2 lines.
14474
14475 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
14476 rigorously the search for "class" etc. followed by ":".
14477
14478 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
14479 random languages a regexp which never matches rather than nil.
14480
14481 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
14482
14483 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
14484 (c-awk-regexp-one-line-possibly-open-char-list-re)
14485 (c-awk-one-line-possibly-open-regexp-re)
14486 (c-awk-one-line-non-syn-ws*-re): Remove.
14487 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
14488 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
14489 (c-awk-space*-unclosed-regexp-/-re): New constants.
14490 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
14491 aren't regexp delimiters.
14492
14493 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
14494 handling for a rare situation in AWK Mode involving unterminated
14495 strings/regexps.
14496
14497 2013-08-23 Glenn Morris <rgm@gnu.org>
14498
14499 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
14500
14501 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
14502
14503 * files.el (create-file-buffer): If the result would begin with
14504 spaces, prepend a "|" instead of removing them. (Bug#15162)
14505
14506 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14507
14508 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
14509 text-properties (bug#15155).
14510
14511 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
14512 exist any more.
14513 (calc-keypad-redraw): Remove unused var `pad'.
14514 (calc-keypad-press): Remove unused var `menu'.
14515
14516 2013-08-23 Martin Rudalics <rudalics@gmx.at>
14517
14518 * window.el (display-buffer-pop-up-frame):
14519 Call pop-up-frame-function with BUFFER current so `make-frame' will
14520 use it as the new frame's buffer (Bug#15133).
14521
14522 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14523
14524 * calendar/timeclock.el: Minor cleanups.
14525 (timeclock-ask-before-exiting, timeclock-use-display-time):
14526 Use `symbol'.
14527 (timeclock-modeline-display): Define as alias before the
14528 actual definition.
14529 (timeclock-mode-line-display): Use define-minor-mode.
14530 (timeclock-day-list-template): Make it a function, add an argument.
14531 (timeclock-day-list-required, timeclock-day-list-length)
14532 (timeclock-day-list-debt, timeclock-day-list-span)
14533 (timeclock-day-list-break): Adjust calls accordingly.
14534
14535 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14536
14537 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
14538 Use read--expression so that completion works again.
14539
14540 2013-08-21 Sam Steingold <sds@gnu.org>
14541
14542 Add rudimentary inferior shell interaction
14543 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
14544 (sh-set-shell): Reset it.
14545 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
14546 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
14547
14548 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
14549
14550 * align.el: Use lexical-binding.
14551 (align-region): Simplify accordingly.
14552
14553 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
14554
14555 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
14556
14557 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
14558 `non-essential' up.
14559
14560 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
14561
14562 * net/tramp.el:
14563 * net/tramp-adb.el:
14564 * net/tramp-cmds.el:
14565 * net/tramp-ftp.el:
14566 * net/tramp-gvfs.el:
14567 * net/tramp-gw.el:
14568 * net/tramp-sh.el: Don't wrap external variable declarations by
14569 `eval-when-compile'.
14570
14571 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14572
14573 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
14574 now that Emacs supports ImageMagick animations.
14575
14576 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
14577
14578 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
14579 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
14580
14581 2013-08-16 Martin Rudalics <rudalics@gmx.at>
14582
14583 * window.el (mouse-autoselect-window-select): Do autoselect when
14584 mouse pointer is on margin.
14585
14586 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
14587
14588 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
14589
14590 2013-08-16 Glenn Morris <rgm@gnu.org>
14591
14592 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
14593 Handle "Remote Directory" response of some clients. (Bug#15058)
14594
14595 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
14596 Tweak warning. (Bug#14926)
14597
14598 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
14599 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
14600
14601 * image-mode.el (image-mode-map): Add menu items to reverse,
14602 increase, decrease, reset animation speed.
14603 (image--set-speed, image-increase-speed, image-decrease-speed)
14604 (image-reverse-speed, image-reset-speed): New functions.
14605 (image-mode-map): Add bindings for speed commands.
14606
14607 * image.el (image-animate-get-speed, image-animate-set-speed):
14608 New functions.
14609 (image-animate-timeout): Respect image :speed property.
14610
14611 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14612
14613 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
14614 previous line (bug#15101).
14615 (debugger-eval-expression, debugger-record-expression):
14616 Use read--expression (bug#15102).
14617
14618 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
14619
14620 Remove byte compiler warnings, visible when compiling with
14621 `byte-compile-force-lexical-warnings' set to t.
14622
14623 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
14624 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
14625 (tramp-handle-unhandled-file-name-directory)
14626 (tramp-handle-file-notify-add-watch, tramp-action-login)
14627 (tramp-action-succeed, tramp-action-permission-denied)
14628 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
14629 arguments with "_".
14630
14631 * net/tramp-adb.el (tramp-adb-parse-device-names)
14632 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
14633 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
14634 (tramp-adb-handle-file-truename): Remove unused arguments.
14635
14636 * net/tramp-cache.el (tramp-flush-directory-property)
14637 (tramp-flush-connection-property, tramp-list-connections)
14638 (tramp-parse-connection-properties): Prefix unused arguments with "_".
14639
14640 * net/tramp-compat.el (tramp-compat-make-temp-file):
14641 Rename FILENAME to F.
14642
14643 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14644 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
14645 (tramp-zeroconf-parse-workstation-device-names)
14646 (tramp-zeroconf-parse-webdav-device-names)
14647 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
14648
14649 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14650 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
14651
14652 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
14653 arguments.
14654 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
14655 (tramp-sh-handle-insert-file-contents-literally)
14656 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
14657 with "_".
14658 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
14659 Remove unused variables.
14660
14661 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14662 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
14663 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
14664
14665 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
14666 Make them a defconst.
14667 (tramp-uuencode-region): Remove unused variable.
14668
14669 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
14670
14671 * frameset.el (frameset--prop-setter): New function.
14672 (frameset-prop): Add gv-setter declaration.
14673 (frameset-filter-minibuffer): Deal with the case that the minibuffer
14674 parameter was already set in FILTERED. Doc fix.
14675 (frameset--record-minibuffer-relationships): Allow saving a
14676 minibufferless frame without its corresponding minibuffer frame.
14677 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
14678 frame, if the frame id matches.
14679 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
14680 frames before orphaned ones.
14681 (frameset-restore): Warn about orphaned windows, instead of error out.
14682
14683 2013-08-14 Martin Rudalics <rudalics@gmx.at>
14684
14685 * window.el (window-make-atom): Don't overwrite parameter
14686 already present.
14687 (display-buffer-in-atom-window): Handle special case where we
14688 split an already atomic window.
14689 (window--major-non-side-window, display-buffer-in-side-window)
14690 (window--side-check): Ignore minibuffer window when walking
14691 window tree.
14692 (window-deletable-p): Return 'frame only if no other frame uses
14693 our minibuffer window.
14694 (record-window-buffer): Run buffer-list-update-hook.
14695 (split-window): Make sure window--check-frame won't destroy an
14696 existing atomic window in case the new window gets nested
14697 inside.
14698 (display-buffer-at-bottom): Ignore minibuffer window when
14699 walking window tree. Don't split a side window.
14700 (pop-to-buffer): Don't set-buffer here, the select-window call
14701 should do that.
14702 (mouse-autoselect-window-select): Autoselect only if we are in the
14703 text portion of the window.
14704
14705 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14706
14707 * net/shr.el (shr-parse-image-data): New function to grab both the
14708 data itself and the Content-Type.
14709 (shr-put-image): Use it.
14710
14711 * net/eww.el (eww-display-image): Ditto.
14712
14713 * image.el (image-content-type-suffixes): New variable.
14714
14715 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14716
14717 * progmodes/python.el (python-imenu--build-tree)
14718 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
14719
14720 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
14721
14722 * simple.el (backward-word): Mention the optional argument.
14723
14724 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
14725
14726 * frameset.el (frameset--make): Rename constructor from make-frameset.
14727 (frameset-p, frameset-valid-p): Don't autoload.
14728 (frameset-valid-p): Use normal accessors.
14729
14730 2013-08-13 Glenn Morris <rgm@gnu.org>
14731
14732 * progmodes/compile.el (compile-command): Tweak example in doc.
14733 * obsolete/scribe.el (scribe-mode):
14734 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
14735
14736 * mail/feedmail.el (feedmail-confirm-outgoing)
14737 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
14738
14739 * cus-start.el (truncate-partial-width-windows): Fix type.
14740
14741 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
14742
14743 * net/shr.el (shr-table-horizontal-line): Fix custom type.
14744
14745 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
14746
14747 * emacs-lisp/timer.el (timer--time-setter): New function.
14748 (timer--time): Use it as gv-setter.
14749
14750 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
14751 setter is not a symbol.
14752
14753 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
14754
14755 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
14756 if sending fails. This makes debugging easier.
14757
14758 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
14759
14760 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
14761 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
14762 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
14763
14764 2013-08-12 Eli Zaretskii <eliz@gnu.org>
14765
14766 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
14767
14768 2013-08-12 Glenn Morris <rgm@gnu.org>
14769
14770 * format.el (format-annotate-function):
14771 Handle read-only text properties in the source. (Bug#14887)
14772
14773 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14774
14775 * net/eww.el (eww-display-html): Ignore coding system errors.
14776 One web site uses "utf-8lias" as the coding system.
14777
14778 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
14779
14780 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
14781
14782 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
14783
14784 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
14785 (tutorial--detailed-help): Remove unused local variables.
14786 (tutorial--save-tutorial-to): Use ignore-errors.
14787 (help-with-tutorial): Use looking-at-p.
14788
14789 * view.el (view-buffer-other-window, view-buffer-other-frame):
14790 Mark unused arguments.
14791
14792 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
14793 (woman-select-symbol-fonts, woman, woman-find-file)
14794 (woman-insert-file-contents, woman-non-underline-faces):
14795 Use string-match-p.
14796 (woman1-unquote): Move declaration.
14797
14798 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
14799 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
14800 argument. Remove unused local variable.
14801 (xml-parse-elem-type): Use string-match-p.
14802 (xml-substitute-numeric-entities): Use ignore-errors.
14803
14804 * calculator.el (calculator): Mark unused argument.
14805 (calculator-paste, calculator-quit, calculator-integer-p):
14806 Use ignore-errors.
14807 (calculator-string-to-number, calculator-decimal, calculator-exp)
14808 (calculator-op-or-exp): Use string-match-p.
14809
14810 * dired.el (dired-buffer-more-recently-used-p): Declare.
14811 (dired-insert-set-properties, dired-insert-old-subdirs):
14812 Use ignore-errors.
14813
14814 * dired-aux.el (dired-compress): Use ignore-errors.
14815 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
14816 (dired-do-async-shell-command, dired-do-shell-command)
14817 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
14818 (dired-insert-subdir-validate): Use string-match-p.
14819 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
14820 (dired-add-entry): Use string-match-p, looking-at-p.
14821 (dired-insert-subdir-newpos): Remove unused local variable.
14822
14823 * filenotify.el (file-notify-callback): Remove unused local variable.
14824
14825 * filesets.el (filesets-error): Mark unused argument.
14826 (filesets-which-command-p, filesets-filter-dir-names)
14827 (filesets-directory-files, filesets-get-external-viewer)
14828 (filesets-ingroup-get-data): Use string-match-p.
14829
14830 * find-file.el (ff-other-file-name, ff-other-file-name)
14831 (ff-find-the-other-file, ff-cc-hh-converter):
14832 Remove unused local variables.
14833 (ff-get-file-name): Use string-match-p.
14834 (ff-all-dirs-under): Use ignore-errors.
14835
14836 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
14837 (follow-select-if-visible): Remove unused local variable.
14838
14839 * forms.el (read-file-filter): Move declaration.
14840 (forms--make-format, forms--make-parser, forms-insert-record):
14841 Quote function with #'.
14842 (forms--update): Use string-match-p. Quote function with #'.
14843
14844 * help-mode.el (help-dir-local-var-def): Mark unused argument.
14845 (help-make-xrefs): Use looking-at-p.
14846 (help-xref-on-pp): Use looking-at-p, ignore-errors.
14847
14848 * ibuffer.el (ibuffer-ext-visible-p): Declare.
14849 (ibuffer-confirm-operation-on): Use string-match-p.
14850
14851 * msb.el (msb-item-handler, msb-dired-item-handler):
14852 Mark unused arguments.
14853
14854 * ses.el (ses-decode-cell-symbol)
14855 (ses-kill-override): Remove unused local variable.
14856 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
14857 (ses-load): Use ignore-errors, looking-at-p.
14858 (ses-jump-safe): Use ignore-errors.
14859 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
14860
14861 * tabify.el (untabify, tabify): Mark unused arguments.
14862
14863 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
14864 Mark unused argument.
14865 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
14866 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
14867
14868 * emacs-lisp/timer.el (timer--time): Define setter with
14869 gv-define-setter to avoid deprecation warning.
14870
14871 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
14872 (*record-cmpl-statistics-p*): Remove (was commented out).
14873 (cmpl-statistics-block): Remove (body was commented out).
14874 All callers changed.
14875 (add-completions-from-buffer, load-completions-from-file):
14876 Remove unused variables.
14877
14878 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
14879
14880 * filecache.el (file-cache-delete-file-list):
14881 Print message only when told so.
14882 (file-cache-files-matching): Use #' in mapconcat argument.
14883
14884 * ffap.el (ffap-url-at-point): Fix reference to variable
14885 thing-at-point-default-mail-uri-scheme.
14886
14887 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
14888
14889 * subr.el (define-error): New function.
14890 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
14891 error-file-not-found and define with define-error.
14892 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
14893 and define with define-error.
14894 * userlock.el (file-locked, file-supersession):
14895 * simple.el (mark-inactive):
14896 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
14897 * progmodes/ada-mode.el (ada-mode-errors):
14898 * play/life.el (life-extinct):
14899 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
14900 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
14901 * nxml/rng-util.el (rng-error):
14902 * nxml/rng-uri.el (rng-uri-error):
14903 * nxml/rng-match.el (rng-compile-error):
14904 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
14905 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
14906 * nxml/nxml-rap.el (nxml-scan-error):
14907 * nxml/nxml-outln.el (nxml-outline-error):
14908 * net/soap-client.el (soap-error):
14909 * net/gnutls.el (gnutls-error):
14910 * net/ange-ftp.el (ftp-error):
14911 * mpc.el (mpc-proc-error):
14912 * json.el (json-error, json-readtable-error, json-unknown-keyword)
14913 (json-number-format, json-string-escape, json-string-format)
14914 (json-key-format, json-object-format):
14915 * jka-compr.el (compression-error):
14916 * international/quail.el (quail-error):
14917 * international/kkc.el (kkc-error):
14918 * emacs-lisp/ert.el (ert-test-failed):
14919 * calc/calc.el (calc-error, inexact-result, math-overflow)
14920 (math-underflow):
14921 * bookmark.el (bookmark-error-no-filename):
14922 * epg.el (epg-error): Define with define-error.
14923
14924 * time.el (display-time-event-handler)
14925 (display-time-next-load-average): Don't call sit-for since it seems
14926 unnecessary (bug#15045).
14927
14928 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
14929 Use #' instead of ' to quote functions.
14930 (checkdoc-output-mode): Use setq-local.
14931 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
14932 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
14933 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
14934 (checkdoc-ispell, checkdoc-ispell-current-buffer)
14935 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
14936 (checkdoc-ispell-message-text, checkdoc-ispell-start)
14937 (checkdoc-ispell-continue, checkdoc-ispell-comments)
14938 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
14939
14940 * ido.el (ido-completion-help): Fix up compiler warning.
14941
14942 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
14943
14944 * frameset.el (frameset-p): Add autoload cookie.
14945 (frameset--jump-to-register): New function, based on code moved from
14946 register.el.
14947 (frameset-to-register): Move from register.el. Adapt to `registerv'.
14948
14949 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
14950 (frameset-restore, frameset-save, frameset-session-filter-alist):
14951 Remove declarations.
14952 (register-alist): Doc fix.
14953 (frameset-to-register): Move to frameset.el.
14954 (jump-to-register, describe-register-1): Remove frameset-specific code.
14955
14956 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
14957
14958 * allout-widgets.el (allout-widgets-pre-command-business)
14959 (allout-widgets-post-command-business)
14960 (allout-widgets-after-change-handler)
14961 (allout-decorate-item-and-context, allout-set-boundary-marker)
14962 (allout-body-modification-handler)
14963 (allout-graphics-modification-handler): Mark ignored arguments.
14964 (allout-widgets-post-command-business)
14965 (allout-widgets-exposure-change-processor)
14966 (allout-widgets-exposure-undo-processor)
14967 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
14968 (allout-parse-item-at-point, allout-decorate-item-guides)
14969 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
14970 * allout.el (epa-passphrase-callback-function): Declare.
14971 (allout-overlay-insert-in-front-handler)
14972 (allout-overlay-interior-modification-handler)
14973 (allout-isearch-end-handler, allout-chart-siblings)
14974 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
14975 (allout-yank-processing, allout-process-exposed)
14976 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
14977 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
14978 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
14979 (lisp-indent-defform): Mark ignored arguments.
14980 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
14981 (calculate-lisp-indent): Remove unused variables.
14982 * international/characters.el (indian-2-column, arabic-2-column)
14983 (tibetan): Mark ignored arguments.
14984 (use-cjk-char-width-table): Mark ignored arguments.
14985 Remove unused variables.
14986 * international/fontset.el (build-default-fontset-data)
14987 (x-compose-font-name, create-fontset-from-fontset-spec):
14988 Mark ignored arguments.
14989 (fontset-plain-name): Remove unused variables.
14990 * international/mule.el (charset-id, charset-bytes, generic-char-p)
14991 (keyboard-coding-system): Mark ignored arguments.
14992 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
14993 * help.el (resize-temp-buffer-window):
14994 * window.el (display-buffer-in-major-side-window)
14995 (display-buffer-in-side-window, display-buffer-in-previous-window):
14996 Remove unused variables.
14997 * isearch.el (isearch-forward-symbol):
14998 * version.el (emacs-bzr-version-bzr):
14999 * international/mule-cmds.el (current-language-environment):
15000 * term/common-win.el (x-handle-iconic, x-handle-geometry)
15001 (x-handle-display):
15002 * term/pc-win.el (x-list-fonts, x-display-planes)
15003 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
15004 (x-server-version, x-display-screens, x-display-mm-height)
15005 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
15006 (x-selection-owner-p, x-own-selection-internal)
15007 (x-disown-selection-internal, x-get-selection-internal)
15008 (msdos-initialize-window-system):
15009 * term/tty-colors.el (tty-color-alist, tty-color-clear):
15010 * term/x-win.el (x-handle-no-bitmap-icon):
15011 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
15012 (vc-default-find-file-hook, vc-default-extra-menu):
15013 Mark ignored arguments.
15014
15015 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
15016
15017 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
15018 break-condition in the context of the debugged code (bug#12685).
15019
15020 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
15021
15022 * comint.el:
15023 Do not use an overlay to highlight the last prompt. (Bug#14744)
15024 (comint-mode): Make comint-last-prompt buffer local.
15025 (comint-last-prompt): New variable.
15026 (comint-last-prompt-overlay): Remove. Superseded by
15027 comint-last-prompt.
15028 (comint-snapshot-last-prompt, comint-output-filter):
15029 Use comint-last-prompt.
15030
15031 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15032
15033 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
15034 (frameset-save): Check validity of the resulting frameset.
15035
15036 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
15037
15038 * ido.el (ido-record-command): Add doc string.
15039
15040 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15041
15042 * frameset.el (frameset): Do not disable creation of the default
15043 frameset-p predicate. Doc fix.
15044 (frameset-valid-p): New function, copied from the old predicate-p.
15045 Add additional checks.
15046 (frameset-restore): Check with frameset-valid-p.
15047 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
15048 (frameset-name, frameset-description, frameset-properties)
15049 (frameset-states): Add docstring.
15050 (frameset-session-filter-alist, frameset-persistent-filter-alist)
15051 (frameset-filter-alist): Doc fixes.
15052
15053 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15054
15055 * frameset.el (frameset-p, frameset-prop): Doc fixes.
15056
15057 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
15058
15059 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
15060 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
15061 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
15062 (byte-compile-normal-call): Remove obsolescence check.
15063
15064 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15065
15066 * frameset.el (frameset-restore): Doc fix.
15067
15068 * register.el (frameset-frame-id, frameset-frame-with-id)
15069 (frameset-p, frameset-restore, frameset-save): Declare.
15070 (register-alist): Document framesets.
15071 (frameset-session-filter-alist): Declare.
15072 (frameset-to-register): New function.
15073 (jump-to-register): Implement jumping to framesets. Doc fix.
15074 (describe-register-1): Describe framesets.
15075
15076 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
15077
15078 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
15079
15080 * desktop.el (desktop-save-frameset): Use new frameset-save args.
15081 Use lexical-binding.
15082
15083 * frameset.el (frameset): Use type vector, not list (incompatible
15084 change). Do not declare a new constructor, use the default one.
15085 Upgrade suggested properties `app', `name' and `desc' to slots `app',
15086 `name' and `description', respectively, and add read-only slot
15087 `timestamp'. Doc fixes.
15088 (frameset-copy, frameset-persistent-filter-alist)
15089 (frameset-filter-alist, frameset-switch-to-gui-p)
15090 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
15091 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
15092 (frameset-filter-iconified, frameset-keep-original-display-p):
15093 Doc fixes.
15094 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
15095 Rename from frameset-filter-(save|restore)-param. All callers changed.
15096 Doc fix.
15097 (frameset-p): Adapt to change to vector and be more thorough.
15098 Change arg name to OBJECT. Doc fix.
15099 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
15100 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
15101 All callers changed.
15102 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
15103 All callers changed.
15104 (frameset--record-minibuffer-relationships): Rename from
15105 frameset--process-minibuffer-frames. All callers changed.
15106 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
15107 Use new default constructor (again). Doc fix.
15108 (frameset--find-frame-if): Rename from `frameset--find-frame'.
15109 All callers changed.
15110 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
15111 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
15112 Doc fix.
15113 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
15114 PARAMETERS and WINDOW-STATE, respectively.
15115 (frameset-restore): Add new keyword argument PREDICATE.
15116 Reset frameset--target-display to nil. Doc fix.
15117
15118 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
15119
15120 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
15121 (bat-mode): Use it.
15122 (bat-mode-syntax-table): Mark \n as end-of-comment.
15123 (bat-font-lock-keywords): Remove comment rule.
15124
15125 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
15126 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
15127
15128 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
15129 (byte-compile-callargs-warn): Use `push'.
15130 (byte-compile-arglist-warn): Ignore higher-order "calls".
15131 (byte-compile-file-form-autoload): Use `pcase'.
15132 (byte-compile-function-form): If quoting a symbol, check that it exists.
15133
15134 2013-08-07 Eli Zaretskii <eliz@gnu.org>
15135
15136 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
15137 and add a few popular commands found in batch files.
15138 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
15139 (dos-mode): Doc fixes.
15140
15141 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
15142
15143 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
15144 (dos-mode): Use setq-local. Add space after "rem".
15145 (dos-mode-syntax-table): Don't use "w" for symbol chars.
15146 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
15147
15148 2013-08-07 Arni Magnusson <arnima@hafro.is>
15149
15150 * progmodes/dos.el: New file.
15151 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
15152 dos-mode.
15153
15154 2013-08-06 Glenn Morris <rgm@gnu.org>
15155
15156 * calendar/calendar.el: Add new faces, and day-header-array.
15157 (calendar-weekday-header, calendar-weekend-header)
15158 (calendar-month-header): New faces.
15159 (calendar-day-header-construct): New function.
15160 (calendar-day-header-width): Also :set calendar-day-header-array.
15161 (calendar-american-month-header, calendar-european-month-header)
15162 (calendar-iso-month-header): Use calendar- faces.
15163 (calendar-generate-month):
15164 Use calendar-day-header-array for day headers; apply faces to them.
15165 (calendar-mode): Check calendar-font-lock-keywords non-nil.
15166 (calendar-abbrev-construct): Add optional maxlen argument.
15167 (calendar-day-name-array): Doc fix.
15168 (calendar-day-name-array, calendar-abbrev-length)
15169 (calendar-day-abbrev-array):
15170 Also :set calendar-day-header-array, and maybe redraw.
15171 (calendar-day-header-array): New option. (Bug#15007)
15172 (calendar-font-lock-keywords): Set to nil and make obsolete.
15173 (calendar-day-name): Add option to use header array.
15174
15175 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15176
15177 * net/shr.el (shr-render-td): Remove debugging.
15178 (shr-render-td): Make width computation consistent by defaulting
15179 all zero-width columns to 10 characters. This may not be optimal,
15180 but it's at least consistent.
15181 (shr-make-table-1): Redo last change to fix the real problem in
15182 colspan handling.
15183
15184 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15185
15186 * files.el (cache-long-line-scans):
15187 Make obsolete alias to `cache-long-scans'.
15188
15189 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15190
15191 * frameset.el (frameset, frameset-filter-alist)
15192 (frameset-filter-params, frameset-save, frameset--reuse-frame)
15193 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
15194 (frameset-compute-pos): Rename from frameset--compute-pos,
15195 and add docstring.
15196 (frameset-move-onscreen): Use frameset-compute-pos.
15197 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15198
15199 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
15200 Fix typos in docstrings.
15201
15202 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15203
15204 * frame.el (get-other-frame): Tiny cleanup.
15205
15206 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15207
15208 * vc/vc.el (vc-default-ignore-completion-table):
15209 Silence byte-compiler warning.
15210
15211 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
15212 slot, which can indeed be nil.
15213 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15214 Move entry for `left' from persistent to live filter alist.
15215 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
15216 Doc fixes.
15217 (frameset-filter-params): When restoring a frame, copy items added to
15218 `filtered', to avoid unwittingly modifying the original parameters.
15219 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
15220 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
15221
15222 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
15223 to use looking-at-p instead of looking-at. (Bug#15028)
15224
15225 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15226
15227 Revert introduction of isearch-filter-predicates (bug#14714).
15228 Rely on add-function instead.
15229 * isearch.el (isearch-filter-predicates): Rename it back to
15230 isearch-filter-predicate.
15231 (isearch-message-prefix): Use advice-function-mapc and advice
15232 properties to get the isearch-message-prefix.
15233 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
15234 instead of run-hook-with-args-until-failure.
15235 (isearch-filter-visible): Not obsolete any more.
15236 * loadup.el: Preload nadvice.
15237 * replace.el (perform-replace): Revert to funcall
15238 instead of run-hook-with-args-until-failure.
15239 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
15240 * dired-aux.el (dired-isearch-filenames-mode): Rename from
15241 dired-isearch-filenames-toggle; make it into a proper minor mode.
15242 Use add/remove-function.
15243 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
15244 Call the minor-mode rather than add/remove-hook.
15245 (dired-isearch-filter-filenames):
15246 Remove isearch-message-prefix property.
15247 * info.el (Info--search-loop): New function, extracted from Info-search.
15248 Funcall isearch-filter-predicate instead of
15249 run-hook-with-args-until-failure isearch-filter-predicates.
15250 (Info-search): Use it.
15251 (Info-mode): Use isearch-filter-predicate instead of
15252 isearch-filter-predicates.
15253
15254 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15255
15256 Do not call to `selected-window' where it is assumed by default.
15257 Affected functions are `window-minibuffer-p', `window-dedicated-p',
15258 `window-hscroll', `window-width', `window-height', `window-buffer',
15259 `window-frame', `window-start', `window-point', `next-window'
15260 and `window-display-table'.
15261 * abbrev.el (abbrev--default-expand):
15262 * bs.el (bs--show-with-configuration):
15263 * buff-menu.el (Buffer-menu-mouse-select):
15264 * calc/calc.el (calc):
15265 * calendar/calendar.el (calendar-generate-window):
15266 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
15267 (diary-make-entry):
15268 * comint.el (send-invisible, comint-dynamic-complete-filename)
15269 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
15270 * completion.el (complete):
15271 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
15272 * disp-table.el (describe-current-display-table):
15273 * doc-view.el (doc-view-insert-image):
15274 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
15275 * ehelp.el (with-electric-help):
15276 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15277 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
15278 * emacs-lisp/helper.el (Helper-help-scroller):
15279 * emulation/cua-base.el (cua--post-command-handler-1):
15280 * eshell/esh-mode.el (eshell-output-filter):
15281 * ffap.el (ffap-gnus-wrapper):
15282 * help-macro.el (make-help-screen):
15283 * hilit-chg.el (highlight-compare-buffers):
15284 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
15285 * hl-line.el (global-hl-line-highlight):
15286 * icomplete.el (icomplete-simple-completing-p):
15287 * isearch.el (isearch-done):
15288 * jit-lock.el (jit-lock-stealth-fontify):
15289 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
15290 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
15291 * mpc.el (mpc-tagbrowser, mpc):
15292 * net/rcirc.el (rcirc-any-buffer):
15293 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
15294 * play/landmark.el (landmark-max-width, landmark-max-height):
15295 * play/zone.el (zone):
15296 * progmodes/compile.el (compilation-goto-locus):
15297 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
15298 * progmodes/etags.el (find-tag-other-window):
15299 * progmodes/fortran.el (fortran-column-ruler):
15300 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15301 * progmodes/verilog-mode.el (verilog-point-text):
15302 * reposition.el (reposition-window):
15303 * rot13.el (toggle-rot13-mode):
15304 * server.el (server-switch-buffer):
15305 * shell.el (shell-dynamic-complete-command)
15306 (shell-dynamic-complete-environment-variable):
15307 * simple.el (insert-buffer, set-selective-display)
15308 (delete-completion-window):
15309 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
15310 (speedbar-recenter):
15311 * startup.el (fancy-splash-head):
15312 * textmodes/ispell.el (ispell-command-loop):
15313 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
15314 * tutorial.el (help-with-tutorial):
15315 * vc/add-log.el (add-change-log-entry):
15316 * vc/compare-w.el (compare-windows):
15317 * vc/ediff-help.el (ediff-indent-help-message):
15318 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
15319 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
15320 (ediff-setup-control-frame):
15321 * vc/emerge.el (emerge-position-region):
15322 * vc/pcvs-util.el (cvs-bury-buffer):
15323 * window.el (walk-windows, mouse-autoselect-window-select):
15324 * winner.el (winner-set-conf, winner-undo): Related users changed.
15325
15326 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15327
15328 * frameset.el (frameset--set-id): Doc fix.
15329 (frameset-frame-id, frameset-frame-id-equal-p)
15330 (frameset-locate-frame-id): New functions.
15331 (frameset--process-minibuffer-frames, frameset--reuse-frame)
15332 (frameset-restore): Use them.
15333
15334 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15335
15336 Do not call to `selected-frame' where it is assumed by default.
15337 Affected functions are `raise-frame', `redraw-frame',
15338 `frame-first-window', `frame-terminal' and `delete-frame'.
15339 * calendar/appt.el (appt-disp-window):
15340 * epg.el (epg-wait-for-completion):
15341 * follow.el (follow-delete-other-windows-and-split)
15342 (follow-avoid-tail-recenter):
15343 * international/mule.el (set-terminal-coding-system):
15344 * mail/rmail.el (rmail-mail-return):
15345 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15346 * progmodes/f90.el (f90-add-imenu-menu):
15347 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
15348 * server.el (server-switch-buffer):
15349 * simple.el (delete-completion-window):
15350 * talk.el (talk):
15351 * term/xterm.el (terminal-init-xterm-modify-other-keys)
15352 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
15353 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
15354 * vc/ediff.el (ediff-documentation): Related users changed.
15355 * frame.el (selected-terminal): Remove the leftover.
15356
15357 2013-08-05 Glenn Morris <rgm@gnu.org>
15358
15359 * calendar/calendar.el (calendar-generate-month):
15360 Fix for calendar-column-width != 1 + calendar-day-digit-width.
15361 (calendar-generate-month, calendar-font-lock-keywords):
15362 Fix for calendar-day-header-width > length of any day name.
15363
15364 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15365
15366 * desktop.el (desktop-clear): Use new name of sort predicate.
15367
15368 * frameset.el (frameset): Add docstring. Move :version property to its
15369 own `version' slot.
15370 (frameset-copy): Rename from copy-frameset.
15371 (frameset-p): Check more thoroughly.
15372 (frameset-prop): Do not check for :version, which is no longer a prop.
15373 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15374 Use new :never value instead of t.
15375 (frameset-filter-alist): Expand and clarify docstring.
15376 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
15377 (frameset-filter-minibuffer, frameset-filter-save-param)
15378 (frameset-filter-restore-param, frameset-filter-iconified):
15379 Add pointer to docstring of frameset-filter-alist.
15380 (frameset-filter-params): Rename filter values to be more meaningful:
15381 :never instead of t, and reverse the meanings of :save and :restore.
15382 (frameset--process-minibuffer-frames): Clarify error message.
15383 (frameset-save): Avoid unnecessary and confusing call to framep.
15384 Use new BOA constructor for framesets.
15385 (frameset--reuse-list): Doc fix.
15386 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
15387 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
15388 (frameset-minibufferless-first-p): Doc fix.
15389 Rename from frameset-sort-frames-for-deletion.
15390 (frameset-restore): Doc fixes. Use new function names.
15391 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15392
15393 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15394
15395 * desktop.el (desktop-restore-forces-onscreen)
15396 (desktop-restore-reuses-frames): Document :keyword constant values.
15397 (desktop-filter-parameters-alist): Remove, now identical to
15398 frameset-filter-alist.
15399 (desktop--filter-tty*): Remove, moved to frameset.el.
15400 (desktop-save-frameset, desktop-restore-frameset):
15401 Do not pass :filters argument.
15402
15403 * frameset.el (frameset-live-filter-alist)
15404 (frameset-persistent-filter-alist): New variables.
15405 (frameset-filter-alist): Use them. Add autoload cookie.
15406 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
15407 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
15408 `frameset--id' (it's supposed to be internal to frameset.el).
15409 (frameset--process-minibuffer-frames): Ditto. Doc fix.
15410 (frameset--initial-params): New function.
15411 (frameset--get-frame): Use it. Doc fix.
15412 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
15413 Accept :all, not 'all.
15414 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
15415 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
15416 with fbound symbols. Fix frame id matching, and remove matching ids if
15417 the frame being restored is deleted. Obey :delete.
15418
15419 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15420
15421 * subr.el (macrop): New function.
15422 (text-clone--maintaining): New var.
15423 (text-clone--maintain): Rename from text-clone-maintain. Use it
15424 instead of inhibit-modification-hooks.
15425
15426 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
15427 a proxy, so as handle autoloads and redefinitions of the target.
15428 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
15429
15430 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
15431 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
15432 (pcase--mutually-exclusive-p): New function.
15433 (pcase--split-consp): Use it.
15434 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
15435 mutually exclusive with the current predicate.
15436
15437 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
15438 (edebug-macrop): Remove. Use `macrop' instead.
15439 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
15440 (ad-macro-p):
15441 * eshell/esh-cmd.el (eshell-macrop):
15442 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
15443
15444 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15445
15446 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
15447 (advice-mapc): New function, using it.
15448 (advice-function-member-p): New function.
15449 (advice--normalize): Store the cdr in advice--saved-rewrite since
15450 that's the part that will be changed.
15451 (advice--symbol-function): New function.
15452 (advice-remove): Handle removal before the function is defined.
15453 Adjust to new advice--saved-rewrite.
15454 (advice-member-p): Use advice-function-member-p and
15455 advice--symbol-function.
15456
15457 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15458
15459 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
15460 (frameset-filter-minibuffer): Doc fix.
15461 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
15462 (frameset--set-id, frameset--process-minibuffer-frames)
15463 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
15464 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
15465
15466 * desktop.el (desktop-clear): Only delete frames when called
15467 interactively and desktop-restore-frames is non-nil. Doc fix.
15468 (desktop-read): Set desktop-saved-frameset to nil.
15469
15470 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
15471
15472 * vc/vc.el (vc-ignore): Rewrite.
15473 (vc-default-ignore-completion-table, vc--read-lines)
15474 (vc--add-line, vc--remove-regexp): New functions.
15475
15476 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
15477 (vc-svn-ignore-completion-table): New function.
15478
15479 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
15480 (vc-hg-ignore-completion-table)
15481 (vc-hg-find-ignore-file): New functions.
15482
15483 * vc/vc-git.el (vc-git-ignore): Rewrite.
15484 (vc-git-ignore-completion-table)
15485 (vc-git-find-ignore-file): New functions.
15486
15487 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
15488
15489 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
15490 (vc-bzr-ignore-completion-table)
15491 (vc-bzr-find-ignore-file): New functions.
15492
15493 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
15494
15495 * frameset.el (frameset-prop): New function and setter.
15496 (frameset-save): Do not modify frame list passed by the caller.
15497
15498 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15499
15500 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
15501
15502 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
15503
15504 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
15505 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
15506
15507 * custom.el (custom-initialize-default, custom-initialize-set)
15508 (custom-initialize-reset, custom-initialize-changed): Affect the
15509 toplevel-default-value (bug#6275, bug#14586).
15510 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
15511 for bug#6275.
15512
15513 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15514
15515 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
15516 Add cl-def* expressions.
15517
15518 * frameset.el (frameset-filter-params): Fix order of arguments.
15519
15520 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15521
15522 Move code related to saving frames to frameset.el.
15523 * desktop.el: Require frameset.
15524 (desktop-restore-frames): Doc fix.
15525 (desktop-restore-reuses-frames): Rename from
15526 desktop-restoring-reuses-frames.
15527 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
15528 (desktop-clear): Clear frames too.
15529 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
15530 (desktop--filter-tty*, desktop-save, desktop-read):
15531 Use frameset functions.
15532 (desktop-before-saving-frames-functions, desktop--filter-*-color)
15533 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15534 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
15535 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
15536 (desktop--process-minibuffer-frames, desktop-save-frames)
15537 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
15538 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
15539 (desktop--sort-states, desktop-restoring-frames-p)
15540 (desktop-restore-frames): Remove. Most code moved to frameset.el.
15541 (desktop-restoring-frameset-p, desktop-restore-frameset)
15542 (desktop--check-dont-save, desktop-save-frameset): New functions.
15543 (desktop--app-id): New constant.
15544 (desktop-first-buffer, desktop-buffer-ok-count)
15545 (desktop-buffer-fail-count): Move before first use.
15546 * frameset.el: New file.
15547
15548 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * files.el: Use lexical-binding.
15551 (dir-locals-read-from-file): Remove unused `err' variable.
15552 (hack-dir-local-variables--warned-coding): New var.
15553 (hack-dir-local-variables): Use it to avoid repeated warnings.
15554 (make-backup-file-name--default-function): New function.
15555 (make-backup-file-name-function): Use it as default.
15556 (buffer-stale--default-function): New function.
15557 (buffer-stale-function): Use it as default.
15558 (revert-buffer-insert-file-contents--default-function): New function.
15559 (revert-buffer-insert-file-contents-function): Use it as default.
15560 (insert-directory): Avoid add-to-list.
15561
15562 * autorevert.el (auto-revert-handler): Simplify.
15563 Use buffer-stale--default-function.
15564
15565 2013-08-01 Tassilo Horn <tsdh@gnu.org>
15566
15567 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
15568
15569 * whitespace.el (whitespace-ensure-local-variables): New function.
15570 (whitespace-cleanup-region): Call it.
15571 (whitespace-turn-on): Call it.
15572
15573 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
15574
15575 Complete file name handlers.
15576
15577 * net/tramp.el (tramp-handle-set-visited-file-modtime)
15578 (tramp-handle-verify-visited-file-modtime)
15579 (tramp-handle-file-notify-rm-watch): New functions.
15580 (tramp-call-process): Do not bind `default-directory'.
15581
15582 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15583 Order alphabetically.
15584 <access-file, add-name-to-file, dired-call-process>:
15585 <dired-compress-file, file-acl, file-notify-rm-watch>:
15586 <file-ownership-preserved-p, file-selinux-context>:
15587 <make-directory-internal, make-symbolic-link, set-file-acl>:
15588 <set-file-selinux-context, set-visited-file-modtime>:
15589 <verify-visited-file-modtime>: Add handler.
15590 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
15591
15592 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
15593 <file-notify-add-watch, file-notify-rm-watch>:
15594 <set-file-times, set-visited-file-modtime>:
15595 <verify-visited-file-modtime>: Add handler.
15596 (with-tramp-gvfs-error-message)
15597 (tramp-gvfs-handle-set-visited-file-modtime)
15598 (tramp-gvfs-fuse-file-name): Remove.
15599 (tramp-gvfs-handle-file-notify-add-watch)
15600 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
15601 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
15602
15603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15604 Order alphabetically.
15605 <file-notify-rm-watch>: Use default Tramp handler.
15606 <executable-find>: Remove private handler.
15607 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
15608 `default-directory'.
15609 (tramp-sh-handle-executable-find)
15610 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
15611 (tramp-sh-file-gvfs-monitor-dir-process-filter)
15612 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
15613 Do not use `format' in `tramp-message'.
15614
15615 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
15616 <file-notify-rm-watch, set-visited-file-modtime>:
15617 <verify-visited-file-modtime>: Add handler.
15618 (tramp-smb-call-winexe): Do not bind `default-directory'.
15619
15620 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
15621
15622 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
15623
15624 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
15625
15626 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
15627 use it.
15628 (log-view-diff-changeset): Same.
15629 (log-view-diff-common): Call backend command `previous-revision'
15630 to find out the previous revision, in both cases. Swap the
15631 variables `to' and `fr', so that `fr' usually refers to the
15632 earlier revision (Bug#14989).
15633
15634 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
15635
15636 * ibuf-ext.el (ibuffer-filter-by-filename):
15637 Make it work with dired buffers too.
15638
15639 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
15640
15641 * emacs-lisp/re-builder.el (reb-color-display-p):
15642 * files.el (save-buffers-kill-terminal):
15643 * net/browse-url.el (browse-url):
15644 * server.el (server-save-buffers-kill-terminal):
15645 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
15646 Prefer nil to selected-frame for the first arg of frame-parameter.
15647
15648 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
15649
15650 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
15651
15652 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
15653
15654 * minibuffer.el (completion--twq-all): Try and preserve each
15655 completion's case choice (bug#14907).
15656
15657 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15658
15659 * net/network-stream.el (open-network-stream): Mention the new
15660 :nogreeting parameter.
15661 (network-stream-open-starttls): Use the :nogreeting parameter
15662 (bug#14938).
15663
15664 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
15665
15666 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
15667 more natural than popping.
15668
15669 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
15670 (shr-urlify): Highlight under mouse.
15671
15672 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
15673
15674 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
15675
15676 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
15677
15678 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
15679 buffer for output.
15680
15681 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
15682 point-min==1. Fix search string. Fix parentheses missing.
15683
15684 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
15685 assume point-min==1. Fix search string. Fix parentheses missing.
15686
15687 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
15688
15689 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
15690 buffer for output.
15691
15692 2013-07-29 Eli Zaretskii <eliz@gnu.org>
15693
15694 * frame.el (frame-notice-user-settings): Avoid inflooping when the
15695 initial frame is minibuffer-less. (Bug#14841)
15696
15697 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
15698
15699 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
15700 option.
15701
15702 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15703 (tramp-maybe-open-connection): Use it.
15704
15705 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15706
15707 * desktop.el (desktop--make-frame): Include `minibuffer' in the
15708 minimal set of parameters passed when creating a frame, because
15709 the minibuffer status of a frame cannot be changed later.
15710
15711 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
15712
15713 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
15714 replace-regexp-in-string and inadvertent omissions in previous change.
15715 (todo-filter-items): Ensure only file names are comma-separated in
15716 name of filtered items buffer.
15717
15718 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15719
15720 * desktop.el: Optionally force offscreen frames back onscreen.
15721 (desktop-restoring-reuses-frames): New option.
15722 (desktop--compute-pos, desktop--move-onscreen): New functions.
15723 (desktop--make-frame): Use desktop--move-onscreen.
15724
15725 2013-07-27 Alan Mackenzie <acm@muc.de>
15726
15727 Fontify a Java generic method as a function.
15728 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
15729 value to t.
15730
15731 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
15732
15733 * calendar/todo-mode.el: Add command to rename todo files.
15734 (todo-rename-file): New command.
15735 (todo-key-bindings-t): Add key binding for it. Change the
15736 bindings of todo-filter-regexp-items(-multifile) to use `x'
15737 instead of `r', since the latter is better suited to the new
15738 renaming command.
15739
15740 2013-07-27 Alan Mackenzie <acm@muc.de>
15741
15742 Make Java try-with-resources statement parse properly.
15743 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
15744 (c-block-stmt-1-2-key): New language constants/variables.
15745 * progmodes/cc-engine.el (c-beginning-of-statement-1)
15746 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
15747 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
15748 with c-block-stmt-1-2-key.
15749
15750 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
15751
15752 * desktop.el (desktop--make-frame): Apply most frame parameters after
15753 creating the frame to force (partially or totally) offscreen frames to
15754 be restored as such.
15755
15756 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
15757
15758 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
15759 (Bug#14948)
15760
15761 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15762
15763 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
15764 `base' arg of backtrace-frame.
15765
15766 2013-07-26 Eli Zaretskii <eliz@gnu.org>
15767
15768 * simple.el (list-processes): Doc fix.
15769
15770 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
15771
15772 * desktop.el (desktop--select-frame):
15773 Try harder to reuse existing frames.
15774
15775 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15776
15777 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
15778 (edebug-eval): Use backtrace-eval.
15779 (edebug--display, edebug--recursive-edit): Don't let-bind the
15780 edebug-outer-* vars that keep track of variables we locally let-bind.
15781 (edebug-outside-excursion): Don't restore outside values of locally
15782 let-bound vars.
15783 (edebug--display): Use user-error.
15784 (cl-lexical-debug, cl-debug-env): Remove.
15785
15786 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
15787
15788 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
15789 are restored to be sure that they are visible before deleting any
15790 remaining ones.
15791
15792 2013-07-26 Matthias Meulien <orontee@gmail.com>
15793
15794 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
15795 vc-print-root-log. (Bug#14948)
15796
15797 2013-07-26 Richard Stallman <rms@gnu.org>
15798
15799 Add aliases for encrypting mail.
15800 * epa.el (epa-mail-aliases): New option.
15801 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
15802 Bind inhibit-read-only so read-only text doesn't ruin everything.
15803 (epa-mail-default-recipients): New subroutine broken out.
15804 Handle epa-mail-aliases.
15805
15806 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15807
15808 Add support for lexical variables to the debugger's `e' command.
15809 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
15810 vars, except for debugger-outer-match-data.
15811 (debugger-frame-number): Move check for "on a function call" from
15812 callers into it. Add `skip-base' argument.
15813 (debugger-frame, debugger-frame-clear): Simplify accordingly.
15814 (debugger-env-macro): Only reset the state stored in non-variables,
15815 i.e. current-buffer and match-data.
15816 (debugger-eval-expression): Rewrite using backtrace-eval.
15817 * subr.el (internal--called-interactively-p--get-frame): Remove.
15818 (called-interactively-p):
15819 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
15820 `base' arg of backtrace-frame instead.
15821
15822 2013-07-26 Glenn Morris <rgm@gnu.org>
15823
15824 * align.el (align-regexp): Doc fix. (Bug#14857)
15825 (align-region): Explicit error if subexpression missing/does not match.
15826
15827 * simple.el (global-visual-line-mode):
15828 Do not duplicate the mode lighter. (Bug#14858)
15829
15830 2013-07-25 Martin Rudalics <rudalics@gmx.at>
15831
15832 * window.el (display-buffer): In display-buffer bind
15833 split-window-keep-point to t, bug#14829.
15834
15835 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
15836
15837 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
15838 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
15839 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
15840 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15841 Change accordingly.
15842 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15843 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
15844
15845 2013-07-25 Glenn Morris <rgm@gnu.org>
15846
15847 * dired-x.el (dired-mark-extension): Convert comment to doc string.
15848
15849 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
15850
15851 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
15852 parameter to modify-frame-parameters if the value has not changed;
15853 this is a workaround for bug#14949.
15854 (desktop--make-frame): On cl-delete-if call, check parameter name,
15855 not full parameter.
15856
15857 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
15858
15859 * vc/vc.el (vc-ignore): New function.
15860
15861 * vc/vc-svn.el (vc-svn-ignore): New function.
15862
15863 * vc/vc-hg.el (vc-hg-ignore): New function.
15864
15865 * vc/vc-git.el (vc-git-ignore): New function.
15866
15867 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
15868 (vc-dir-ignore): New function.
15869
15870 * vc/vc-cvs.el (vc-cvs-ignore): New function.
15871 (cvs-append-to-ignore): Move here from pcvs.el.
15872
15873 * vc/vc-bzr.el (vc-bzr-ignore): New function.
15874
15875 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
15876
15877 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
15878
15879 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
15880 (desktop-restore-frames): Warn when deleting an existing frame failed.
15881
15882 2013-07-24 Glenn Morris <rgm@gnu.org>
15883
15884 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
15885
15886 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
15887
15888 * filenotify.el (file-notify-supported-p):
15889 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
15890 Remove functions.
15891
15892 * autorevert.el (auto-revert-use-notify)
15893 (auto-revert-notify-add-watch):
15894 * net/tramp.el (tramp-file-name-for-operation):
15895 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15896 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15897 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15898 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
15899 Remove `file-notify-supported-p' entry.
15900
15901 2013-07-24 Glenn Morris <rgm@gnu.org>
15902
15903 * printing.el: Replace all uses of deleted ps-windows-system,
15904 ps-lp-system, ps-flatten-list with lpr- versions.
15905
15906 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
15907
15908 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
15909 checked with memq (bug#14935).
15910
15911 * files.el (revert-buffer-function): Use a non-nil default.
15912 (revert-buffer-preserve-modes): Declare var to
15913 provide access to the `preserve-modes' argument.
15914 (revert-buffer): Let-bind it.
15915 (revert-buffer--default): New function, extracted from revert-buffer.
15916
15917 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
15918
15919 * lpr.el: Signal print errors more prominently.
15920 (print-region-function): Don't default to nil.
15921 (lpr-print-region): New function, extracted from print-region-1.
15922 Check lpr's return value and signal an error in case of problem.
15923 (print-region-1): Use it.
15924 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
15925 versions instead.
15926 (ps-printer-name): Default to nil.
15927 (ps-printer-name-option): Default to lpr-printer-switch.
15928 (ps-print-region-function): Don't default to nil.
15929 (ps-postscript-code-directory): Simplify default.
15930 (ps-do-despool): Use lpr-print-region to properly check the outcome.
15931 (ps-string-list, ps-eval-switch, ps-flatten-list)
15932 (ps-flatten-list-1): Remove.
15933 (ps-multibyte-buffer): Avoid setq.
15934 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
15935 (print-region-function, ps-print-region-function): Don't set them here.
15936
15937 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
15938
15939 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
15940 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
15941 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
15942 (ido-decorations): Doc fix.
15943
15944 * ansi-color.el: Fix old URL.
15945
15946 2013-07-23 Michael R. Mauger <michael@mauger.com>
15947
15948 * progmodes/sql.el: Version 3.3
15949 (sql-product-alist): Improve oracle :prompt-cont-regexp.
15950 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
15951 (sql-interactive-remove-continuation-prompt): Rewrite, use
15952 functions above. Fix continuation prompt and complete output line
15953 handling.
15954 (sql-redirect-one, sql-execute): Use `read-only-mode' on
15955 redirected output buffer.
15956 (sql-mode): Restore deleted code (Bug#13591).
15957
15958 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
15959
15960 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
15961
15962 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
15963
15964 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
15965
15966 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15967 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15968 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
15969
15970 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
15971
15972 * desktop.el (desktop-clear): Simplify; remove useless checks
15973 against invalid buffer names.
15974 (desktop-list*): Use cl-list*.
15975 (desktop-buffer-info, desktop-create-buffer): Simplify.
15976
15977 2013-07-23 Leo Liu <sdl.web@gmail.com>
15978
15979 * bookmark.el (bookmark-make-record): Restore NAME as a default
15980 value. (Bug#14933)
15981
15982 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
15983
15984 * emacs-lisp/autoload.el (autoload--setup-output): New function,
15985 extracted from autoload--insert-text.
15986 (autoload--insert-text): Remove.
15987 (autoload--print-cookie-text): New function, extracted from
15988 autoload--insert-cookie-text.
15989 (autoload--insert-cookie-text): Remove.
15990 (autoload-generate-file-autoloads): Adjust calls accordingly.
15991
15992 * winner.el (winner-hook-installed-p): Remove.
15993 (winner-mode): Simplify accordingly.
15994
15995 * subr.el (add-to-list): Fix compiler-macro when `append' is
15996 not constant. Don't use `cl-member' for the base case.
15997
15998 * progmodes/subword.el: Fix boundary case (bug#13758).
15999 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
16000 own group.
16001 (subword-backward-regexp): Make it a constant.
16002 (subword-forward-internal): Don't treat a trailing capital as the
16003 beginning of a word.
16004
16005 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
16006
16007 * emacs-lisp/package.el (package-menu-mode): Don't modify the
16008 global value of tabulated-list-revert-hook (bug#14930).
16009
16010 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
16011
16012 * desktop.el: Require 'cl-lib.
16013 (desktop-before-saving-frames-functions): New hook.
16014 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
16015 for frames being saved. Rename from desktop--save-minibuffer-frames.
16016 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
16017 Do not save frames with non-nil `desktop-dont-save' parameter.
16018 Filter out deleted frames.
16019 (desktop--find-frame): Use cl-find-if.
16020 (desktop--select-frame): Use cl-(first|second|third) to access values
16021 of desktop-mini.
16022 (desktop--make-frame): Use cl-delete-if.
16023 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
16024 (desktop-restore-frames): Use cl-(first|second|third) to access values
16025 of desktop-mini. Look for visible frame at the end, not while
16026 restoring frames.
16027
16028 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
16029 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
16030 Use string-match-p, looking-at-p (bug#14927).
16031
16032 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
16033
16034 * desktop.el (desktop-saved-frame-states):
16035 Rename from desktop--saved-states; all users changed.
16036 (desktop-save-frames): Rename from desktop--save-frames.
16037 Do not save state to desktop file.
16038 (desktop-save): Save desktop-saved-frame-states to desktop file
16039 and reset to nil.
16040 (desktop-restoring-frames-p): New function.
16041 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
16042 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
16043 buffer-lists when restoring frames. Suggested by Martin Rudalics.
16044
16045 * desktop.el: Correctly restore iconified frames.
16046 (desktop--filter-iconified-position): New function.
16047 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
16048
16049 2013-07-20 Glenn Morris <rgm@gnu.org>
16050
16051 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
16052 Let `message' do the formatting.
16053 (def-gdb-preempt-display-buffer): Add explicit format.
16054
16055 * image-dired.el (image-dired-track-original-file):
16056 Use with-current-buffer.
16057 (image-dired-track-thumbnail): Use with-current-buffer.
16058 Avoid changing point of wrong window.
16059
16060 * image-dired.el (image-dired-track-original-file):
16061 Avoid changing point of wrong window. (Bug#14909)
16062
16063 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
16064
16065 * progmodes/gdb-mi.el (gdb-done-or-error):
16066 Guard against "%" in gdb output. (Bug#14127)
16067
16068 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
16069
16070 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
16071 (Bug#14826)
16072
16073 * international/mule.el (coding-system-iso-2022-flags): Fix last
16074 change.
16075
16076 2013-07-20 Kenichi Handa <handa@gnu.org>
16077
16078 * international/mule.el (coding-system-iso-2022-flags):
16079 Add `8-bit-level-4'. (Bug#8522)
16080
16081 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16082
16083 * net/shr.el (shr-mouse-browse-url): New command and keystroke
16084 (bug#14815).
16085
16086 * net/eww.el (eww-process-text-input): Allow inputting when the
16087 point is at the start of the line, as the properties aren't
16088 front-sticky.
16089
16090 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
16091 degenerate widths.
16092
16093 2013-07-19 Richard Stallman <rms@gnu.org>
16094
16095 * epa.el (epa-popup-info-window): Doc fix.
16096
16097 * subr.el (split-string): New arg TRIM.
16098
16099 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
16100
16101 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
16102 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
16103
16104 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
16105
16106 * filenotify.el (file-notify--library): Rename from
16107 `file-notify-support'. Do not autoload. Adapt all uses.
16108 (file-notify-supported-p): New defun.
16109
16110 * autorevert.el (auto-revert-use-notify):
16111 Use `file-notify-supported-p' instead of `file-notify-support'.
16112 Adapt docstring.
16113 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
16114
16115 * net/tramp.el (tramp-file-name-for-operation):
16116 Add `file-notify-supported-p'.
16117
16118 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16119 New defun.
16120 (tramp-sh-file-name-handler-alist): Add it as handler for
16121 `file-notify-supported-p '.
16122
16123 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16124 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16125 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16126 Add `ignore' as handler for `file-notify-*' functions.
16127
16128 2013-07-17 Eli Zaretskii <eliz@gnu.org>
16129
16130 * simple.el (line-move-partial, line-move): Don't start vscroll or
16131 scroll-up if the current line is not taller than the window.
16132 (Bug#14881)
16133
16134 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
16135
16136 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
16137 highlight question marks in the method names as strings.
16138 (ruby-block-beg-keywords): Inline.
16139 (ruby-font-lock-keyword-beg-re): Extract from
16140 `ruby-font-lock-keywords'.
16141
16142 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
16143
16144 * frame.el (blink-cursor-blinks): New defcustom.
16145 (blink-cursor-blinks-done): New defvar.
16146 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
16147 (blink-cursor-timer-function): Check if number of blinks has been
16148 done on X and NS.
16149 (blink-cursor-suspend, blink-cursor-check): New defuns.
16150
16151 2013-07-15 Glenn Morris <rgm@gnu.org>
16152
16153 * edmacro.el (edmacro-format-keys): Fix previous change.
16154
16155 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
16156
16157 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
16158 The hack didn't work outside English locales anyway.
16159
16160 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
16161
16162 * simple.el (define-alternatives): Rename from alternatives-define,
16163 per RMS' suggestion.
16164
16165 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
16166
16167 * desktop.el (desktop-restore-frames): Change default to t.
16168 (desktop-restore-in-current-display): Now offer more options.
16169 (desktop-restoring-reuses-frames): New customization option.
16170 (desktop--saved-states): Doc fix.
16171 (desktop-filter-parameters-alist): New variable, renamed and expanded
16172 from desktop--excluded-frame-parameters.
16173 (desktop--target-display): New variable.
16174 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
16175 (desktop--filter-tty*, desktop--filter-*-color)
16176 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16177 (desktop--filter-save-desktop-parm)
16178 (desktop-restore-in-original-display-p): New functions.
16179 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
16180 (desktop--save-minibuffer-frames): New function, inspired by a similar
16181 function from Martin Rudalics.
16182 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
16183 (desktop--restore-in-this-display-p): Remove.
16184 (desktop--find-frame): Rename from desktop--find-frame-in-display
16185 and add predicate argument.
16186 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
16187 (desktop--reuse-list): New variable.
16188 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
16189 New functions.
16190 (desktop--restore-frames): Add support for "minibuffer-special" frames.
16191
16192 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
16193
16194 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
16195
16196 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
16197
16198 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16199 Highlight conversion methods on Kernel.
16200
16201 2013-07-13 Alan Mackenzie <acm@muc.de>
16202
16203 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
16204 and comment it out. This out-commenting enables certain C++
16205 declarations to be parsed correctly.
16206
16207 2013-07-13 Eli Zaretskii <eliz@gnu.org>
16208
16209 * international/mule.el (define-coding-system): Doc fix.
16210
16211 * simple.el (default-font-height): Don't call font-info if the
16212 frame's default font didn't change since the frame was created.
16213 (Bug#14838)
16214
16215 2013-07-13 Leo Liu <sdl.web@gmail.com>
16216
16217 * ido.el (ido-read-file-name): Guard against non-symbol value.
16218
16219 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
16220
16221 * progmodes/python.el (python-imenu--build-tree): Fix corner case
16222 in nested defuns.
16223
16224 2013-07-13 Leo Liu <sdl.web@gmail.com>
16225
16226 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
16227 ido-set-matches call. (Bug#6852)
16228
16229 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
16230
16231 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
16232 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
16233 Ruby 2.0.
16234 (ruby-font-lock-keywords): Distinguish calls to functions with
16235 module-like names from module references. Highlight character
16236 literals.
16237
16238 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
16239
16240 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
16241 (gdb-send): Handle continued commands. (Bug#14847)
16242
16243 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16244
16245 * desktop.el (desktop--v2s): Remove unused local variable.
16246 (desktop-save-buffer): Make defvar-local; adjust docstring.
16247 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
16248 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
16249
16250 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
16251
16252 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
16253
16254 2013-07-12 Eli Zaretskii <eliz@gnu.org>
16255
16256 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
16257 (Bug#14842)
16258
16259 2013-07-12 Glenn Morris <rgm@gnu.org>
16260
16261 * doc-view.el: Require cl-lib at runtime too.
16262 (doc-view-remove-if): Remove.
16263 (doc-view-search-next-match, doc-view-search-previous-match):
16264 Use cl-remove-if.
16265
16266 * edmacro.el: Require cl-lib at runtime too.
16267 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
16268 (edmacro-mismatch, edmacro-subseq): Remove.
16269
16270 * shadowfile.el: Require cl-lib.
16271 (shadow-remove-if): Remove.
16272 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
16273 Use cl-remove-if.
16274
16275 * wid-edit.el: Require cl-lib.
16276 (widget-choose): Use cl-remove-if.
16277 (widget-remove-if): Remove.
16278
16279 * progmodes/ebrowse.el: Require cl-lib at runtime too.
16280 (ebrowse-delete-if-not): Remove.
16281 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
16282 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
16283 Use cl-delete-if-not.
16284
16285 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16286
16287 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
16288 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
16289
16290 2013-07-12 Leo Liu <sdl.web@gmail.com>
16291
16292 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
16293
16294 2013-07-11 Glenn Morris <rgm@gnu.org>
16295
16296 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
16297 (edebug-gensym-index, edebug-gensym):
16298 Remove reimplementation of cl-gensym.
16299 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
16300
16301 * thumbs.el: Require cl-lib at run-time too.
16302 (thumbs-gensym-counter, thumbs-gensym):
16303 Remove reimplementation of cl-gensym.
16304 (thumbs-temp-file): Use cl-gensym.
16305
16306 * emacs-lisp/ert.el: Require cl-lib at runtime too.
16307 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
16308 (ert--intersection, ert--set-difference, ert--set-difference-eq)
16309 (ert--union, ert--gensym-counter, ert--gensym-counter)
16310 (ert--coerce-to-vector, ert--remove*, ert--string-position)
16311 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
16312 (ert-make-test-unbound, ert--expand-should-1)
16313 (ert--expand-should, ert--should-error-handle-error)
16314 (should-error, ert--explain-equal-rec)
16315 (ert--plist-difference-explanation, ert-select-tests)
16316 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
16317 Use cl-lib functions rather than reimplementations.
16318
16319 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
16320
16321 * net/tramp.el (tramp-methods): Extend docstring.
16322 (tramp-connection-timeout): New defcustom.
16323 (tramp-error-with-buffer): Reset timestamp only when appropriate.
16324 (with-tramp-progress-reporter): Simplify.
16325 (tramp-process-actions): Improve messages.
16326
16327 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16328 * net/tramp-sh.el (tramp-maybe-open-connection):
16329 Use `tramp-connection-timeout'.
16330 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
16331 (Bug#14808)
16332
16333 2013-07-11 Leo Liu <sdl.web@gmail.com>
16334
16335 * ido.el (ido-read-file-name): Conform to the requirements of
16336 read-file-name. (Bug#11861)
16337 (ido-read-directory-name): Conform to the requirements of
16338 read-directory-name.
16339
16340 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
16341
16342 * subr.el (delay-warning): New function.
16343
16344 2013-07-10 Eli Zaretskii <eliz@gnu.org>
16345
16346 * simple.el (default-line-height): New function.
16347 (line-move-partial, line-move): Use it instead of computing the
16348 line height inline.
16349 (line-move-partial): Always compute ROWH. If the last line is
16350 partially-visible, but its text is completely visible, allow
16351 cursor to enter such a partially-visible line.
16352
16353 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
16354
16355 Improve error messages. (Bug#14808)
16356
16357 * net/tramp.el (tramp-current-connection): New defvar, moved from
16358 tramp-sh.el.
16359 (tramp-message-show-progress-reporter-message): Remove, not
16360 needed anymore.
16361 (tramp-error-with-buffer): Show message in minibuffer.
16362 Discard input before waiting. Reset connection timestamp.
16363 (with-tramp-progress-reporter): Improve messages.
16364 (tramp-process-actions): Use progress reporter. Delete process in
16365 case of error. Improve messages.
16366
16367 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
16368 Call `tramp-error-with-buffer' with vector and buffer.
16369 (tramp-current-connection): Remove.
16370 (tramp-maybe-open-connection): The car of
16371 `tramp-current-connection' are the first 3 slots of the vector.
16372
16373 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
16374
16375 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
16376 inside continued strings.
16377
16378 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
16379
16380 Timestamp fixes for undo (Bug#14824).
16381 * files.el (clear-visited-file-modtime): Move here from fileio.c.
16382
16383 2013-07-10 Leo Liu <sdl.web@gmail.com>
16384
16385 * files.el (require-final-newline): Allow safe local value.
16386 (Bug#14834)
16387
16388 2013-07-09 Leo Liu <sdl.web@gmail.com>
16389
16390 * ido.el (ido-read-directory-name): Handle fallback.
16391 (ido-read-file-name): Update DIR to ido-current-directory.
16392 (Bug#1516)
16393 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
16394
16395 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
16396
16397 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
16398 "autoload". Remove "warn lower camel case" section, previously
16399 commented out. Highlight negation char. Do not highlight the
16400 target in singleton method definitions.
16401
16402 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16403
16404 * faces.el (tty-setup-hook): Declare the hook.
16405
16406 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
16407 and detect when a guard/pred depends on local vars (bug#14773).
16408 (pcase--u1): Adjust caller.
16409
16410 2013-07-08 Eli Zaretskii <eliz@gnu.org>
16411
16412 * simple.el (line-move-partial, line-move): Account for
16413 line-spacing.
16414 (line-move-partial): Avoid setting vscroll when the last
16415 partially-visible line in window is of default height.
16416
16417 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16418
16419 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
16420 been used a while.
16421
16422 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
16423
16424 * subr.el (read-quoted-char): Remove unused local variable `char'.
16425
16426 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
16427
16428 * vc/ediff.el (ediff-version): Version update.
16429 (ediff-files-command, ediff3-files-command, ediff-merge-command)
16430 (ediff-merge-with-ancestor-command, ediff-directories-command)
16431 (ediff-directories3-command, ediff-merge-directories-command)
16432 (ediff-merge-directories-with-ancestor-command): New functions.
16433 All are command-line interfaces to ediff: to facilitate calling
16434 Emacs with the appropriate ediff functions invoked.
16435
16436 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
16437 New function.
16438 (viper-save-kill-buffer): Check if buffer is modified.
16439
16440 * emulation/viper.el (viper-version): Version update.
16441 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
16442
16443 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
16444
16445 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
16446 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
16447 (viper-intercept-ESC-key): Simplify.
16448 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
16449 don't use kbd.
16450 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
16451 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
16452 (viper-setup-ESC-to-escape): New functions.
16453 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
16454 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
16455
16456 2013-07-07 Eli Zaretskii <eliz@gnu.org>
16457
16458 * simple.el (default-font-height, window-screen-lines):
16459 New functions.
16460 (line-move, line-move-partial): Use them instead of
16461 frame-char-height and window-text-height. This makes scrolling
16462 text smoother when the buffer's default face uses a font that is
16463 different from the frame's default font.
16464
16465 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
16466
16467 * files.el (write-file): Do not display confirm dialog for NS,
16468 it does its own dialog, which can't be canceled (Bug#14578).
16469
16470 2013-07-06 Eli Zaretskii <eliz@gnu.org>
16471
16472 * simple.el (line-move-partial): Adjust the row returned by
16473 posn-at-point for the current window-vscroll. (Bug#14567)
16474
16475 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
16476
16477 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
16478 (tramp-sh-file-inotifywait-process-filter): Handle file names with
16479 spaces.
16480
16481 2013-07-06 Martin Rudalics <rudalics@gmx.at>
16482
16483 * window.el (window-state-put-stale-windows): New variable.
16484 (window--state-put-2): Save list of windows without matching buffer.
16485 (window-state-put): Remove "bufferless" windows if possible.
16486
16487 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16488
16489 * simple.el (alternatives-define): Remove leftover :group keyword.
16490 Tweak docstring.
16491
16492 2013-07-06 Leo Liu <sdl.web@gmail.com>
16493
16494 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
16495 (ido-enable-virtual-buffers): New variable.
16496 (ido-buffer-internal, ido-toggle-virtual-buffers)
16497 (ido-make-buffer-list): Use it.
16498 (ido-exhibit): Support turning on and off virtual buffers
16499 automatically.
16500
16501 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16502
16503 * simple.el (alternatives-define): New macro.
16504
16505 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
16506
16507 * subr.el (read-quoted-char): Use read-key.
16508 (sit-for): Let read-event decode tty input (bug#14782).
16509
16510 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
16511
16512 * calendar/todo-mode.el: Add handling of file deletion, both by
16513 mode command and externally. Fix various related bugs.
16514 Clarify Commentary and improve some documentation strings and code.
16515 (todo-delete-file): New command.
16516 (todo-check-file): New function.
16517 (todo-show): Handle external deletion of the file we're trying to
16518 show (bug#14688). Replace called-interactively-p by an optional
16519 prefix argument to avoid problematic interaction with catch form
16520 when byte compiled (bug#14702).
16521 (todo-quit): Handle external deletion of the archive's todo file.
16522 Make sure the buffer that was visiting the archive file is still
16523 live before trying to bury it.
16524 (todo-category-completions): Handle external deletion of any
16525 category completion files.
16526 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
16527 of todo files, in case of external deletion.
16528 (todo-add-file): Replace unnecessary setq by let-binding.
16529 (todo-find-archive): Check whether there are any archives.
16530 Replace unnecessary setq by let-binding.
16531 (todo-archive-done-item): Use find-file-noselect to get the
16532 archive buffer whether or not the archive already exists.
16533 Remove superfluous code. Use file size instead of buffer-file-name to
16534 check if the archive is new; if it is, update list of archives.
16535 (todo-default-todo-file): Allow nil to be a valid value for when
16536 there are no todo files.
16537 (todo-reevaluate-default-file-defcustom): Use corrected definition
16538 of todo-default-todo-file.
16539 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
16540 (todo-delete-category, todo-show-categories-table)
16541 (todo-category-number): Clarify comment.
16542 (todo-filter-items): Clarify documentation string.
16543 (todo-show-current-file, todo-display-as-todo-file)
16544 (todo-reset-and-enable-done-separator): Tweak documentation string.
16545 (todo-done-separator): Make separator length window-width, since
16546 bug#2749 is now fixed.
16547
16548 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
16549
16550 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16551 Support both "gvfs-monitor-dir" and "inotifywait".
16552 (tramp-sh-file-inotifywait-process-filter): Rename from
16553 `tramp-sh-file-notify-process-filter'.
16554 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16555 (tramp-get-remote-gvfs-monitor-dir): New defuns.
16556
16557 2013-07-05 Leo Liu <sdl.web@gmail.com>
16558
16559 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
16560
16561 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16562
16563 * frame.el (display-pixel-height, display-pixel-width)
16564 (display-mm-height, display-mm-width): Mention behavior on
16565 multi-monitor setups in docstrings.
16566 (w32-display-monitor-attributes-list): Declare function.
16567 (display-monitor-attributes-list): Use it.
16568
16569 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
16570
16571 * filenotify.el: New package.
16572
16573 * autorevert.el (top): Require filenotify.el.
16574 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
16575 instead.
16576 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16577 (auto-revert-notify-handler): Use `file-notify-*' functions.
16578
16579 * subr.el (file-notify-handle-event): Move function to filenotify.el.
16580
16581 * net/tramp.el (tramp-file-name-for-operation):
16582 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
16583
16584 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
16585 for `file-notify-add-watch' and `file-notify-rm-watch'.
16586 (tramp-process-sentinel): Improve trace.
16587 (tramp-sh-handle-file-notify-add-watch)
16588 (tramp-sh-file-notify-process-filter)
16589 (tramp-sh-handle-file-notify-rm-watch)
16590 (tramp-get-remote-inotifywait): New defuns.
16591
16592 2013-07-03 Juri Linkov <juri@jurta.org>
16593
16594 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
16595 call of `occur-read-primary-args' to interactive spec.
16596
16597 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
16598 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
16599
16600 2013-07-03 Matthias Meulien <orontee@gmail.com>
16601
16602 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
16603 `Buffer-menu-multi-occur'. Add it to the menu.
16604 (Buffer-menu-mode): Document it in docstring.
16605 (Buffer-menu-multi-occur): New command. (Bug#14673)
16606
16607 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16608
16609 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
16610 keywords and built-ins.
16611
16612 2013-07-03 Glenn Morris <rgm@gnu.org>
16613
16614 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
16615
16616 Make info-xref checks case-sensitive by default
16617 * info.el (Info-find-node, Info-find-in-tag-table)
16618 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
16619 Add option for exact case matching of nodes.
16620 * info-xref.el (info-xref): New custom group.
16621 (info-xref-case-fold): New option.
16622 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
16623
16624 2013-07-03 Leo Liu <sdl.web@gmail.com>
16625
16626 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
16627
16628 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16629
16630 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
16631 middle of block statement initially, lower the depth. Remove
16632 FIXME comment, not longer valid. Remove middle of block statement
16633 detection, no need to do that anymore since we've been using
16634 `ruby-parse-region' here.
16635
16636 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
16637
16638 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
16639
16640 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
16641
16642 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
16643
16644 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
16645
16646 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
16647 (desktop-restore-in-current-display): New customization option.
16648 (desktop--excluded-frame-parameters): Add `font'.
16649 (desktop--save-frames): Rename from desktop--save-windows.
16650 (desktop--restore-in-this-display-p): New function.
16651 (desktop--make-full-frame): Remove unwanted width/height from
16652 full(width|height) frames.
16653 (desktop--restore-frames): Rename from desktop--restore-windows.
16654 Obey desktop-restore-current-display. Do not delete old frames or
16655 select a new frame unless we were able to restore at least one frame.
16656
16657 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
16658
16659 * files.el (find-file-noselect): Simplify conditional expression.
16660
16661 * textmodes/remember.el (remember-append-to-file):
16662 Don't mix `find-buffer-visiting' and `get-file-buffer'.
16663
16664 Add `remember-notes' function to store random notes across Emacs
16665 restarts.
16666 * textmodes/remember.el (remember-data-file): Add :set callback to
16667 affect notes buffer (if any).
16668 (remember-notes): New command.
16669 (remember-notes-buffer-name, bury-remember-notes-on-kill):
16670 New defcustoms for the `remember-notes' function.
16671 (remember-notes-save-and-bury-buffer): New command.
16672 (remember-notes-mode-map): New variable.
16673 (remember-mode): New minor mode.
16674 (remember-notes--kill-buffer-query): New function.
16675 * startup.el (initial-buffer-choice): Add notes to custom type.
16676
16677 2013-06-30 Eli Zaretskii <eliz@gnu.org>
16678
16679 * bindings.el (right-char, left-char): Don't call sit-for, this is
16680 no longer needed. Use arithmetic comparison only for numerical
16681 arguments.
16682
16683 * international/mule-cmds.el (select-safe-coding-system):
16684 Handle the case of FROM being a string correctly. (Bug#14755)
16685
16686 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16687
16688 * net/shr.el (shr-make-table-1): Add a sanity check that allows
16689 progression on degenerate tables.
16690 (shr-rescale-image): ImageMagick animated images currently don't work.
16691
16692 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
16693
16694 Some fixes and improvements for desktop frame restoration.
16695 It is still experimental and disabled by default.
16696 * desktop.el (desktop--save-windows): Put the selected frame at
16697 the head of the list.
16698 (desktop--make-full-frame): New function.
16699 (desktop--restore-windows): Try to re-select the frame that was
16700 selected upon saving. Do not abort if some frames fail to restore,
16701 just show an error message and continue. Set up maximized frames
16702 so they have default non-maximized dimensions.
16703
16704 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
16705
16706 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
16707 Don't start heredoc inside a string or comment.
16708
16709 2013-06-29 Eli Zaretskii <eliz@gnu.org>
16710
16711 * bindings.el (visual-order-cursor-movement): New defcustom.
16712 (right-char, left-char): Provide visual-order cursor motion by
16713 calling move-point-visually. Update the doc strings.
16714
16715 2013-06-28 Kenichi Handa <handa@gnu.org>
16716
16717 * international/mule.el (define-coding-system): New coding system
16718 properties :inhibit-null-byte-detection,
16719 :inhibit-iso-escape-detection, and :prefer-utf-8.
16720 (set-buffer-file-coding-system): If :charset-list property of
16721 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
16722 appropriate for setting.
16723
16724 * international/mule-cmds.el (select-safe-coding-system):
16725 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
16726 multibyte characters, return utf-8 (or one of its siblings).
16727
16728 * international/mule-conf.el (prefer-utf-8): New coding system.
16729 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
16730 files.
16731
16732 2013-06-28 Ivan Kanis <ivan@kanis.fr>
16733
16734 * net/shr.el (shr-render-region): New function.
16735
16736 * net/eww.el: Autoload `eww-browse-url'.
16737
16738 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
16739
16740 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16741 Adapt to `package-desc-version' being a list.
16742 Use `package--ac-desc-version' to retrieve version from a package
16743 archive element.
16744
16745 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
16746
16747 New experimental feature to save&restore window and frame setup.
16748 * desktop.el (desktop-save-windows): New defcustom.
16749 (desktop--saved-states): New var.
16750 (desktop--excluded-frame-parameters): New defconst.
16751 (desktop--filter-frame-parms, desktop--find-frame-in-display)
16752 (desktop--restore-windows, desktop--save-windows): New functions.
16753 (desktop-save): Call `desktop--save-windows'.
16754 (desktop-read): Call `desktop--restore-windows'.
16755
16756 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16757
16758 * net/shr.el (add-face-text-property): Remove compat definition.
16759
16760 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
16761
16762 * info.el (Info-try-follow-nearest-node): Move search for footnote
16763 above search for node name to prevent missing a footnote (bug#14717).
16764
16765 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
16766
16767 * obsolete/otodo-mode.el: Add obsolescence info to file header.
16768
16769 2013-06-27 Leo Liu <sdl.web@gmail.com>
16770
16771 * net/eww.el (eww-read-bookmarks): Check file size.
16772
16773 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
16774
16775 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
16776 advice--pending if newdef is nil or an autoload (bug#13820).
16777 (advice-mapc): New function.
16778
16779 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16780
16781 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
16782 probably.
16783 (eww-mode-map): Add a menu bar.
16784 (eww-add-bookmark): New command.
16785 (eww-bookmark-mode): New mode and commands.
16786 (eww-add-bookmark): Remove newlines from the title.
16787 (eww-bookmark-browse): Don't bug out if it's the only window.
16788
16789 2013-06-26 Glenn Morris <rgm@gnu.org>
16790
16791 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
16792 (hfy-size): Handle ttys. (Bug#14668)
16793
16794 * info-xref.el: Update for Texinfo 5 change in *note format.
16795 (info-xref-node-re, info-xref-note-re): New constants.
16796 (info-xref-check-buffer): Use info-xref-note-re.
16797
16798 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
16799
16800 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
16801
16802 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
16803 nil terminate the loop (bug#14718).
16804
16805 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16806
16807 * net/eww.el: Rework history traversal. When going forward/back,
16808 put these actions into the history, too, so that they can be
16809 replayed.
16810 (eww-render): Move the history reset to the correct buffer.
16811
16812 2013-06-25 Juri Linkov <juri@jurta.org>
16813
16814 * files-x.el (modify-dir-local-variable): Change the header comment
16815 in the file with directory local variables. (Bug#14692)
16816
16817 * files-x.el (read-file-local-variable-value): Add `default'.
16818 (Bug#14710)
16819
16820 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16821
16822 * net/eww.el (eww-make-unique-file-name): Create a unique file
16823 name before saving to entering `y' accidentally asynchronously.
16824
16825 2013-06-25 Ivan Kanis <ivan@kanis.fr>
16826
16827 * net/eww.el (eww-download): New command and keystroke.
16828
16829 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16830
16831 * net/eww.el (eww-copy-page-url): Change name of command.
16832
16833 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
16834 be more consistent with Info and dired.
16835
16836 * net/eww.el (eww-mode-map): Ditto.
16837
16838 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16839
16840 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
16841 packages from archives.
16842 (package-archive-contents): Change format; include obsolete packages.
16843 (package-desc): Use `dir' to mark builtin packages.
16844 (package--from-builtin): Set the `dir' field to `builtin'.
16845 (generated-autoload-file, version-control): Declare.
16846 (package-compute-transaction): Change first arg and return value to be
16847 lists of package-descs. Adjust to new package-archive-contents format.
16848 (package--add-to-archive-contents): Adjust to new
16849 package-archive-contents format.
16850 (package-download-transaction): Arg is now a list of package-descs.
16851 (package-install): If `pkg' is a package name, pass it as
16852 a requirement, so it is subject to the usual (e.g. disabled) checks.
16853 (describe-package): Accept package-desc as well.
16854 (describe-package-1): Describe a specific package-desc. Add links to
16855 other package-descs for the same package name.
16856 (package-menu-describe-package): Pass the actual package-desc.
16857 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
16858 works correctly.
16859 (package-desc-status): New function.
16860 (package-menu--refresh): New function, extracted
16861 from package-menu--generate.
16862 (package-menu--generate): Use it.
16863 (package-delete): Update package-alist.
16864 (package-menu-execute): Don't call package-initialize.
16865
16866 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
16867 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
16868 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
16869 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
16870 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
16871 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
16872
16873 2013-06-25 Martin Rudalics <rudalics@gmx.at>
16874
16875 * window.el (window--state-get-1): Workaround for bug#14527.
16876 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
16877
16878 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16879
16880 * net/eww.el (eww-back-url): Implement the history by stashing all
16881 the data into a list.
16882 (eww-forward-url): Allow going forward in the history, too.
16883
16884 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16885
16886 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
16887 for values and use read--expression for expressions (bug#14710).
16888 (read-file-local-variable): Avoid setq.
16889 (read-file-local-variable-mode): Use minor-mode-list.
16890
16891 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16892
16893 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
16894 for DOI URLs.
16895
16896 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16897
16898 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
16899 Update imenu-support when dialect changes.
16900
16901 2013-06-25 Leo Liu <sdl.web@gmail.com>
16902
16903 * ido.el (ido-read-internal): Allow forward slash on windows.
16904
16905 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
16906
16907 * net/eww.el (eww): Start of strings is \\`, not ^.
16908
16909 2013-06-24 Ivan Kanis <ivan@kanis.fr>
16910
16911 * net/shr.el (shr-browse-url): Fix interactive spec.
16912
16913 * net/eww.el (eww): Add a trailing slash to domain names.
16914
16915 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
16916
16917 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
16918
16919 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
16920
16921 * net/shr.el (shr-browse-url): Use an external browser if given a
16922 prefix.
16923
16924 * net/eww.el (eww-external-browser): Move to shr.
16925
16926 2013-06-24 Ivan Kanis <ivan@kanis.fr>
16927
16928 * net/eww.el (eww): Work more correctly for file: URLs.
16929 (eww-detect-charset): Allow quoted charsets.
16930 (eww-yank-page-url): New command and keystroke.
16931
16932 2013-06-24 Daiki Ueno <ueno@gnu.org>
16933
16934 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
16935 file name of gpg executable.
16936 (epg-context-program): New function.
16937 (epg-context-home-directory): New function.
16938 (epg-context-set-program): New function.
16939 (epg-context-set-home-directory): New function.
16940 (epg--start): Use `epg-context-program' instead of
16941 'epg-gpg-program'.
16942 (epg--list-keys-1): Likewise.
16943
16944 2013-06-24 Leo Liu <sdl.web@gmail.com>
16945
16946 * ido.el (ido-read-internal): Fix bug#14620.
16947
16948 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
16949
16950 * faces.el (face-documentation): Simplify.
16951 (read-face-attribute, tty-find-type, x-resolve-font-name):
16952 Use `string-match-p'.
16953 (list-faces-display): Use `string-match-p'. Simplify.
16954 (face-spec-recalc): Check face to avoid face alias loops.
16955 (read-color): Use `string-match-p' and non-capturing parenthesis.
16956
16957 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16958
16959 * net/shr.el (shr-rescale-image): Use the new
16960 :max-width/:max-height functionality.
16961
16962 2013-06-23 Ivan Kanis <ivan@kanis.fr>
16963
16964 * net/eww.el (eww-search-prefix): New variable.
16965 (eww): Use it.
16966 (eww-external-browser): New variable.
16967 (eww-mode-map): New keystroke.
16968 (eww-browse-with-external-browser): New command.
16969
16970 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
16971
16972 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
16973
16974 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
16975 Don't skip aligning the next header field when padding is 0;
16976 otherwise, field width is not respected unless the title is as
16977 wide as the field.
16978
16979 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
16980
16981 * emacs-lisp/package.el (package-el-version): Remove.
16982 (package-process-define-package): Fix inf-loop.
16983 (package-install): Allow symbols as arguments again.
16984
16985 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
16986
16987 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
16988 add some more keyword-like methods.
16989 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
16990
16991 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
16992
16993 * bs.el (bs-buffer-show-mark): Make defvar-local.
16994 (bs-mode): Use setq-local.
16995
16996 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
16997 (emacs-lock--try-unlocking): Make defvar-local.
16998
16999 2013-06-22 Glenn Morris <rgm@gnu.org>
17000
17001 * play/cookie1.el (cookie-apropos): Minor simplification.
17002
17003 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
17004
17005 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
17006
17007 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
17008 `regexp-opt', it breaks the build during dumping.
17009
17010 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
17011
17012 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17013 Highlight keyword-like methods on Kernel and Module with
17014 font-lock-builtin-face.
17015 (auto-mode-alist): Consolidate different entries into one regexp
17016 and add more *file-s.
17017
17018 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
17019
17020 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
17021
17022 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
17023 (diary-entry): Use it in the action of this button type instead of
17024 diary-goto-entry.
17025
17026 * calendar/todo-mode.el: New version.
17027 (todo-add-category): Append new category to end of file and give
17028 it the highest number, instead of putting it at the beginning and
17029 giving it 0. Incorporate noninteractive functionality.
17030 (todo-forward-category): Adapt to 1-based category numbering.
17031 Allow skipping over archived categories.
17032 (todo-backward-category): Derive from todo-forward-category.
17033 (todo-backward-item, todo-forward-item): Make noninteractive and
17034 delegate interactive part to new commands. Make sensitive to done items.
17035 (todo-categories): Make value an alist of category names and
17036 vectors of item counts.
17037 (todo-category-beg): Make a defconst.
17038 (todo-category-number): Use 1 instead of 0 as initial value.
17039 (todo-category-select): Make sensitive to overlays, optional item
17040 highlighting and done items.
17041 (todo-delete-item): Make sensitive to overlays and marked and done items.
17042 (todo-edit-item): Make sensitive to overlays and editing of
17043 date/time header optional. Add format checks.
17044 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
17045 no-op if point is not on an item. Advertise using todo-edit-quit.
17046 (todo-edit-mode): Make sensitive to new format, font-locking, and
17047 multiple todo files.
17048 (todo-insert-item, todo-insert-item-here): Derive from
17049 todo-basic-insert-item and extend functionality.
17050 (todo-item-end, todo-item-start): Make sensitive to done items.
17051 (todo-item-string): Don't return text properties. Restore point.
17052 (todo-jump-to-category): Make sensitive to multiple todo files and
17053 todo archives. Use extended category completion.
17054 (todo-lower-item, todo-raise-item): Rename to *-priority and
17055 derive from todo-set-item-priority.
17056 (todo-mode): Derive from special-mode. Make sensitive to new
17057 format, font-locking and multiple todo files. Make read-only.
17058 (todo-mode-map): Don't suppress digit keys, so they can supply
17059 prefix arguments. Add many new key bindings.
17060 (todo-prefix): Insert as an overlay instead of file text.
17061 Change semantics from diary date expression to purely visual mark.
17062 (todo-print): Rename to todo-print-buffer. Make buffer display
17063 features printable. Remove option to restrict number of items
17064 printed. Add option to print to file.
17065 (todo-print-function): Rename to todo-print-buffer-function.
17066 (todo-quit): Extend to handle exiting new todo modes.
17067 (todo-remove-item): Make sensitive to overlays.
17068 (todo-save): Extend to buffers of filtered items.
17069 (todo-show): Make sensitive to done items, multiple todo files and
17070 new todo modes. Offer to convert legacy todo file before creating
17071 first new todo file.
17072 (todo-show-priorities): Rename to todo-top-priorities.
17073 Change semantics of value 0.
17074 (todo-top-priorities): Rename to todo-filter-top-priorities,
17075 derive from todo-filter-items and extend functionality.
17076 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
17077 and extend functionality to other types of filtered items.
17078 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
17079 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
17080 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
17081 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
17082 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
17083 (todo-edit-mode-hook, todo-entry-prefix-function)
17084 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
17085 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
17086 (todo-initials, todo-insert-threshold, todo-item-string-start)
17087 (todo-line-string, todo-menu, todo-mode-hook)
17088 (todo-more-important-p, todo-previous-answer, todo-previous-line)
17089 (todo-print-priorities, todo-remove-separator)
17090 (todo-save-top-priorities-too, todo-string-count-lines)
17091 (todo-string-multiline-p, todo-time-string-format)
17092 (todo-tmp-buffer-name): Remove.
17093 (todo-add-file, todo-archive-done-item, todo-choose-archive)
17094 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
17095 (todo-edit-category-diary-inclusion)
17096 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
17097 (todo-edit-file, todo-edit-item-date-day)
17098 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
17099 (todo-edit-item-date-month, todo-edit-item-date-to-today)
17100 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
17101 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
17102 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
17103 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
17104 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
17105 (todo-filter-top-priorities-multifile, todo-find-archive)
17106 (todo-find-filtered-items-file, todo-go-to-source-item)
17107 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
17108 (todo-jump-to-archive-category, todo-lower-category)
17109 (todo-mark-category, todo-marked-item-p, todo-merge-category)
17110 (todo-move-category, todo-move-item, todo-next-button)
17111 (todo-next-item, todo-padded-string, todo-powerset)
17112 (todo-previous-button, todo-previous-item)
17113 (todo-print-buffer-to-file, todo-raise-category)
17114 (todo-rename-category, todo-repair-categories-sexp, todo-search)
17115 (todo-set-category-number, todo-set-item-priority)
17116 (todo-set-top-priorities-in-category)
17117 (todo-set-top-priorities-in-file, todo-show-categories-table)
17118 (todo-sort-categories-alphabetically-or-numerically)
17119 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
17120 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
17121 (todo-toggle-item-header, todo-toggle-item-highlighting)
17122 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
17123 (todo-toggle-view-done-items, todo-toggle-view-done-only)
17124 (todo-unarchive-items, todo-unmark-category): New commands.
17125 (todo-absolute-file-name, todo-add-to-buffer-list)
17126 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
17127 (todo-basic-insert-item, todo-category-completions)
17128 (todo-category-number, todo-category-string-matcher-1)
17129 (todo-category-string-matcher-2, todo-check-filtered-items-file)
17130 (todo-check-format, todo-clear-matches)
17131 (todo-comment-string-matcher, todo-convert-legacy-date-time)
17132 (todo-current-category, todo-date-string-matcher)
17133 (todo-define-insertion-command, todo-diary-expired-matcher)
17134 (todo-diary-goto-entry, todo-diary-item-p)
17135 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
17136 (todo-display-categories, todo-display-sorted, todo-done-item-p)
17137 (todo-done-item-section-p, todo-done-separator)
17138 (todo-done-string-matcher, todo-files, todo-filter-items)
17139 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
17140 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
17141 (todo-insert-category-line, todo-insert-item-from-calendar)
17142 (todo-insert-sort-button, todo-insert-with-overlays)
17143 (todo-insertion-command-name, todo-insertion-key-bindings)
17144 (todo-label-to-key, todo-longest-category-name-length)
17145 (todo-make-categories-list, todo-mode-external-set)
17146 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
17147 (todo-modes-set-3, todo-multiple-filter-files)
17148 (todo-nondiary-marker-matcher, todo-prefix-overlays)
17149 (todo-read-category, todo-read-date, todo-read-dayname)
17150 (todo-read-file-name, todo-read-time)
17151 (todo-reevaluate-category-completions-files-defcustom)
17152 (todo-reevaluate-default-file-defcustom)
17153 (todo-reevaluate-filelist-defcustoms)
17154 (todo-reevaluate-filter-files-defcustom)
17155 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
17156 (todo-reset-done-separator, todo-reset-done-separator-string)
17157 (todo-reset-done-string, todo-reset-global-current-todo-file)
17158 (todo-reset-highlight-item, todo-reset-nondiary-marker)
17159 (todo-reset-prefix, todo-set-categories)
17160 (todo-set-date-from-calendar, todo-set-show-current-file)
17161 (todo-set-top-priorities, todo-short-file-name)
17162 (todo-show-current-file, todo-sort, todo-time-string-matcher)
17163 (todo-total-item-counts, todo-update-buffer-list)
17164 (todo-update-categories-display, todo-update-categories-sexp)
17165 (todo-update-count, todo-validate-name, todo-y-or-n-p):
17166 New functions.
17167 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
17168 New major modes.
17169 (todo-categories, todo-display, todo-edit, todo-faces)
17170 (todo-filtered): New defgroups.
17171 (todo-archived-only, todo-button, todo-category-string, todo-date)
17172 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
17173 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
17174 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
17175 (todo-add-item-if-new-category, todo-always-add-time-string)
17176 (todo-categories-align, todo-categories-archived-label)
17177 (todo-categories-category-label, todo-categories-diary-label)
17178 (todo-categories-done-label, todo-categories-number-separator)
17179 (todo-categories-todo-label, todo-categories-totals-label)
17180 (todo-category-completions-files, todo-completion-ignore-case)
17181 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
17182 (todo-done-separator-string, todo-done-string)
17183 (todo-files-function, todo-filter-done-items, todo-filter-files)
17184 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
17185 (todo-initial-category, todo-initial-file, todo-item-mark)
17186 (todo-legacy-date-time-regexp, todo-mode-line-function)
17187 (todo-nondiary-marker, todo-number-prefix)
17188 (todo-print-buffer-function, todo-show-current-file)
17189 (todo-show-done-only, todo-show-first, todo-show-with-done)
17190 (todo-skip-archived-categories, todo-top-priorities-overrides)
17191 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
17192 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
17193 New defcustoms.
17194 (todo-category-done, todo-date-pattern, todo-date-string-start)
17195 (todo-diary-items-buffer, todo-done-string-start)
17196 (todo-filtered-items-buffer, todo-item-start)
17197 (todo-month-abbrev-array, todo-month-name-array)
17198 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
17199 (todo-top-priorities-buffer): New defconsts.
17200 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
17201 (todo-categories-with-marks, todo-category-string-face)
17202 (todo-comment-face, todo-comment-string, todo-current-todo-file)
17203 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
17204 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
17205 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
17206 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
17207 (todo-font-lock-keywords, todo-global-current-todo-file)
17208 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
17209 (todo-insertion-commands-args)
17210 (todo-insertion-commands-args-genlist)
17211 (todo-insertion-commands-names, todo-insertion-map)
17212 (todo-key-bindings-t, todo-key-bindings-t+a)
17213 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
17214 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
17215 (todo-nondiary-face, todo-print-buffer, todo-time-face)
17216 (todo-visited): New variables.
17217
17218 2013-06-21 Glenn Morris <rgm@gnu.org>
17219
17220 * play/cookie1.el (cookie-apropos): Add optional display argument.
17221 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
17222 (psychoanalyze-pinhead): Use cookie-doctor.
17223
17224 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17225
17226 * emacs-lisp/package.el (tar-get-file-descriptor)
17227 (tar--extract): Declare.
17228
17229 2013-06-21 Eduard Wiebe <usenet@pusto.de>
17230
17231 Extend flymake's warning predicate to be a function (bug#14217).
17232 * progmodes/flymake.el (flymake-warning-predicate): New.
17233 (flymake-parse-line): Use it.
17234 (flymake-warning-re): Make obsolete alias to
17235 `flymake-warning-predicate'.
17236
17237 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17238
17239 * emacs-lisp/package.el (package-alist): Include obsolete packages.
17240 (package-obsolete-list): Remove.
17241 (package-activate): Remove min-version argument. Add `force' argument.
17242 Adjust to new package-alist format.
17243 (package-mark-obsolete): Remove.
17244 (package-unpack): Force reload of the package's autoloads.
17245 (package-installed-p): Check builtins if the installed package is not
17246 recent enough.
17247 (package-initialize): Don't reset package-obsolete-list.
17248 Don't specify which package version to activate.
17249 (package-process-define-package, describe-package-1)
17250 (package-menu--generate): Adjust to new package-alist format.
17251
17252 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17253
17254 * allout-widgets.el (allout-widgets-mode-off)
17255 (allout-widgets-mode-on, allout-widgets-pre-command-business)
17256 (allout-widgets-post-command-business)
17257 (allout-widgets-after-copy-or-kill-function)
17258 (allout-widgets-after-undo-function, allout-test-range-overlaps)
17259 (allout-decorate-item-and-context)
17260 (allout-graphics-modification-handler): Fix typos in docstrings.
17261 (allout-get-or-create-parent-widget): Use `looking-at-p'.
17262
17263 * cmuscheme.el (scheme-start-file): Doc fix.
17264 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
17265 (scheme-input-filter): Use `string-match-p'.
17266
17267 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
17268
17269 * dired-x.el: Use Dired consistently in docstrings.
17270
17271 * dired.el: Use Dired consistently in docstrings.
17272 (dired-readin, dired-mode): Use `setq-local'.
17273 (dired-switches-alist): Make defvar-local.
17274 (dired-buffers-for-dir): Use `zerop'.
17275 (dired-safe-switches-p, dired-switches-escape-p)
17276 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
17277 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
17278 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
17279 (dired-goto-next-nontrivial-file): Use `string-match-p'.
17280 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
17281 (dired-toggle-marks, dired-mark-files-containing-regexp)
17282 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
17283 (dired-flag-auto-save-files, dired-flag-backup-files):
17284 Use `looking-at-p'.
17285 (dired-mark-files-regexp, dired-build-subdir-alist):
17286 Use `string-match-p', `looking-at-p'.
17287
17288 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
17289 (direct-print-region-helper): Use `string-match-p'.
17290
17291 2013-06-21 Leo Liu <sdl.web@gmail.com>
17292
17293 * comint.el (comint-redirect-results-list-from-process):
17294 Fix infinite loop.
17295
17296 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17297
17298 * net/eww.el (eww-update-header-line-format): Quote % characters.
17299
17300 2013-06-21 Glenn Morris <rgm@gnu.org>
17301
17302 * play/cookie1.el (cookie): New custom group.
17303 (cookie-file): New option.
17304 (cookie-check-file): New function.
17305 (cookie): Make it interactive. Make start and end messages optional.
17306 Interactively, display the result. Default to cookie-file.
17307 (cookie-insert): Default to cookie-file.
17308 (cookie-snarf): Make start and end messages optional.
17309 Default to cookie-file. Use with-temp-buffer.
17310 (cookie-read): Rename from read-cookie.
17311 Make start and end messages optional. Default to cookie-file.
17312 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
17313 Do not autoload it.
17314 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
17315 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
17316
17317 2013-06-21 Leo Liu <sdl.web@gmail.com>
17318
17319 * progmodes/octave.el (octave-mode): Backward compatibility fix.
17320
17321 2013-06-21 Glenn Morris <rgm@gnu.org>
17322
17323 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
17324
17325 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17326 Daniel Hackney <dan@haxney.org>
17327
17328 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
17329 Consolidate the single-file vs tarball code.
17330 (package-desc-suffix): New function.
17331 (package-desc-full-name): Don't bother inlining it.
17332 (package-load-descriptor): Return the new package-desc.
17333 (package-mark-obsolete): Remove unused arg `package'.
17334 (package-unpack): Make it work for single files as well.
17335 Make it update package-alist.
17336 (package--make-autoloads-and-stuff): Rename from
17337 package--make-autoloads-and-compile. Don't compile any more.
17338 (package--compile): New function.
17339 (package-generate-description-file): New function, extracted from
17340 package-unpack-single.
17341 (package-unpack-single): Remove.
17342 (package--with-work-buffer): Add indentation and debugging info.
17343 (package-download-single): Remove.
17344 (package-install-from-archive): Rename from package-download-tar, make
17345 it take a pkg-desc, and make it work for single files as well.
17346 (package-download-transaction): Simplify.
17347 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
17348 external tar program.
17349 (package-install-from-buffer): Remove `pkg-desc' argument.
17350 Use package-tar-file-info for tar-mode buffers.
17351 (package-install-file): Simplify accordingly.
17352 (package-archive-base): Change to take a pkg-desc.
17353 * tar-mode.el (tar--check-descriptor): New function, extracted from
17354 tar-get-descriptor.
17355 (tar-get-descriptor): Use it.
17356 (tar-get-file-descriptor): New function.
17357 (tar--extract): New function, extracted from tar-extract.
17358 (tar--extract): Use it.
17359 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
17360 case the summary uses non-ascii. Adjust to new calling convention of
17361 package-tar-file-info.
17362
17363 2013-06-21 Leo Liu <sdl.web@gmail.com>
17364
17365 * comint.el (comint-redirect-results-list-from-process):
17366 Fix random delay. (Bug#14681)
17367
17368 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17369
17370 * profiler.el (profiler-format-number): Use log, not log10.
17371
17372 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17373
17374 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
17375
17376 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17377
17378 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
17379 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
17380 yet available.
17381 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
17382 (AUTOGENEL): ... here.
17383 * emacs-lisp/cl-macs.el (cl--sublis): New function.
17384 (cl--defsubst-expand): Use it.
17385
17386 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
17387
17388 * subr.el (log10): Move here from C code, and declare as obsolete.
17389 All uses of (log10 X) replaced with (log X 10).
17390
17391 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17392
17393 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
17394 Declare with `defvar-local'.
17395 (tabulated-list-use-header-line, tabulated-list-entries)
17396 (tabulated-list-padding, tabulated-list-printer)
17397 (tabulated-list-sort-key): Declare with `defvar-local'.
17398 (tabulated-list-init-header, tabulated-list-print-fake-header):
17399 Use `setq-local'.
17400
17401 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
17402
17403 * arc-mode.el (archive-mode): Add `archive-write-file' to
17404 `write-contents-functions' also for remote files. (Bug#14652)
17405
17406 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17407
17408 * cus-edit.el (custom-commands): Fix typos.
17409 (custom-display): Fix tooltip text.
17410 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
17411 Fix typos in docstrings.
17412 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
17413 (custom-unlispify-menu-entry, custom-magic-value-create)
17414 (custom-add-see-also, custom-group-value-create): Use ?\s.
17415 (custom-guess-type, customize-apropos, editable-field)
17416 (custom-face-value-create): Use `string-match-p'.
17417 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
17418
17419 * custom.el (custom-load-symbol): Use `string-match-p'.
17420
17421 * ansi-color.el: Convert to lexical binding.
17422 (ansi-colors): Fix URL.
17423 (ansi-color-context, ansi-color-context-region): Use defvar-local.
17424 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
17425 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
17426
17427 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17428
17429 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
17430
17431 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
17432
17433 2013-06-19 Tom Tromey <tromey@redhat.com>
17434
17435 * net/eww.el (eww-top-url): Remove.
17436 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
17437 (eww-render): Set new variables. Don't set eww-top-url.
17438 (eww-handle-link): Handle "prev", "home", and "contents".
17439 Downcase the rel text.
17440 (eww-top-url): Choose best top URL.
17441
17442 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17443
17444 * net/eww.el: Rewrite to implement form elements "by hand" instead of
17445 relying in widget.el. Using widget.el leads to too many
17446 user interface inconsistencies.
17447 (eww-self-insert): Implement entering commands in text fields.
17448 (eww-process-text-input): New function to make text input field editing
17449 work.
17450 (eww-submit): Rewrite to use the new-style form methods.
17451 (eww-select-display): Display the correct selected item.
17452 (eww-change-select): Implement changing the select value.
17453 (eww-toggle-checkbox): Implement radio/checkboxes.
17454 (eww-update-field): Fix compilation error.
17455 (eww-tag-textarea): Implement <textarea>.
17456
17457 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
17458 we don't shadow mode-specific bindings.
17459
17460 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
17461 nothing to push.
17462
17463 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
17464
17465 2013-06-19 Glenn Morris <rgm@gnu.org>
17466
17467 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
17468
17469 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17470
17471 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
17472 not needed.
17473
17474 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
17475
17476 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17477
17478 * net/browse-url.el (browse-url-browser-function):
17479 `eww-browse-url' has the right calling signature, `eww' does not.
17480
17481 2013-06-19 Glenn Morris <rgm@gnu.org>
17482
17483 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17484 Only eval autoloaded macros.
17485 (byte-compile-autoload): Only give the macro warning for macros.
17486
17487 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
17488 (ps-underlined-faces): Declare.
17489
17490 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
17491 (speedbar-add-supported-extension): Declare.
17492
17493 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
17494 Don't include a date stamp in the header of the generated file;
17495 it leads to needless differences between output files.
17496
17497 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17498
17499 * net/secrets.el (secrets-struct-secret-content-type):
17500 Replace check of introspection data by a test call of "CreateItem".
17501 Some servers do not offer introspection.
17502
17503 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
17504
17505 * electric.el (electric-pair-mode): Improve interaction with
17506 electric-layout-mode.
17507 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
17508 (electric-pair-syntax): Use text-mode-syntax-table in comments
17509 and strings.
17510 (electric-pair--insert): New function.
17511 (electric-pair-post-self-insert-function): Use it and
17512 electric--after-char-pos.
17513
17514 2013-06-19 Leo Liu <sdl.web@gmail.com>
17515
17516 * progmodes/octave.el (octave-help): Fix regexp.
17517
17518 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17519
17520 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
17521 (shr-table-horizontal-line): Allow nil as a value, and change the
17522 default.
17523 (shr-insert-table-ruler): Respect the nil value.
17524
17525 2013-06-18 Tom Tromey <tromey@barimba>
17526
17527 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17528 New defvars.
17529 (eww-open-file): New defun.
17530 (eww-render): Initialize new variables.
17531 (eww-display-html): Handle "link" and "a".
17532 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
17533 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
17534 (eww-back-url): Rename from eww-previous-url.
17535 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17536 New defuns.
17537
17538 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
17539
17540 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
17541 Distinguish ternary operator tokens from slash symbol and slash
17542 char literal.
17543
17544 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17545
17546 Convert symbol prettification into minor mode and global minor mode.
17547
17548 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
17549 `prog-prettify-symbols', and make a local defvar instead of defcustom.
17550 (prettify-symbols--keywords): Rename from
17551 `prog-prettify-symbols-alist' and make a local defvar.
17552 (prettify-symbols--compose-symbol): Rename from
17553 `prog--prettify-font-lock-compose-symbol'.
17554 (prettify-symbols--make-keywords): Rename from
17555 `prog-prettify-font-lock-symbols-keywords' and simplify.
17556 (prog-prettify-install): Remove.
17557 (prettify-symbols-mode): New minor mode, based on
17558 `prog-prettify-install'.
17559 (turn-on-prettify-symbols-mode): New function.
17560 (global-prettify-symbols-mode): New globalized minor mode.
17561
17562 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
17563 * progmodes/cfengine.el (cfengine3-mode):
17564 * progmodes/perl-mode.el (perl-mode): Don't call
17565 `prog-prettify-install'; set `prettify-symbols-alist' instead.
17566
17567 2013-06-18 Juri Linkov <juri@jurta.org>
17568
17569 * files-x.el (modify-file-local-variable-message): New function.
17570 (modify-file-local-variable)
17571 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
17572 and call `modify-file-local-variable-message' when it's non-nil.
17573 (add-file-local-variable, delete-file-local-variable)
17574 (add-file-local-variable-prop-line)
17575 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
17576 and use it. (Bug#9820)
17577
17578 2013-06-18 Juri Linkov <juri@jurta.org>
17579
17580 * emulation/vi.el (vi-shell-op):
17581 * emulation/vip.el (vip-execute-com, ex-command):
17582 * emulation/viper-cmd.el (viper-exec-bang):
17583 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
17584 the call of `shell-command-on-region'. (Bug#14637)
17585
17586 * simple.el (shell-command-on-region): Doc fix.
17587
17588 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17589
17590 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
17591 (bug#14633).
17592
17593 2013-06-18 Glenn Morris <rgm@gnu.org>
17594
17595 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
17596
17597 * newcomment.el (comment-search-forward, comment-search-backward):
17598 Doc fix. (Bug#14376)
17599
17600 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17601
17602 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
17603 (buffer-face-mode-invoke): Doc fix.
17604
17605 2013-06-18 Matthias Meulien <orontee@gmail.com>
17606
17607 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
17608 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
17609
17610 2013-06-18 Glenn Morris <rgm@gnu.org>
17611
17612 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
17613 Replace obsolete function generic-make-keywords with its expansion.
17614
17615 * progmodes/python.el (ffap-alist): Declare.
17616
17617 * textmodes/reftex.el (bibtex-mode-map): Declare.
17618
17619 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17620
17621 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
17622 (package-unpack, package-unpack-single): Return the pkg-dir.
17623 (package-download-transaction): Use it to update package-alist.
17624
17625 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17626
17627 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
17628 possible choice.
17629
17630 2013-06-17 Juri Linkov <juri@jurta.org>
17631
17632 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
17633
17634 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17635
17636 * emacs-lisp/package.el (package-load-descriptor):
17637 Remove `with-syntax-table' call, `read' doesn't need it.
17638 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
17639
17640 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17641
17642 * startup.el (command-line): Expand package name returned by
17643 `package--description-file' (bug#14639).
17644
17645 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17646
17647 * emacs-lisp/package.el (package-load-descriptor): Do not call
17648 `emacs-lisp-mode', just use its syntax table.
17649
17650 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17651
17652 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
17653 `font-lock-extra-managed-props' if any prettifying keyword is added.
17654 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
17655 (prog-mode): Use `setq-local'.
17656
17657 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17658
17659 * international/characters.el (standard-case-table): Set syntax of ?»
17660 and ?« to punctuation.
17661
17662 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
17663
17664 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
17665 Save relevant match data before calling `syntax-ppss' (bug#14595).
17666
17667 2013-06-15 Juri Linkov <juri@jurta.org>
17668
17669 * files-x.el (modify-file-local-variable-prop-line): Add local
17670 variables to the end of the existing comment on the first line.
17671 Use `file-auto-mode-skip' to skip interpreter magic line,
17672 and also skip XML declaration.
17673
17674 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17675
17676 * startup.el (package--builtin-versions): New var.
17677 (package-subdirectory-regexp): Remove.
17678 (package--description-file): Hard code its value instead.
17679
17680 * emacs-lisp/package.el: Don't activate packages older than builtin.
17681 (package-obsolete-list): Rename from package-obsolete-alist, and make
17682 it into a simple list of package-desc.
17683 (package-strip-version): Remove.
17684 (package-built-in-p): Use package--builtin-versions.
17685 (package-mark-obsolete): Simplify.
17686 (package-process-define-package): Mark it obsolete if older than the
17687 builtin version.
17688 (package-handle-response): Use line-end-position.
17689 (package-read-archive-contents, package--download-one-archive):
17690 Simplify.
17691 (package--add-to-archive-contents): Skip if older than the builtin or
17692 installed version.
17693 (package-menu-describe-package): Fix last change.
17694 (package-list-unversioned): New var.
17695 (package-menu--generate): Use it.
17696
17697 * emacs-lisp/autoload.el: Manage package--builtin-versions.
17698 (autoload--insert-text, autoload--insert-cookie-text): New functions.
17699 (autoload-builtin-package-versions): New variable.
17700 (autoload-generate-file-autoloads): Use them.
17701 Remove the list of autoloaded functions/macros from the
17702 (autoload...) comments.
17703
17704 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
17705
17706 2013-06-15 Eli Zaretskii <eliz@gnu.org>
17707
17708 * simple.el (line-move-partial): Don't jump to the next screen
17709 line as soon as it becomes visible. Instead, continue enlarging
17710 the vscroll until the portion of a tall screen line that's left on
17711 display is about the height of the frame's default font.
17712 (Bug#14567)
17713
17714 2013-06-15 Glenn Morris <rgm@gnu.org>
17715
17716 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
17717 compilation-error-regexp-alist void, or local while let-bound.
17718
17719 * progmodes/make-mode.el (makefile-mode-syntax-table):
17720 Treat "=" as punctuation. (Bug#14614)
17721
17722 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
17723
17724 * help-fns.el (describe-variable):
17725 Add extra line for permanent-local variables.
17726
17727 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
17728
17729 * progmodes/scheme.el (scheme-font-lock-keywords-2):
17730 Add export, import, library. (Bug#9164)
17731 (library): Set indent function.
17732
17733 2013-06-14 Glenn Morris <rgm@gnu.org>
17734
17735 * term/xterm.el (xterm--query):
17736 Stop after first matching handler. (Bug#14615)
17737
17738 2013-06-14 Ivan Kanis <ivan@kanis.fr>
17739
17740 Add support for dired in saveplace.
17741 * dired.el (dired-initial-position-hook): New variable.
17742 (dired-initial-position): Call hook to place cursor position.
17743 * saveplace.el (save-place-to-alist): Add dired position.
17744 (save-place-dired-hook): New function.
17745
17746 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
17747
17748 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
17749 through a symbol rather than letrec.
17750
17751 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
17752 (package-desc): Add `dir' field.
17753 (package-desc-full-name): New function.
17754 (package-load-descriptor): Combine the two arguments. Don't use `load'.
17755 (package-maybe-load-descriptor): Remove.
17756 (package-load-all-descriptors): Just call package-load-descriptor.
17757 (package--disabled-p): New function.
17758 (package-desc-vers, package-desc-doc): Remove aliases.
17759 (package--dir): Remove function.
17760 (package-activate): Check if a package is disabled.
17761 (package-process-define-package): New function, extracted from
17762 define-package.
17763 (define-package): Turn into a place holder.
17764 (package-unpack-single, package-tar-file-info):
17765 Use package--description-file.
17766 (package-compute-transaction): Use package--disabled-p.
17767 (package-download-transaction): Don't call
17768 package-maybe-load-descriptor since they're all loaded anyway.
17769 (package-install): Change argument to be a pkg-desc.
17770 (package-delete): Use a single pkg-desc argument.
17771 (describe-package-1): Use package-desc-dir instead of package--dir.
17772 Use package-desc property instead of package-symbol.
17773 (package-install-button-action): Adjust accordingly.
17774 (package--push): Rewrite.
17775 (package-menu--print-info): Adjust accordingly. Change the ID format
17776 to be a pkg-desc.
17777 (package-menu-describe-package, package-menu-get-status)
17778 (package-menu--find-upgrades, package-menu-mark-upgrades)
17779 (package-menu-execute, package-menu--name-predicate):
17780 Adjust accordingly.
17781 * startup.el (package--description-file): New function.
17782 (command-line): Use it.
17783 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17784 Use package-desc-version.
17785
17786 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
17787 (byte-compile-preprocess): Use it.
17788 (byte-compile-file-form-defalias): Try a bit harder to use macros we
17789 can't quite recognize.
17790 (byte-compile-add-to-list): Remove.
17791 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
17792 (cconv-closure-convert): Add assertion.
17793
17794 * emacs-lisp/map-ynp.el: Use lexical-binding.
17795 (map-y-or-n-p): Remove unused vars `tail' and `object'.
17796 Factor out some repeated code.
17797
17798 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
17799
17800 * subr.el (with-eval-after-load): New macro.
17801 (eval-after-load): Allow form to be a function.
17802 take advantage of lexical-binding.
17803 (do-after-load-evaluation): Use dolist and adjust to new format.
17804 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
17805
17806 2013-06-13 Juri Linkov <juri@jurta.org>
17807
17808 * replace.el (perform-replace): Display "symbol " and other search
17809 modes from `isearch-message-prefix' in the *Help* buffer.
17810
17811 * isearch.el (isearch-query-replace): Add " symbol" and other
17812 possible search modes from `isearch-message-prefix' to the prompt.
17813 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
17814 when reading a regexp to collect.
17815
17816 2013-06-13 Juri Linkov <juri@jurta.org>
17817
17818 * isearch.el (word-search-regexp): Match whitespace if the search
17819 string begins or ends in whitespace. The LAX arg is applied to
17820 both ends of the search string. Use `regexp-quote' and explicit
17821 \< and \> instead of \b. Use \` and \' instead of ^ and $.
17822 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
17823 boundaries are replaced with symbol boundaries, and characters
17824 between symbols match non-word non-symbol syntax. (Bug#14602)
17825
17826 2013-06-13 Juri Linkov <juri@jurta.org>
17827
17828 * isearch.el (isearch-del-char): Don't exceed the length of
17829 `isearch-string' by the prefix arg. (Bug#14563)
17830
17831 2013-06-13 Juri Linkov <juri@jurta.org>
17832
17833 * isearch.el (isearch-yank-word, isearch-yank-line)
17834 (isearch-char-by-name, isearch-quote-char)
17835 (isearch-printing-char, isearch-process-search-char):
17836 Add optional count prefix arg. (Bug#14563)
17837
17838 * international/isearch-x.el
17839 (isearch-process-search-multibyte-characters):
17840 Add optional count prefix arg.
17841
17842 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
17843
17844 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
17845 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
17846 lexical-binding.
17847
17848 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
17849
17850 * subr.el (set-temporary-overlay-map): Add on-exit argument.
17851
17852 2013-06-13 Glenn Morris <rgm@gnu.org>
17853
17854 * startup.el (tty-handle-args):
17855 Don't just discard "--" and anything after. (Bug#14608)
17856
17857 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
17858
17859 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
17860
17861 Implement changes in Secret Service API. Make it backward compatible.
17862 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
17863 (secrets-create-item): Use it. Prefix properties with interface.
17864
17865 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
17866
17867 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
17868 (term-emulate-terminal): Respect term-suppress-hard-newline.
17869
17870 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
17871
17872 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
17873 Only remove a `thumb-file' overlay. (Bug#14548)
17874
17875 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
17876
17877 * mail/reporter.el (reporter-submit-bug-report):
17878 Handle missing package-name. (Bug#14600)
17879
17880 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17881
17882 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
17883 (reftex-citation-prompt, reftex-default-bibliography)
17884 (reftex-bib-or-thebib, reftex-get-bibfile-list)
17885 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
17886 (reftex-bib-sort-author, reftex-bib-sort-year)
17887 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
17888 (reftex-extract-bib-entries-from-thebibliography)
17889 (reftex-get-bibkey-default, reftex-get-bib-names)
17890 (reftex-parse-bibtex-entry, reftex-get-bib-field)
17891 (reftex-format-bib-entry, reftex-parse-bibitem)
17892 (reftex-format-bibitem, reftex-do-citation)
17893 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
17894 (reftex-restrict-bib-matches, reftex-extract-bib-file)
17895 (reftex-insert-bib-matches, reftex-format-citation)
17896 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
17897 (reftex-create-bibtex-file): Add docstrings, mostly by converting
17898 existing comments into docstrings.
17899
17900 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
17901
17902 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
17903
17904 2013-06-12 Andreas Schwab <schwab@suse.de>
17905
17906 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
17907 for auto-save files.
17908
17909 2013-06-12 Glenn Morris <rgm@gnu.org>
17910
17911 * ido.el (ido-delete-ignored-files): Remove.
17912 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
17913 Go back to calling ido-ignore-item-p directly.
17914
17915 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
17916
17917 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
17918
17919 * ido.el (ido-delete-ignored-files): New function,
17920 split from ido-make-file-list-1.
17921 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
17922 (ido-make-file-list-1): Use ido-delete-ignored-files.
17923
17924 2013-06-12 Leo Liu <sdl.web@gmail.com>
17925
17926 * progmodes/octave.el (inferior-octave-startup)
17927 (inferior-octave-completion-table)
17928 (inferior-octave-track-window-width-change)
17929 (octave-eldoc-function-signatures, octave-help)
17930 (octave-find-definition): Use single quoted strings.
17931 (inferior-octave-startup-args): Change default value.
17932 (inferior-octave-startup): Do not hard code "-i" and
17933 "--no-line-editing".
17934 (inferior-octave-resync-dirs): Add optional arg NOERROR.
17935 (inferior-octave-directory-tracker): Use it.
17936 (octave-goto-function-definition): Robustify.
17937 (octave-help): Support highlighting operators in 'See also'.
17938 (octave-find-definition): Find subfunctions only in Octave mode.
17939
17940 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
17941
17942 * help-fns.el (help-fns--compiler-macro): If the handler function is
17943 named, then put a link to it.
17944 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
17945 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
17946 (cl-typep): Use it.
17947 (cl-eval-when): Simplify debug spec.
17948 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
17949 compiler-macro function instead of setting `compiler-macro-file'.
17950
17951 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
17952
17953 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
17954 * vc/vc-hooks.el (vc-stay-local): Doc fix.
17955
17956 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
17957 Daniel Hackney <dan@haxney.org>
17958
17959 First part of Daniel Hackney's patch to package.el.
17960 * emacs-lisp/package.el: Use defstruct.
17961 (package-desc): New, main struct.
17962 (package--bi-desc, package--ac-desc): New structs, used to describe the
17963 format in external files.
17964 (package-desc-vers): Replace with package-desc-version accessor.
17965 (package-desc-doc): Replace with package-desc-summary accessor.
17966 (package-activate-1): Remove `package' arg since the pkg-vec now
17967 includes the name.
17968 (define-package): Use package-desc-from-define.
17969 (package-unpack-single): Change file-name arg to be a symbol.
17970 (package--add-to-archive-contents): Use package-desc-create and new
17971 accessor functions to package--ac-desc.
17972 (package-buffer-info, package-tar-file-info): Return a package-desc.
17973 (package-install-from-buffer): Remove `type' argument. Change pkg-info
17974 arg to be a package-desc.
17975 (package-install-file): Adjust accordingly. Use \' to match EOS.
17976 (package--from-builtin): New function.
17977 (describe-package-1, package-menu--generate): Use it.
17978 (package--make-autoloads-and-compile): Change name arg to be a symbol.
17979 (package-generate-autoloads): Idem and return the name of the file.
17980 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17981 Change pkg-info arg to be a package-desc.
17982 Use package-make-ac-desc.
17983 (package-upload-file): Use \' to match EOS.
17984 * finder.el (finder-compile-keywords): Use package-make-builtin.
17985
17986 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
17987
17988 * vc/vc.el (vc-deduce-fileset): Change error message.
17989 (vc-read-backend): New function.
17990 (vc-next-action): Use it.
17991
17992 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
17993
17994 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
17995 (prolog-font-lock-keywords): Use regexp-opt instead.
17996 Don't manually highlight strings.
17997 (prolog-mode-variables): Simplify comment-start-skip.
17998 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
17999
18000 * emacs-lisp/generic.el (generic--normalise-comments)
18001 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
18002 (generic-mode-set-comments): Use them.
18003 (generic-bracket-support): Use setq-local.
18004 (generic-make-keywords-list): Declare obsolete.
18005
18006 2013-06-11 Glenn Morris <rgm@gnu.org>
18007
18008 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
18009 Prettify after setting font-lock-defaults. (Bug#14574)
18010
18011 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
18012
18013 * replace.el (query-replace, occur-read-regexp-defaults-function)
18014 (replace-search):
18015 * subr.el (declare-function, number-sequence, local-set-key)
18016 (substitute-key-definition, locate-user-emacs-file)
18017 (with-silent-modifications, split-string, eval-after-load):
18018 Fix typos, remove unneeded backslashes and reflow some docstrings.
18019
18020 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
18021
18022 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
18023 default for Elisp files.
18024
18025 2013-06-11 Glenn Morris <rgm@gnu.org>
18026
18027 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
18028 although define-derived-mode was doing this anyway. (Bug#14583)
18029
18030 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
18031
18032 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18033 Fix make-variable-buffer-local call to refer to the correct variable.
18034
18035 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
18036
18037 * eshell/em-term.el (eshell-visual-commands)
18038 (eshell-visual-subcommands, eshell-visual-options):
18039 Add summary line to docstrings. Add cross-references.
18040
18041 2013-06-10 Glenn Morris <rgm@gnu.org>
18042
18043 * epa.el (epa-read-file-name): New function. (Bug#14510)
18044 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
18045
18046 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
18047
18048 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
18049 output redirection to be ignored with visual commands.
18050
18051 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
18052
18053 * eshell/em-term.el (eshell-visual-command-p): New function.
18054 (eshell-term-initialize): Move long lambda to separate function
18055 eshell-visual-command-p.
18056 * eshell/em-dirs.el (eshell-dirs-initialize):
18057 * eshell/em-script.el (eshell-script-initialize):
18058 Add missing #' to lambda.
18059
18060 2013-06-08 Leo Liu <sdl.web@gmail.com>
18061
18062 * progmodes/octave.el (octave-add-log-current-defun): New function.
18063 (octave-mode): Set add-log-current-defun-function.
18064 (octave-goto-function-definition): Do not move point if not found.
18065 (octave-find-definition): Enhance to try subfunctions first.
18066
18067 2013-06-08 Glenn Morris <rgm@gnu.org>
18068
18069 * emacs-lisp/bytecomp.el (byte-compile-char-before)
18070 (byte-compile-backward-char, byte-compile-backward-word):
18071 Improve previous change, to handle non-explicit nil.
18072
18073 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
18074
18075 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
18076 (smie--opener/closer-at-point): New function.
18077 (smie--matching-block-data): Use it. Don't match from right after an
18078 opener or right before a closer. Obey smie-blink-matching-inners.
18079 Don't signal a mismatch for repeated inners like "switch..case..case".
18080
18081 2013-06-07 Leo Liu <sdl.web@gmail.com>
18082
18083 * progmodes/octave.el (octave-mode): Set comment-use-global-state
18084 to t. (Bug#14303)
18085 (octave-function-header-regexp): Fix. (Bug#14570)
18086 (octave-help-mode-finish-hook, octave-help-mode-finish):
18087 Remove. Just use temp-buffer-show-hook.
18088
18089 * newcomment.el (comment-search-backward): Revert last change.
18090 (Bug#14434)
18091
18092 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
18093
18094 2013-06-07 Eli Zaretskii <eliz@gnu.org>
18095
18096 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
18097 through xargs, to avoid failure due to MS-Windows limitations on
18098 command-line length.
18099
18100 2013-06-06 Glenn Morris <rgm@gnu.org>
18101
18102 * font-lock.el (lisp-font-lock-keywords-2):
18103 Treat user-error like error.
18104
18105 * emacs-lisp/bytecomp.el (byte-compile-char-before)
18106 (byte-compile-backward-char, byte-compile-backward-word):
18107 Handle explicit nil arguments. (Bug#14565)
18108
18109 2013-06-05 Alan Mackenzie <acm@muc.de>
18110
18111 * isearch.el (isearch-allow-prefix): New user option.
18112 (isearch-other-meta-char): Don't exit isearch when a prefix
18113 argument is typed whilst `isearch-allow-prefix' is non-nil.
18114 (Bug#9706)
18115
18116 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18117
18118 * autorevert.el (auto-revert-notify-handler): Use memq.
18119 Hide assertion failure.
18120
18121 * skeleton.el: Use cl-lib.
18122 (skeleton-further-elements): Use defvar-local.
18123 (skeleton-insert): Use cl-progv.
18124
18125 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18126
18127 * progmodes/prog-mode.el (prog-prettify-symbols)
18128 (prog-prettify-install): Update docstrings.
18129
18130 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18131
18132 * simple.el: Move all the prog-mode code to prog-mode.el.
18133 * progmodes/prog-mode.el: New file.
18134 * loadup.el: Add prog-mode.el.
18135
18136 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18137
18138 * simple.el (prog-prettify-symbols): Add version.
18139 (prog-prettify-install): Add convenience function to prettify symbols.
18140
18141 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
18142 (perl--augmented-font-lock-keywords-1)
18143 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
18144 variables and use it.
18145
18146 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18147 (cfengine3-mode): Remove unneeded variable and use it.
18148
18149 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18150 (lisp--augmented-font-lock-keywords-1)
18151 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
18152 Remove unneeded variables and use it.
18153
18154 2013-06-05 João Távora <joaotavora@gmail.com>
18155
18156 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
18157 to point when opening the connection. (Bug#14380)
18158
18159 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18160
18161 * subr.el (load-history-regexp, load-history-filename-element)
18162 (eval-after-load, after-load-functions, do-after-load-evaluation)
18163 (eval-next-after-load, display-delayed-warnings)
18164 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
18165 definition of save-match-data.
18166 (overriding-local-map): Remove accidental obsolescence declaration.
18167
18168 * emacs-lisp/edebug.el (edebug-result): Move before first use.
18169
18170 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18171
18172 Generalize symbol prettify support to prog-mode and implement it
18173 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
18174 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
18175 (prog--prettify-font-lock-compose-symbol)
18176 (prog-prettify-font-lock-symbols-keywords): New variables and
18177 functions to support symbol prettification.
18178 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18179 (lisp--augmented-font-lock-keywords-1)
18180 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
18181 (lisp--prettify-symbols-alist): Implement prettify of lambda.
18182 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18183 (cfengine3--prettify-symbols-alist, cfengine3-mode):
18184 Implement prettify of -> => :: strings.
18185 * progmodes/perl-mode.el (perl-prettify-symbols)
18186 (perl--font-lock-compose-symbol)
18187 (perl--font-lock-symbols-keywords): Move to prog-mode.
18188 (perl--prettify-symbols-alist): Prettify -> => :: strings.
18189 (perl-font-lock-keywords-1)
18190 (perl-font-lock-keywords-2): Remove explicit prettify support.
18191 (perl--augmented-font-lock-keywords)
18192 (perl--augmented-font-lock-keywords-1)
18193 (perl--augmented-font-lock-keywords-2, perl-mode):
18194 Implement prettify support.
18195
18196 2013-06-05 Leo Liu <sdl.web@gmail.com>
18197
18198 Re-implement SMIE matching block highlight using
18199 show-paren-data-function. (Bug#14395)
18200 * emacs-lisp/smie.el (smie-matching-block-highlight)
18201 (smie--highlight-matching-block-overlay)
18202 (smie--highlight-matching-block-lastpos)
18203 (smie-highlight-matching-block)
18204 (smie-highlight-matching-block-mode): Remove.
18205 (smie--matching-block-data-cache): New variable.
18206 (smie--matching-block-data): New function.
18207 (smie-setup): Use smie--matching-block-data for
18208 show-paren-data-function.
18209
18210 * progmodes/octave.el (octave-mode-menu): Fix.
18211 (octave-find-definition): Skip garbage lines.
18212
18213 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18214
18215 Fix compilation error with simultaneous dynamic+lexical scoping.
18216 Add warning when a defvar appears after the first let-binding.
18217 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
18218 (byte-compile-close-variables): Initialize it.
18219 (byte-compile--declare-var): New function.
18220 (byte-compile-file-form-defvar)
18221 (byte-compile-file-form-define-abbrev-table)
18222 (byte-compile-file-form-custom-declare-variable): Use it.
18223 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
18224 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
18225 (byte-compile-bind): Handle dynamic bindings that shadow
18226 lexical bindings.
18227 (byte-compile-unbind): Make arg non-optional.
18228 (byte-compile-let): Simplify.
18229 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
18230 (cconv--analyse-function, cconv-analyse-form): Populate it.
18231 Protect byte-compile-bound-variables to limit the scope of defvars.
18232 (cconv-analyse-form): Add missing rule for (defvar <foo>).
18233 Remove unneeded rule for `declare'.
18234
18235 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
18236 so as to avoid depending on cl-adjoin at run-time.
18237 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
18238
18239 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
18240 (macroexp--warn-and-return): Use it.
18241
18242 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18243
18244 * subr.el: Convert to lexical binding.
18245 (overriding-local-map): Make obsolete.
18246 (add-to-list): Doc fix. Add compiler macro.
18247 (read-key): Swap values of local maps.
18248
18249 2013-06-05 Leo Liu <sdl.web@gmail.com>
18250
18251 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
18252
18253 2013-06-04 Leo Liu <sdl.web@gmail.com>
18254
18255 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
18256 (compilation-auto-jump): Suppress the "Mark set" message to give
18257 way to exit message.
18258
18259 2013-06-04 Alan Mackenzie <acm@muc.de>
18260
18261 Remove faulty optimization from indentation calculation.
18262 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
18263 search limit based on 2000 characters back from indent-point.
18264
18265 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18266
18267 * eshell/em-term.el (cl-lib): Require `cl-lib'.
18268
18269 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
18270
18271 * emacs-lisp/lisp.el: Use lexical-binding.
18272 (lisp--local-variables-1, lisp--local-variables): New functions.
18273 (lisp--local-variables-completion-table): New var.
18274 (lisp-completion-at-point): Use it complete let-bound vars.
18275
18276 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
18277 eagerly (bug#14422).
18278
18279 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
18280
18281 * autorevert.el (auto-revert-notify-enabled)
18282 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18283 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
18284 (auto-revert-notify-handler): Handle also gfilenotify.
18285
18286 * subr.el (file-notify-handle-event): New defun. Replacing ...
18287 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
18288 Remove.
18289
18290 2013-06-03 Juri Linkov <juri@jurta.org>
18291
18292 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
18293 `M-s h .'. (Bug#14427)
18294
18295 * hi-lock.el (highlight-symbol-at-point): New alias for the new
18296 command `hi-lock-face-symbol-at-point'.
18297 (hi-lock-face-symbol-at-point): New command.
18298 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
18299 (hi-lock-menu): Add `highlight-symbol-at-point'.
18300 (hi-lock-mode): Doc fix.
18301
18302 * isearch.el (isearch-forward-symbol-at-point): New command.
18303 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
18304 (isearch-highlight-regexp): Add a regexp which matches
18305 words/symbols for word/symbol mode.
18306
18307 * subr.el (find-tag-default-bounds): New function with the body
18308 mostly moved from `find-tag-default'.
18309 (find-tag-default): Move most code to `find-tag-default-bounds',
18310 call it and apply `buffer-substring-no-properties' afterwards.
18311
18312 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18313
18314 * eshell/em-term.el (eshell-term-initialize):
18315 Use `cl-intersection' rather than `intersection'.
18316
18317 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
18318
18319 * vc/log-view.el: Doc fix.
18320 (log-view-mode-map): Copy keymap from `special-mode-map'.
18321
18322 2013-06-02 Eric Ludlam <zappo@gnu.org>
18323
18324 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
18325 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
18326 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
18327 (eieio-unbound, eieio-default-superclass)
18328 (eieio--define-field-accessors, method-static, method-before)
18329 (method-primary, method-after, method-num-lists)
18330 (method-generic-before, method-generic-primary)
18331 (method-generic-after, method-num-slots)
18332 (eieio-specialized-key-to-generic-key)
18333 (eieio--check-type, class-v, class-p)
18334 (eieio-class-name, define-obsolete-function-alias)
18335 (eieio-class-parents-fast, eieio-class-children-fast)
18336 (same-class-fast-p, class-constructor, generic-p)
18337 (generic-primary-only-p, generic-primary-only-one-p)
18338 (class-option-assoc, class-option, eieio-object-p)
18339 (class-abstract-p, class-method-invocation-order)
18340 (eieio-defclass-autoload-map, eieio-defclass-autoload)
18341 (eieio-class-un-autoload, eieio-defclass)
18342 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
18343 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
18344 (eieio--defgeneric-init-form, eieio-defgeneric-form)
18345 (eieio-defgeneric-reset-generic-form)
18346 (eieio-defgeneric-form-primary-only)
18347 (eieio-defgeneric-reset-generic-form-primary-only)
18348 (eieio-defgeneric-form-primary-only-one)
18349 (eieio-defgeneric-reset-generic-form-primary-only-one)
18350 (eieio-unbind-method-implementations)
18351 (eieio--defmethod, eieio--typep)
18352 (eieio-perform-slot-validation, eieio-validate-slot-value)
18353 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
18354 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
18355 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
18356 (eieio-slot-name-index, eieio-class-slot-name-index)
18357 (eieio-set-defaults, eieio-initarg-to-attribute)
18358 (eieio-attribute-to-initarg, eieio-c3-candidate)
18359 (eieio-c3-merge-lists, eieio-class-precedence-c3)
18360 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
18361 (eieio-class-precedence-list, eieio-generic-call-methodname)
18362 (eieio-generic-call-arglst, eieio-generic-call-key)
18363 (eieio-generic-call-next-method-list)
18364 (eieio-pre-method-execution-functions, eieio-generic-call)
18365 (eieio-generic-call-primary-only, eieiomt-method-list)
18366 (eieiomt-optimizing-obarray, eieiomt-install)
18367 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
18368 (eieio-generic-form, eieio-defmethod, make-obsolete)
18369 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
18370 (defclass): Remove `eval-and-compile' from macro.
18371 (call-next-method, shared-initialize): Instead of using
18372 `scoped-class' variable, use new eieio--scoped-class, and
18373 eieio--with-scoped-class.
18374 (initialize-instance): Rename local variable 'scoped-class' to
18375 'this-class' to remove ambiguitity from old global.
18376
18377 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
18378 eieio.el.
18379 (eieio--scoped-class-stack): New variable.
18380 (eieio--scoped-class): New fcn.
18381 (eieio--with-scoped-class): New scoping macro.
18382 (eieio-defclass): Use pushnew instead of add-to-list.
18383 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
18384 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
18385 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
18386 `scoped-class' variable, use new eieio--scoped-class, and
18387 eieio--with-scoped-class.
18388
18389 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
18390
18391 2013-06-02 Tassilo Horn <tsdh@gnu.org>
18392
18393 * eshell/esh-ext.el (eshell-external-command): Pass args to
18394 `eshell-find-interpreter'.
18395 (eshell-find-interpreter): Add new second parameter ARGS.
18396
18397 * eshell/em-script.el (eshell-script-initialize): Add second arg
18398 to the function added as MATCH to `eshell-interpreter-alist'.
18399
18400 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
18401 the function added as MATCH to `eshell-interpreter-alist'.
18402
18403 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
18404 (eshell-visual-options): New defcustom.
18405 (eshell-escape-control-x): Adapt docstring.
18406 (eshell-term-initialize): Test `eshell-visual-subcommands' and
18407 `eshell-visual-options' in addition to `eshell-visual-commands'.
18408 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
18409
18410 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
18411
18412 * progmodes/python.el (python-indent-block-enders): Add break,
18413 continue and raise keywords.
18414
18415 2013-06-01 Glenn Morris <rgm@gnu.org>
18416
18417 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
18418
18419 Plain (f)boundp silences compilation warnings since Emacs 22.1.
18420 * progmodes/cc-cmds.el (delete-forward-p):
18421 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
18422 * progmodes/cc-engine.el (buffer-syntactic-context):
18423 * progmodes/cc-fonts.el (face-property-instance):
18424 * progmodes/cc-mode.el (set-keymap-parents):
18425 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
18426 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
18427 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
18428 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
18429 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
18430
18431 * progmodes/cc-vars.el (other): Emacs has this widget since
18432 at least 21.1, so don't (re)define it.
18433
18434 * eshell/em-cmpl.el (eshell-cmpl-initialize):
18435 Replace the obsolete alias pcomplete-arg-quote-list.
18436
18437 2013-06-01 Leo Liu <sdl.web@gmail.com>
18438
18439 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
18440 punctuation syntax.
18441 (inferior-octave-minimal-columns)
18442 (inferior-octave-last-column-width): New variables.
18443 (inferior-octave-track-window-width-change): New function.
18444 (inferior-octave-mode): Adjust column width so that Octave output,
18445 for example from 'ls', can fit into the window nicely.
18446
18447 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18448
18449 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18450 Highlight expansions inside regexp literals.
18451
18452 2013-05-31 Glenn Morris <rgm@gnu.org>
18453
18454 * obsolete/sym-comp.el (symbol-complete):
18455 Replace obsolete completion-annotate-function.
18456
18457 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
18458
18459 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18460
18461 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18462 New function, checks if point is inside a literal that allows
18463 expression expansion.
18464 (ruby-syntax-propertize-expansion): Use it.
18465 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
18466 around the body.
18467
18468 2013-05-30 Juri Linkov <juri@jurta.org>
18469
18470 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
18471 to "\M-si".
18472 (isearch-invisible): New variable.
18473 (isearch-forward): Doc fix.
18474 (isearch-mode): Set `isearch-invisible'
18475 to the value of `search-invisible'.
18476 (isearch-toggle-case-fold): Doc fix.
18477 (isearch-toggle-invisible): New command.
18478 (isearch-query-replace): Let-bind `search-invisible'
18479 to the value of `isearch-invisible'.
18480 (isearch-search): Use `isearch-invisible' instead of
18481 `search-invisible'. Let-bind `search-invisible'
18482 to the value of `isearch-invisible'. (Bug#11378)
18483
18484 2013-05-30 Juri Linkov <juri@jurta.org>
18485
18486 * replace.el (perform-replace): Avoid `isearch-range-invisible'
18487 call when `query-flag' is nil and `search-invisible' is non-nil.
18488 (Bug#11746)
18489
18490 2013-05-30 Glenn Morris <rgm@gnu.org>
18491
18492 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
18493
18494 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
18495 (cc-require): Suppress spurious "noruntime" warnings.
18496 (cc-require-when-compile): Use fboundp, for sake of compiler.
18497
18498 * progmodes/cc-mode.el: Move load of cc-vars before that of
18499 cc-langs (which in turn loads cc-vars), to quieten compiler.
18500
18501 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18502
18503 * paren.el: Simplify the code.
18504 (show-paren-mode): Always start the timer.
18505 (show-paren--idle-timer): Rename from show-paren-idle-timer.
18506 (show-paren--overlay, show-paren--overlay-1): Rename from
18507 show-paren-overlay and show-paren-overlay-1, and initialize to an
18508 overlay rather than to nil.
18509 (show-paren-function): Misc cleanup and simplifications.
18510
18511 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18512
18513 * paren.el (show-paren-data-function): New hook.
18514 (show-paren--default): New function, extracted from show-paren-function.
18515 (show-paren-function): Use show-paren-data-function.
18516
18517 2013-05-30 Glenn Morris <rgm@gnu.org>
18518
18519 * ielm.el (ielm-map, ielm-complete-symbol):
18520 Use completion-at-point rather than obsolete functions.
18521 (inferior-emacs-lisp-mode): Doc fix.
18522 Set completion-at-point-functions, rather than
18523 comint-dynamic-complete-functions.
18524
18525 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
18526 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
18527 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
18528
18529 * image.el (image-animated-p): Tweak definition.
18530
18531 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
18532 (rlogin-process-connection-type): Tweak default. Add set-after.
18533 (rlogin-host): Doc fix.
18534 (rlogin): Tweak prompt.
18535 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
18536
18537 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
18538 * progmodes/tcl.el (inferior-tcl-mode-map):
18539 Use completion-at-point rather than obsolete alias.
18540
18541 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
18542
18543 * minibuffer.el (read-file-name-completion-ignore-case):
18544 Move before completion--in-region, for eager macro expansion.
18545
18546 2013-05-29 Juri Linkov <juri@jurta.org>
18547
18548 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
18549 for total count of matching lines. Add `global-matches' for total
18550 count of matches. Rename `matches' to `lines' for count of
18551 matching lines. Add `matches' for count of matches.
18552 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
18553 to `prev-line' for line number of prev match endpt.
18554 Increment `matches' for every match. Print the number of
18555 matching lines in the header.
18556 (occur-context-lines): Rename `lines' to `curr-line'.
18557 Rename `prev-lines' to `prev-line'. (Bug#14017)
18558
18559 2013-05-29 Juri Linkov <juri@jurta.org>
18560
18561 * replace.el (perform-replace): Add `skip-read-only-count',
18562 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
18563 Increment them for corresponding conditions and report the number
18564 of skipped occurrences in the final message. (Bug#11746)
18565 (query-replace, query-replace-regexp, query-replace-regexp-eval)
18566 (replace-string, replace-regexp): Doc fix.
18567
18568 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
18569
18570 * emacs-lisp/trace.el (trace--read-args): Provide a default.
18571
18572 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
18573 prog-mode-map (bug#14504).
18574
18575 2013-05-29 Leo Liu <sdl.web@gmail.com>
18576
18577 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
18578 (octave-help): Small simplification.
18579
18580 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
18581 off the highlight first.
18582
18583 2013-05-29 Glenn Morris <rgm@gnu.org>
18584
18585 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
18586 Handle idlwave-last-system-routine-info-cons-cell being nil.
18587
18588 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
18589 (idlwave-write-paths): Simplify via with-temp-buffer.
18590
18591 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
18592 * emulation/cua-rect.el: Also load cua-base at run time.
18593
18594 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
18595 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
18596 (cperl-imenu-on-info): Require imenu.
18597
18598 2013-05-28 Alan Mackenzie <acm@muc.de>
18599
18600 Handle "capitalised keywords" correctly.
18601 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
18602
18603 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
18604
18605 * eshell/em-unix.el: Add -r option to cp.
18606
18607 2013-05-28 Glenn Morris <rgm@gnu.org>
18608
18609 * vc/vc-arch.el (vc-exec-after): Declare.
18610 (vc-switches): Autoload.
18611 * vc/vc-bzr.el: No need to require vc when compiling.
18612 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
18613 (vc-resynch-buffer, vc-dir-refresh): Declare.
18614 (vc-setup-buffer, vc-switches): Autoload.
18615 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
18616 (vc-resynch-buffer): Declare.
18617 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
18618 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
18619 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
18620 (grep-read-regexp, grep-read-files, grep-expand-template)
18621 (vc-dir-refresh): Declare.
18622 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
18623 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
18624 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
18625 * vc/vc-mtn.el (vc-exec-after): Declare.
18626 (vc-switches): Autoload.
18627 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
18628 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
18629 (vc-file-tree-walk): Declare.
18630 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
18631 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
18632 (vc-tag-precondition, vc-rename-master): Autoload.
18633 * vc/vc-svn.el (vc-exec-after): Declare.
18634 (vc-switches, vc-setup-buffer): Autoload.
18635 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
18636 Autoload.
18637 (vc-resynch-buffer): Declare.
18638
18639 * obsolete/fast-lock.el (byte-compile-warnings):
18640 Don't warn about obsolete features in this obsolete file.
18641
18642 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
18643 Move definition before use.
18644
18645 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
18646 (dun-unix-verbs): Remove dun-zippy.
18647 (dun-zippy): Remove function.
18648
18649 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
18650
18651 2013-05-27 Juri Linkov <juri@jurta.org>
18652
18653 * replace.el (replace-search): New function with code moved out
18654 from `perform-replace'.
18655 (replace-highlight, replace-dehighlight): Move function definitions
18656 up closer to `replace-search'. (Bug#11746)
18657
18658 2013-05-27 Juri Linkov <juri@jurta.org>
18659
18660 * replace.el (perform-replace): Ignore invisible matches.
18661 In addition to checking `query-replace-skip-read-only', also
18662 filter out matches by calling `run-hook-with-args-until-failure'
18663 on `isearch-filter-predicates', and also check `search-invisible'
18664 for t or call `isearch-range-invisible'.
18665 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
18666
18667 2013-05-27 Juri Linkov <juri@jurta.org>
18668
18669 * isearch.el (isearch-filter-predicates): Rename from
18670 `isearch-filter-predicate'. Doc fix. (Bug#11378)
18671 (isearch-message-prefix): Display text from the property
18672 `isearch-message-prefix' of the currently active filters.
18673 (isearch-search): Don't compare `isearch-filter-predicate' with
18674 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
18675 on `isearch-filter-predicates'. Also check `search-invisible' for t
18676 or call `isearch-range-invisible'.
18677 (isearch-filter-visible): Make obsolete.
18678 (isearch-lazy-highlight-search):
18679 Call `run-hook-with-args-until-failure' on
18680 `isearch-filter-predicates' and use `isearch-range-invisible'.
18681
18682 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
18683 `isearch-filter-predicates' instead of `funcall'ing
18684 `isearch-filter-predicate'.
18685 (Info-mode): Set `Info-isearch-filter' to
18686 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
18687
18688 * dired-aux.el (dired-isearch-filter-predicate-orig):
18689 Remove variable.
18690 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
18691 (dired-isearch-filenames-end): Add and remove
18692 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
18693 instead of changing the value of `isearch-filter-predicate'.
18694 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
18695 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
18696 Put property `isearch-message-prefix' to "filename " on
18697 `dired-isearch-filter-filenames'.
18698
18699 * wdired.el (wdired-change-to-wdired-mode):
18700 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
18701 locally instead of changing `isearch-filter-predicate'.
18702 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
18703
18704 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
18705
18706 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
18707 return the commit hash (Bug#14459). Also set the
18708 `vc-git-detached' property.
18709 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
18710 (vc-git-mode-line-string): Use the same help-echo format whether
18711 in detached mode or not, because we know the actual revision now.
18712 When in detached mode, shorten the revision to 7 chars.
18713
18714 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
18715
18716 * emacs-lisp/easy-mmode.el (define-minor-mode):
18717 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
18718 mode hook and provide a docstring.
18719
18720 2013-05-27 Alan Mackenzie <acm@muc.de>
18721
18722 Remove spurious syntax-table text properties inserted by C-y.
18723 * progmodes/cc-mode.el (c-after-change): Also clear hard
18724 syntax-table property with value nil.
18725
18726 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
18727
18728 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
18729 when reading the events; the buffer layout shall not be changed.
18730
18731 2013-05-27 Leo Liu <sdl.web@gmail.com>
18732
18733 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
18734 New variable.
18735 (inferior-octave-directory-tracker): Automatically re-sync
18736 default-directory.
18737 (octave-help): Improve handling of 'See also'.
18738
18739 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
18740
18741 * doc-view.el: Minor naming convention tweaks.
18742 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
18743
18744 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
18745 even if there's no `display' property yet (bug#14435).
18746
18747 2013-05-25 Eli Zaretskii <eliz@gnu.org>
18748
18749 * subr.el (unmsys--file-name): Rename from reveal-filename.
18750
18751 * Makefile.in (custom-deps, finder-data, autoloads)
18752 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
18753 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
18754 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
18755
18756 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
18757
18758 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
18759 error-completion on the first 2 args of condition-case (bug#14446).
18760 Don't burp at EOB.
18761
18762 2013-05-25 Leo Liu <sdl.web@gmail.com>
18763
18764 * comint.el (comint-previous-matching-input): Do not flood the
18765 *Messages* buffer with trivial messages.
18766
18767 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
18768
18769 * progmodes/flymake.el (flymake-nop): Don't return a string.
18770 (flymake-set-at): Fix typo.
18771
18772 * simple.el (read--expression): New function, extracted from
18773 eval-expression. Set completion-at-point-functions (bug#14465).
18774 (eval-expression, eval-minibuffer): Use it.
18775
18776 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
18777
18778 * progmodes/flymake.el (flymake-save-buffer-in-file)
18779 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
18780 (flymake-selected-frame, flymake-log, flymake-ins-after)
18781 (flymake-set-at, flymake-get-buildfile-from-cache)
18782 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
18783 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
18784 Refine the doc string.
18785 (flymake-get-file-name-mode-and-masks): Reformat.
18786 (flymake-get-real-file-name-function): Fix a minor bug.
18787
18788 2013-05-24 Juri Linkov <juri@jurta.org>
18789
18790 * progmodes/grep.el (grep-mode-font-lock-keywords):
18791 Support =linenumber= format used by git-grep for lines with
18792 function names. (Bug#13549)
18793
18794 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18795
18796 * progmodes/octave.el (octave-smie-rules): Return nil rather than
18797 0 after a semi-colon; it works better for smie-auto-fill.
18798 (octave--indent-new-comment-line): New function.
18799 (octave-indent-new-comment-line): Use it (indirectly).
18800 (octave-mode): Don't disable smie-auto-fill. Use add-function to
18801 modify comment-line-break-function.
18802
18803 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
18804 (smie-setup): Use add-function to set it.
18805
18806 2013-05-24 Sam Steingold <sds@gnu.org>
18807
18808 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
18809 argument (before the `interactive' argument).
18810
18811 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18812
18813 * image-mode.el (image-mode-winprops): Add winprops to
18814 image-mode-winprops-alist before running
18815 image-mode-new-window-functions.
18816 * doc-view.el (doc-view-new-window-function): Don't delay
18817 doc-view-goto-page via timers (bug#14435).
18818
18819 2013-05-24 Tassilo Horn <tsdh@gnu.org>
18820
18821 * doc-view.el: Integrate with desktop.el. (Bug#14435)
18822 (doc-view-desktop-save-buffer): New function.
18823 (doc-view-restore-desktop-buffer): New function.
18824 (desktop-buffer-mode-handlers):
18825 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
18826 handler.
18827 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
18828 `desktop-save-buffer' function.
18829
18830 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
18831
18832 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
18833 (tramp-gvfs-file-name-handler): Raise a user error when
18834 `tramp-gvfs-enabled' is nil.
18835 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
18836 Do not raise a user error when loading package. (Bug#14447)
18837
18838 * net/xesam.el: Move to obsolete/.
18839
18840 2013-05-24 Glenn Morris <rgm@gnu.org>
18841
18842 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
18843
18844 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
18845
18846 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
18847 (Info-find-node, Man-getpage-in-background): Declare.
18848
18849 * mail/unrmail.el (unrmail):
18850 Replace obsolete detect-coding-with-priority.
18851
18852 * net/socks.el (socks-split-string): Use this rather than split-string.
18853 (socks-nslookup-host): Update for above change.
18854 (dynamic-choice, s5-dynamic-choice-match)
18855 (s5-dynamic-choice-match-inline, s5-widget-value-create):
18856 Comment out unused code.
18857
18858 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
18859 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
18860 (gud-tooltip-echo-area): Make obsolete.
18861 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
18862
18863 * progmodes/js.el (js--optimize-arglist): Declare.
18864
18865 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
18866
18867 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
18868 (ediff-window-C): Declare.
18869
18870 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
18871 Tweak requires to silence compiler.
18872
18873 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
18874 (he-search-string, he-tried-table, he-expand-list)
18875 (he-init-string, he-string-member, he-substitute-string)
18876 (he-reset-string): Declare.
18877
18878 * obsolete/options.el (list-options): Use custom-variable-p,
18879 rather than obsolete alias.
18880
18881 2013-05-23 Sam Steingold <sds@gnu.org>
18882
18883 * simple.el (shell-command-on-region): Pass the `replace' argument
18884 down to `call-process-region' to comply with the doc as reported on
18885 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
18886
18887 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18888
18889 * emacs-lisp/smie.el (smie-indent-forward-token)
18890 (smie-indent-backward-token): Handle string tokens (bug#14381).
18891
18892 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18893
18894 * ielm.el (ielm-menu): New menu.
18895 (inferior-emacs-lisp-mode): Set comment-start.
18896
18897 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18898
18899 * textmodes/reftex.el (reftex-ref-style-toggle):
18900 Fix deactivate action.
18901
18902 * textmodes/reftex-vars.el (reftex-ref-style-alist):
18903 Add cleveref macros.
18904
18905 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
18906 Accept options for bibliography commands.
18907 * textmodes/reftex-vars.el (reftex-bibliography-commands):
18908 Add addbibresource. Basic Biblatex support.
18909
18910 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
18911
18912 * net/tramp-gvfs.el (top):
18913 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
18914 when loading package. (Bug#14447)
18915
18916 2013-05-23 Glenn Morris <rgm@gnu.org>
18917
18918 * progmodes/js.el: No need to load comint when compiling.
18919 (ring-insert, comint-send-string, comint-send-input)
18920 (comint-last-input-end, ido-chop): Declare.
18921
18922 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
18923 * vc/ediff-mult.el: Adjust requires.
18924 (ediff-directories-internal, ediff-directory-revisions-internal)
18925 (ediff-patch-file-internal): Declare.
18926 * vc/ediff-ptch.el: Adjust requires.
18927 (ediff-use-last-dir, ediff-buffers-internal): Declare.
18928 (ediff-find-file): Autoload.
18929 * vc/ediff-util.el: No need to load ediff when compiling.
18930 (ediff-regions-internal): Declare.
18931 * vc/ediff-wind.el: Adjust requires.
18932 (ediff-compute-toolbar-width): Define when compiling.
18933 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
18934 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
18935 (dired-get-filename, dired-get-marked-files)
18936 (ediff-last-dir-patch, ediff-patch-default-directory)
18937 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
18938 (ediff-patch-buffer-internal): Declare.
18939
18940 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
18941 (ispell-process, ispell-buffer-local-words, lm-summary)
18942 (lm-section-start, lm-section-end): Declare.
18943 (checkdoc-ispell-init): Simplify.
18944
18945 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
18946 (he-string-member, he-reset-string, he-substitute-string): Declare.
18947
18948 * eshell/em-ls.el: Adjust requires.
18949 (eshell-glob-regexp): Declare.
18950 * eshell/em-tramp.el: Adjust requires.
18951 (eshell-parse-command): Autoload.
18952 * eshell/em-xtra.el: Adjust requires.
18953 (eshell-parse-command): Autoload.
18954 * eshell/esh-ext.el: Adjust requires.
18955 (eshell-parse-command, eshell-close-handles): Autoload.
18956 * eshell/esh-io.el: Adjust requires.
18957 (eshell-output-filter): Autoload.
18958 * eshell/esh-util.el: No need to load tramp when compiling.
18959 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
18960 Declare.
18961 (eshell-parse-ange-ls): Require ange-ftp and tramp.
18962 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
18963 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
18964 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
18965 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
18966 * eshell/esh-opt.el, eshell/esh-proc.el:
18967 * eshell/esh-var.el: Adjust requires.
18968 * eshell/eshell.el: Do not require esh-util twice.
18969 (eshell-add-input-to-history): Declare.
18970 (eshell-command): Check history module is active before using it.
18971
18972 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
18973
18974 2013-05-22 Leo Liu <sdl.web@gmail.com>
18975
18976 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
18977
18978 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
18979
18980 * autorevert.el (auto-revert-notify-add-watch)
18981 (auto-revert-notify-handler): Add `attrib' for the inotify case,
18982 it indicates changes in file modification time.
18983
18984 2013-05-22 Glenn Morris <rgm@gnu.org>
18985
18986 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
18987 Always delete the autoloaded function from the noruntime and
18988 unresolved functions lists.
18989
18990 * allout.el: No need to load epa, epg, overlay when compiling.
18991 (epg-context-set-passphrase-callback, epg-list-keys)
18992 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
18993 (epg-key-user-id-list): Declare.
18994
18995 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18996 (viper-set-parsing-style-toggling-macro)
18997 (viper-set-emacs-state-searchstyle-macros):
18998 Use called-interactively-p on Emacs.
18999 (viper-looking-back): Make it an obsolete alias. Update callers.
19000 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
19001 Use looking-back rather than viper-looking-back.
19002 (viper-tmp-insert-at-eob, viper-enlarge-region)
19003 (viper-read-string-with-history, viper-register-to-point)
19004 (viper-append-to-register, viper-change-state-to-vi)
19005 (viper-backward-char-carefully, viper-forward-char-carefully)
19006 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
19007 (viper-change-state-to-emacs): Declare.
19008 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
19009 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
19010 * emulation/viper-mous.el: Do not load viper-cmd.
19011 (viper-backward-char-carefully, viper-forward-char-carefully)
19012 (viper-forward-word, viper-adjust-window): Declare.
19013
19014 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
19015
19016 * progmodes/idlw-help.el (idlwave-help-fontify):
19017 Use called-interactively-p.
19018
19019 * term/w32console.el (w32-get-console-codepage)
19020 (w32-get-console-output-codepage): Declare.
19021
19022 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
19023 Remove unnecessary declarations.
19024 (dframe-message): Doc fix.
19025
19026 * info.el (dframe-select-attached-frame, dframe-current-frame):
19027 Declare.
19028
19029 * speedbar.el (speedbar-message): Make it an obsolete alias.
19030 Update all callers.
19031 (speedbar-with-attached-buffer)
19032 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
19033 (speedbar-with-writable): Use backquote.
19034 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
19035 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
19036 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
19037 rather than speedbar- aliases.
19038 * mail/rmail.el: Load dframe rather than speedbar when compiling.
19039 (speedbar-make-specialized-keymap, speedbar-insert-button)
19040 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
19041 (speedbar-do-function-pointer): Declare.
19042 (rmail-speedbar-button, rmail-speedbar-find-file)
19043 (rmail-speedbar-move-message):
19044 Use dframe-with-attached-buffer rather than speedbar- alias.
19045 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
19046 (dframe-message, speedbar-make-specialized-keymap)
19047 (speedbar-add-expansion-list, speedbar-mode-functions-list)
19048 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
19049 (speedbar-insert-button, dframe-select-attached-frame)
19050 (dframe-maybee-jump-to-attached-frame)
19051 (speedbar-change-initial-expansion-list)
19052 (speedbar-previously-used-expansion-list-name): Declare.
19053 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
19054 Use dframe-message, dframe-with-attached-buffer rather than
19055 speedbar- aliases.
19056 (gud-sentinel): Silence compiler.
19057 * progmodes/vhdl-mode.el (speedbar-refresh)
19058 (speedbar-do-function-pointer, speedbar-add-supported-extension)
19059 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
19060 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
19061 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
19062 (speedbar-file-lists, speedbar-make-tag-line)
19063 (speedbar-line-directory, speedbar-goto-this-file)
19064 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
19065 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
19066 (speedbar-make-button, speedbar-reset-scanners)
19067 (speedbar-files-item-info, speedbar-line-text)
19068 (speedbar-find-file-in-frame, speedbar-set-timer)
19069 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
19070 (speedbar-with-writable): Do not (re)define it.
19071 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
19072 rather than speedbar- alias.
19073
19074 2013-05-21 Leo Liu <sdl.web@gmail.com>
19075
19076 * progmodes/octave.el (octave-mode-menu): Update and re-organize
19077 menu items.
19078 (octave-mode): Tweak fill-nobreak-predicate.
19079 (inferior-octave-startup): Check process to avoid infinite loop.
19080 (inferior-octave): Pop to buffer first to show abornmal process
19081 exit information.
19082
19083 2013-05-21 Glenn Morris <rgm@gnu.org>
19084
19085 * printing.el (pr-menu-bar): Define when compiling.
19086
19087 2013-05-21 Leo Liu <sdl.web@gmail.com>
19088
19089 * progmodes/octave.el (octave-auto-fill): Remove.
19090 (octave-indent-new-comment-line): Improve.
19091 (octave-mode): Use auto fill mode through
19092 comment-line-break-function and fill-nobreak-predicate.
19093 (octave-goto-function-definition): Support DEFUN_DLD.
19094 (octave-beginning-of-defun): Small tweak.
19095 (octave-help): Show parent directory.
19096
19097 2013-05-21 Glenn Morris <rgm@gnu.org>
19098
19099 * files.el (dired-unmark):
19100 * progmodes/gud.el (gdb-input): Update declarations.
19101
19102 * calculator.el (electric, ehelp): No need to load when compiling.
19103 (Electric-command-loop, electric-describe-mode): Declare.
19104
19105 * doc-view.el (doc-view-current-converter-processes): Move before use.
19106
19107 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19108 Move MODE-set-explicitly definition before use.
19109
19110 * international/mule-diag.el (mule-diag):
19111 Don't use obsolete window-system-version.
19112
19113 * mail/feedmail.el (smtpmail): No need to load when compiling.
19114 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
19115
19116 * mail/mail-utils.el (rfc822): No need to load when compiling.
19117 (rfc822-addresses): Autoload it.
19118 (mail-strip-quoted-names): Trivial simplification.
19119
19120 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
19121 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
19122
19123 * net/snmp-mode.el (tempo): Don't duplicate requires.
19124
19125 * progmodes/prolog.el (info): No need to load when compiling.
19126 (comint): Require before shell requires it.
19127 (Info-goto-node): Autoload it.
19128 (Info-follow-nearest-node): Declare.
19129 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
19130
19131 * textmodes/artist.el (picture-mode-exit): Declare.
19132
19133 * textmodes/reftex-parse.el (reftex-parse-from-file):
19134 Trivial rewrite so the compiler can parse it better.
19135
19136 2013-05-20 Leo Liu <sdl.web@gmail.com>
19137
19138 * progmodes/octave.el (octave-help-mode-map)
19139 (octave-help-mode-finish-hook): New variables.
19140 (octave-help-mode, octave-help-mode-finish): New functions.
19141 (octave-help): Use octave-help-mode.
19142
19143 2013-05-20 Glenn Morris <rgm@gnu.org>
19144
19145 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
19146
19147 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
19148
19149 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
19150 start at point, so that expansion starting right after opening
19151 slash in a regexp is recognized.
19152 (ruby-syntax-before-regexp-re): New defvar, extracted from
19153 ruby-syntax-propertize-function. Since the value of this regexp
19154 is looked up at runtime now, we should be able to turn
19155 `ruby-syntax-methods-before-regexp' into a defcustom later.
19156 (ruby-syntax-propertize-function): Split regexp matching into two
19157 parts, for opening and closing slashes. That allows us to skip
19158 over string interpolations and support multiline regexps.
19159 Don't call `ruby-syntax-propertize-expansions', instead use another rule
19160 for them, which calls `ruby-syntax-propertize-expansion'.
19161 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
19162 call to `ruby-syntax-propertize-function'.
19163 (ruby-syntax-propertize-expansion): Extracted from
19164 `ruby-syntax-propertize-expansions'. Handles one expansion.
19165 (ruby-syntax-propertize-percent-literal): Leave point right after
19166 the percent symbol, so that the expression expansion rule can
19167 propertize the contents.
19168 (ruby-syntax-propertize-heredoc): Leave point at bol following the
19169 heredoc openers.
19170 (ruby-syntax-propertize-expansions): Remove.
19171
19172 2013-05-18 Juri Linkov <juri@jurta.org>
19173
19174 * man.el (Man-default-man-entry): Remove `-' from the end
19175 of the default value. (Bug#14400)
19176
19177 2013-05-18 Glenn Morris <rgm@gnu.org>
19178
19179 * comint.el (comint-password-prompt-regexp):
19180 Allow "password for XXX" where XXX contains colons (eg https://...).
19181
19182 2013-05-18 Leo Liu <sdl.web@gmail.com>
19183
19184 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
19185 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
19186 (octave-source-directories): Don't check process.
19187 (octave-source-directories, octave-find-definition): Doc fix.
19188
19189 2013-05-18 Glenn Morris <rgm@gnu.org>
19190
19191 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
19192 Remove backspace/delete bindings. (Bug#14392)
19193
19194 * cus-dep.el (custom-make-dependencies): Sort the output.
19195 (custom-versions-load-alist): Convert comment to doc.
19196
19197 2013-05-17 Leo Liu <sdl.web@gmail.com>
19198
19199 * newcomment.el (comment-search-backward): Stricter in finding
19200 comment start. (Bug#14303)
19201
19202 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
19203 (octave-comment-start-skip): Properly anchored.
19204
19205 2013-05-17 Leo Liu <sdl.web@gmail.com>
19206
19207 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
19208 Clean up when turned off. (Bug#14395)
19209 (smie--highlight-matching-block-overlay): No longer buffer-local.
19210 (smie-highlight-matching-block): Adjust.
19211
19212 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
19213
19214 Doc string fix for "nanoseconds" (Bug#14406).
19215 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
19216 Fix doc string typo that had "nanoseconds" instead of "microseconds".
19217
19218 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
19219
19220 * calc/calc-units.el (math-extract-units): Preserve powers
19221 of units.
19222
19223 2013-05-17 Leo Liu <sdl.web@gmail.com>
19224
19225 * subr.el (delete-consecutive-dups): New function.
19226 * ido.el (ido-set-matches-1): Use it.
19227 * progmodes/octave.el (inferior-octave-completion-table): Use it.
19228 * ido.el (ido-remove-consecutive-dups): Remove.
19229
19230 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19233 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
19234 regexp-opt's `words'.
19235
19236 2013-05-16 Leo Liu <sdl.web@gmail.com>
19237
19238 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
19239 (smie--highlight-matching-block-overlay)
19240 (smie--highlight-matching-block-lastpos)
19241 (smie--highlight-matching-block-timer): New variables.
19242 (smie-highlight-matching-block): New function.
19243 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
19244 (smie-setup): Conditionally enable smie-blink-matching-open.
19245
19246 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
19247
19248 Sync with upstream verilog-mode r840.
19249 * progmodes/verilog-mode.el (verilog-mode-version)
19250 (verilog-mode-release-date): Update.
19251 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
19252 (verilog-sig-tieoff): Fix string error on
19253 AUTORESET with colon define, bug594. Reported by Andrew Hou.
19254 (verilog-read-decls): Fix parameters confusing
19255 AUTOINST interfaces, bug565. Reported by Leith Johnson.
19256
19257 2013-05-16 Eli Zaretskii <eliz@gnu.org>
19258
19259 * subr.el (reveal-filename): New function.
19260
19261 * loadup.el: Compute Emacs executable versions on MS-Windows,
19262 where executables have the .exe extension. Add a hard link
19263 emacs-XX.YY.ZZ.exe on MS-Windows.
19264
19265 * Makefile.in (XARGS_LIMIT): New variable.
19266 (custom-deps, finder-data, autoloads)
19267 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19268 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19269 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
19270 (compile-main): Limit xargs according to $(XARGS_LIMIT).
19271
19272 2013-05-16 Leo Liu <sdl.web@gmail.com>
19273
19274 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
19275 (octave-mode-menu, octave-mode-map): Remove its uses.
19276
19277 2013-05-16 Reto Zimmermann <reto@gnu.org>
19278
19279 Sync with upstream vhdl mode v3.34.2.
19280 * progmodes/vhdl-mode.el: Use `push' throughout.
19281 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
19282 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
19283 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
19284 (vhdl-actual-generic-name): New option to derive actual generic name.
19285 (vhdl-port-paste-signals): Replace formal by actual generics.
19286 (vhdl-beautify): New name for old group vhdl-align. Update users.
19287 (vhdl-beautify-options): New option.
19288 (vhdl-last-input-event): New compat alias. Use throughout.
19289 (vhdl-goto-line): Replace user level function `goto-line'.
19290 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
19291 vhdl-fix-statement-buffer.
19292 (vhdl-create-mode-menu): Add some entries.
19293 (vhdl-align-region-groups): Respect vhdl-beautify-options.
19294 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
19295 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
19296 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
19297 to force statements on one line.
19298 (vhdl-remove-trailing-spaces-region):
19299 New, split from vhdl-remove-trailing-spaces.
19300 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
19301 Respect vhdl-beautify-options.
19302 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
19303 (vhdl-update-sensitivity-list): Not add with index if exists without.
19304 Not include array index with signal. Ignore keywords in comments.
19305 (vhdl-get-visible-signals): Regexp tweaks.
19306 (vhdl-template-component-inst): Handle empty library.
19307 (vhdl-template-type): Add template for 'enum' type.
19308 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
19309 Use vhdl-replace-string.
19310 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
19311 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
19312 (vhdl-speedbar-initialize): Update for above name change.
19313 (vhdl-compose-wire-components): Fix in handling of constants.
19314 (vhdl-error-regexp-emacs-alist): New variable.
19315 (vhdl-error-regexp-add-emacs): New function;
19316 adds support for new compile.el (Emacs 22+)
19317 (vhdl-generate-makefile-1): Change target order for single lib. units.
19318 Allow use of absolute file names.
19319
19320 2013-05-16 Leo Liu <sdl.web@gmail.com>
19321
19322 * simple.el (prog-indent-sexp): Indent enclosing defun.
19323
19324 2013-05-15 Glenn Morris <rgm@gnu.org>
19325
19326 * cus-start.el (show-trailing-whitespace): Move to editing basics.
19327 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
19328 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
19329 (whitespace-highlight): Move to whitespace group.
19330
19331 * comint.el (comint-source):
19332 * pcmpl-linux.el (pcmpl-linux):
19333 * shell.el (shell-faces):
19334 * eshell/esh-opt.el (eshell-opt):
19335 * international/ccl.el (ccl): Remove empty custom groups.
19336
19337 * completion.el (dynamic-completion-mode):
19338 * jit-lock.el (jit-lock-debug-mode):
19339 * minibuffer.el (completion-in-region-mode):
19340 * type-break.el (type-break-mode-line-message-mode)
19341 (type-break-query-mode):
19342 * emulation/tpu-edt.el (tpu-edt-mode):
19343 * progmodes/subword.el (global-subword-mode, global-superword-mode):
19344 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19345 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
19346
19347 * term/xterm.el (xterm): Change parent group to terminals.
19348
19349 * master.el (master): Remove empty custom group.
19350 (master-mode): Remove unused :group argument.
19351 * textmodes/refill.el (refill): Remove empty custom group.
19352 (refill-mode): Remove unused :group argument.
19353
19354 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
19355
19356 * cus-dep.el: Provide a feature.
19357 (custom-make-dependencies): Ignore dotfiles (dir-locals).
19358 Don't mistakenly ignore files whose basenames match a basename
19359 from preloaded-file-list (eg cedet/ede/simple.el).
19360 Add a fallback method for getting :group.
19361
19362 2013-05-15 Juri Linkov <juri@jurta.org>
19363
19364 * isearch.el (isearch-char-by-name): Rename from
19365 `isearch-insert-char-by-name'. Doc fix.
19366 (isearch-forward): Mention `isearch-char-by-name' in
19367 the docstring. (Bug#13348)
19368
19369 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
19370 `exit-minibuffer' instead of
19371 `isearch-nonincremental-exit-minibuffer'.
19372 (isearch-edit-string): Remove mention of
19373 `isearch-nonincremental-exit-minibuffer' from docstring.
19374 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
19375 (isearch-forward-exit-minibuffer)
19376 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
19377
19378 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19379
19380 * loadup.el: Just use unversioned DOC.
19381
19382 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
19383 literals as extending to EOB.
19384 (nxml-last-fontify-end): Remove unused variable.
19385 (nxml-after-change1): Use with-silent-modifications.
19386 (nxml-extend-after-change-region): Simplify.
19387 (nxml-extend-after-change-region1): Remove function.
19388 (nxml-after-change1): Don't adjust for dependent regions.
19389 (nxml-fontify-matcher): Simplify.
19390 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
19391 (xmltok-add-dependent): Remove function.
19392 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
19393 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
19394 (xmltok-scan-prolog-after-processing-instruction-open): Treat
19395 unclosed <[[, <?, comment, and other literals as extending to EOB.
19396 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
19397 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
19398 Remove functions.
19399 (rng-do-some-validation-1): Don't mark dependent regions.
19400 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
19401 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
19402 (nxml-clear-dependent-regions): Remove functions.
19403 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
19404 (nxml-ensure-scan-up-to-date):
19405 Don't clear&mark dependent regions.
19406
19407 2013-05-15 Leo Liu <sdl.web@gmail.com>
19408
19409 * progmodes/octave.el (octave-goto-function-definition):
19410 Improve and fix callers.
19411
19412 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19413
19414 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
19415 the setter (bug#14387).
19416
19417 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
19418 surrounding group (bug#14402).
19419
19420 2013-05-14 Juri Linkov <juri@jurta.org>
19421
19422 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
19423 (Bug#14390)
19424
19425 2013-05-14 Glenn Morris <rgm@gnu.org>
19426
19427 * progmodes/f90.el (f90-imenu-generic-expression):
19428 Fix typo in 2013-05-08 change. (Bug#14402)
19429
19430 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19431
19432 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
19433 Remove signals for which replies are never received.
19434
19435 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19436
19437 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
19438 (gdb-handler-alist, gdb-handler-number): Remove variables.
19439 (gdb-handler-list): New variable.
19440 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
19441 (gdb-pending-handler-p, gdb-handle-reply)
19442 (gdb-remove-all-pending-triggers): New functions.
19443 (gdb-discard-unordered-replies): New defcustom.
19444 (gdb-handler): New defstruct.
19445 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
19446 instead of gdb-pending-triggers. Update docstring.
19447 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
19448 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
19449 (gdb-var-update-handler, def-gdb-auto-update-trigger)
19450 (def-gdb-auto-update-handler, gdb-get-changed-registers)
19451 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
19452 (gdb-frame-handler): Pending triggers are now automatically managed.
19453 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
19454 Remove argument.
19455 (gdb-input): Automatically handles pending triggers. Update docstring.
19456 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
19457 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
19458 Update comments.
19459 (gdb-done-or-error): Now use gdb-handle-reply.
19460
19461 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19462
19463 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
19464 gdb-debug-log.
19465
19466 2013-05-14 Glenn Morris <rgm@gnu.org>
19467
19468 * subr.el (user-emacs-directory-warning): New option.
19469 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
19470
19471 2013-05-14 Leo Liu <sdl.web@gmail.com>
19472
19473 * progmodes/octave.el (octave-font-lock-keywords): Fix error
19474 during redisplay.
19475 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
19476 (octave-font-lock-texinfo-comment): Fix invalid search bound
19477 error: wrong side of point.
19478
19479 2013-05-14 Glenn Morris <rgm@gnu.org>
19480
19481 * progmodes/flymake.el (flymake-xml-program): New option.
19482 (flymake-xml-init): Use it.
19483
19484 * term/xterm.el: Provide a feature.
19485
19486 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
19487
19488 2013-05-13 Glenn Morris <rgm@gnu.org>
19489
19490 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
19491 Add compat aliases as a hack workaround. (Bug#14384)
19492
19493 2013-05-13 Leo Liu <sdl.web@gmail.com>
19494
19495 * progmodes/octave.el (octave-indent-comment): Fix indentation for
19496 ###, and %!.
19497 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
19498 C-M-q.
19499 (octave-comment-start-skip): Include %!.
19500 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
19501
19502 2013-05-12 Leo Liu <sdl.web@gmail.com>
19503
19504 * progmodes/octave.el (inferior-octave-startup): Store the value
19505 of __octave_srcdir__ for octave-source-directories.
19506 (inferior-octave-check-process): New function refactored out of
19507 inferior-octave-send-list-and-digest.
19508 (octave-source-directories)
19509 (octave-find-definition-filename-function): New variables.
19510 (octave-source-directories)
19511 (octave-find-definition-default-filename): New functions.
19512 (octave-find-definition): Improve to find functions implemented in C++.
19513
19514 2013-05-12 Glenn Morris <rgm@gnu.org>
19515
19516 * calendar/diary-lib.el (diary-outlook-format-1):
19517 Don't include dayname in the output. (Bug#14349)
19518
19519 2013-05-11 Glenn Morris <rgm@gnu.org>
19520
19521 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
19522
19523 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
19524 Treat cc-provide like provide.
19525
19526 2013-05-11 Kevin Ryde <user42@zip.com.au>
19527
19528 * cus-dep.el (custom-make-dependencies):
19529 Use generated-autoload-load-name for the sake of files such
19530 such cedet/semantic/bovine/c.el, where the base file name
19531 is not in load-path. (Bug#5277)
19532
19533 2013-05-11 Glenn Morris <rgm@gnu.org>
19534
19535 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
19536 Provide features.
19537
19538 2013-05-11 Leo Liu <sdl.web@gmail.com>
19539
19540 * progmodes/octave.el (octave-indent-comment): Improve.
19541 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
19542 (octave-eldoc-function-signatures, octave-eldoc-function):
19543 New functions.
19544 (octave-mode, inferior-octave-mode): Add eldoc support.
19545
19546 2013-05-11 Richard Stallman <rms@gnu.org>
19547
19548 * epa.el (epa-decrypt-file): Take output file name as argument
19549 and read it using `interactive'.
19550
19551 2013-05-11 Leo Liu <sdl.web@gmail.com>
19552
19553 * progmodes/octave.el (octave-beginning-of-line)
19554 (octave-end-of-line): Check before using up-list because it jumps
19555 out of more syntactic contructs since moving to smie.
19556 (octave-indent-comment): New function.
19557 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
19558 (octave-begin-keywords, octave-end-keywords)
19559 (octave-reserved-words, octave-smie-bnf-table)
19560 (octave-smie-rules): Add new keywords from Octave 3.6.4.
19561
19562 2013-05-11 Glenn Morris <rgm@gnu.org>
19563
19564 * faces.el (internal-face-x-get-resource):
19565 * frame.el (ns-display-monitor-attributes-list):
19566 * calc/calc-aent.el (math-to-radians-2):
19567 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
19568 Fix declarations.
19569
19570 * calc/calc-menu.el: Make it loadable in isolation.
19571
19572 * net/eudcb-bbdb.el: Make it loadable without bbdb.
19573 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
19574 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
19575 (eudc-bbdb-query-internal): Require 'bbdb.
19576
19577 * lpr.el (lpr-headers-switches):
19578 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
19579
19580 * progmodes/sql.el (sql-login-params): Fix and improve :type.
19581
19582 * emulation/edt-mapper.el: In batch mode, error rather than hang.
19583
19584 * term.el (term-set-escape-char): Make it idempotent.
19585
19586 2013-05-10 Leo Liu <sdl.web@gmail.com>
19587
19588 * progmodes/octave.el (inferior-octave-completion-table):
19589 No longer a function and all uses changed. Use cache to speed up
19590 completion due to bug#11906.
19591 (octave-beginning-of-defun): Re-write to be more general.
19592
19593 2013-05-10 Glenn Morris <rgm@gnu.org>
19594
19595 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
19596
19597 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
19598
19599 * comint.el (comint-redirect-send-command-to-process): Use :around
19600 rather than :override for comint-redirect-filter.
19601 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
19602 Call it instead of comint-redirect-original-filter-function (which
19603 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
19604
19605 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
19606
19607 * frame.el (display-monitor-attributes-list): Add NS case.
19608 (ns-display-monitor-attributes-list): Declare.
19609
19610 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
19611
19612 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
19613
19614 2013-05-09 Glenn Morris <rgm@gnu.org>
19615
19616 * international/fontset.el (vertical-centering-font-regexp):
19617 Set standard-value.
19618
19619 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
19620
19621 * bookmark.el (bookmark-search-delay):
19622 * cus-start.el (vertical-centering-font-regexp):
19623 * ps-mule.el (ps-mule-font-info-database-default):
19624 * ps-print.el (ps-default-fg, ps-default-bg):
19625 * type-break.el (type-break-good-break-interval):
19626 * whitespace.el (whitespace-indentation-regexp)
19627 (whitespace-space-after-tab-regexp):
19628 * emacs-lisp/testcover.el (testcover-1value-functions)
19629 (testcover-noreturn-functions, testcover-progn-functions)
19630 (testcover-prog1-functions):
19631 * emulation/viper-init.el (viper-emacs-state-cursor-color):
19632 * eshell/em-glob.el (eshell-glob-translate-alist):
19633 * play/tetris.el (tetris-tty-colors):
19634 * progmodes/cpp.el (cpp-face-default-list):
19635 * progmodes/flymake.el (flymake-allowed-file-name-masks):
19636 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
19637 (idlwave-help-browser-generic-args):
19638 * progmodes/make-mode.el (makefile-special-targets-list):
19639 * progmodes/python.el (python-shell-virtualenv-path):
19640 * progmodes/verilog-mode.el (verilog-active-low-regexp)
19641 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
19642 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
19643 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
19644 * textmodes/reftex-vars.el (reftex-format-label-function):
19645 * textmodes/remember.el (remember-diary-file): Fix custom types.
19646
19647 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
19648 Add :version.
19649
19650 2013-05-09 Leo Liu <sdl.web@gmail.com>
19651
19652 * progmodes/octave.el (inferior-octave-completion-at-point):
19653 Restore file completion. (Bug#14300)
19654 (inferior-octave-startup): Fix incorrect highlighting for the
19655 first prompt.
19656
19657 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19658
19659 * progmodes/ruby-mode.el: First cut at SMIE support.
19660 (ruby-use-smie): New var.
19661 (ruby-smie-grammar): New constant.
19662 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
19663 (ruby-smie--forward-token, ruby-smie--backward-token)
19664 (ruby-smie-rules): New functions.
19665 (ruby-mode-variables): Setup SMIE if applicable.
19666
19667 2013-05-08 Eli Zaretskii <eliz@gnu.org>
19668
19669 * simple.el (line-move-visual): Signal beginning/end of buffer
19670 only if vertical-motion moved less than it was requested. Avoids
19671 silly incorrect error messages when there are display strings with
19672 multiple newlines at EOL.
19673
19674 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19675
19676 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
19677 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
19678 (prolog-char-quote-workaround):
19679 * progmodes/cperl-mode.el (cperl-under-as-char):
19680 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
19681 Mark as obsolete.
19682 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
19683 their declaration.
19684 (vhdl-mode-syntax-table-init): Remove.
19685
19686 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
19687 last change.
19688
19689 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
19690 syntax for "_".
19691 (ld-script-font-lock-keywords):
19692 Change regexps to use things like \_< and \_>.
19693
19694 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
19695 Change all regexps to use things like \_< and \_>.
19696
19697 * progmodes/autoconf.el (autoconf-definition-regexp)
19698 (autoconf-font-lock-keywords, autoconf-current-defun-function):
19699 Handle a _ with symbol syntax.
19700 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
19701
19702 * progmodes/ada-mode.el (ada-mode-abbrev-table):
19703 Consolidate declaration.
19704 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
19705 the declaration.
19706 (ada-create-syntax-table): Remove.
19707 (ada-capitalize-word): Don't mess with the syntax of "_" since it
19708 already has the right syntax nowadays.
19709 (ada-goto-next-word): Don't change the syntax of "_".
19710
19711 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
19712 with-wrapper-hook.
19713
19714 2013-05-08 Sam Steingold <sds@gnu.org>
19715
19716 * thingatpt.el (thing-at-point): Accept optional second argument
19717 NO-PROPERTIES to strip the text properties from the return value.
19718 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
19719 to `thing-at-point' instead of stripping the properties ourselves.
19720 Also, when `thing-at-point' fails to find a url, prepend "http://"
19721 to the filename at point on the assumption that the user is
19722 pointing at something like gnu.org/gnu.
19723
19724 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
19725
19726 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
19727 * faces.el (crm-separator):
19728 Silence byte-compiler.
19729
19730 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
19731 (tool-bar-map): Remove unneeded defvars.
19732
19733 2013-05-08 Leo Liu <sdl.web@gmail.com>
19734
19735 Re-work a fix for bug#10994 based on Le Wang's patch.
19736 * ido.el (ido-remove-consecutive-dups): New helper.
19737 (ido-completing-read): Use it.
19738 (ido-chop): Revert fix for bug#10994.
19739
19740 2013-05-08 Adam Spiers <emacs@adamspiers.org>
19741
19742 * cus-edit.el (custom-save-variables):
19743 Pretty-print long values. (Bug#14187)
19744
19745 2013-05-08 Glenn Morris <rgm@gnu.org>
19746
19747 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
19748 (m4-mode-syntax-table): Init in the defvar.
19749 (m4-mode-abbrev-table): Let define-derived-mode define it.
19750
19751 2013-05-08 Tom Tromey <tromey@redhat.com>
19752
19753 * progmodes/m4-mode.el (m4-mode-syntax-table):
19754 Do not treat "_" as word constituent. (Bug#14167)
19755
19756 2013-05-07 Glenn Morris <rgm@gnu.org>
19757
19758 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
19759 Remove explicit eshell-isearch-cancel-map.
19760
19761 * progmodes/f90.el (f90-smart-end-names): New option.
19762 (f90-smart-end): Doc fix.
19763 (f90-end-block-optional-name): New constant.
19764 (f90-block-match): Respect f90-smart-end-names.
19765
19766 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19767
19768 * progmodes/octave.el (octave-smie-forward-token): Be more careful
19769 about implicit semi-colons (bug#14218).
19770
19771 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19772
19773 * frame.el (display-monitor-attributes-list)
19774 (frame-monitor-attributes): New functions.
19775
19776 2013-05-06 Leo Liu <sdl.web@gmail.com>
19777
19778 * progmodes/octave.el (octave-syntax-propertize-function): Change
19779 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
19780 (octave-font-lock-keywords): Use octave-operator-regexp.
19781 (octave-completion-at-point): Rename from
19782 octave-completion-at-point-function.
19783 (inferior-octave-directory-tracker): Robustify.
19784 (octave-text-functions): Remove and fix its uses. No such things
19785 any more.
19786
19787 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19788
19789 * emacs-lisp/trace.el (trace--display-buffer): New function.
19790 (trace-make-advice): Use it.
19791
19792 2013-05-06 Juri Linkov <juri@jurta.org>
19793
19794 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
19795 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
19796 Doc fix.
19797 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
19798 in the help string. (Bug#12985)
19799
19800 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
19801
19802 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
19803
19804 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19805
19806 * progmodes/perl-mode.el: Add support for here documents.
19807 (perl-syntax-propertize-function): Match here-doc markers.
19808 (perl-syntax-propertize-special-constructs): Find their end.
19809 (perl-imenu-generic-expression): Use [:alnum:].
19810
19811 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
19812 (advice--add-function): Refresh the advice if already present
19813 (bug#14317).
19814
19815 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
19816
19817 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
19818
19819 2013-05-06 Glenn Morris <rgm@gnu.org>
19820
19821 * w32-fns.el (w32-charset-info-alist): Declare.
19822
19823 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
19824 of its defcustom properties.
19825 (eshell-cmpl-initialize): No need to load pcomplete.
19826
19827 * generic-x.el: No need to require comint when compiling.
19828
19829 * net/eudc-export.el: Make it loadable without bbdb.
19830 (top-level): Use require rather than load-library.
19831 (eudc-create-bbdb-record, eudc-bbdbify-phone)
19832 (eudc-batch-export-records-to-bbdb)
19833 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
19834 Require bbdb.
19835
19836 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19837
19838 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
19839 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
19840 some tweaks, instead.
19841
19842 2013-05-05 Leo Liu <sdl.web@gmail.com>
19843
19844 * progmodes/octave.el (octave-font-lock-keywords)
19845 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
19846 (inferior-octave-send-list-and-digest): Improve error message.
19847 (octave-mode, inferior-octave-mode): Use setq-local.
19848 (octave-help): Set info-lookup-mode.
19849
19850 2013-05-05 Richard Stallman <rms@gnu.org>
19851
19852 * vc/compare-w.el (compare-windows-whitespace):
19853 Treat no-break space as whitespace.
19854
19855 * mail/rmailsum.el (rmail-summary-rmail-update):
19856 Detect empty summary and don't change selected message.
19857 (rmail-summary-goto-msg): Likewise.
19858
19859 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
19860 Doc fixes, rename args.
19861
19862 2013-05-05 Alan Mackenzie <acm@muc.de>
19863
19864 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
19865
19866 2013-05-05 Juri Linkov <juri@jurta.org>
19867
19868 * info.el (Info-read-subfile): Use (point-min) instead of (point)
19869 to not add the length of the summary segment to the return value.
19870 (Bug#14125)
19871
19872 2013-05-05 Leo Liu <sdl.web@gmail.com>
19873
19874 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
19875 (inferior-octave-output-filter): Remove.
19876 (octave-send-region, inferior-octave-startup): Fix callers.
19877 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
19878 (octave-binary-file-extensions): New user variable.
19879 (octave-find-definition): Confirm if opening binary files.
19880 (octave-help-file): Use octave-find-definition to get the binary
19881 confirmation.
19882 (octave-help): Adjust for octave-help-file change.
19883
19884 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19885
19886 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
19887 Merge the two entries that handle function definitions.
19888 (pascal--syntax-propertize): New const.
19889 (pascal-mode): Use it. Use setq-local.
19890
19891 2013-05-04 Glenn Morris <rgm@gnu.org>
19892
19893 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
19894 (diary-from-outlook): Respect diary-from-outlook-function.
19895
19896 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19897
19898 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
19899 Move the declaration from C.
19900 (read-minibuffer, eval-minibuffer): Move from C.
19901 (completion-setup-function): Avoid minibuffer-completion-contents.
19902
19903 2013-05-03 Leo Liu <sdl.web@gmail.com>
19904
19905 * progmodes/octave.el (octave-font-lock-keywords): Do not
19906 dehighlight 'end' in comments or strings.
19907 (octave-completing-read, octave-goto-function-definition):
19908 New helpers.
19909 (octave-help-buffer): New user variable.
19910 (octave-help-file, octave-help-function): New button types.
19911 (octave-help): New command and bind it to C-h ;.
19912 (octave-find-definition): New command and bind it to M-.
19913 (user-error): Alias to error if not defined.
19914
19915 2013-05-02 Leo Liu <sdl.web@gmail.com>
19916
19917 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
19918 for \. (bug#14332)
19919 (octave-font-lock-keywords): Include [ and {.
19920
19921 2013-05-02 Leo Liu <sdl.web@gmail.com>
19922
19923 * progmodes/octave.el (inferior-octave-startup-file): Change default.
19924 (inferior-octave): Remove calling comint-mode and return the buffer.
19925 (inferior-octave-startup): Cosmetic changes.
19926
19927 2013-05-02 Leo Liu <sdl.web@gmail.com>
19928
19929 * progmodes/octave.el (octave-syntax-propertize-function):
19930 Include the case when ' is at line beginning. (Bug#14336)
19931
19932 2013-05-02 Glenn Morris <rgm@gnu.org>
19933
19934 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
19935 * desktop.el (vc-dir-mode): Just autoload it here.
19936
19937 2013-05-02 Alan Mackenzie <acm@muc.de>
19938
19939 Eliminate variable c-standard-font-lock-fontify-region-function.
19940 * progmodes/cc-mode.el
19941 (c-standard-font-lock-fontify-region-function): Remove.
19942 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
19943
19944 2013-05-01 Leo Liu <sdl.web@gmail.com>
19945
19946 * progmodes/octave.el: Compatible with older emacs-24 releases.
19947 (inferior-octave-has-built-in-variables): Remove. Built-in
19948 variables were removed from Octave in 2007.
19949 (inferior-octave-startup): Fix uses.
19950 (comint-line-beginning-position): Remove compatibility code for
19951 emacs 21.
19952
19953 2013-05-01 Juri Linkov <juri@jurta.org>
19954
19955 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
19956
19957 2013-05-01 Juri Linkov <juri@jurta.org>
19958
19959 * comint.el (comint-previous-matching-input): Don't print message
19960 "History item: %d" when `isearch-mode' is active.
19961 (comint-history-isearch-message): Print message "History item: %d"
19962 when `comint-input-ring-index' is not empty and this function is
19963 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
19964
19965 2013-05-01 Leo Liu <sdl.web@gmail.com>
19966
19967 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
19968 definitions. Use completion-at-point to insert keywords.
19969 (octave-abbrev-start): Remove.
19970 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
19971
19972 2013-04-30 Leo Liu <sdl.web@gmail.com>
19973
19974 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
19975 change.
19976
19977 2013-04-30 Alan Mackenzie <acm@muc.de>
19978
19979 Handle arbitrarily long C++ member initialisation lists.
19980 * progmodes/cc-engine.el (c-back-over-member-initializers):
19981 new function.
19982 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
19983 (most) member init lists.
19984
19985 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19986
19987 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
19988 variable.
19989
19990 2013-04-30 Leo Liu <sdl.web@gmail.com>
19991
19992 * progmodes/octave.el (octave-variables): Remove. No builtin
19993 variables any more. All converted to functions.
19994 (octave-font-lock-keywords, octave-completion-at-point-function):
19995 Fix uses.
19996 (octave-font-lock-texinfo-comment): New user variable.
19997 (octave-texinfo-font-lock-keywords): New variable for texinfo
19998 comment block.
19999 (octave-function-comment-block): New face.
20000 (octave-font-lock-texinfo-comment): New function.
20001 (octave-mode): Font lock texinfo comment block.
20002
20003 2013-04-29 Leo Liu <sdl.web@gmail.com>
20004
20005 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
20006 indexing expression.
20007 (octave-continuation-string): Do not use \.
20008 (inferior-octave-complete-impossible): Remove.
20009 (inferior-octave-completion-table)
20010 (inferior-octave-completion-at-point): Remove its uses.
20011 (inferior-octave-startup): completion_matches was introduced to
20012 Octave in 1996 so safe to assume it.
20013 (octave-function-file-comment): Improve to follow how Octave does it.
20014 (octave-update-function-file-comment): Tweak.
20015
20016 2013-04-29 Leo Liu <sdl.web@gmail.com>
20017
20018 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
20019 (inferior-octave-startup): Remove inferior-octave-startup-hook.
20020 (octave-function-file-comment): Fix typo.
20021 (octave-sync-function-file-names): Use read-char-choice.
20022
20023 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
20024
20025 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
20026 to t for the less important warnings.
20027
20028 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
20029
20030 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
20031
20032 2013-04-27 Glenn Morris <rgm@gnu.org>
20033
20034 * vc/log-view.el (log-view-current-entry):
20035 Treat "---" separator lines as part of the following rev. (Bug#14169)
20036
20037 2013-04-27 Juri Linkov <juri@jurta.org>
20038
20039 * subr.el (read-number): Doc fix about using it by interactive
20040 code letter `n'. (Bug#14254)
20041
20042 2013-04-27 Juri Linkov <juri@jurta.org>
20043
20044 * desktop.el (desktop-auto-save-timeout): New option.
20045 (desktop-file-checksum): New variable.
20046 (desktop-save): Add optional arg `auto-save' and don't auto-save
20047 if nothing changed.
20048 (desktop-auto-save-timer): New variable.
20049 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
20050 (after-init-hook): Call `desktop-auto-save-set-timer'.
20051 Suggested by Reuben Thomas <rrt@sc3d.org> in
20052 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
20053
20054 2013-04-27 Leo Liu <sdl.web@gmail.com>
20055
20056 * progmodes/octave.el (octave-function-file-p)
20057 (octave-skip-comment-forward, octave-function-file-comment)
20058 (octave-update-function-file-comment): New functions.
20059 (octave-mode-map): Bind C-c ; to
20060 octave-update-function-file-comment.
20061 (octave-mode-menu): Add octave-update-function-file-comment.
20062 (octave-mode, inferior-octave-mode): Fix doc-string.
20063 (octave-insert-defun): Conform to Octave's coding convention.
20064 (Bug#14285)
20065
20066 * files.el (basic-save-buffer): Don't let errors in
20067 before-save-hook prevent saving buffer.
20068
20069 2013-04-20 Roland Winkler <winkler@gnu.org>
20070
20071 * faces.el (read-face-name): Use completing-read if arg multiple
20072 is nil.
20073
20074 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
20075
20076 * ls-lisp.el (ls-lisp-insert-directory): If no files are
20077 displayed, move point to after the totals line.
20078 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
20079 for the details.
20080
20081 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
20082
20083 * emacs-lisp/package.el (package-autoload-ensure-default-file):
20084 Add current dir to the load-path.
20085 (package-generate-autoloads): Don't rely on
20086 autoload-ensure-default-file.
20087
20088 2013-04-26 Reuben Thomas <rrt@sc3d.org>
20089
20090 * textmodes/remember.el (remember-store-in-files): Document that
20091 the file name format is passed to `format-time-string'.
20092
20093 2013-04-26 Leo Liu <sdl.web@gmail.com>
20094
20095 * progmodes/octave.el (octave-sync-function-file-names): New function.
20096 (octave-mode): Use it in before-save-hook.
20097
20098 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
20099
20100 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
20101 (bug#14274).
20102
20103 * progmodes/octave.el (octave-smie-forward-token): Properly skip
20104 \n and comment, even if it's not an implicit ; (bug#14218).
20105
20106 2013-04-26 Glenn Morris <rgm@gnu.org>
20107
20108 * subr.el (read-number): Once more use `read' rather than
20109 `string-to-number', to trap non-numeric input. (Bug#14254)
20110
20111 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
20112
20113 * emacs-lisp/syntax.el (syntax-propertize-multiline):
20114 Use `syntax-multiline' text property consistently instead of
20115 `font-lock-multiline'. (Bug#14237)
20116
20117 2013-04-26 Glenn Morris <rgm@gnu.org>
20118
20119 * emacs-lisp/shadow.el (list-load-path-shadows):
20120 No longer necessary to check for duplicate simple.el, since
20121 2012-07-07 change to init_lread to not include installation lisp
20122 directories in load-path when running uninstalled. (Bug#14270)
20123
20124 2013-04-26 Leo Liu <sdl.web@gmail.com>
20125
20126 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
20127 (octave-mode, inferior-octave-mode): Use setq-local.
20128 (octave-not-in-string-or-comment-p): Rename to
20129 octave-in-string-or-comment-p.
20130 (octave-in-comment-p, octave-in-string-p)
20131 (octave-in-string-or-comment-p): Replace defsubst with defun.
20132
20133 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
20134
20135 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
20136
20137 2013-04-25 Bastien Guerry <bzg@gnu.org>
20138
20139 * textmodes/remember.el (remember-data-directory)
20140 (remember-directory-file-name-format): Fix custom types.
20141
20142 2013-04-25 Leo Liu <sdl.web@gmail.com>
20143
20144 * progmodes/octave.el (octave-completion-at-point-function):
20145 Make use of inferior octave process.
20146 (octave-initialize-completions): Remove.
20147 (inferior-octave-completion-table): New function.
20148 (inferior-octave-completion-at-point): Use it.
20149 (octave-completion-alist): Remove.
20150
20151 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20152
20153 * progmodes/opascal.el: Use font-lock and syntax-propertize.
20154 (opascal-mode-syntax-table): New var.
20155 (opascal-literal-kind, opascal-is-literal-end)
20156 (opascal-literal-token-at): Rewrite.
20157 (opascal--literal-start-re, opascal-font-lock-keywords)
20158 (opascal--syntax-propertize): New constants.
20159 (opascal-font-lock-defaults): Adjust.
20160 (opascal-mode): Use them. Set comment-<foo> variables as well.
20161 (delphi-comment-face, opascal-comment-face, delphi-string-face)
20162 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
20163 (delphi-other-face, opascal-other-face): Remove face variables.
20164 (opascal-save-state): Remove macro.
20165 (opascal-fontifying-progress-step): Remove constant.
20166 (opascal--ignore-changes): Remove var.
20167 (opascal-set-token-property, opascal-parse-next-literal)
20168 (opascal-is-stable-literal, opascal-complete-literal)
20169 (opascal-is-literal-start, opascal-face-of)
20170 (opascal-parse-region, opascal-parse-region-until-stable)
20171 (opascal-fontify-region, opascal-after-change)
20172 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
20173 (opascal-debug-parse-region, opascal-debug-parse-window)
20174 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
20175 (opascal-debug-fontify-buffer): Remove.
20176 (opascal-debug-mode-map): Adjust accordingly.
20177
20178 2013-04-25 Leo Liu <sdl.web@gmail.com>
20179
20180 Merge octave-mod.el and octave-inf.el into octave.el with some
20181 cleanups.
20182 * progmodes/octave.el: New file renamed from octave-mod.el.
20183 * progmodes/octave-inf.el: Merged into octave.el.
20184 * progmodes/octave-mod.el: Renamed to octave.el.
20185
20186 2013-04-25 Tassilo Horn <tsdh@gnu.org>
20187
20188 * textmodes/reftex-vars.el
20189 (reftex-label-ignored-macros-and-environments): New defcustom.
20190
20191 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
20192
20193 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20194
20195 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
20196 (smie-indent-keyword): Improve the check to ensure that the next
20197 comment is really on the same line.
20198 (smie-indent-comment): Don't align with a subsequent closer (or eob).
20199
20200 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
20201 semi-colons if the line is not otherwise empty (bug#14218).
20202
20203 2013-04-25 Glenn Morris <rgm@gnu.org>
20204
20205 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
20206
20207 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
20208
20209 * progmodes/opascal.el (opascal-set-token-property): Rename from
20210 opascal-set-text-properties and only set `token' (bug#14134).
20211 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
20212 (opascal-literal-text-properties): Remove.
20213 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
20214 Adjust callers.
20215
20216 2013-04-24 Reuben Thomas <rrt@sc3d.org>
20217
20218 * textmodes/remember.el (remember-handler-functions): Add an
20219 option for a new handler `remember-store-in-files'.
20220 (remember-data-directory, remember-directory-file-name-format):
20221 New options.
20222 (remember-store-in-files): New function to store remember notes
20223 as separate files within a directory.
20224
20225 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
20226
20227 * progmodes/compile.el (compilation-next-error-function):
20228 Pass "formats" to compilation-find-file (bug#11777).
20229
20230 2013-04-24 Glenn Morris <rgm@gnu.org>
20231
20232 * vc/vc-bzr.el (vc-bzr-print-log):
20233 * vc/vc-hg.el (vc-hg-print-log):
20234 * vc/vc-svn.el (vc-svn-print-log):
20235 Fix START-REVISION with LIMIT != 1. (Bug#14168)
20236
20237 * vc/vc-bzr.el (vc-bzr-print-log):
20238 * vc/vc-cvs.el (vc-cvs-print-log):
20239 * vc/vc-git.el (vc-git-print-log):
20240 * vc/vc-hg.el (vc-hg-print-log):
20241 * vc/vc-mtn.el (vc-mtn-print-log):
20242 * vc/vc-rcs.el (vc-rcs-print-log):
20243 * vc/vc-sccs.el (vc-sccs-print-log):
20244 * vc/vc-svn.el (vc-svn-print-log):
20245 * vc/vc.el (vc-print-log-internal): Doc fixes.
20246
20247 2013-04-23 Glenn Morris <rgm@gnu.org>
20248
20249 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
20250 Remove venerable code attempting to avoid substitute-command-keys.
20251
20252 2013-04-23 Tassilo Horn <tsdh@gnu.org>
20253
20254 * textmodes/reftex-vars.el (reftex-label-regexps):
20255 Call `reftex-compile-variables' after changes to this variable.
20256
20257 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
20258
20259 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
20260 Use lexical-binding.
20261 (jit-lock-force-redisplay): Use markers, check buffer's continued
20262 existence and beware narrowed buffers.
20263 (jit-lock-fontify-now): Adjust call accordingly.
20264
20265 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
20266
20267 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
20268 to avoid misleading the user.
20269
20270 2013-04-22 Leo Liu <sdl.web@gmail.com>
20271
20272 * info-look.el: Prefer latex2e.info. (Bug#14240)
20273
20274 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
20275
20276 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
20277
20278 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
20279 * net/tramp.el (tramp-call-process): ... here.
20280 (tramp-set-completion-function, tramp-parse-putty):
20281 * net/tramp-adb.el (tramp-adb-execute-adb-command):
20282 * net/tramp-gvfs.el (tramp-gvfs-send-command):
20283 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
20284 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
20285 (tramp-call-local-coding-command): Use `tramp-call-process'
20286 instead of `tramp-compat-call-process'.
20287
20288 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
20289 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
20290 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
20291 (tramp-find-inline-compress): Improve traces.
20292 (tramp-maybe-send-script): Check for Perl binary.
20293 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
20294
20295 2013-04-22 Daiki Ueno <ueno@gnu.org>
20296
20297 * epg.el (epg-context-pinentry-mode): New function.
20298 (epg-context-set-pinentry-mode): New function.
20299 (epg--start): Pass --pinentry-mode option to gpg command.
20300
20301 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
20302
20303 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
20304 `comint-dynamic-complete' is obsolete since 24.1, replaced by
20305 `completion-at-point'. (Bug#13774)
20306
20307 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
20308 default key binding for `describe-distribution' has been moved to
20309 `C-h C-o'. (Bug#13970)
20310
20311 2013-04-21 Glenn Morris <rgm@gnu.org>
20312
20313 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
20314 Add doc strings.
20315 (vc-print-log): Clarify interactive prompt.
20316
20317 2013-04-20 Glenn Morris <rgm@gnu.org>
20318
20319 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20320 No longer include timestamp etc information.
20321
20322 2013-04-20 Roland Winkler <winkler@gnu.org>
20323
20324 * faces.el (read-face-name): Bug fix, return just one face if arg
20325 multiple is nil. (Bug#14209)
20326
20327 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20328
20329 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
20330 (remove-function): Autoload.
20331
20332 * comint.el (comint-redirect-original-filter-function): Remove.
20333 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
20334 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
20335 (vc-cvs-annotate-command):
20336 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
20337 * progmodes/prolog.el (prolog-consult-compile):
20338 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
20339 Use add/remove-function instead.
20340 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
20341 (gud-tooltip-process-output, gud-tooltip-tips):
20342 Use add/remove-function instead.
20343 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
20344 (scheme-interaction-mode, exit-scheme-interaction-mode):
20345 Use add/remove-function instead.
20346
20347 * vc/vc-dispatcher.el: Use lexical-binding.
20348 (vc--process-sentinel): Rename from vc-process-sentinel.
20349 Change last arg to be the code to run. Don't use vc-previous-sentinel
20350 and vc-sentinel-commands any more.
20351 (vc-exec-after): Allow code to be a function. Use add/remove-function.
20352 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
20353
20354 2013-04-19 Masatake YAMATO <yamato@redhat.com>
20355
20356 * progmodes/sh-script.el (sh-imenu-generic-expression):
20357 Handle function names with a single character. (Bug#14111)
20358
20359 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
20360
20361 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
20362 for subroutines defined in an eval (bug#14182).
20363
20364 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20365
20366 * bookmark.el (bookmark-completing-read): Improve handling of empty
20367 string (bug#14176).
20368
20369 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20370
20371 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
20372
20373 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
20374
20375 New faster Imenu implementation (bug#14058).
20376 * progmodes/python.el (python-imenu-prev-index-position)
20377 (python-imenu-format-item-label-function)
20378 (python-imenu-format-parent-item-label-function)
20379 (python-imenu-format-parent-item-jump-label-function):
20380 New vars.
20381 (python-imenu-format-item-label)
20382 (python-imenu-format-parent-item-label)
20383 (python-imenu-format-parent-item-jump-label)
20384 (python-imenu--put-parent, python-imenu--build-tree)
20385 (python-imenu-create-index, python-imenu-create-flat-index)
20386 (python-util-popn): New functions.
20387 (python-mode): Set imenu-create-index-function to
20388 python-imenu-create-index.
20389
20390 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20391
20392 * winner.el (winner-active-region): Use region-active-p, activate-mark
20393 and deactivate-mark (bug#14225).
20394
20395 * simple.el (deactivate-mark): Don't inline it.
20396
20397 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
20398
20399 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
20400
20401 2013-04-18 Tassilo Horn <tsdh@gnu.org>
20402
20403 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
20404 file extensions from the archive-mode entry in order to prefer
20405 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
20406
20407 2013-04-18 Leo Liu <sdl.web@gmail.com>
20408
20409 * bindings.el (help-event-list): Add ?\?.
20410
20411 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20412
20413 * subr.el (with-wrapper-hook): Declare obsolete.
20414 * simple.el (filter-buffer-substring-function): New hook.
20415 (filter-buffer-substring): Use it.
20416 (filter-buffer-substring-functions): Mark obsolete.
20417 * minibuffer.el (completion-in-region-function): New hook.
20418 (completion-in-region): Use it.
20419 (completion-in-region-functions): Mark obsolete.
20420 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
20421 * abbrev.el (abbrev-expand-function): New hook.
20422 (expand-abbrev): Use it.
20423 (abbrev-expand-functions): Mark obsolete.
20424 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
20425 and :filter-return.
20426
20427 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20428
20429 * progmodes/python.el (python-nav--syntactically): Fix cornercases
20430 and do not care about match data.
20431
20432 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20433
20434 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
20435 completion tables when completing error conditions and
20436 `declare' arguments.
20437 (lisp-complete-symbol, field-complete): Mark as obsolete.
20438 (check-parens): Unmatched parens are user errors.
20439 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
20440
20441 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
20442
20443 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
20444 command changed buffer (ie. `flyspell-pre-buffer' is not current
20445 buffer), which prevents making decisions based on invalid value of
20446 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
20447 cause an error when `flyspell-pre-point' was nil after switching
20448 buffers.
20449 (flyspell-post-command-hook): No longer needs to change buffers when
20450 checking pre-word. While at it remove unnecessary progn.
20451
20452 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
20453
20454 * textmodes/ispell.el (ispell-add-per-file-word-list):
20455 Fix `flyspell-correct-word-before-point' error when accepting
20456 words and `coment-padding' is an integer by using
20457 `comment-normalize-vars' (Bug #14214).
20458
20459 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20460
20461 New defun movement commands.
20462 * progmodes/python.el (python-nav--syntactically)
20463 (python-nav--forward-defun, python-nav-backward-defun)
20464 (python-nav-forward-defun): New functions.
20465
20466 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20467
20468 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
20469 (python-syntax-context): Use named compiler-macro for backwards
20470 compatibility with Emacs 24.x.
20471
20472 2013-04-17 Leo Liu <sdl.web@gmail.com>
20473
20474 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
20475 octave-hide-process-buffer.
20476
20477 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20478
20479 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
20480 (bug#14216).
20481
20482 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
20483
20484 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
20485 Fix adjustment of offset when receiving incomplete responses from GDB
20486 (bug#14129).
20487
20488 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20489
20490 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
20491 python-mode-abbrev-table.
20492 (python-skeleton-define): Adjust accordingly.
20493 (python-mode-abbrev-table): New table that inherits from it so that
20494 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
20495
20496 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
20497 (abbrev-symbol): Use it.
20498 (abbrev--before-point): Use it since we already handle inheritance.
20499
20500 2013-04-16 Leo Liu <sdl.web@gmail.com>
20501
20502 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
20503 binding to info-lookup-symbol.
20504
20505 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
20506
20507 * minibuffer.el (completion--twq-all):
20508 * term/ns-win.el (ns-initialize-window-system):
20509 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
20510
20511 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20512
20513 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
20514 global bindings.
20515
20516 * doc-view.el (doc-view-start-process): Handle url-handler directories.
20517
20518 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
20519
20520 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
20521 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
20522 to nil.
20523 (ruby-end-of-defun): Remove the unused arg, change the docstring
20524 to reflect that this function is only used as the value of
20525 `end-of-defun-function'.
20526 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
20527 to reflect an earlier change that beginning/end-of-defun functions
20528 jump between methods in a class definition, as well as top-level
20529 functions.
20530
20531 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20532
20533 * minibuffer.el (minibuffer-complete): Don't just scroll
20534 a *Completions* that's been iconified.
20535 (minibuffer-force-complete): Make sure repetitions do cycle when going
20536 through completion-in-region -> minibuffer-complete.
20537
20538 2013-04-15 Alan Mackenzie <acm@muc.de>
20539
20540 Correct the placement of c-cpp-delimiters when there're #s not at
20541 col 0.
20542
20543 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
20544 place a submatch around the #.
20545 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
20546 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20547 on the #, not BOL.
20548
20549 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20550
20551 * emacs-lisp/nadvice.el: Properly test names when adding advice.
20552 (advice--member-p): New arg `name'.
20553 (advice--add-function, advice-member-p): Use it (bug#14202).
20554
20555 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
20556
20557 Reformulate java imenu-generic-expression.
20558 The old expression contained ill formed regexps.
20559
20560 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
20561 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
20562 (cc-imenu-java-method-arg-regexp): New defconsts.
20563 (cc-imenu-java-build-type-args-regex): New defun.
20564 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
20565 handling of spaces in the regexp.
20566
20567 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20568
20569 * textmodes/ispell.el (ispell-command-loop): Remove
20570 flyspell highlight of a word when ispell accepts it (bug #14178).
20571
20572 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
20573
20574 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
20575 uses code from the previous `ange-ftp-run-real-handler'.
20576 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
20577 only in case that function exist. This is needed for proper
20578 unloading of Tramp.
20579
20580 2013-04-15 Tassilo Horn <tsdh@gnu.org>
20581
20582 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
20583
20584 * textmodes/reftex.el (reftex-compile-variables): Use it.
20585
20586 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20587
20588 * files.el (normal-mode): Only use default major-mode if no other mode
20589 was specified.
20590
20591 * emacs-lisp/trace.el (trace-values): New function.
20592
20593 * files.el: Allow : in local variables (bug#14089).
20594 (hack-local-variable-regexp): New var.
20595 (hack-local-variables-prop-line, hack-local-variables): Use it.
20596
20597 2013-04-13 Roland Winkler <winkler@gnu.org>
20598
20599 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
20600 data before it gets modified by bibtex-beginning-of-entry.
20601
20602 2013-04-13 Roland Winkler <winkler@gnu.org>
20603
20604 * textmodes/bibtex.el (bibtex-url): Doc fix.
20605
20606 2013-04-13 Roland Winkler <winkler@gnu.org>
20607
20608 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
20609 does not visit a BibTeX file, exclude it from the list of buffers
20610 returned by bibtex-initialize.
20611
20612 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
20613
20614 * window.el (split-window): Remove interactive form, since as a
20615 command this function is a special case of split-window-below.
20616 Correct doc string.
20617
20618 2013-04-12 Roland Winkler <winkler@gnu.org>
20619
20620 * faces.el (read-face-name): Do not override value of arg default.
20621 Allow single faces and strings as default values. Remove those
20622 elements from return value that are not faces.
20623 (describe-face): Simplify.
20624 (face-at-point): New optional args thing and multiple so that this
20625 function can provide the same functionality previously provided by
20626 read-face-name.
20627 (make-face-bold, make-face-unbold, make-face-italic)
20628 (make-face-unitalic, make-face-bold-italic, invert-face)
20629 (modify-face, read-face-and-attribute): Use face-at-point.
20630
20631 * cus-edit.el (customize-face, customize-face-other-window)
20632 * cus-theme.el (custom-theme-add-face)
20633 * face-remap.el (buffer-face-set)
20634 * facemenu.el (facemenu-set-face): Use face-at-point.
20635
20636 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
20637
20638 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
20639
20640 2013-04-10 Tassilo Horn <tsdh@gnu.org>
20641
20642 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
20643 off leading { and trailing } from field values.
20644
20645 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
20646
20647 * emacs-lisp/timer.el (timer--check): New function.
20648 (timer--time, timer-set-function, timer-event-handler): Use it.
20649 (timer-set-idle-time): Simplify.
20650 (timer--activate): CSE.
20651 (timer-event-handler): Give more info in error message.
20652 (internal-timer-start-idle): New function, moved from C.
20653
20654 * mpc.el (mpc-proc): Add `restart' argument.
20655 (mpc-proc-cmd): Use it.
20656 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
20657 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
20658 less often.
20659
20660 2013-04-10 Masatake YAMATO <yamato@redhat.com>
20661
20662 * progmodes/sh-script.el: Implement `sh-mode' own
20663 `add-log-current-defun-function' (bug#14112).
20664 (sh-current-defun-name): New function.
20665 (sh-mode): Use the function.
20666
20667 2013-04-09 Bastien Guerry <bzg@gnu.org>
20668
20669 * simple.el (choose-completion-string): Fix docstring (bug#14163).
20670
20671 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
20672
20673 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
20674
20675 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
20676 timer (bug#14156).
20677
20678 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
20679
20680 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
20681 declaration.
20682
20683 2013-04-07 Leo Liu <sdl.web@gmail.com>
20684
20685 * pcmpl-x.el: New file.
20686
20687 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
20688
20689 Do not set x-display-name until X connection is established.
20690 This is needed to prevent from weird situation described at
20691 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
20692 * frame.el (make-frame): Set x-display-name after call to
20693 window system initialization function, not before.
20694 * term/x-win.el (x-initialize-window-system): Add optional
20695 display argument and use it.
20696 * term/w32-win.el (w32-initialize-window-system):
20697 * term/ns-win.el (ns-initialize-window-system):
20698 * term/pc-win.el (msdos-initialize-window-system):
20699 Add compatible optional display argument.
20700
20701 2013-04-06 Eli Zaretskii <eliz@gnu.org>
20702
20703 * files.el (normal-backup-enable-predicate): On MS-Windows and
20704 MS-DOS compare truenames of temporary-file-directory and of the
20705 file, so that 8+3 aliases (usually found in $TEMP on Windows)
20706 don't fail comparison by compare-strings. Also, compare file
20707 names case-insensitively on MS-Windows and MS-DOS.
20708
20709 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20710
20711 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
20712 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
20713
20714 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
20715
20716 * whitespace.el (whitespace-color-on, whitespace-color-off):
20717 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
20718
20719 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
20720
20721 * ispell.el (ispell-set-spellchecker-params):
20722 Really set `ispell-args' for all equivs.
20723
20724 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20725
20726 * ido.el (ido-completions): Use extra elements of ido-decorations
20727 (bug#14143).
20728 (ido-decorations): Update docstring.
20729
20730 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
20731
20732 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20733 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
20734 nil during initialization, in order not to miss changes since the
20735 file was opened. (Bug#14140)
20736
20737 2013-04-05 Leo Liu <sdl.web@gmail.com>
20738
20739 * kmacro.el (kmacro-call-macro): Fix bug#14135.
20740
20741 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
20742
20743 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
20744
20745 2013-04-04 Glenn Morris <rgm@gnu.org>
20746
20747 * electric.el (electric-pair-inhibit-predicate): Add :version.
20748
20749 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
20750
20751 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
20752 when a package is required several times (bug#14082).
20753
20754 2013-04-04 Roland Winkler <winkler@gnu.org>
20755
20756 * faces.el (read-face-name): Behave as promised by the docstring.
20757 Assume that arg default is a list of faces.
20758 (describe-face): Call read-face-name with list of default faces.
20759
20760 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20761
20762 * bookmark.el: Fix deletion of bookmarks (bug#13972).
20763 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
20764 (bookmark-bmenu-execute-deletions): Only skip first line if it's
20765 the header.
20766 (bookmark-exit-hook-internal): Save even if list is empty.
20767
20768 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
20769
20770 * emacs-lisp/package.el (package-pinned-packages): New var.
20771 (package--add-to-archive-contents): Obey it (bug#14118).
20772
20773 2013-04-03 Alan Mackenzie <acm@muc.de>
20774
20775 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
20776 Also adapt to the new values of element 7 of a parse state.
20777
20778 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
20779 parameter `not-in-delimiter'. Handle being inside comment opener.
20780 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
20781 character in case we're typing a '*' after a '/'.
20782 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
20783 instead by passing the parameter to c-state-pp-to-literal.
20784
20785 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
20786 for elt. 7 of a parse state.
20787
20788 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
20789
20790 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
20791 * international/latin1-disp.el, international/mule-util.el:
20792 * language/cyril-util.el, language/european.el, language/ind-util.el:
20793 * language/lao-util.el, language/thai.el, language/tibet-util.el:
20794 * language/tibetan.el, language/viet-util.el:
20795 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
20796
20797 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20798
20799 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
20800 (electric-pair-post-self-insert-function): Use it.
20801 (electric-pair-default-inhibit): New function, extracted from
20802 electric-pair-post-self-insert-function.
20803
20804 2013-03-31 Roland Winkler <winkler@gnu.org>
20805
20806 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
20807
20808 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20809
20810 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
20811
20812 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
20813
20814 Un-indent after "pass" and "return" statements (Bug#13888)
20815 * progmodes/python.el (python-indent-block-enders): New var.
20816 (python-indent-calculate-indentation): Use it.
20817
20818 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
20819
20820 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
20821 defun. Defining it as defalias could introduce too eager
20822 byte-compiler optimization. (Bug#14030)
20823
20824 2013-03-30 Chong Yidong <cyd@gnu.org>
20825
20826 * iswitchb.el (iswitchb-read-buffer): Fix typo.
20827
20828 2013-03-30 Leo Liu <sdl.web@gmail.com>
20829
20830 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
20831 (kmacro-execute-from-register): Pass the keyboard macro to
20832 kmacro-call-macro or repeating won't work correctly.
20833
20834 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
20835
20836 * progmodes/subword.el: Back to using `forward-symbol'.
20837
20838 * subr.el (forward-whitespace, forward-symbol)
20839 (forward-same-syntax): Move from thingatpt.el.
20840
20841 2013-03-29 Leo Liu <sdl.web@gmail.com>
20842
20843 * kmacro.el (kmacro-to-register): New command.
20844 (kmacro-execute-from-register): New function.
20845 (kmacro-keymap): Bind to 'x'. (Bug#14071)
20846
20847 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
20848
20849 * mpc.el: Use defvar-local and setq-local.
20850 (mpc--proc-connect): Connection failures are not bugs.
20851 (mpc-mode-map): `follow-link' only applies to the buffer's content.
20852 (mpc-volume-map): Bind to the up-events.
20853
20854 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
20855
20856 * progmodes/subword.el (superword-mode): Use `forward-sexp'
20857 instead of `forward-symbol'.
20858
20859 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
20860
20861 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
20862 (edebug--recursive-edit): Use it.
20863 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
20864 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
20865
20866 2013-03-28 Leo Liu <sdl.web@gmail.com>
20867
20868 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
20869
20870 2013-03-27 Eli Zaretskii <eliz@gnu.org>
20871
20872 * facemenu.el (list-colors-callback): New defvar.
20873 (list-colors-redisplay): New function.
20874 (list-colors-display): Install list-colors-redisplay as the
20875 revert-buffer-function. (Bug#14063)
20876
20877 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
20878
20879 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
20880 and suffixes don't overlap (bug#14061).
20881
20882 * case-table.el: Use lexical-binding.
20883 (case-table-get-table): New function.
20884 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
20885
20886 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
20887
20888 * progmodes/subword.el: Add `superword-mode' to do word motion
20889 over symbol_words (parallels and leverages `subword-mode' which
20890 does word motion inside MixedCaseWords).
20891
20892 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
20893
20894 * eshell/em-unix.el: Move su and sudo to...
20895 * eshell/em-tramp.el: ...Eshell tramp module.
20896
20897 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
20898
20899 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
20900 Change return value to be a sexp. Delay `get-buffer' to after
20901 restoring the desktop (bug#13951).
20902
20903 2013-03-26 Leo Liu <sdl.web@gmail.com>
20904
20905 * register.el: Move semantic tag handling back to
20906 cedet/semantic/senator.el. (Bug#14052)
20907
20908 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
20909
20910 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
20911 into the prompt either (bug#13963).
20912
20913 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
20914
20915 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
20916 part of "(error-foo)".
20917
20918 2013-03-24 Juri Linkov <juri@jurta.org>
20919
20920 * replace.el (list-matching-lines-prefix-face): New defcustom.
20921 (occur-1): Pass `list-matching-lines-prefix-face' to the function
20922 `occur-engine' if `face-differs-from-default-p' returns t.
20923 (occur-engine): Add `,' inside backquote construct to evaluate
20924 `prefix-face'. Propertize the prefix with the `prefix-face' face.
20925 Pass `prefix-face' to the functions `occur-context-lines' and
20926 `occur-engine-add-prefix'.
20927 (occur-engine-add-prefix, occur-context-lines): Add optional arg
20928 `prefix-face' and propertize the prefix with `prefix-face'.
20929 (Bug#14017)
20930
20931 2013-03-24 Leo Liu <sdl.web@gmail.com>
20932
20933 * nxml/rng-valid.el (rng-validate-while-idle)
20934 (rng-validate-quick-while-idle): Guard against deleted buffer.
20935 (Bug#13999)
20936
20937 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
20938 is the last entry in kill-buffer-hook.
20939
20940 * files.el (kill-buffer-hook): Doc fix.
20941
20942 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
20943
20944 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
20945 Make it safe-local.
20946
20947 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
20948
20949 2013-03-23 Leo Liu <sdl.web@gmail.com>
20950
20951 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
20952 Remove.
20953
20954 * nxml/rng-valid.el (rng-validate-mode)
20955 (rng-after-change-function, rng-do-some-validation):
20956 * nxml/rng-maint.el (rng-validate-buffer):
20957 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
20958 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
20959 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
20960 (nxml-extend-after-change-region): Use with-silent-modifications.
20961
20962 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
20963 timer-idle-list.
20964
20965 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
20966 (rng-next-error-1, rng-previous-error-1): Do not let-bind
20967 timer-idle-list. (Bug#13999)
20968
20969 2013-03-23 Juri Linkov <juri@jurta.org>
20970
20971 * info.el (info-index-match): New face.
20972 (Info-index, Info-apropos-matches): Add a nested subgroup to the
20973 main pattern and add text properties with the new face to matches
20974 in index entries relative to the beginning of the index entry.
20975 (Bug#14015)
20976
20977 2013-03-21 Eric Ludlam <zappo@gnu.org>
20978
20979 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
20980 Inhibit read only while inserting objects.
20981
20982 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
20983
20984 * progmodes/cfengine.el: Update docs to mention
20985 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
20986 symbol motion. Remove "_" from the word syntax.
20987
20988 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
20989
20990 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
20991 syntax for both `cfengine2-mode' and `cfengine3-mode'.
20992
20993 2013-03-20 Juri Linkov <juri@jurta.org>
20994
20995 * info.el (Info-next-reference-or-link)
20996 (Info-prev-reference-or-link): New functions.
20997 (Info-next-reference, Info-prev-reference): Use them.
20998 (Info-try-follow-nearest-node): Handle footnote navigation.
20999 (Info-fontify-node): Fontify footnotes. (Bug#13989)
21000
21001 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
21002
21003 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
21004 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
21005
21006 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
21007
21008 Suppress unnecessary non-ASCII chatter during build process.
21009 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
21010 (batch-skkdic-convert): Suppress most of the chatter.
21011 It's not needed so much now that machines are faster,
21012 and its non-ASCII component was confusing; see Dmitry Gutov in
21013 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
21014
21015 2013-03-20 Leo Liu <sdl.web@gmail.com>
21016
21017 * ido.el (ido-chop): Fix bug#10994.
21018
21019 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
21020
21021 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
21022 Remove vars.
21023 (whitespace-color-on, whitespace-color-off):
21024 Use `font-lock-fontify-buffer' (Bug#13817).
21025
21026 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
21027
21028 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
21029 remapping in mode-line.
21030 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
21031
21032 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
21033
21034 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
21035 value for `whitespace-line' face (Bug#13875).
21036 (whitespace-font-lock-keywords): Change description.
21037 (whitespace-color-on): Don't save `font-lock-keywords' value, save
21038 the constructed keywords instead.
21039 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
21040
21041 2013-03-19 Leo Liu <sdl.web@gmail.com>
21042
21043 * progmodes/compile.el (compilation-display-error): New command.
21044 (compilation-mode-map, compilation-minor-mode-map): Bind it to
21045 C-o. (Bug#13992)
21046
21047 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
21048
21049 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
21050
21051 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
21052
21053 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
21054
21055 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
21056
21057 * net/tramp-compat.el (tramp-compat-user-error): New defun.
21058
21059 * net/tramp-adb.el (tramp-adb-handle-shell-command):
21060 * net/tramp-gvfs.el (top):
21061 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
21062 (tramp-handle-shell-command): Use it.
21063 (tramp-dissect-file-name): Raise an error when hostname is a
21064 method name, and neither method nor user is specified.
21065
21066 * net/trampver.el: Update release number.
21067
21068 2013-03-18 Leo Liu <sdl.web@gmail.com>
21069
21070 Make sure eldoc can be turned off properly.
21071 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
21072 eldoc-mode.
21073 (eldoc-display-message-p): Revert last change.
21074 (eldoc-display-message-no-interference-p)
21075 (eldoc-print-current-symbol-info): Tweak.
21076
21077 2013-03-18 Tassilo Horn <tsdh@gnu.org>
21078
21079 * doc-view.el (doc-view-new-window-function): Check the new window
21080 overlay's display property instead the char property of the
21081 buffer's first char. Use `with-selected-window' instead of
21082 `save-window-excursion' with `select-window'.
21083 (doc-view-document->bitmap): Check the current doc-view overlay's
21084 display property instead the char property of the buffer's first char.
21085
21086 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
21087
21088 Automate the build of ja-dic.el (Bug#13984).
21089 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
21090 from the input, rather than assume that it's been done for us by the
21091 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
21092 the current date into a ja-dic.el comment, as that complicates
21093 regression testing.
21094
21095 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21096
21097 * whitespace.el: Fix double evaluation.
21098 (whitespace-space, whitespace-hspace, whitespace-tab)
21099 (whitespace-newline, whitespace-trailing, whitespace-line)
21100 (whitespace-space-before-tab, whitespace-indentation)
21101 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
21102 obsolete defvars.
21103 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
21104 (whitespace-color-on): Use a single font-lock-add-keywords call.
21105 Fix double-evaluation of face variables.
21106
21107 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
21108
21109 * net/tramp-adb.el (tramp-adb-parse-device-names):
21110 Use `start-process' instead of `call-process'. Otherwise, the
21111 function might be blocked under MS Windows. (Bug#13299)
21112
21113 2013-03-17 Leo Liu <sdl.web@gmail.com>
21114
21115 Extend eldoc to display info in the mode-line. (Bug#13978)
21116 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
21117 (eldoc-mode-line-string): New variable.
21118 (eldoc-minibuffer-message): New function.
21119 (eldoc-message-function): New variable.
21120 (eldoc-message): Use it.
21121 (eldoc-display-message-p)
21122 (eldoc-display-message-no-interference-p):
21123 Support eldoc-post-insert-mode.
21124
21125 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
21126 (eval-expression): Run it.
21127
21128 2013-03-17 Roland Winkler <winkler@gnu.org>
21129
21130 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
21131 strings in the list of return values.
21132
21133 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21134
21135 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
21136 radix before checking for HMS forms.
21137
21138 2013-03-16 Leo Liu <sdl.web@gmail.com>
21139
21140 * progmodes/scheme.el: Add indentation and font-locking for λ.
21141 (Bug#13975)
21142
21143 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
21144
21145 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
21146 token before point (bug#13942).
21147
21148 2013-03-16 Leo Liu <sdl.web@gmail.com>
21149
21150 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
21151
21152 2013-03-16 Eli Zaretskii <eliz@gnu.org>
21153
21154 * startup.el (command-line-normalize-file-name): Fix handling of
21155 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
21156 <xfq.free@gmail.com> in
21157 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
21158
21159 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
21160
21161 Sync with Tramp 2.2.7.
21162
21163 * net/trampver.el: Update release number.
21164
21165 2013-03-14 Tassilo Horn <tsdh@gnu.org>
21166
21167 * doc-view.el: Fix bug#13887.
21168 (doc-view-insert-image): Don't modify overlay associated to
21169 non-live windows, and implement horizontal centering of image in
21170 case it's smaller than the window.
21171 (doc-view-new-window-function): Force redisplay of new windows on
21172 doc-view buffers.
21173
21174 2013-03-13 Karl Fogel <kfogel@red-bean.com>
21175
21176 * saveplace.el (save-place-alist-to-file): Don't sort
21177 `save-place-alist', just pretty-print it (bug#13882).
21178
21179 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
21180
21181 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
21182 Check whether `default-file-name-coding-system' is bound.
21183 It isn't in XEmacs.
21184
21185 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
21186
21187 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
21188 backquotes for `obsolete' (bug#13929).
21189
21190 * international/mule.el (find-auto-coding): Include file name in
21191 obsolescence warning (bug#13922).
21192
21193 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
21194
21195 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
21196 for CFEngine 3-specific indentation.
21197 (cfengine3-indent-line): Use it. Fix up category regex.
21198 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
21199
21200 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21201
21202 * type-break.el (type-break-file-name):
21203 * textmodes/remember.el (remember-data-file):
21204 * strokes.el (strokes-file):
21205 * shadowfile.el (shadow-initialize):
21206 * saveplace.el (save-place-file):
21207 * ps-bdf.el (bdf-cache-file):
21208 * progmodes/idlwave.el (idlwave-config-directory):
21209 * net/quickurl.el (quickurl-url-file):
21210 * international/kkc.el (kkc-init-file-name):
21211 * ido.el (ido-save-directory-list-file):
21212 * emulation/viper.el (viper-custom-file-name):
21213 * emulation/vip.el (vip-startup-file):
21214 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
21215 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
21216
21217 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
21218
21219 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
21220 * language/thai-word.el: Switch to UTF-8.
21221
21222 See ChangeLog.16 for earlier changes.
21223
21224 ;; Local Variables:
21225 ;; coding: utf-8
21226 ;; End:
21227
21228 Copyright (C) 2011-2014 Free Software Foundation, Inc.
21229
21230 This file is part of GNU Emacs.
21231
21232 GNU Emacs is free software: you can redistribute it and/or modify
21233 it under the terms of the GNU General Public License as published by
21234 the Free Software Foundation, either version 3 of the License, or
21235 (at your option) any later version.
21236
21237 GNU Emacs is distributed in the hope that it will be useful,
21238 but WITHOUT ANY WARRANTY; without even the implied warranty of
21239 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21240 GNU General Public License for more details.
21241
21242 You should have received a copy of the GNU General Public License
21243 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.