]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Remove spurious reference to symbol category_properties.
[gnu-emacs] / lisp / ChangeLog
1 2014-11-26 Alan Mackenzie <acm@muc.de>
2
3 Remove spurious reference to symbol category_properties.
4 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
5
6 2014-11-26 Glenn Morris <rgm@gnu.org>
7
8 * arc-mode.el (archive-visit-single-files): Add :version.
9
10 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11
12 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
13 elements.
14 (nsm-warnings-ok-p): The new version of this function always
15 returned nil when everything was OK.
16
17 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
18
19 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
20
21 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
22 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
23
24 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
25
26 * emacs-lisp/byte-run.el (function-put): Match argument names to
27 docstring.
28
29 2014-11-24 Sam Steingold <sds@gnu.org>
30
31 * vc/vc-hooks.el (vc-directory-exclusion-list):
32 Fix a trivial typo (bug#19171).
33
34 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * vc/vc-hooks.el (vc-state-base-face): Don't override
37 mode-line-inactive.
38
39 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
40
41 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
42 (eww-process-text-input): Inhibit read only so that input fields
43 don't get shortened (bug#19085).
44
45 2014-11-24 Leo Liu <sdl.web@gmail.com>
46
47 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
48
49 * window.el (with-temp-buffer-window)
50 (with-current-buffer-window, with-displayed-buffer-window):
51 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
52 * emacs-lisp/cl-lib.el (substring):
53 * emacs-lisp/cl-extra.el (cl-getf): Use it.
54
55 2014-11-24 Eli Zaretskii <eliz@gnu.org>
56
57 * isearch.el (isearch-update): Don't assume
58 pos-visible-in-window-p will return nil when point is hscrolled
59 out of view. (Bug#19157)
60
61 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
62
63 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
64 (eww-follow-link): Follow in new buffer in case of prefix
65 argument, open externally with double prefix (bug#19130).
66
67 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
68
69 * net/eww.el (eww-display-html): Decode the document-defined charset.
70 (eww): Pop to the *eww* buffer immediately after executing the
71 `M-x eww' command to avoid having buffers pop up later.
72 (eww-display-html): Don't pop the *eww* buffer.
73 (eww-display-raw): Ditto.
74 (eww-display-image): Ditto.
75 (eww-follow-link): Make going to #targets in the page work again.
76
77 2014-11-23 Ivan Shmakov <ivan@siamics.net>
78
79 * net/eww.el (eww-suggest-uris): New variable.
80 (eww-suggested-uris): New function.
81 (eww): Default to URL under point.
82 (eww-links-at-point): New function.
83
84 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
85
86 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
87
88 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
89
90 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
91
92 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
93
94 * net/eww.el (eww-set-character-encoding): New command and keystroke.
95 (eww-display-raw): Use it (bug#16225).
96
97 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
98
99 * net/nsm.el (network-security-level): Rename from
100 `nsm-security-level' and documented.
101
102 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
103 we're sending a password.
104
105 * net/nsm.el: New file that implements a Network Security Manager.
106
107 * net/network-stream.el (open-network-stream): Add a new
108 :warn-unless-encrypted parameter.
109 (network-stream-open-plain): Allow warning unless encrypted.
110 (network-stream-open-starttls): Call the Network Security Manager.
111 (network-stream-open-tls): Ditto.
112
113 2014-11-23 Leo Liu <sdl.web@gmail.com>
114
115 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
116 (calendar-chinese-to-absolute-for-diary)
117 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
118 Handle leap months in Chinese calendar. (Bug#18953)
119
120 2014-11-22 Alan Mackenzie <acm@muc.de>
121
122 Fix error with `mark-defun' and "protected:" in C++ Mode.
123 Fixes: debbugs:19134.
124
125 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
126 return code of (label) from c-beginning-of-decl-1.
127
128 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
129
130 * net/newst-backend.el (newsticker--sentinel-work): Tell
131 `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
132
133 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
134
135 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
136 (tramp-sh-handle-process-file): Propagate `process-environment'.
137
138 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
139 Tramp propagates environment variables now.
140
141 2014-11-22 Eric S. Raymond <esr@snark>
142
143 * vc/vc-filewise.el: New file to isolate code used only by the
144 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
145 live in vc.el and certainly not in vc-hooks.el.
146
147 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
148 This is preaparatory to isolating all the 'master' functions
149 used only by the file-oriented back ends. With this done first,
150 the substantive diffs will be easier to read.
151
152 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
153
154 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
155 that is recognized by `help-mode'.
156
157 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * desktop.el (desktop-create-buffer): Use activate-mark to set
160 `mark-active' (bug#19058).
161
162 2014-11-21 Eric S. Raymond <esr@snark>
163
164 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
165 nil state.
166
167 2014-11-21 Eli Zaretskii <eliz@gnu.org>
168
169 * vc/vc.el (vc-deduce-fileset): Support invocation from
170 *vc-change-log* buffer. (Bug#19084)
171
172 2014-11-13 Matthew Leach <matthew@mattleach.net>
173
174 * arc-mode.el (archive-visit-single-files): New.
175 (archive-mode): Visit file if archive contains a single file.
176 (Bug#1702)
177
178 2014-11-21 Ulrich Müller <ulm@gentoo.org>
179
180 * vc/vc.el: Fix a typo in the commentary.
181
182 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
183
184 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
185 testing and a real log-view mode.
186
187 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el,
188 vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el,
189 vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
190 checkout methods; where it matters (which is only in SCCS and RCS)
191 files are always checked out editable. This may actually have
192 been dynamically true already - it looks like the vc-next-action
193 code evolved past visiting the other case. Tested with RCS.
194
195 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el,
196 vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el,
197 vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
198 argument from the backend checkin methods. Only the RCS, SCCS,
199 and CVS back ends tried to do anything with it, and that code was
200 never exercised. Chiseling away the cruft of decades...
201
202 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
203
204 * net/eww.el (eww-render): Remove a no-op :title setting.
205
206 2014-11-19 Ivan Shmakov <ivan@siamics.net>
207
208 * net/eww.el (eww-history-limit): New variable.
209 (eww-save-history): Use it (bug#19105).
210 (eww-reload): Reload the page in the right buffer.
211
212 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
213
214 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
215
216 2014-11-19 Ivan Shmakov <ivan@siamics.net>
217
218 * net/eww.el (eww-desktop-remove-duplicates)
219 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
220 (eww-mode): Set up desktop mode (bug#18010).
221 (eww-desktop-data-save, eww-desktop-data-1)
222 (eww-desktop-history-duplicate, eww-desktop-misc-data)
223 (eww-restore-desktop): New functions.
224
225 2014-11-19 Eli Zaretskii <eliz@gnu.org>
226
227 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
228 correct buffer. (Bug#19101)
229
230 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
231
232 Fix bug#19099.
233 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
234 `diff-switches' if `vc-git-diff-switches' is nil.
235
236 2014-11-18 Juri Linkov <juri@linkov.net>
237
238 * simple.el (next-line-or-history-element): Wrap next-line
239 in with-no-warnings.
240 (previous-line-or-history-element): Wrap previous-line
241 in with-no-warnings.
242
243 2014-11-18 Juri Linkov <juri@linkov.net>
244
245 * progmodes/grep.el (grep-compute-defaults):
246 Compute grep-highlight-matches before its use.
247
248 2014-11-18 Juri Linkov <juri@linkov.net>
249
250 * replace.el (query-replace-from-to-separator): Turn defvar into
251 defcustom. Wrap char-displayable-p in ignore-errors because an
252 attempt to autoload char-displayable-p fails during pre-loading.
253 Move (propertize "\0" ... 'separator t) out of customizable part
254 to query-replace-read-from.
255 (query-replace-read-from): Call custom-reevaluate-setting on
256 query-replace-from-to-separator to reevaluate the separator
257 depending on the return value of char-displayable-p.
258 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
259
260 2014-11-18 Juri Linkov <juri@linkov.net>
261
262 * bindings.el (minibuffer-local-map): Rebind [down] from
263 next-history-element to next-line-or-history-element, and [up]
264 from previous-history-element to previous-line-or-history-element.
265
266 * simple.el (next-line-or-history-element)
267 (previous-line-or-history-element): New commands.
268 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
269
270 2014-11-18 Leo Liu <sdl.web@gmail.com>
271
272 * emacs-lisp/nadvice.el (define-advice): New macro.
273 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
274 Add define-advice.
275 (lisp-font-lock-keywords-1): Add define-advice.
276
277 2014-11-18 Daiki Ueno <ueno@gnu.org>
278
279 * epg.el (epg-context): New slot EDIT-CALLBACK.
280 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
281 (epg-reset): Reset EDIT-CALLBACK of the context.
282 (epg-start-edit-key): New function.
283 (epg-edit-key): New function.
284
285 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
286
287 Port new time stamp handling to Emacs 23.2.
288 This fix is for Gnus. Problem reported by Katsumi Yamaoka.
289 * calendar/time-date.el (time-add, time-subtract, time-less-p):
290 Use eval-and-compile, not eval-when-compile.
291
292 2014-11-18 Daiki Ueno <ueno@gnu.org>
293
294 * epg.el (epg-context-set-passphrase-callback)
295 (epg-context-set-progress-callback): Check if the CALLBACK
296 argument is a function, instead of a cons.
297
298 2014-11-18 Daiki Ueno <ueno@gnu.org>
299
300 * epa-file.el (epa-file-insert-file-contents)
301 (epa-file-write-region): Remove redundant check of
302 epa-pinentry-mode.
303 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
304 (epa-sign-region, epa-encrypt-region): Remove redundant check of
305 epa-pinentry-mode.
306
307 2014-11-18 Daiki Ueno <ueno@gnu.org>
308
309 * epa-file.el (epa-file-insert-file-contents): Don't show
310 "*Error*" buffer if input file does not exist.
311 Reported by Herbert J. Skuhra.
312
313 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
314 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
315
316 Fix bug#13871 (an alternative version of the patch).
317 * progmodes/cc-langs.el: Support some of the new keywords in
318 C++11.
319 (c-operators): Add "alignof".
320 (c-primitive-type-kwds): Add "char16_t", "char32_t".
321 (c-type-modifier-kwds): Add "constexpr", "noexcept".
322 (c-modifier-kwds): Add "thread_local".
323 (c-constant-kwds): Add "nullptr".
324
325 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
326
327 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
328 New variables for specifying tildify pattern and representation of
329 a hard space -- a no-break space by default -- respectively.
330 Being buffer-local they are much easier to handle than
331 `tildify-string-alist' and `tildify-pattern-alist' respectively
332 that have been used so far. They also works better with derived
333 modes.
334 (tildify-foreach-region-function): New variable specifying
335 a function determining portions of buffer that should be
336 tildified. It allows major modes to create a filtering function
337 more elaborate than a set of regular expressions. Initialised to
338 `tildify--deprecated-ignore-evironments' by default to handle now
339 deprecated `tildify-ignored-environments-alist' variable.
340 (tildify--foreach-region): A new function that takes
341 `tildify-foreach-region-function' into account and calls callback
342 for regions of the buffer that should be tildified.
343 (tildify-foreach-ignore-environments): A new function which can be
344 partially applied and used as `tildify-foreach-region-function'.
345 (tildify-ignored-environments-alist, tildify-pattern)
346 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
347 (tildify--find-env): Rename from `tildify-find-env' and mark as
348 obsolete.
349 (tildify--deprecated-ignore-evironments): New function,
350 immediately marked as obsolete, used to handle deprecated
351 `tildify-ignored-environments-alist'.
352
353 * textmodes/tex-mode.el (tex-common-initialization):
354 Set `tildify-space-string' and `tildify-foreach-region-function'
355 variables in all variants of TeX mode since `tildify-string-alist'
356 and `tildify-ignored-environments-alist' are now empty by default.
357
358 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
359 If encoding supports it use no-break space instead of character
360 entity; this changes previous default which used a numeric
361 reference.
362
363 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
364 If encoding does not support no-break space, use numeric reference;
365 this changes previous default which used named entity (“&nbsp;”)
366 in HTML mode.
367
368 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
369
370 Fix bug#5433.
371 * calendar/icalendar.el (icalendar-export-alarms):
372 New customizable variable.
373 (icalendar-export-region): Export alarms as specified in
374 `icalendar-export-alarms'.
375 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
376 New functions for exporting alarms.
377
378 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
379
380 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
381
382 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
383
384 Port new time stamp handling to old Emacs and to XEmacs.
385 This is needed for Gnus, which copies time-date.el and which
386 runs on older Emacs implementations.
387 * calendar/time-date.el (with-decoded-time-value):
388 Handle 'nil' and floating-point arg more compatibly with new Emacs.
389 (encode-time-value, with-decoded-time-value):
390 Obsolete only if new Emacs.
391 (time-add, time-subtract, time-less-p): Define if not new Emacs.
392
393 Improve time stamp handling, and be more consistent about it.
394 This implements a suggestion made in:
395 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
396 Among other things, this means timer.el no longer needs to
397 autoload the time-date module.
398 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
399 * arc-mode.el (archive-ar-summarize):
400 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
401 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
402 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
403 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
404 * proced.el (proced-time-lessp):
405 * timezone.el (timezone-time-from-absolute):
406 * type-break.el (type-break-schedule, type-break-time-sum):
407 Simplify by using new functionality.
408 * calendar/cal-dst.el (calendar-next-time-zone-transition):
409 Do not return time values in obsolete and undocumented (HI . LO)
410 format; use (HI LO) instead.
411 * calendar/time-date.el (with-decoded-time-value):
412 Treat 'nil' as current time. This is mostly for XEmacs.
413 (encode-time-value, with-decoded-time-value): Obsolete.
414 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
415 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
416 * ldefs-boot.el: Update to match new time-date.el
417 * proced.el: Do not require time-date.
418
419 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
420
421 * net/eww.el (eww-mode): Make the buffer read-only.
422 (eww-form-text): Inhibit read-only-ness in text input fields
423 (bug#16476).
424
425 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * simple.el (execute-extended-command--shorter): Cut search here.
428 (execute-extended-command): Instead of here.
429
430 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
431
432 * progmodes/python.el (python-mode): Avoid use of set-local to
433 keep Emacs 24.x compatibility.
434
435 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
436
437 * net/shr.el (shr): Move to the new defgroup `web'.
438
439 * net/eww.el (eww): Ditto.
440
441 * simple.el (execute-extended-command): Don't show the help
442 message if the binding isn't significantly shorter than the
443 M-x command the user typed (bug#19013).
444
445 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
446
447 * calendar/icalendar.el (icalendar--convert-tz-offset):
448 Return complete cons when offsets of standard time and daylight saving
449 time are equal.
450 (icalendar-export-region): Fix unbound variable warning.
451
452 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
453
454 * progmodes/python.el (run-python): Allow CMD to be optional and
455 default it to a safe command, even for Windows. (bug#18596)
456
457 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
458
459 * progmodes/python.el (python-shell-calculate-command):
460 Rename from python-shell-parse-command. Cleanup.
461 (run-python, run-python-internal): Use it.
462 (python-shell-calculate-pythonpath): Rename from
463 python-new-pythonpath.
464 (python-shell-calculate-process-environment): Use it.
465 (python-shell-calculate-exec-path): Add comment.
466
467 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
468
469 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
470 for date handling.
471
472 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
473
474 * version.el (emacs-repository-get-version): Use git rev-parse
475 instead of git log.
476
477 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
478
479 * progmodes/python.el (python-indent-calculate-levels):
480 Fix indentation behavior multiline dedenter statement. (Bug#18432)
481
482 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
483
484 * progmodes/python.el (python-indent-region):
485 Use python-indent-line and skip special cases. (Bug#18843)
486
487 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
488
489 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
490 envelope-from when reporting through sendmail (bug#19054).
491
492 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
493
494 Add faces for the VC modeline state indicator.
495 * lisp/vc/vc-hooks.el:
496 (vc-state-faces, vc-state-base-face)
497 (vc-up-to-date-state, vc-needs-update-state)
498 (vc-locked-state, vc-locally-added-state)
499 (vc-conflict-state, vc-removed-state)
500 (vc-missing-state, vc-edited-state):
501 New faces.
502 (vc-default-mode-line-string): Use them
503
504 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
507
508 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
509
510 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
511
512 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
513
514 * progmodes/python.el (python-eldoc-setup-code): Enhance string
515 type checks, simplify printing. (Bug#18962)
516
517 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
518
519 * progmodes/python.el (python-shell-font-lock-kill-buffer):
520 (python-shell-font-lock-with-font-lock-buffer)
521 (python-shell-get-buffer, python-ffap-module-path):
522 Use `derived-mode-p' instead of equality test on `major-mode'.
523
524 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
525
526 * progmodes/python.el (python-shell-virtualenv-root): Rename from
527 python-shell-virtualenv-path.
528 (python-shell-internal-get-process-name)
529 (python-shell-calculate-process-environment)
530 (python-shell-calculate-exec-path): Use it.
531
532 2014-11-14 Eli Zaretskii <eliz@gnu.org>
533
534 * bindings.el (search-map): Fix last change: don't use 'kbd' in
535 bindings.el, since it is not yet loaded when bindings.el is
536 preloaded.
537
538 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
539
540 * progmodes/python.el (python-shell-completion-get-completions):
541 Fix previous merge.
542
543 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
544
545 * net/eww.el (eww-render): Don't set the title to the URL.
546
547 2014-11-13 Ulrich Müller <ulm@gentoo.org>
548
549 * version.el (emacs-repository-get-version): Call `git log'
550 command with proper format argument (bug#19049).
551
552 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
553
554 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
555
556 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
557
558 * net/eww.el (eww-search-words): New command (bug#16258).
559
560 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
561
562 * net/shr.el (shr-inhibit-images): Add a doc string.
563
564 * net/eww.el (eww-after-render-hook): New variable.
565 (eww-render): Use it.
566
567 * net/shr.el (shr-descend): Don't descend further than
568 `max-specpdl-size' allows (bug#16587).
569 (shr-depth): New variable.
570 (shr-warning): New variable.
571
572 2014-11-13 Ivan Shmakov <ivan@siamics.net>
573
574 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
575 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
576
577 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
578
579 * net/eww.el (eww): Add comment to clarify.
580
581 * net/shr.el (shr-parse-image-data): Remove blocked bits from
582 external SVG images.
583 (shr-tag-object): Display images in <object> forms (bug#16244).
584 (shr-tag-table): Also insert <objects> after the tables.
585
586 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
587
588 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
589
590 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
591
592 * net/eww.el (eww-form-file): Fix version number.
593
594 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
595
596 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
597
598 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
599
600 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
601 (eww-submit-file): New key map of file upload.
602 (eww-form-file): New file upload button and file name context.
603 (eww-select-file): Select file and display selected file name.
604 (eww-tag-input): Handle input tag of file type.
605 (eww-update-field): Add point offset.
606 (eww-submit): Add submit with multipart/form-data.
607
608 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
609
610 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
611 Allow taking a buffer to render data in. This allows using several
612 eww buffers (bug#16211).
613
614 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
615
616 * net/eww.el (eww-download-callback): Save only the file contents,
617 not the headers.
618
619 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
620
621 * net/eww.el (eww-data): New plist to store all the data relevant
622 to a single page, used throughout the file instead of the
623 variables `eww-current-url', `eww-current-dom',
624 `eww-current-source', and `eww-current-title'.
625 (eww-readable): Copy over pertinent data from the parent page.
626 (eww-save-history): Don't let the history grow infinitely.
627
628 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
629 `eww-up-url', `eww-home-url', `eww-start-url' and
630 `eww-contents-url' and put the data into the `eww-data' plist.
631 This allow restoring these values after going back in the history.
632
633 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
634
635 Allow VTIMEZONE where daylight and standard time zones are equal.
636 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
637 * calendar/icalendar.el (icalendar--convert-tz-offset):
638 Support timezone without daylight saving time.
639
640 2014-11-10 Glenn Morris <rgm@gnu.org>
641
642 * startup.el (command-line): Handle nil elements in load-path.
643
644 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * help.el (view-lossage): Include the actual commands run.
647
648 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
649
650 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
651 no state is specified. (Bug#18964)
652
653 2014-11-09 Eric Ludlam <zappo@gnu.org>
654
655 * emacs-lisp/eieio-custom.el (eieio-customize-object):
656 Set eieio-cog (current group) to g, which is an improved form of input
657 group.
658
659 2014-11-09 Juri Linkov <juri@jurta.org>
660
661 * isearch.el (isearch-message-prefix): Show "Multi-file" and
662 "Multi-buffer" instead of "Multi". (Bug#13592)
663
664 * misearch.el (multi-isearch-file-list):
665 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
666 (multi-isearch-end): Reset multi-isearch-buffer-list and
667 multi-isearch-file-list to nil.
668
669 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
672 Don't call byte-compile-preprocess since the result will go through
673 cconv.
674 (byte-compile-output-docform): Handle uninterned `name' correctly.
675 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
676 to circumvent byte-compiler bug.
677
678 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
679 (macroexp--compiler-macro): Remove left-over debug code.
680
681 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
682
683 2014-11-08 Juri Linkov <juri@jurta.org>
684
685 * simple.el (shell-command): Use buffer-name when output-buffer is
686 a buffer. (Bug#18096)
687
688 2014-11-08 Juri Linkov <juri@jurta.org>
689
690 * minibuffer.el (minibuffer-completion-help): Compare this-command
691 with completion-at-point. (Bug#17809)
692
693 2014-11-08 Glenn Morris <rgm@gnu.org>
694
695 * emacs-lisp/bytecomp.el (byte-compile-report-error):
696 Allow the argument to be a string. Due to the vague doc,
697 it was already being used this way.
698
699 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
700
701 * net/tramp.el (tramp-check-cached-permissions): Include hop in
702 the constructed Tramp file name. (Bug#18943)
703
704 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
705
706 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
707 (bug#18952).
708 (cua-set-mark, cua--post-command-handler-1):
709 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
710
711 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
712
713 * files.el (file-name-non-special): Wrap the call of
714 `insert-file-contents' by `unwind-protect', in order to set the
715 buffer's file name anyway. (Bug#18891)
716
717 2014-11-08 Alan Mackenzie <acm@muc.de>
718
719 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
720 * progmodes/cc-fonts.el (c-font-lock-declarations):
721 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
722 the buffer is sometimes narrowed to less than "limit" (e.g., in
723 the presence of macros).
724
725 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
726
727 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
728 only when message appeared in minibuffer. (Bug#18891)
729
730 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
731 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
732 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
733 case of errors.
734
735 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
738 Don't compile before eval in `eval-and-compile'.
739 (byte-compile-arglist-warn): Add check for defining macros after their
740 first use. Check call use even if the function is fboundp.
741
742 2014-11-08 Richard Stallman <rms@gnu.org>
743
744 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
745 Check more carefully for mime-part specified character set.
746 Check for mime-part Content Transfer Encoding.
747 Notify if no armor found.
748
749 2014-11-08 Martin Rudalics <rudalics@gmx.at>
750
751 * faces.el (face-set-after-frame-default): Enable running
752 `window-configuration-change-hook'.
753
754 2014-11-07 Juri Linkov <juri@jurta.org>
755
756 * replace.el: History for query replace pairs.
757 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
758 (query-replace-from-to-separator): New variable.
759 (query-replace-read-from): Let-bind query-replace-from-to-history
760 to a list of FROM-TO strings created from query-replace-defaults
761 and separated by query-replace-from-to-separator. Use it as
762 the history while reading from the minibuffer. Split the returned
763 string by the separator to get FROM and TO parts, and add them
764 to the history variables.
765 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
766 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
767 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
768
769 * isearch.el (isearch-text-char-description): Keep characters
770 intact and put formatted strings with the `display' property.
771
772 2014-11-07 Martin Rudalics <rudalics@gmx.at>
773
774 * cus-start.el (frame-resize-pixelwise): Fix group.
775 (frame-inhibit-implied-resize): Add entry.
776
777 2014-11-07 Daiki Ueno <ueno@gnu.org>
778
779 * epa.el (epa-pinentry-mode): New user option.
780 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
781 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
782 * epa-file.el (epa-file-insert-file-contents)
783 (epa-file-write-region): Respect epa-pinentry-mode.
784
785 2014-11-07 Daiki Ueno <ueno@gnu.org>
786
787 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
788 (bug#18979). Reported by Hideki Saito.
789
790 2014-11-06 Daiki Ueno <ueno@gnu.org>
791
792 * emacs-lisp/package.el (package--display-verify-error): New function.
793 (package--check-signature): Use it to display output sent to stderr.
794
795 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * subr.el (pop): Don't call the getter twice (bug#18968).
798
799 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
800 uses of `funcall'.
801
802 2014-11-06 Daiki Ueno <ueno@gnu.org>
803
804 * epa.el (epa-error-buffer): New variable.
805 (epa-display-error): New function.
806 (epa-decrypt-file, epa-verify-file, epa-verify-region)
807 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
808 (epa-sign-file, epa-sign-region, epa-encrypt-region)
809 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
810 Use setf instead of epg-context-set-*.
811 * epa-file.el (epa-file-insert-file-contents):
812 Use epa-display-error instead of epa-display-info. Mimic the behavior
813 of jka-compr when decryption program is not found.
814 (epa-file-write-region): Use epa-display-error instead of
815 epa-display-info.
816
817 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * vc/vc.el (vc-region-history): New command.
820 (vc-print-log-internal): Use cl-some.
821
822 * vc/vc-git.el (vc-git-region-history): New function.
823 (vc-git-region-history-mode-map)
824 (vc-git--log-view-long-font-lock-keywords)
825 (vc-git-region-history-font-lock-keywords): New vars.
826 (vc-git-region-history-font-lock): New function.
827 (vc-git-region-history-mode): New major mode.
828
829 2014-11-05 Tassilo Horn <tsdh@gnu.org>
830
831 * net/eww.el (subr-x): Require subr-x at compile-time because eww
832 uses string-trim.
833
834 2014-11-05 Daiki Ueno <ueno@gnu.org>
835
836 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
837 (epg-error-output): New buffer-local variable.
838 (epg--start): Initialize epg-error-output.
839 (epg--process-filter): Record output lines sent to stderr, in
840 epg-error-output.
841 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
842 slot of context.
843 * epa-file.el (epa-file-insert-file-contents): On error, display
844 output sent to stderr.
845 (epa-file-write-region): Likewise.
846
847 2014-11-05 Eli Zaretskii <eliz@gnu.org>
848
849 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
850 returned by load-average.
851
852 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
853
854 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
855 a local copy; setting `inhibit-file-name-handlers' proper might be
856 more performant. (Bug#18751)
857
858 2014-11-05 Glenn Morris <rgm@gnu.org>
859
860 * mail/emacsbug.el (report-emacs-bug): No longer include
861 recent-keys in the report. (Bug#18900)
862
863 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
864
865 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
866
867 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
868
869 * net/eww.el (eww): Trim URL with `string-trim'.
870 Suggested by Vibhav Pant <vibhavp@gmail.com>.
871
872 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
873
874 * net/eww.el (eww-score-readability): Don't count comments positively.
875
876 * net/shr.el (shr-retransform-dom): Typo fix.
877
878 * net/eww.el (eww-score-readability): Parse SVC images correctly.
879 (eww-display-html): Don't leave point inside forms.
880
881 * net/shr.el: Ditto.
882
883 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
886 edebug-prin1-to-string already handles circularity.
887
888 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
889 autoloading when specified as a lambda.
890
891 * simple.el (execute-extended-command--last-typed): New var.
892 (read-extended-command): Set it.
893 Don't complete obsolete commands.
894 (execute-extended-command--shorter-1)
895 (execute-extended-command--shorter): New functions.
896 (execute-extended-command): Use them to suggest shorter names.
897 (indicate-copied-region, deactivate-mark): Use region-active-p.
898
899 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
900
901 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
902 local copy of FILENAME, when it is remote. (Bug#18751)
903
904 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
905 an error when the command fails; the return code must indicate.
906 (tramp-adb-send-command-and-check): Fix docstring.
907
908 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
909
910 * net/shr.el (shr-retransform-dom): Don't ignore elements that
911 have no children like <br />.
912
913 * net/eww.el (eww-display-html): Clear `url-queue'.
914 (eww-display-pdf): New function.
915 (eww-render): Display PDFs with `doc-view'.
916 (url-queue): Require `url-queue' to avoid compilation warning.
917 (eww-colorize-region): Remove duplicate function.
918 (eww-tag-body): Use `shr-colorize-region'.
919
920 2014-11-03 Yoni Rabkin <yrk@gnu.org>
921
922 * net/eww.el (eww-list-bookmarks): Autoload.
923
924 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
925
926 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
927
928 * net/eww.el (eww-display-html): The charset is called `utf-8',
929 not `utf8'.
930 (eww-readable): Decode the saved text correctly.
931 (eww-readable): Save the history before displaying so that we can
932 go back to the non-readable version.
933 (eww-display-html): Don't try to decode the text if we've been
934 passed in a pre-parsed DOM.
935 (eww-tag-title): Remove newlines and extra whitespace from the
936 displayed title.
937
938 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
939
940 * net/eww.el (eww-readable): New command and keystroke.
941
942 * net/shr.el (shr-retransform-dom): New function.
943
944 * net/eww.el (eww-display-html): Set `eww-current-source' in the
945 correct buffer.
946 (eww-view-source): Use it.
947
948 2014-11-02 Ivan Shmakov <ivan@siamics.net>
949
950 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
951 (Bug#18603).
952
953 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
954
955 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
956
957 2014-11-02 Ivan Shmakov <ivan@siamics.net>
958
959 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
960
961 2014-11-02 Ivan Shmakov <ivan@siamics.net>
962
963 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
964 (Bug#18834).
965
966 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
967
968 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
969 use as advice.
970 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
971
972 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
975 (bug#18821).
976 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
977
978 2014-11-01 Michael R. Mauger <michael@mauger.com>
979
980 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
981 syntax, add new keywords, and parse longer keywords first.
982 (sql-redirect-one): Protect against empty command.
983 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
984 to SQL. (Bug#14759)
985
986 2014-11-01 Michael R. Mauger <michael@mauger.com>
987
988 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
989 Bug#16814 with let-bind of comint-input-ring variables around read
990 and save functions.
991
992 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
993
994 * net/tramp-cache.el (tramp-get-file-property)
995 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
996 and `tramp-cache-set-count-*' are bound. Otherwise, there might
997 be compiler warnings.
998
999 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
1000 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
1001
1002 2014-11-01 Eli Zaretskii <eliz@gnu.org>
1003
1004 * progmodes/compile.el (compilation-mode): Turn off deferred
1005 fontifications locally. (Bug#18856)
1006
1007 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
1008
1009 * net/tramp-sh.el (tramp-send-command): Fix the case where the
1010 remote-echo connection property is non-nil (bug#18858).
1011
1012 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * simple.el (newline): Add assertions to try and help catch bug#18913.
1015
1016 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
1017 (bug#18886).
1018 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
1019
1020 2014-11-01 Kim F. Storm <storm@cua.dk>
1021
1022 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
1023 * delsel.el (delete-selection-save-to-register)
1024 (delsel--replace-text-or-position): New vars.
1025 (delete-active-region): Use them.
1026 (delete-selection-repeat-replace-region): New command, moved from
1027 cua-base.el.
1028 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
1029 (cua-repeat-replace-region): Move command to delsel.el.
1030 (cua--init-keymaps): Update binding accordingly.
1031 (cua-mode): Set delete-selection-save-to-register.
1032
1033 2014-11-01 Alan Mackenzie <acm@muc.de>
1034
1035 Make blink-parens work with a closing template delimiter.
1036 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
1037 before calling blink-paren-function, so as to apply syntax-table
1038 properties to the ">".
1039
1040 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
1041
1042 * select.el (gui-get-selection): Comment: data-type ignored on NS.
1043
1044 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
1047 (macroexp--expand-all): Unrelated tweaks.
1048
1049 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
1050
1051 2014-10-30 Glenn Morris <rgm@gnu.org>
1052
1053 * startup.el (command-line): Remove pointless attempt to avoid
1054 statting the file-system (which expand-file-name doesn't do).
1055
1056 2014-10-30 Daniel Colascione <dancol@dancol.org>
1057
1058 Add "enum class" support to C++ mode.
1059 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
1060 (c-after-brace-list-key): New language consts/variables.
1061 * progmodes/cc-engine.el (c-looking-at-decl-block):
1062 Exclude spurious match of "enum struct" from decl-block recognition.
1063 (c-backward-colon-prefixed-type): New function.
1064 (c-backward-over-enum-header): Call above function to extend
1065 recognition of enum structure.
1066
1067 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
1070 (c-lang-defconst):
1071 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
1072
1073 2014-10-30 Eli Zaretskii <eliz@gnu.org>
1074
1075 * progmodes/compile.el (compilation-start):
1076 If compilation-scroll-output is non-nil, don't force window-start of
1077 the compilation buffer to be at beginning of buffer. (Bug#18874)
1078
1079 * startup.el (fancy-about-text): Read the entire tutorial, not
1080 just its first 256 bytes. (Bug#18760)
1081
1082 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
1085 * emacs-lisp/cl-extra.el: Add missing provide.
1086
1087 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
1088 all args are copyable (bug#18767).
1089 (=, <, >, <=, >=): Re-enable the optimization.
1090
1091 2014-10-29 Glenn Morris <rgm@gnu.org>
1092
1093 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
1094
1095 * version.el (emacs-bzr-version, emacs-bzr-get-version):
1096 Revert 2014-10-26 change.
1097
1098 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
1099
1100 Simplify use of current-time and friends.
1101 * allout-widgets.el (allout-widgets-hook-error-handler):
1102 * calendar/appt.el (appt-display-message):
1103 * calendar/icalendar.el (icalendar--convert-float-to-ical):
1104 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
1105 (timeclock-last-period, timeclock-day-base):
1106 * eshell/em-ls.el (eshell-ls-file):
1107 * eshell/esh-util.el (eshell-parse-ange-ls):
1108 * generic-x.el (named-database-print-serial):
1109 * net/newst-backend.el (newsticker--get-news-by-url-callback)
1110 (newsticker-get-news, newsticker--sentinel-work)
1111 (newsticker--image-get, newsticker--image-sentinel):
1112 * net/tramp-sh.el (tramp-get-remote-touch):
1113 * progmodes/opascal.el (opascal-debug-log):
1114 * textmodes/remember.el (remember-mail-date)
1115 (remember-store-in-files):
1116 * vc/vc-annotate.el (vc-annotate-display-autoscale)
1117 (vc-default-annotate-current-time):
1118 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
1119 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
1120 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
1121 Omit unnecessary call to current-time.
1122 * calendar/time-date.el (time-to-seconds) [!float-time]:
1123 * vc/vc-annotate.el (vc-annotate-convert-time):
1124 Use current time if arg is nil, to be compatible with float-time.
1125 (time-date--day-in-year): New function, with most of the guts of
1126 the old time-to-day-in-year.
1127 (time-to-day-in-year): Use it.
1128 (time-to-days): Use it, to avoid decoding the same time stamp twice.
1129 * calendar/timeclock.el (timeclock-time-to-date):
1130 Arg is now optional, like current-time-string.
1131 (timeclock-update-mode-line):
1132 Don't call current-time twice to get the current time stamp,
1133 as this can lead to inconsistent results.
1134 * completion.el (cmpl-hours-since-origin):
1135 * ido.el (ido-time-stamp):
1136 * vc/vc-annotate.el (vc-annotate-convert-time):
1137 Simplify by using float-time.
1138 * completion.el (save-completions-to-file):
1139 Rename local var to avoid confusion.
1140 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
1141 time-to-seconds now behaves like float-time with respect to nil arg.
1142 * subr.el (progress-reporter-do-update):
1143 Don't call float-time unless needed.
1144
1145 2014-10-29 Leo Liu <sdl.web@gmail.com>
1146
1147 * net/rcirc.el (rcirc-fill-column): Use function.
1148 (rcirc-markup-fill): Remove adjustment.
1149
1150 2014-10-28 Christopher Schmidt <ch@ristopher.com>
1151
1152 * calc/calc.el (quick-calc):
1153 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
1154
1155 2014-10-28 Sam Steingold <sds@gnu.org>
1156
1157 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
1158 the sake of `window-body-width' (in addition to `frame-width').
1159
1160 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
1161
1162 * version.el: Fix some fallback values to conform to the actual
1163 release number.
1164
1165 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
1166
1167 * Makefile.in: Change some production names so they're neutral
1168 about the repository type.
1169
1170 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
1171
1172 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
1173 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
1174 during initialization. (Bug#18774)
1175
1176 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
1177
1178 * ses.el (macroexp): Add require for this package, so that
1179 function `ses--cell' gets macroexp-quote --- this change was
1180 supposed to be in my previous commit, but left out by mistake.
1181 (ses--cell): Do not make formula a macroexp-quote of value when
1182 value, not formula, is *skip*.
1183
1184 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1185
1186 * ses.el (macroexp): Add require for this package, so that function
1187 `ses--cell gets macroexp-quote.
1188 (ses--cell): Makes formula a macroexp-quote of value when formula
1189 is nil. The rationale of this changr is to allow in the future
1190 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
1191 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
1192 reference list REFLIST would be re-computed after load --- thus
1193 trading off load time against file size.
1194
1195 * emacs-lisp/package.el (package--alist-to-plist-args):
1196 Use macroexp-quote instead of a lambda expression which has the same
1197 content as macroexp-quote.
1198 (macroexp): Add require for this package, so that function
1199 `package--alist-to-plist-args' gets macroexp-quote.
1200
1201 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
1202
1203 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * term/ns-win.el (ns-store-cut-buffer-internal)
1206 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
1207
1208 2014-10-24 Martin Rudalics <rudalics@gmx.at>
1209
1210 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
1211 Calculate increment from last position instead of window edge.
1212 Add right- and bottom-divider bindings to transient map.
1213
1214 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
1217 even if :predicate was nil, for the benefit of typep.
1218 Record the name of the predicate for typep's use.
1219 (cl--make-type-test): Use pcase. Obey new
1220 cl-deftype-satisfies property.
1221
1222 * epg.el: Use cl-defstruct.
1223 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
1224 (epg-data-string): Define via cl-defstruct.
1225 (epg--gv-nreverse): New macro.
1226 (epg-context--make): New constructor (provided vi cl-defstruct).
1227 (epg-make-context): Rewrite using it.
1228 (epg-context-protocol, epg-context-program)
1229 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
1230 (epg-context-include-certs, epg-context-cipher-algorithm)
1231 (epg-context-digest-algorithm, epg-context-compress-algorithm)
1232 (epg-context-passphrase-callback, epg-context-progress-callback)
1233 (epg-context-signers, epg-context-sig-notations, epg-context-process)
1234 (epg-context-output-file, epg-context-result, epg-context-operation)
1235 (epg-context-pinentry-mode): Define using cl-defstruct.
1236 (epg-context-set-protocol, epg-context-set-program)
1237 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
1238 (epg-context-set-digest-algorithm)
1239 (epg-context-set-sig-notations, epg-context-set-process)
1240 (epg-context-set-output-file, epg-context-set-result)
1241 (epg-context-set-operation, epg-context-set-pinentry-mode)
1242 (epg-context-set-compress-algorithm): Remove. Use setf instead.
1243 (epg-context-set-armor, epg-context-set-textmode)
1244 (epg-context-set-signers): Redefine using setf
1245 and declare as obsolete.
1246 (epg-context-set-passphrase-callback)
1247 (epg-context-set-progress-callback): Use setf.
1248 (epg-signature-notations): Rename from epg-sig-notations.
1249 (epg-make-signature, epg-signature-status, epg-signature-key-id)
1250 (epg-signature-validity, epg-signature-fingerprint)
1251 (epg-signature-creation-time, epg-signature-expiration-time)
1252 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
1253 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
1254 (epg-signature-set-status, epg-signature-set-key-id)
1255 (epg-signature-set-validity, epg-signature-set-fingerprint)
1256 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
1257 (epg-signature-set-pubkey-algorithm)
1258 (epg-signature-set-digest-algorithm, epg-signature-set-class)
1259 (epg-signature-set-version, epg-signature-set-notations): Remove.
1260 Use setf instead.
1261 (epg-make-new-signature, epg-new-signature-type)
1262 (epg-new-signature-pubkey-algorithm)
1263 (epg-new-signature-digest-algorithm, epg-new-signature-class)
1264 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
1265 Define using cl-defstruct.
1266 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
1267 (epg-key-user-id-list): Define using cl-defstruct.
1268 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
1269 Use setf instead.
1270 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
1271 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
1272 (epg-sub-key-id, epg-sub-key-creation-time)
1273 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
1274 cl-defstruct.
1275 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
1276 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
1277 (epg-user-id-signature-list): Define using cl-defstruct.
1278 (epg-user-id-set-signature-list): Remove. Use setf instead.
1279 (epg-make-key-signature, epg-key-signature-validity)
1280 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
1281 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
1282 (epg-key-signature-user-id, epg-key-signature-class)
1283 (epg-key-signature-exportable-p): Define using cl-defstruct.
1284 (epg-make-sig-notation, epg-sig-notation-name)
1285 (epg-sig-notation-value, epg-sig-notation-human-readable)
1286 (epg-sig-notation-critical): Define using cl-defstruct.
1287 (epg-sig-notation-set-value): Remove. Use setf instead.
1288 (epg-make-import-status, epg-import-status-fingerprint)
1289 (epg-import-status-reason, epg-import-status-new)
1290 (epg-import-status-user-id, epg-import-status-signature)
1291 (epg-import-status-sub-key, epg-import-status-secret): Define using
1292 cl-defstruct.
1293 (epg-make-import-result, epg-import-result-considered)
1294 (epg-import-result-no-user-id, epg-import-result-imported)
1295 (epg-import-result-imported-rsa, epg-import-result-unchanged)
1296 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
1297 (epg-import-result-new-signatures, epg-import-result-new-revocations)
1298 (epg-import-result-secret-read, epg-import-result-secret-imported)
1299 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
1300 (epg-import-result-imports): Define using cl-defstruct.
1301
1302 * emacs-lisp/package.el: Require EPG during macroexpansion.
1303 (package--check-signature, package-import-keyring): Use setf instead of
1304 epg-context-set-home-directory.
1305
1306 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
1309
1310 2014-10-23 Leo Liu <sdl.web@gmail.com>
1311
1312 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
1313 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
1314 (cfengine3-current-defun): New function.
1315 (cfengine3-mode): Set add-log-current-defun-function.
1316
1317 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1318
1319 * select.el: Use lexical-binding.
1320 (gui-set-selection): Provide an implementation for non-GUI frames
1321 (bug#18791).
1322 * term/x-win.el: Use lexical-binding.
1323 (x-clipboard-yank): Fix up missed renamings.
1324 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
1325 (w32--set-selection): Fix up var names.
1326 * term/pc-win.el: Use lexical-binding.
1327 (w16-selection-exists-p): Silence compiler warning.
1328 (w16-selection-owner-p): Fix up missed renamings.
1329
1330 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
1331
1332 * frame.el (frame-notice-user-settings): Fix excessive quoting.
1333
1334 2014-10-22 Tassilo Horn <tsdh@gnu.org>
1335
1336 * doc-view.el (doc-view-open-text): View the document's plain text
1337 in the current buffer instead of a new one.
1338 (doc-view-toggle-display): Handle the case where the current
1339 buffer contains the plain text contents of the document.
1340 (doc-view-initiate-display): Don't switch to fallback mode if the
1341 user wants to view the doc's plain text.
1342 (doc-view-set-doc-type): Use assoc-string instead of
1343 assoc-ignore-case.
1344
1345 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * subr.el (read-key): Fix clicks on the mode-line.
1348 (set-transient-map): Return exit function.
1349
1350 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
1351 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
1352 (mouse-yank-secondary): Use gui-get-selection.
1353 (mouse--down-1-maybe-follows-link): Use read-key.
1354
1355 * xt-mouse.el: Add `event-kind' property on the fly from
1356 xterm-mouse-translate-1 rather than statically at the outset.
1357
1358 2014-10-21 Daniel Colascione <dancol@dancol.org>
1359
1360 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
1361 change window configuration when we turn it off.
1362
1363 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 Get rid of backend-dependent selection-handling functions for kill/yank
1366 and make it generic instead by relying on the lower-level selection
1367 management functions.
1368
1369 * select.el (select-enable-clipboard): Rename from
1370 gui-select-enable-clipboard.
1371 (select-enable-primary): Move from x-win.el and rename from
1372 x-select-enable-primary.
1373 (gui-last-selected-text): Remove.
1374 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
1375 New vars.
1376 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
1377 (gui-select-text-alist, gui-selection-value-alist): Remove.
1378 (x-select-request-type): Move from x-win.el.
1379 (gui--selection-value-internal): New function, taken from x-win's
1380 x-selection-value-internal.
1381 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
1382 (gui-set-selection-alist): Rename from gui-own-selection-alist and
1383 extend it to handle a nil value as a "disown" request.
1384 (gui-disown-selection-alist): Remove.
1385 (xselect-convert-to-delete): Adjust accordingly.
1386 (gui-set-selection): Simplify accordingly as well. Use dotimes.
1387
1388 * term/x-win.el (x-last-selected-text-primary)
1389 (x-select-enable-primary): Remove (moved to select.el).
1390 (x-select-request-type): Move to select.el.
1391 (x-selection-value-internal, x--selection-value): Remove functions.
1392 (gui-selection-value, gui-select-text): Remove moethods.
1393 (gui-set-selection): Merge own and disown methods.
1394
1395 * term/w32-win.el (w32--select-text, w32--get-selection-value):
1396 Delete function (move functionality into w32--set-selection and
1397 w32--get-selection).
1398 (gui-select-text, gui-selection-value): Don't define methods.
1399 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
1400 New functions.
1401 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
1402 Use them.
1403 (gui-selection-exists-p): Adjust to new name of C primitive.
1404
1405 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
1406 test of gui-select-enable-clipboard, to make it usable as
1407 a gui-get-selection method.
1408 (gui-selection-exists-p): Adjust to new name of C primitive.
1409 (gui-set-selection): Merge own and disown methods.
1410 (gui-select-text, gui-selection-value): Delete methods.
1411 (w16--select-text): Delete function.
1412
1413 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
1414 (ns-selection-value): Remove functions.
1415 (gui-select-text, gui-selection-value): Don't define method any more.
1416 (gui-set-selection): Merge the old own and disown methods.
1417 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
1418 underlying C primitive.
1419
1420 * startup.el (command-line): Adjust now that `gui-method' expects nil
1421 for ttys.
1422
1423 * frame.el (gui-method): Use window-system rather than framep.
1424 (gui-method-declare): The tty case is now nil rather than t.
1425 (make-frame): Adjust accordingly.
1426
1427 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * net/newst-reader.el (newsticker--image-read): Simplify.
1430 (newsticker--icon-read): Use dolist and fix free var error.
1431
1432 * imenu.el (imenu--menubar-keymap): New var.
1433 (imenu-add-to-menubar): Set it to remember the keymap we used.
1434 (imenu-update-menubar): Use it instead of asking lookup-key.
1435
1436 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1437
1438 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1439
1440 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1441 case (bug#18767).
1442
1443 2014-10-21 Glenn Morris <rgm@gnu.org>
1444
1445 * Merge in all changes up to version 24.4 release.
1446
1447 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1450 case (bug#18767).
1451
1452 2014-10-20 Glenn Morris <rgm@gnu.org>
1453
1454 * Merge in all changes up to 24.4 release.
1455
1456 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
1457
1458 * net/newst-backend.el
1459 (newsticker--image-download-by-url-callback): Make this function
1460 actually work: Check status properly, then save image.
1461
1462 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
1465 `this-event'.
1466 (mouse-drag-line): Unless there's no actual mouse, use the event's
1467 position info.
1468
1469 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * textmodes/css-mode.el (scss-mode): New major-mode.
1472 (css-mode-syntax-table): Use d style comment, to ease the scss case.
1473 (css-ident-re): Allow things like @-moz-keyframes.
1474 (scss--hash-re): New const.
1475 (css--font-lock-keywords): New function, extracted from
1476 css-font-lock-keywords.
1477
1478 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
1479
1480 * net/newst-backend.el: Require url-parse.
1481 (newsticker--get-news-by-wget): Store feed name as process property.
1482 (newsticker--sentinel): Read feed name from process property.
1483 (newsticker--sentinel-work): Rename argument name to feed-name.
1484 Rename variable imageurl to image-url. Pick icon url from Atom
1485 1.0 data. Launch download of feed icon.
1486 (newsticker--get-icon-url-atom-1.0): New.
1487 (newsticker--unxml)
1488 (newsticker--unxml-node)
1489 (newsticker--unxml-attribute): Documentation.
1490 (newsticker--icons-dir): New.
1491 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
1492 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
1493 (newsticker--image-download-by-wget): New. Use process properties
1494 for storing informations.
1495 (newsticker--image-sentinel): Read informations from process properties.
1496 (newsticker--image-save)
1497 (newsticker--image-remove)
1498 (newsticker--image-download-by-url)
1499 (newsticker--image-download-by-url-callback): New.
1500 (newsticker-opml-export): Handle url list entries containing a
1501 function instead of an url string.
1502
1503 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
1504 (newsticker--print-extra-elements)
1505 (newsticker--do-print-extra-element):
1506 Documentation (newsticker--image-read): Optionally limit image height.
1507 Use imagemagick if possible.
1508 (newsticker--icon-read): New.
1509
1510 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
1511 (newsticker--treeview-tree-expand): Use feed icons in treeview.
1512 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
1513 (newsticker--tree-widget-leaf-icon): Use feed icon.
1514
1515 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
1518 Use help-function-arglist instead.
1519
1520 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
1521 (eieio--with-scoped-class): Use `declare'.
1522 (eieio-defclass): Remove compatibility code.
1523 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
1524 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
1525
1526 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
1527
1528 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
1529
1530 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
1531 replacements to stock names before stock names in a list.
1532 Cdr may be a list, each name is tried in turn until one is found.
1533
1534 2014-10-18 Alan Mackenzie <acm@muc.de>
1535
1536 Check that a "macro" found near point-min isn't a ## operator.
1537 Fixes bug #18749.
1538 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
1539 (c-beginning-of-macro): Use the above new function.
1540
1541 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
1542
1543 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
1544 correct data to `gnutls-boot' (Bug#18664).
1545 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
1546
1547 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
1548
1549 * whitespace.el (whitespace-style, whitespace-big-indent)
1550 (whitespace-big-indent-regexp, whitespace-style-value-list)
1551 (whitespace-toggle-option-alist, whitespace-interactive-char)
1552 (whitespace-toggle-options)
1553 (global-whitespace-toggle-options, whitespace-help-text)
1554 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
1555 style to `whitespace-mode' to indicate that the line indentation
1556 is too deep. By default, 32 SPACEs or four TABs are considered
1557 too many but `whitespace-big-indent-regexp' can be configured.
1558
1559 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
1560
1561 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
1562 tildify-mode-alist.
1563
1564 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
1567 (defclass, defgeneric, defmethod): Add doc-string position.
1568 (with-slots): Require cl-lib.
1569
1570 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
1571 (list-of): New type.
1572 (eieio--typep): Remove.
1573 (eieio-perform-slot-validation): Use cl-typep instead.
1574
1575 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
1576
1577 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
1578
1579 2014-10-16 Alan Mackenzie <acm@muc.de>
1580
1581 Trigger showing when point is in the "periphery" of a line or just
1582 inside a paren.
1583 * paren.el (show-paren-style, show-paren-delay)
1584 (show-paren-priority, show-paren-ring-bell-on-mismatch):
1585 Remove superfluous :group specifications.
1586 (show-paren-when-point-inside-paren)
1587 (show-paren-when-point-in-periphery): New customizable variables.
1588 (show-paren-highlight-openparen): Make into a defcustom.
1589 (show-paren--unescaped-p, show-paren--categorize-paren)
1590 (show-paren--locate-near-paren): New defuns.
1591 (show-paren--default): Refaactor and trigger on more paren
1592 positions.
1593 (show-paren-function): Small consequential changes.
1594
1595 2014-10-16 Tom Tromey <tom@tromey.com>
1596
1597 * files.el (auto-mode-alist): Use javascript-mode for .jsm
1598 (bug #18719).
1599
1600 2014-10-16 Eli Zaretskii <eliz@gnu.org>
1601
1602 * international/characters.el (bracket-type): Force pre-loading of
1603 uni-brackets.el.
1604
1605 2014-10-16 Alan Mackenzie <acm@muc.de>
1606
1607 * cus-edit.el (custom-command-apply): Specify the return value in
1608 the doc string.
1609 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1610 custom-command-apply has returned non-nil.
1611
1612 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
1615 Remove incorrect handling of eldoc-print-after-edit.
1616 (eldoc-message-commands, eldoc-last-data): Use defvar.
1617 * loadup.el (emacs-lisp/eldoc): Load it.
1618
1619 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
1620 (m4-mode): Use it.
1621 (m4--quoted-p): New function.
1622 (m4-font-lock-keywords): Don't handle #..\n comments any more.
1623 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
1624 for most special characters.
1625
1626 * progmodes/compile.el (compilation--previous-directory): Simplify.
1627 (compilation-next-error): Ensure the parse before we look at
1628 compilation-message property.
1629
1630 2014-10-15 Eli Zaretskii <eliz@gnu.org>
1631
1632 * simple.el (what-cursor-position):
1633 * descr-text.el (describe-char): Update to support the new bidi
1634 characters.
1635
1636 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1637 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1638 buffer-menu display when the first buffer happens to start with
1639 R2L letter.
1640
1641 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * progmodes/elisp-mode.el (elisp--local-variables-1):
1644 Handle quoted expressions (bug#18688).
1645
1646 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
1647 Michael Albinus <michael.albinus@gmx.de>
1648
1649 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1650 Reduce the amount of set environment variable commands.
1651
1652 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1653
1654 Fix import completion. (Bug#18582)
1655 * progmodes/python.el (python-shell-completion-get-completions):
1656 Fix import case regexp.
1657
1658 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1661 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1662 * progmodes/prolog.el (prolog-electric--underscore): Same.
1663
1664 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
1665
1666 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
1667
1668 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1669
1670 * cus-start.el (all): Add missing ns and boolean to
1671 ns-use-fullscreen-animation.
1672
1673 2014-10-11 Leo Liu <sdl.web@gmail.com>
1674
1675 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
1676 Use strings.
1677 (cfengine3-create-imenu-index): New function.
1678 (cfengine3-mode): Use it for `imenu-create-index-function'.
1679 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
1680 buffer is empty.
1681
1682 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1683
1684 * cus-start.el (all): Add ns-use-fullscreen-animation.
1685
1686 2014-10-11 Glenn Morris <rgm@gnu.org>
1687
1688 * calendar/diary-lib.el (diary-display-function):
1689 Drop support for deprecated nil and list forms.
1690 (diary-list-entries): Update for the above.
1691 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
1692
1693 2014-10-10 Leo Liu <sdl.web@gmail.com>
1694
1695 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
1696 (Bug#18656)
1697
1698 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * select.el (gui-selection-exists-p-alist): New method.
1701 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
1702 * simple.el (deactivate-mark): Use it.
1703 * term/x-win.el (gui-selection-exists-p):
1704 * term/w32-win.el (gui-selection-exists-p):
1705 * term/pc-win.el (gui-selection-exists-p):
1706 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
1707
1708 2014-10-10 Glenn Morris <rgm@gnu.org>
1709
1710 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
1711 Fix :type. Allow t to mean no limit.
1712 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
1713
1714 2014-10-09 Glenn Morris <rgm@gnu.org>
1715
1716 * frame.el (display-monitor-attributes-list): Doc tweaks.
1717
1718 2014-10-09 Eli Zaretskii <eliz@gnu.org>
1719
1720 * faces.el (display-grayscale-p): Mention in the doc string that
1721 the argument can be either a display name or a frame.
1722
1723 * frame.el (display-pixel-height, display-pixel-width)
1724 (display-mm-height, display-mm-width, display-backing-store)
1725 (display-save-under, display-planes, display-color-cells)
1726 (display-visual-class, display-monitor-attributes-list)
1727 (display-screens): Mention in the doc string that the argument can
1728 be either a display name or a frame. Improve the docs of the
1729 monitor attributes. (Bug#18636)
1730
1731 2014-10-09 Martin Rudalics <rudalics@gmx.at>
1732
1733 * term.el (term-window-width): Subtract 1 from the width when
1734 any fringe has zero width, not just the right fringe. (Bug#18601)
1735
1736 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
1739
1740 2014-10-08 Leo Liu <sdl.web@gmail.com>
1741
1742 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
1743
1744 2014-10-08 Glenn Morris <rgm@gnu.org>
1745
1746 * calendar/cal-x.el (calendar-dedicate-diary):
1747 Drop support for recently deleted aliases.
1748
1749 2014-10-08 Leo Liu <sdl.web@gmail.com>
1750
1751 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
1752 Always return a syntax. Replace call-process-shell-command with
1753 process-file. Ensure cfengine-mode-syntax-functions-regex is
1754 always set. Ensure cache when cfengine-cf-promises fails.
1755 (Bug#18620)
1756
1757 2014-10-07 Glenn Morris <rgm@gnu.org>
1758
1759 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
1760
1761 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
1762
1763 Sync with upstream verilog-mode revision c075a492.
1764 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1765 (verilog-menu): Add AUTOINSERTLAST.
1766 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
1767 is nil, fix indenting initial/final to match always statements, bug825.
1768 Reported by Tim Clapp.
1769 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
1770 bug557. Reported by ZeDong Mao and Jason Forkey.
1771 (verilog-read-decls): Fix parsing typed interfaces.
1772 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
1773 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
1774 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
1775 Reported by Pierre-David Pfister.
1776 (verilog-auto-insert-lisp): Doc fix.
1777 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
1778 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
1779 (verilog-sk-ovm-class, verilog-sk-uvm-object)
1780 (verilog-sk-uvm-component): Fix missing string keyword in class
1781 skeletons, bug824. Reported by eldad faruhi.
1782
1783 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * term/w32-win.el: Move all code from 32-common-fns.el here.
1786 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
1787 console as well (bug#18629).
1788 * w32-common-fns.el: Remove.
1789 * loadup.el: Don't load w32-common-fns.el.
1790 * w32-fns.elc: Don't require w32-common-fns.
1791
1792 * icomplete.el: Move Iswitchb autoload here. Much simpler.
1793 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
1794 Remove redundant obsolescence thingy.
1795 * loadup.el: Don't load obsolete/loaddefs.el.
1796 * Makefile.in (obsolete-autoloads): Remove.
1797 (AUTOGENEL): Remove obsolete/loaddefs.el.
1798
1799 2014-10-06 Glenn Morris <rgm@gnu.org>
1800
1801 * Makefile.in (obsolete-autoloads): Write to a separate file,
1802 to workaround autoloads bug. (Bug#17407)
1803 (AUTOGENEL): Add obsolete/loaddefs.el.
1804 * loadup.el: Load obsolete/loaddefs.el if present.
1805 * subr.el (do-after-load-evaluation):
1806 Don't warn about obsolete/loaddefs.el.
1807
1808 * menu-bar.el (menu-bar-games-menu): Remove landmark.
1809 It has zero relationship to a game.
1810
1811 2014-10-06 Leo Liu <sdl.web@gmail.com>
1812
1813 * imenu.el (imenu): Re-write for clarity.
1814
1815 2014-10-06 Glenn Morris <rgm@gnu.org>
1816
1817 Remove calendar code obsolete since at least version 23.1.
1818 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
1819 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
1820 (calendar-goto-bahai-date, list-bahai-diary-entries)
1821 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
1822 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
1823 (insert-yearly-bahai-diary-entry):
1824 * calendar/cal-china.el (chinese-calendar-time-zone)
1825 (chinese-calendar-location-name)
1826 (chinese-calendar-daylight-time-offset)
1827 (chinese-calendar-standard-time-zone-name)
1828 (chinese-calendar-daylight-time-zone-name)
1829 (chinese-calendar-daylight-savings-starts)
1830 (chinese-calendar-daylight-savings-ends)
1831 (chinese-calendar-daylight-savings-starts-time)
1832 (chinese-calendar-daylight-savings-ends-time)
1833 (chinese-calendar-celestial-stem)
1834 (chinese-calendar-terrestrial-branch)
1835 (calendar-absolute-from-chinese, calendar-print-chinese-date)
1836 (calendar-goto-chinese-date):
1837 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
1838 (calendar-print-coptic-date, coptic-prompt-for-date)
1839 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
1840 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
1841 * calendar/cal-french.el (calendar-absolute-from-french)
1842 (calendar-print-french-date, calendar-goto-french-date):
1843 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
1844 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
1845 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
1846 (holiday-rosh-hashanah-etc, holiday-hanukkah)
1847 (holiday-passover-etc, holiday-tisha-b-av-etc)
1848 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
1849 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
1850 (insert-monthly-hebrew-diary-entry)
1851 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
1852 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
1853 (diary-sabbath-candles):
1854 * calendar/cal-islam.el (calendar-absolute-from-islamic)
1855 (calendar-print-islamic-date, calendar-goto-islamic-date)
1856 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
1857 (mark-islamic-diary-entries, insert-islamic-diary-entry)
1858 (insert-monthly-islamic-diary-entry)
1859 (insert-yearly-islamic-diary-entry):
1860 * calendar/cal-iso.el (calendar-absolute-from-iso)
1861 (calendar-print-iso-date, calendar-iso-read-args)
1862 (calendar-goto-iso-date, calendar-goto-iso-week):
1863 * calendar/cal-julian.el (calendar-absolute-from-julian)
1864 (calendar-print-julian-date, calendar-goto-julian-date)
1865 (calendar-absolute-from-astro, calendar-print-astro-day-number)
1866 (calendar-goto-astro-day-number):
1867 * calendar/cal-mayan.el (calendar-print-mayan-date)
1868 (calendar-next-haab-date, calendar-previous-haab-date)
1869 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
1870 (calendar-next-calendar-round-date)
1871 (calendar-previous-calendar-round-date)
1872 (calendar-absolute-from-mayan-long-count)
1873 (calendar-goto-mayan-long-count-date):
1874 * calendar/cal-move.el (scroll-calendar-left)
1875 (scroll-calendar-right, scroll-calendar-left-three-months)
1876 (scroll-calendar-right-three-months):
1877 * calendar/cal-persia.el (calendar-absolute-from-persian)
1878 (calendar-print-persian-date, persian-prompt-for-date)
1879 (calendar-goto-persian-date):
1880 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
1881 * calendar/calendar.el (view-diary-entries-initially)
1882 (mark-diary-entries-in-calendar, calendar-today-face)
1883 (diary-face, holiday-face, view-calendar-holidays-initially)
1884 (mark-holidays-in-calendar, initial-calendar-window-hook)
1885 (today-visible-calendar-hook, today-invisible-calendar-hook)
1886 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
1887 (bahai-diary-entry-symbol, american-date-diary-pattern)
1888 (european-date-diary-pattern, european-calendar-display-form)
1889 (american-calendar-display-form, holidays-in-diary-buffer)
1890 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
1891 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
1892 (fancy-diary-buffer, increment-calendar-month)
1893 (extract-calendar-month, extract-calendar-day)
1894 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
1895 (mark-visible-calendar-date, calendar-version):
1896 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
1897 (diary-display-hook, list-diary-entries-hook)
1898 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
1899 (nongregorian-diary-marking-hook, print-diary-entries-hook)
1900 (abbreviated-calendar-year, number-of-diary-entries)
1901 (view-other-diary-entries, add-to-diary-list)
1902 (include-other-diary-files, simple-diary-display)
1903 (fancy-diary-display, print-diary-entries, mark-diary-entries)
1904 (mark-sexp-diary-entries, mark-included-diary-files)
1905 (mark-calendar-days-named, mark-calendar-month)
1906 (mark-calendar-date-pattern, sort-diary-entries)
1907 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
1908 (insert-weekly-diary-entry, insert-monthly-diary-entry)
1909 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
1910 (insert-block-diary-entry, insert-cyclic-diary-entry)
1911 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
1912 * calendar/holidays.el (general-holidays, oriental-holidays)
1913 (local-holidays, other-holidays, hebrew-holidays)
1914 (christian-holidays, islamic-holidays, bahai-holidays)
1915 (solar-holidays, list-calendar-holidays)
1916 (check-calendar-holidays, mark-calendar-holidays)
1917 (filter-visible-calendar-holidays):
1918 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
1919 (diary-phases-of-moon): Remove obsolete aliases.
1920 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
1921 * calendar/cal-x.el (calendar-one-frame-setup)
1922 (calendar-only-one-frame-setup, calendar-two-frame-setup):
1923 Remove obsolete functions.
1924 (cal-x-load-hook): Remove obsolete hook.
1925 * calendar/calendar.el (european-calendar-style):
1926 Remove obsolete variable.
1927 (calendar-date-style): No longer consult european-calendar-style.
1928 * calendar/calendar.el (european-calendar, american-calendar):
1929 Remove obsolete commands.
1930 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
1931 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
1932 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
1933 Use the face `diary' instead of the variable `diary-face'.
1934 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
1935 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
1936 * calendar/icalendar.el (icalendar--date-style): Remove function.
1937 Replace all uses with calendar-date-style.
1938 * textmodes/remember.el (calendar-date-style): Declare.
1939 (remember-diary-convert-entry):
1940 No longer consult european-calendar-style.
1941
1942 2014-10-05 Leo Liu <sdl.web@gmail.com>
1943
1944 * imenu.el (imenu-default-goto-function): Fix typo.
1945
1946 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1947
1948 * net/ntlm.el (ntlm-build-auth-request):
1949 Add NTLM2 Session support. (Bug#15603)
1950
1951 2014-10-04 Glenn Morris <rgm@gnu.org>
1952
1953 * apropos.el (apropos-symbols-internal):
1954 Avoid error with non-symbol properties. (Bug#18337#16)
1955
1956 * startup.el (command-line):
1957 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
1958
1959 2014-10-04 Martin Rudalics <rudalics@gmx.at>
1960
1961 * window.el (window-full-height-p): Make it behave correctly for
1962 minibuffer window.
1963 (window-current-scroll-bars): Fix code.
1964 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
1965 window-scroll-bars.
1966 * frame.el (frame-current-scroll-bars): Fix doc-string.
1967 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
1968
1969 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
1970
1971 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
1972
1973 2014-10-04 Glenn Morris <rgm@gnu.org>
1974
1975 * frame.el (frame-monitor-attributes)
1976 (display-monitor-attributes-list): Doc fixes.
1977
1978 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 Merge trivially safe differences from standalone CC-mode.
1981 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
1982 just to then pass it to `symbol-value'.
1983 (prog-mode): Provide fallback definition, if needed.
1984 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
1985 Remove "cl-" prefix accordingly.
1986 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
1987 characterp depending on the type of characters.
1988 (c-font-lock-enum-tail): Remove unused var `start'.
1989 * progmodes/cc-engine.el: Load CL at compile-time.
1990 (c-declare-lang-variables): Use mapcan.
1991 (c-append-to-state-cache): Remove unused var `ce+1'.
1992 (c-parse-state-state): Make buffer-local.
1993 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
1994 (c-just-after-func-arglist-p): Remove unused var `end'.
1995 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
1996 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
1997 (c-make-keywords-re): Use delete-dups.
1998 (c-get-current-file): Avoid file-name-base.
1999 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
2000 `close-paren-inserted'.
2001 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
2002
2003 * progmodes/python.el: Avoid building unneeded markers.
2004 (python-font-lock-keywords, python-indent-dedent-line)
2005 (python-fill-paren, python-shell-completion-complete-or-indent):
2006 Prefer point over point-marker.
2007 (inferior-python-mode): Remove redundant completion settings.
2008
2009 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
2010
2011 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
2012 (vc-svn-ignore): Use it. (Bug#18619)
2013
2014 2014-10-03 Martin Rudalics <rudalics@gmx.at>
2015
2016 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2017 In doc-string mention need to set `frame-resize-pixelwise'.
2018
2019 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
2022 similarly to Rogers's 2010-06-16 change for the remote case
2023 (bug#18605).
2024
2025 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2027 New gui-selection-value consolidating x-selection-value.
2028 * select.el (gui-selection-value-alist): New method.
2029 (gui-selection-value): New function.
2030 (x-selection-value): Make it an obsolete alias.
2031 * simple.el (interprogram-paste-function): Default to
2032 gui-selection-value.
2033 * w32-common-fns.el (w32-get-selection-value): Simplify.
2034 (x-selection-value): Remove alias.
2035 (interprogram-paste-function): Don't set.
2036 (gui-selection-value): Define for w32.
2037 * term/x-win.el (gui-selection-value): Define for x.
2038 (x--selection-value): Rename from x--selection-value.
2039 (interprogram-paste-function): Don't set.
2040 * term/pc-win.el (w16-get-selection-value): Simplify.
2041 (msdos-initialize-window-system): Don't set
2042 interprogram-paste-function.
2043 (gui-selection-value): Define for pc.
2044 * term/ns-win.el (x-selection-value): Remove.
2045 (gui-selection-value): Define for ns, instead.
2046 * term/common-win.el (x-setup-function-keys): Don't set
2047 interprogram-paste-function.
2048 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2049 Use gui-selection-value.
2050
2051 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
2052
2053 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
2054
2055 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * obsolete/lucid.el (read-number): Remove, redundant.
2058 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
2059 Remove, broken.
2060
2061 2014-10-02 Glenn Morris <rgm@gnu.org>
2062
2063 * emacs-lisp/package.el (package-import-keyring):
2064 Create gnupg directory private. (Bug#17625#155)
2065
2066 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * progmodes/python.el (python-shell-completion-get-completions):
2069 Use python-shell--prompt-calculated-input-regexp from the
2070 process buffer (bug#18582).
2071 Don't assume that `line' comes from the process buffer.
2072
2073 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * frame.el: Use lexical-binding (bug#18598).
2076 (make-frame): Use t rather than nil for tty's window-system.
2077 * startup.el (command-line): Use gui-method.
2078
2079 Consolidate management/ownership of selections.
2080 * select.el (gui-get-selection-alist): New method.
2081 (gui-get-selection): Use it. Rename from x-get-selection.
2082 (x-get-selection): Define as obsolete alias.
2083 (x-get-clipboard): Mark obsolete.
2084 (gui-get-primary-selection): New function.
2085 (x-get-selection-value): Mark obsolete.
2086 (gui-own-selection-alist, gui-disown-selection-alist)
2087 (gui-selection-owner-p-alist): New methods.
2088 (gui-set-selection): Use them. Rename from x-set-selection.
2089 (x-set-selection): Define as obsolete alias.
2090 (gui--valid-simple-selection-p): Rename from
2091 x-valid-simple-selection-p.
2092 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
2093 (gui-selection-owner-p, gui-get-selection): Define for w32.
2094 (w32-get-selection-value): Rename from x-get-selection-value.
2095 Use the new gui-last-selected-text.
2096 * term/x-win.el (x-get-selection-value): Remove.
2097 (x-clipboard-yank): Declare obsolete.
2098 (gui-own-selection, gui-disown-selection, gui-get-selection)
2099 (gui-selection-owner-p): Define for x.
2100 * term/w32-win.el (w32-win-suspend-error): Rename from
2101 x-win-suspend-error.
2102 * term/pc-win.el (w16-get-selection-value): Rename from
2103 x-get-selection-value.
2104 (w16-selection-owner-p): Rename from x-selection-owner-p.
2105 (gui-own-selection, gui-disown-selection, gui-get-selection)
2106 (gui-selection-owner-p): Define for pc.
2107 (w16--select-text): New function.
2108 * term/ns-win.el (gui-own-selection, gui-disown-selection)
2109 (gui-get-selection, gui-selection-owner-p): Define for ns.
2110 * term.el (term-mouse-paste):
2111 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
2112
2113 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
2114
2115 * calc/calc-help.el (calc-describe-thing): Quote strings
2116 which could look like regexps.
2117
2118 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 Consolidate x-select-text.
2121 * frame.el (gui-method, gui-method-define, gui-method-declare)
2122 (gui-call): New macros.
2123 (gui-method--name): New function.
2124 (frame-creation-function-alist): Use gui-method-declare.
2125 (make-frame): Use gui-method.
2126 * select.el (gui-select-enable-clipboard): Rename from
2127 x-select-enable-clipboard and move here.
2128 (x-select-enable-clipboard): Define as obsolete alias.
2129 (gui-last-selected-text): New var, to replace x-last-selected-text.
2130 (gui-select-text): New GUI method.
2131 (gui-select-text): New function.
2132 (x-select-text): Define as obsolete alias.
2133 * term/common-win.el (x-select-enable-clipboard, x-select-text):
2134 Move to select.el.
2135 * simple.el (interprogram-cut-function): Change default to
2136 x-select-text.
2137 (interprogram-paste-function): Change default to `ignore'.
2138 * w32-common-fns.el (interprogram-cut-function): Don't modify.
2139 * term/x-win.el (interprogram-cut-function): Don't modify.
2140 (gui-select-text): Add method for x.
2141 * term/w32-win.el (gui-select-text): Add method for w32.
2142 * term/pc-win.el (x-last-selected-text): Remove, use
2143 gui-last-selected-text instead.
2144 (msdos-initialize-window-system): Don't set interprogram-cut-function.
2145 (gui-select-text): Add method for pc.
2146 * term/ns-win.el (ns-last-selected-text): Remove, use
2147 gui-last-selected-text instead.
2148 (gui-select-text): Add method for ns.
2149 (x-setup-function-keys): Don't change interprogram-cut-function.
2150 * loadup.el ("startup"): Load after "frame".
2151 * subr.el (package--builtin-versions, package--description-file):
2152 Move from startup.el.
2153 * startup.el (package--builtin-versions, package--description-file):
2154 Move to subr.el.
2155 (handle-args-function-alist, window-system-initialization-alist):
2156 Use gui-method-declare.
2157 (command-line): Use gui-method.
2158
2159 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2160
2161 * subr.el (alist-get): New accessor.
2162 * emacs-lisp/gv.el (alist-get): Provide expander.
2163 * winner.el (winner-remember):
2164 * tempo.el (tempo-use-tag-list):
2165 * progmodes/gud.el (minor-mode-map-alist):
2166 * international/mule-cmds.el (define-char-code-property):
2167 * frameset.el (frameset-filter-params):
2168 * files.el (dir-locals-set-class-variables):
2169 * register.el (get-register, set-register):
2170 * calc/calc-yank.el (calc-set-register): Use it.
2171 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
2172 * tooltip.el (tooltip-set-param): Mark as obsolete.
2173 (tooltip-show): Use alist-get instead.
2174 * ses.el (ses--alist-get): Remove. Use alist-get instead.
2175
2176 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
2177
2178 * net/newst-backend.el: Remove Time-stamp. Rename variable
2179 `newsticker--download-logos' to `newsticker-download-logos' and
2180 make it customizable.
2181 (newsticker--sentinel-work): Move xml-workarounds to function
2182 `newsticker--do-xml-workarounds', call unless libxml-parser is
2183 used. Allow single quote in regexp for encoding.
2184 Use libxml-parser if available, else fall back to `xml-parse-region'.
2185 Take care of possibly missing namespace prefixes (like "RDF"
2186 instead of "rdf:RDF") when checking xml nodes and attributes (as
2187 libxml correctly removes the prefixes). Always use Atom 1.0 as
2188 fallback feed type. Rename `newsticker--download-logos' to
2189 `newsticker-download-logos'
2190 (newsticker--unxml, newsticker--unxml-node)
2191 (newsticker--unxml-attribute): New.
2192 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
2193 HTML code has become part of the xml parse tree.
2194 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
2195 of possibly missing namespace prefixes.
2196 (newsticker--parse-generic-items): Code formatting. Typo.
2197 (newsticker--images-dir): Add trailing slash.
2198 (newsticker--image-get): Fix error message.
2199
2200 * net/newst-plainview.el: Remove Time-stamp.
2201
2202 * net/newst-reader.el: Remove Time-stamp.
2203 (newsticker-download-logos): Rename variable
2204 `newsticker--download-logos' to `newsticker-download-logos' and
2205 make it customizable.
2206 (newsticker--print-extra-elements): Add optional parameter
2207 'htmlish for using html markup. Amend list of ignored elements.
2208 (newsticker--do-print-extra-element): Add parameter 'htmlish for
2209 using html markup.
2210
2211 * net/newst-ticker.el: Remove Time-stamp.
2212
2213 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
2214 for formatting extra elements.
2215
2216 * net/newsticker.el: Remove Time-stamp, Version.
2217 (newsticker-version): Make obsolete.
2218
2219 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
2220
2221 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
2222 (bug#18462).
2223
2224 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * emacs-lisp/package.el (package-check-signature): Default to nil if
2227 GPG is not available.
2228 (package-refresh-contents): Don't mess with the keyring if we won't
2229 check the signatures anyway.
2230
2231 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
2234 (ses-center, ses-center-span): Use them.
2235 (ses-print-cell): Bind them while calling the printer.
2236 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
2237 (ses-dorange): Revert last change.
2238 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
2239 the formula.
2240 (ses-set-cell): Avoid `eval'.
2241 (ses--time-check): Rename it from ses-time-check and turn it into
2242 a macro.
2243
2244 * ses.el (ses-setup): Don't assume modifying the iteration var of
2245 dotimes affects the iteration (bug#18191).
2246
2247 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
2248
2249 * ses.el (ses-calculate-cell): Bind row and col dynamically to
2250 their values with 'cl-progv'.
2251 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
2252 their values with 'cl-progv', also use non-interned symbols for
2253 row, minrow, maxrow, mincol and maxcol.
2254 (maxrow maxcol): New defvar, to make the compiler happy.
2255
2256 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
2259 completion functions.
2260
2261 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * ses.el (ses--letref): Quote value before it gets re-evaluated.
2264
2265 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
2266
2267 Font-lock `cl-flet*', too.
2268 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
2269 Add "flet*" to intermediate var `cl-lib-kw'.
2270
2271 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 * epg-config.el (epg-gpg-program): Use the plain program names rather
2274 than their absolute file name.
2275
2276 * subr.el (track-mouse): New macro.
2277 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2278 Remove track-mouse case.
2279 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
2280
2281 2014-09-27 Leo Liu <sdl.web@gmail.com>
2282
2283 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
2284
2285 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
2286
2287 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
2290 Handle the case where `match' is :pcase--succeed or :pcase--fail
2291 (bug#18554).
2292
2293 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
2294 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
2295 (eldoc-schedule-timer): Obey it.
2296 (eldoc-documentation-function): Default to nil.
2297 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
2298 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
2299 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
2300 (eldoc-last-data-store, eldoc-docstring-first-line)
2301 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
2302 (eldoc-beginning-of-sexp, eldoc-current-symbol)
2303 (eldoc-function-argstring): Move to elisp-mode.el.
2304 (eldoc-symbol-function): Remove, unused.
2305 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
2306 (elisp-completion-at-point): Rename from lisp-completion-at-point.
2307 (elisp--preceding-sexp): Rename from preceding-sexp.
2308 * loadup.el: Load new file progmodes/elisp-mode.
2309 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
2310 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
2311 (lisp--local-variables-completion-table, lisp--expect-function-p)
2312 (lisp--form-quoted-p, lisp--company-doc-buffer)
2313 (lisp--company-doc-string, lisp--company-location)
2314 (lisp-completion-at-point): Move to elisp-mode.el.
2315 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
2316 extracted from emacs-lisp-mode-syntax-table.
2317 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
2318 elisp-mode.el.
2319 (lisp-imenu-generic-expression): Add comments to document what comes
2320 from which Lisp dialect.
2321 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
2322 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
2323 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
2324 (emacs-lisp-byte-code-comment)
2325 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
2326 (lisp-interaction-mode-map, lisp-interaction-mode)
2327 (eval-print-last-sexp, last-sexp-setup-props)
2328 (last-sexp-toggle-display, prin1-char, preceding-sexp)
2329 (eval-last-sexp-1, eval-last-sexp-print-value)
2330 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
2331 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
2332
2333 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
2334
2335 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
2336 Do not match file names that end in '/', as they cannot be 'grep'
2337 hits nowadays. This prevents confusion when 'grep -r' reports a
2338 match in a file whose basename is ':12345:'. Conversely, do not
2339 require exactly the same sequence of spaces and tabs after both
2340 colons, and allow spaces or tabs before the second colon, as per
2341 the POSIX spec for 'grep' output.
2342
2343 2014-09-26 Leo Liu <sdl.web@gmail.com>
2344
2345 Add cl-parse-integer based on parse-integer (Bug#18557)
2346 * calendar/parse-time.el (parse-time-digits): Remove.
2347 (digit-char-p, parse-integer) Moved to cl-lib.el.
2348 (parse-time-tokenize, parse-time-rules, parse-time-string):
2349 Use cl-parse-integer.
2350
2351 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
2352
2353 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
2354 (cl-digit-char-p): New function.
2355
2356 2014-09-25 Juri Linkov <juri@jurta.org>
2357
2358 * vc/add-log.el (change-log-next-buffer): Don't create an empty
2359 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
2360 Return the current buffer if no files match the default pattern
2361 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
2362
2363 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
2366 the global vc-handled-backends (bug#18535).
2367
2368 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
2371 Suggested by <lompik@voila.fr>.
2372
2373 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
2374
2375 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
2376 Rename from `newsticker--treeview-do-get-node'.
2377 (newsticker--treeview-get-node-by-id):
2378 Rename from `newsticker--treeview-get-node'.
2379 (newsticker--treeview-buffer-init)
2380 (newsticker--treeview-buffer-init): Disable buffer undo.
2381 (newsticker--treeview-unfold-node): Adapt to modified
2382 `newsticker--group-find-parent-group'.
2383 (newsticker--group-do-find-group):
2384 Rename from `newsticker--group-do-find-group-for-feed'.
2385 Now works for both, groups and feeds.
2386 (newsticker--group-find-parent-group):
2387 Rename from `newsticker--group-find-group-for-feed'.
2388 Now works for both, groups and feeds.
2389 (newsticker--group-do-get-parent-group)
2390 (newsticker--group-get-parent-group): Remove.
2391 (newsticker-group-add-group): Change interactive prompts.
2392 (newsticker-group-add-group): Finally jump to added group.
2393 (newsticker-group-delete-group): Finally jump to current feed.
2394 (newsticker--group-do-rename-group, newsticker-group-rename-group)
2395 (newsticker--get-group-names, newsticker--group-names): New.
2396 (newsticker-group-move-feed): Finally jump to moved feed.
2397 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
2398 (newsticker-group-shift-group-down)
2399 (newsticker-group-shift-group-up, newsticker--group-shift): New.
2400 (newsticker-treeview-mode-map): New keybindings for new shift commands.
2401
2402 * net/newst-backend.el (newsticker--item-list)
2403 (newsticker--item-position, newsticker--prev-message)
2404 (newsticker--scrollable-text): Move to newst-ticker.el.
2405
2406 * net/newst-ticker.el (newsticker--item-list)
2407 (newsticker--item-position, newsticker--prev-message)
2408 (newsticker--scrollable-text): Move from newst-backend.el.
2409
2410 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
2411
2412 * window.el (fit-window-to-buffer): When counting buffer width,
2413 count the whole visible buffer. Correctly convert the body-height
2414 to pixel size for window-text-pixel-size (Bug#18498).
2415
2416 2014-09-22 Sam Steingold <sds@gnu.org>
2417
2418 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
2419 (sql-execute): Use `special-mode'.
2420
2421 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 Add pcase-defmacro, as well as `quote' and `app' patterns.
2424 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
2425 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
2426 (pcase--funcall, pcase--eval): New functions.
2427 (pcase--u1): Use them for guard, pred, let, and app.
2428 (\`): Use the new feature to generate better code for vector patterns.
2429 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
2430 (pcase--upat): Remove.
2431 (pcase--macroexpand): Don't hardcode handling of `.
2432 (pcase--split-consp, pcase--split-vector): Remove.
2433 (pcase--split-equal): Disregard ` since it's expanded away.
2434 (pcase--split-member): Optimize for quote rather than for `.
2435 (pcase--split-pred): Optimize for quote rather than for `.
2436 (pcase--u1): Remove handling of ` (and of `or' and `and').
2437 Quote non-selfquoting values when passing them to `eq'.
2438 Drop `app's let-binding if the variable is not used.
2439 (pcase--q1): Remove.
2440 (`): Define as a pattern macro.
2441 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
2442 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
2443 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
2444 quote patterns.
2445 (pcase--split-match): Don't hoist or/and here any more.
2446 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
2447 (pcase--flip): New helper macro.
2448 (pcase--u1): Optimize the memq case directly.
2449 Don't handle neither self-quoting nor and/or patterns any more.
2450 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
2451 (pcase--macroexpand): New function.
2452 (pcase--expand): Use it.
2453 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
2454 New optimization functions.
2455 (pcase--u1): Add support for `quote' and `app'.
2456 (pcase): Document them in the docstring.
2457
2458 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 Use lexical-bindin in Ibuffer.
2461 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
2462 (ibuffer-compile-format): Simplify.
2463 (ibuffer-clear-summary-columns): Simplify.
2464 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
2465 elem of dotimes when we don't refer to the iteration var from it.
2466 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
2467 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
2468 Silence byte-compiler.
2469
2470 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2471
2472 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
2473 expression for a list.
2474
2475 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
2476 for functions with no arguments.
2477
2478 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
2479 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
2480
2481 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
2482
2483 * simple.el (clone-indirect-buffer): Mention the return value
2484 (bug#18478).
2485
2486 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
2487 Text mode in docstring (bug#18464).
2488
2489 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2492 Accept underscores in identifiers after "sub" (bug#18502).
2493
2494 2014-09-21 Tassilo Horn <tsdh@gnu.org>
2495
2496 * textmodes/reftex-sel.el (reftex-select-label-mode)
2497 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
2498 from special-mode (instead of fundamental-mode) and propertize
2499 with font-lock-face instead of just face. (Bug#18496)
2500
2501 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
2502
2503 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2504
2505 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
2506 `table-etc' when `end' is non-nil.
2507 (lisp-completion-at-point): Move `end' back if it's after quote.
2508 If in comment or string, only complete when after backquote.
2509 (Bug#18265)
2510 (lisp-completion-at-point): Don't use
2511 `lisp--local-variables-completion-table' in the
2512 `lisp--form-quoted-p' case.
2513
2514 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2515
2516 * emacs-lisp/lisp.el (lisp--expect-function-p)
2517 (lisp--form-quoted-p): New functions.
2518 (lisp-completion-at-point): Use them to see if we're completing a
2519 variable reference, a function name, or just any symbol.
2520 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
2521
2522 2014-09-18 Ivan Kanis <ivan@kanis.fr>
2523
2524 * net/shr.el, net/eww.el: Don't override `shr-width', but
2525 introduce a new variable `shr-internal-width'. This allows users
2526 to specify a width themselves.
2527
2528 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2529
2530 * image-mode.el (image-toggle-display-image): If we have a
2531 `fit-width' or a `fit-height', don't limit the size of the image
2532 to the window size, because that doesn't preserve the aspect ratio.
2533 * image-mode.el: Move defvars earlier to avoid a byte-compilation
2534 warning.
2535
2536 2014-09-17 Reuben Thomas <rrt@sc3d.org>
2537
2538 * progmodes/js.el: Add interpreter-mode-alist support for various
2539 JavaScript interpreters.
2540
2541 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
2542
2543 Don't assume 'grep' supports GREP_OPTIONS.
2544 The GREP_OPTIONS environment variable is planned to be marked
2545 obsolescent in GNU grep, due to problems in its use, so stop
2546 relying on it.
2547 * progmodes/grep.el (grep-highlight-matches): Document this.
2548 (grep-process-setup): Do not set GREP_OPTIONS.
2549 (grep-compute-defaults): Use an explicit --color option if supported.
2550
2551 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2552
2553 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
2554 Don't add outdated key-shortcut cache (bug#18482).
2555
2556 2014-09-15 Glenn Morris <rgm@gnu.org>
2557
2558 * image.el (image-multi-frame-p): Fix thinko - do not force
2559 a delay if none was specified. (Bug#18334)
2560
2561 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
2562
2563 * window.el (fit-window-to-buffer): Doc fix.
2564
2565 2014-09-15 Ivan Shmakov <ivan@siamics.net>
2566
2567 * desktop.el (desktop-create-buffer): Check that buffers are still live
2568 before burying them (bug#18373).
2569
2570 2014-09-15 Glenn Morris <rgm@gnu.org>
2571
2572 * calendar/diary-lib.el (diary-list-entries):
2573 Restore 24.3 display behavior. (Bug#18381)
2574
2575 2014-09-15 Eli Zaretskii <eliz@gnu.org>
2576
2577 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
2578 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
2579 discrepancy between window-pixel-edges and mouse events, and
2580 avoids moving mode line up when the mouse click is on the modeline
2581 and no drag is attempted.
2582
2583 2014-09-14 Daniel Colascione <dancol@dancol.org>
2584
2585 * register.el (insert-register): Change default interactive
2586 insertion mode.
2587
2588 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
2589
2590 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
2591 Suppress debug messages.
2592
2593 * net/tramp.el (tramp-file-name-handler):
2594 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
2595 appropriate.
2596
2597 2014-09-13 Christopher Schmidt <ch@ristopher.com>
2598
2599 * calendar/calendar.el (calendar-update-mode-line):
2600 Do not overwrite mode-line-format if calendar-mode-line-format is
2601 nil. (Bug#18467)
2602
2603 2014-09-13 Leo Liu <sdl.web@gmail.com>
2604
2605 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
2606 (pcase--expand): Use it.
2607 (pcase-exhaustive): New macro. (Bug#16567)
2608
2609 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2610 Add pcase-exhaustive.
2611
2612 2014-09-13 Eli Zaretskii <eliz@gnu.org>
2613
2614 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
2615 using the specified transfer-encoding, if any, or 'undecided'.
2616 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
2617 broken at the window margin.
2618
2619 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
2620
2621 Support rendering of HTML parts in Rmail (bug#4258).
2622 * mail/rmailmm.el (rmail-mime-process): Handle text/html
2623 separately from other text/ types. Suppress tagline for
2624 multipart body.
2625 (rmail-mime-parse): Don't change visibility of tagline here.
2626 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
2627 Handle text/html specially.
2628 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
2629 (rmail-mime-insert-html, rmail-mime-render-html-shr)
2630 (rmail-mime-render-html-lynx): New functions.
2631 (rmail-mime-fix-inserted-faces): New function.
2632 (rmail-mime-process-multipart): Find the best part to show
2633 following rmail-mime-prefer-html if set.
2634 (rmail-mime-searching): New variable.
2635 (rmail-search-mime-message): Bind rmail-mime-searching to
2636 suppress rendering while searching.
2637
2638 2014-09-12 Sam Steingold <sds@gnu.org>
2639
2640 * progmodes/sql.el (sql-product-alist): Add vertica.
2641 (sql-vertica-program, sql-vertica-options)
2642 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
2643 New functions and variables to support Vertica.
2644 Inspired by code by Roman Scherer <roman@burningswell.com>.
2645
2646 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
2647
2648 * ses.el (ses-file-format-extend-parameter-list): Rename from
2649 ses-file-format-extend-paramter-list, to correct a misspelling.
2650 All uses changed.
2651
2652 2014-09-10 Alan Mackenzie <acm@muc.de>
2653
2654 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
2655 gets loaded at run-time).
2656 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
2657 c-lang-const to c-make-no-parens-syntax-table and correct the
2658 logic.
2659 (c-no-parens-syntax-table): Correct the logic of the
2660 c-lang-defvar.
2661
2662 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
2665 plus misc cleanup.
2666 * progmodes/cc-mode.el (c-basic-common-init):
2667 Set open-paren-in-column-0-is-defun-start.
2668 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
2669 Remove declarations, unused.
2670 (run-mode-hooks): Remove declaration.
2671 (font-lock-defaults): Use plain `defvar' to declare.
2672 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
2673 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
2674 (c-make-mode-syntax-table): Don't micro-optimize.
2675 (c-keywords, c-keyword-member-alist): Simplify.
2676 (c-kwds-lang-consts): Don't eval at compile-time.
2677 (c-primary-expr-regexp): Comment out unused vars.
2678 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
2679 (c-font-byte-compile): New var.
2680 (c--compile): New function. Use it instead of `byte-compile'.
2681 (c-cpp-matchers): Quote the value returned by
2682 `c-make-syntactic-matcher' in case it's not self-evaluating.
2683 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
2684 parentheses instead (in case MATCHER happens to be a list).
2685 (c-font-lock-enum-tail): Remove unused var `start'.
2686 (c-font-lock-objc-methods): Silence byte-compiler warnings.
2687 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
2688 test into an argument.
2689 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
2690 (c-get-char-property): Don't use `eval' just to unquote a constant.
2691 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
2692 more efficiently.
2693 (c-put-char-property-fun): Don't call `byte-compile' by hand.
2694 (c-clear-char-property, c-clear-char-properties): Check that `property'
2695 is a quoted constant.
2696 (c-emacs-features): Remove `infodock', `syntax-properties', and
2697 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
2698 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
2699 changing buffer, so we don't have to setq them again afterwards.
2700 (c-lang-const): Remove redundant symbolp assertions.
2701 (c-find-assignment-for-mode): Use `or'.
2702 * Makefile.in (compile-one-process): Remove cc-mode dependency.
2703
2704 2014-09-09 Sam Steingold <sds@gnu.org>
2705
2706 * progmodes/sql.el (sql-default-directory): Fix type annotation.
2707
2708 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
2711 Change doc comments into docstrings.
2712 * Makefile.in: Remove cc-awk dependency.
2713
2714 2014-09-08 Sam Steingold <sds@gnu.org>
2715
2716 * progmodes/sql.el (sql-send-line-and-next): New command,
2717 bound to C-c C-n.
2718 (sql-show-sqli-buffer): Display the buffer instead of its name and
2719 bind the command to C-c C-z.
2720 (sql-default-directory): New user option.
2721 (sql-product-interactive): Bind `default-directory' to it to
2722 enable remote connections using Tramp.
2723 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
2724 suitable buffer is available.
2725
2726 2014-09-08 Glenn Morris <rgm@gnu.org>
2727
2728 * calendar/calendar.el (calendar-basic-setup):
2729 Fix calendar-view-holidays-initially-flag and fancy display.
2730 * calendar/diary-lib.el (diary-live-p): Doc fix.
2731
2732 * calendar/calendar.el (calendar-basic-setup):
2733 Avoid clobbering calendar with diary. (Bug#18381)
2734
2735 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
2738
2739 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
2740
2741 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
2742 as well (bug#18400).
2743
2744 2014-09-08 Eli Zaretskii <eliz@gnu.org>
2745
2746 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
2747
2748 2014-09-06 Leo Liu <sdl.web@gmail.com>
2749
2750 * emacs-lisp/pcase.el (pcase): Doc fix.
2751 (pcase--split-vector): New function.
2752 (pcase--q1): Support vector qpattern. (Bug#18327)
2753
2754 2014-09-05 Sam Steingold <sds@gnu.org>
2755
2756 * textmodes/tex-mode.el (tex-print-file-extension): New user
2757 option.
2758 (tex-print): Use it instead of the hard-coded string.
2759
2760 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
2761
2762 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2763 Expand `default-directory'.
2764
2765 2014-09-05 Martin Rudalics <rudalics@gmx.at>
2766
2767 * scroll-bar.el (horizontal-scroll-bars-available-p):
2768 New function.
2769 (horizontal-scroll-bar-mode): Rewrite using
2770 horizontal-scroll-bars-available-p.
2771 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
2772 horizontal-scroll-bars-available-p.
2773
2774 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * subr.el (call-process-shell-command, process-file-shell-command):
2777 Make the `args' obsolete (bug#18409).
2778 (start-process-shell-command, start-file-process-shell-command):
2779 Use `declare'.
2780
2781 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
2782
2783 * calc/calc-forms.el (math-normalize-hms): Do a better check for
2784 "negative" hms forms.
2785
2786 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
2787
2788 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
2789 returns nil (bug#18391).
2790
2791 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
2794 terminating paren (bug#18352).
2795 (eldoc-last-data-store): Return cached data.
2796 (eldoc-get-var-docstring): Avoid setq.
2797 (eldoc-get-fnsym-args-string): Clarify data flow.
2798
2799 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2800
2801 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
2802 case where we're currently providing part of the &rest arg after some
2803 &key args, as in define-ibuffer-op (bug#18048).
2804
2805 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
2808 buffer-local setting of which-func-mode.
2809 (which-func-mode): Use defvar-local.
2810 (which-function-mode): Don't reset which-func-mode in each buffer since
2811 it might have been set by someone else.
2812 (which-func-update-ediff-windows): Check which-function-mode.
2813
2814 2014-09-03 Martin Rudalics <rudalics@gmx.at>
2815
2816 * frame.el (frame-initialize): Remove horizontal-scroll-bars
2817 from frame-initial-frame-alist.
2818 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
2819 (horizontal-scroll-bar-mode-explicit)
2820 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
2821 (toggle-horizontal-scroll-bar): Remove.
2822 (horizontal-scroll-bar-mode): Remove defcustom.
2823 (horizontal-scroll-bar-mode): Fix doc-string.
2824 (scroll-bar-toolkit-scroll)
2825 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
2826
2827 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * emacs-lisp/package.el (package-generate-description-file):
2830 Properly quote the arguments (bug#18332). Change second arg.
2831 (package--alist-to-plist-args): Rename from package--alist-to-plist and
2832 quote the elements.
2833 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
2834 the *-pkg.el file. Adjust to new calling convention of
2835 package-generate-description-file.
2836
2837 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
2838 (gud-gdb-completions): Remove obsolete workaround.
2839
2840 2014-09-03 Eli Zaretskii <eliz@gnu.org>
2841
2842 * subr.el (posn-col-row): Revert the change from commit
2843 2010-11-13T21:07:58Z!eliz@gnu.org, which
2844 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
2845 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
2846 introduced an off-by-one error in the reported row when there is a
2847 header line. (Bug#18384)
2848
2849 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
2850
2851 * progmodes/python.el (python-indent-post-self-insert-function):
2852 Avoid electric colon at beginning-of-defun. (Bug#18228)
2853
2854 2014-09-03 Glenn Morris <rgm@gnu.org>
2855
2856 * tutorial.el (tutorial--display-changes):
2857 Fix 2014-08-01 change. (Bug#18382)
2858
2859 2014-09-03 Ken Brown <kbrown@cornell.edu>
2860
2861 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
2862 the Cygwin-w32 build. (Bug#18347)
2863
2864 2014-09-03 Glenn Morris <rgm@gnu.org>
2865
2866 * tar-mode.el (tar--extract, tar-extract):
2867 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
2868
2869 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
2872 handle multiline elements (bug#18380).
2873
2874 2014-09-01 Eli Zaretskii <eliz@gnu.org>
2875
2876 * ls-lisp.el (ls-lisp-use-string-collate)
2877 (ls-lisp-UCA-like-collation): New defcustoms.
2878 (ls-lisp-string-lessp): Use them to control sorting by file
2879 names. (Bug#18051)
2880 (ls-lisp-version-lessp): New function.
2881 (ls-lisp-handle-switches): Use it to implement the -v switch of
2882 GNU ls.
2883 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
2884
2885 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
2886
2887 * ibuffer.el: Replace mode-specific quit function with
2888 `quit-window' via `special-mode'.
2889 (ibuffer-mode-map): Use keybindings from special-mode-map instead
2890 of local overrides.
2891 (ibuffer): Don't store previous windows configuration.
2892 Let `quit-window' handle restoring.
2893 (ibuffer-quit): Remove function. Use `quit-window' instead.
2894 (ibuffer-restore-window-config-on-quit): Remove variable.
2895 (ibuffer-prev-window-config): Remove variable.
2896
2897 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
2898
2899 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
2900 name instead of variable name in hook docstring. (Bug#18349)
2901
2902 2014-08-29 Martin Rudalics <rudalics@gmx.at>
2903
2904 * window.el (display-buffer-at-bottom): Prefer bottom-left
2905 window to other bottom windows. Reuse a bottom window if it
2906 shows the buffer already. Suggested by Juri Linkov
2907 <juri@jurta.org> in discussion of (Bug#18181).
2908
2909 2014-08-29 Leo Liu <sdl.web@gmail.com>
2910
2911 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
2912 append to minibuffer-setup-hook. (Bug#18341)
2913
2914 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
2917 byte-compiler.
2918 (lookup-syntax-properties): Silence byte-compiler.
2919 (c-lang-defconst): Quote the code with `lambda' rather than with
2920 `quote'.
2921 (c-lang-const): Avoid unneeded setq.
2922 (c-lang-constants-under-evaluation): Add docstring.
2923 (c-lang--novalue): New constant.
2924 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
2925 (c-get-lang-constant): Same here.
2926 Get the mode's value using `funcall' now that the code is quoted
2927 with `lambda'.
2928
2929 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
2930
2931 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
2932 (Bug#18326)
2933
2934 2014-08-28 Martin Rudalics <rudalics@gmx.at>
2935
2936 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
2937 interpretation of `portion-whole'.
2938
2939 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
2940
2941 * net/tramp-adb.el: Spell author name correctly.
2942
2943 2014-08-28 João Távora <joaotavora@gmail.com>
2944
2945 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
2946 use url-expand-file-name. (Bug#18310)
2947
2948 2014-08-28 Glenn Morris <rgm@gnu.org>
2949
2950 * emulation/cua-rect.el (cua--highlight-rectangle):
2951 Avoid error at point-min. (Bug#18309)
2952
2953 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2954
2955 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
2956 executable-find (bug#18244).
2957
2958 * simple.el (self-insert-uses-region-functions): Defvar.
2959
2960 2014-08-28 Glenn Morris <rgm@gnu.org>
2961
2962 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
2963
2964 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
2965
2966 * startup.el (normal-top-level): Now use internal--top-level-message.
2967
2968 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
2969
2970 * startup.el (normal-top-level): Use top-level-message.
2971
2972 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2973
2974 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
2975 URLs containing spaces and the like.
2976
2977 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
2978
2979 * subr.el (remq): Fix docstring (Bug#18253).
2980
2981 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
2982
2983 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
2984
2985 2014-08-24 Alan Mackenzie <acm@muc.de>
2986
2987 Handle C++11's "auto" and "decltype" constructions.
2988 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
2989 and return 'decltype.
2990 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
2991 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
2992 keyword.
2993 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
2994 "decltype" keyword.
2995 (c-font-lock-c++-new): Handle "decltype" constructions.
2996 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
2997 New c-lang-defconsts/defvars.
2998 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
2999 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
3000 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
3001 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
3002
3003 Make ">>" act as double template ender in C++ Mode.
3004 Fix bug#11386.
3005 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
3006 off from c->-op-cont-re.
3007 (c->-op-cont-tokens): Change to use the above.
3008 (c->-op-without->-cont-regexp): New lang-const.
3009 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
3010 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
3011
3012
3013 2014-08-23 Alan Mackenzie <acm@muc.de>
3014
3015 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
3016 loop, bug #18306. The bug was introduced on 2014-08-02.
3017
3018 2014-08-21 Eli Zaretskii <eliz@gnu.org>
3019
3020 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
3021 Don't recognize a Top node if there are other sectioning commands
3022 earlier in the Texinfo file. This fixes a bug in
3023 texinfo-make-menu and avoids inflooping in
3024 texinfo-all-menus-update when they are invoked on texinfo.texi.
3025
3026 2014-08-21 Martin Rudalics <rudalics@gmx.at>
3027
3028 * window.el (window--side-window-p): New function.
3029 (split-window, window-splittable-p): Use window--side-window-p to
3030 determine whether WINDOW can be split (Bug#18304).
3031 * calendar/calendar.el (calendar-basic-setup): Fix one call of
3032 `window-splittable-p' and add another (Bug#18304).
3033
3034 2014-08-20 Sam Steingold <sds@gnu.org>
3035
3036 * progmodes/python.el (python-new-pythonpath): Extract from
3037 `python-shell-calculate-process-environment'.
3038
3039 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3040
3041 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
3042 for &key args (bug#18048).
3043
3044 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
3047 (eldoc-function-argstring-format): Remove.
3048 (eldoc-function-argstring): Always return upcase args.
3049 Use help-make-usage. Don't add parens.
3050 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
3051 it's too late to do it right (bug#18048).
3052
3053 2014-08-18 Eli Zaretskii <eliz@gnu.org>
3054
3055 * scroll-bar.el (scroll-bar-horizontal-drag-1)
3056 (scroll-bar-toolkit-horizontal-scroll): When determining the
3057 paragraph direction, use the buffer of the window designated in
3058 the event.
3059
3060 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
3061
3062 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
3063 context of unified diff.
3064
3065 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
3066
3067 Add dependencies to fix loaddefs race during parallel builds.
3068 Without this, for example, 'make -j bootstrap' can fail and report
3069 "Opening input file: no such file or directory,
3070 .../lisp/calendar/diary-loaddefs.el ... recipe for target
3071 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
3072 got confused because diary-loaddefs.el was being built in parallel.
3073 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
3074 Depend on $(CAL_DIR)/cal-loaddefs.el.
3075 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
3076
3077 2014-08-16 Martin Rudalics <rudalics@gmx.at>
3078
3079 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
3080 portion-whole for scrolling right-to-left text.
3081
3082 2014-08-15 Leo Liu <sdl.web@gmail.com>
3083
3084 * speedbar.el (speedbar-generic-list-tag-p): Allow special
3085 elements from imenu.
3086
3087 2014-08-15 Glenn Morris <rgm@gnu.org>
3088
3089 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
3090
3091 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
3092
3093 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3094 Add Guile regexpses.
3095
3096 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
3097
3098 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
3099 add Guile debugger support for GUD.
3100
3101 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
3104 (mouse-sel--ignore): New function.
3105 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
3106 (mouse-sel-original-interprogram-cut-function)
3107 (mouse-sel-original-interprogram-paste-function): Remove.
3108
3109 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
3110
3111 * vc/vc-git.el (vc-git-resolve-when-done): New function.
3112 Call "git add" when there are no longer conflict markers.
3113
3114 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3115
3116 * vc/vc-git.el (vc-git-find-file-hook): New function.
3117 Adds support for calling smerge (and resolve) on a conflicted file.
3118 (vc-git-conflicted-files): New function.
3119 Useful in itself and a step towards better smerge support.
3120
3121 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3122
3123 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
3124 to the first part if they're the same as the selection.
3125
3126 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3127
3128 * image-mode.el (image-transform-reset): New command and menu item.
3129 (image-mode-map): Rearrange the menu items to put presumably more
3130 obscure items at the end.
3131
3132 2014-08-12 Juri Linkov <juri@jurta.org>
3133
3134 * vc/vc-annotate.el (vc-annotate-background-mode):
3135 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
3136
3137 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * files.el (out-of-memory-warning-percentage): Turn it off by default.
3140
3141 2014-08-11 Sam Steingold <sds@gnu.org>
3142
3143 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
3144 the presence of known validators (tidy, (o)nsgmls).
3145
3146 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
3147
3148 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
3149
3150 * net/newst-treeview.el (newsticker-treeview-date-format): New.
3151 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
3152
3153 2014-08-11 Glenn Morris <rgm@gnu.org>
3154
3155 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
3156 chose coding system for writing before backing up, since it causes
3157 a more serious problem than the one it solves. (Closes Bug#18141,
3158 reopens Bug#13522.)
3159
3160 2014-08-11 Martin Rudalics <rudalics@gmx.at>
3161
3162 * window.el (window-total-size): Make doc-string more self-contained.
3163
3164 * window.el (display-buffer-below-selected): Restore original
3165 behavior if buffer is already displayed in the window below the
3166 selected one (Bug#18181).
3167
3168 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
3171 event (bug#18212).
3172
3173 2014-08-11 Eli Zaretskii <eliz@gnu.org>
3174
3175 * info.el (info): Doc fix.
3176
3177 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
3178
3179 * info.el (Info-mode-map): Override a global down-mouse-2 binding
3180 (bug#18212).
3181
3182 2014-08-11 Eli Zaretskii <eliz@gnu.org>
3183
3184 * simple.el (default-line-height): A floating-point value of
3185 line-spacing means a fraction of the default frame font's height,
3186 not of the font currently used by the 'default' face.
3187 Truncate the pixel value, like the display engine does.
3188 (window-screen-lines): Use window-inside-pixel-edges for
3189 determining the window height in pixels. (Bug#18195)
3190
3191 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
3192
3193 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
3194
3195 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
3196
3197 Enumerate evaluated sexp diary entries (Bug#7911).
3198 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
3199 (icalendar-export-sexp-enumeration-days): New.
3200 (icalendar-export-region): Now `icalendar--convert-to-ical'
3201 returns a cons cell or a list of cons cells.
3202 (icalendar--convert-to-ical): Take care of
3203 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
3204 (icalendar--convert-ordinary-to-ical)
3205 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3206 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
3207 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
3208 (icalendar--convert-anniversary-to-ical): Return cons cell.
3209 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
3210 entries. Return (list of) cons cells.
3211
3212 2014-08-09 Juri Linkov <juri@jurta.org>
3213
3214 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
3215 to reevaluate `vc-annotate-color-map'. (Bug#18189)
3216
3217 2014-08-09 Alan Mackenzie <acm@muc.de>
3218
3219 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
3220 for top-level that can cause unacceptable slow-down in scrolling.
3221 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
3222 Antipov from 2013-10-14 in emacs-devel.
3223
3224 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3225
3226 * ibuffer.el (ibuffer-mode-map): Use toggle button for
3227 `ibuffer-auto-mode' menu entry.
3228 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
3229
3230 2014-08-08 Matthias Meulien <orontee@gmail.com>
3231
3232 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
3233 (Bug#16394)
3234
3235 2014-08-07 Martin Rudalics <rudalics@gmx.at>
3236
3237 * window.el (window--min-size-1): Explicitly set WINDOW arg in
3238 calls of window-min-pixel-height and window-min-pixel-width.
3239
3240 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3241
3242 * progmodes/ada-mode.el:
3243 * net/tramp.el (tramp-handle-file-symlink-p):
3244 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
3245 about VMS, which we no longer support.
3246 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
3247 and fix a FIXME, using convert-standard-filename in place of
3248 removed ada-convert-file-name.
3249
3250 2014-08-07 Eli Zaretskii <eliz@gnu.org>
3251
3252 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
3253
3254 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3255
3256 Refer to MS-DOS using the same name everywhere.
3257 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
3258 ``msdog'' become ``MS-DOS''.
3259
3260 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
3261
3262 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3263 Use cached "remote-copy-args" value, if available. (Bug#18199)
3264
3265 2014-08-07 Leo Liu <sdl.web@gmail.com>
3266
3267 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
3268 Revert change on 2014-03-22.
3269
3270 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
3271
3272 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
3273 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
3274 (Bug#13750).
3275
3276
3277 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3278
3279 * image-mode.el (image-toggle-display-image): Always rescale images
3280 to not be bigger than the current window.
3281
3282 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
3283
3284 * net/eww.el (eww-bookmarks-directory): New variable.
3285 (eww-write-bookmarks): Use it.
3286 (eww-read-bookmarks): Ditto.
3287
3288 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3289
3290 * net/shr.el (shr-copy-url): Also copy the image URL.
3291
3292 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
3293
3294 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
3295 also for Tramp working buffers.
3296
3297 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3298
3299 * progmodes/python.el: Fix completions inside (i)pdb.
3300 (python-shell-completion-pdb-string-code): Make obsolete.
3301 (python-shell-completion-get-completions):
3302 Use python-shell-completion-string-code resending setup code
3303 continuously for (i)pdb.
3304
3305 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
3306
3307 * rect.el (rectangle--default-line-number-format): Rename
3308 from misspelled rectange--default-line-number-format (Bug#18045).
3309 All uses changed.
3310
3311 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
3312
3313 Don't mishandle year-9999 dates (Bug#18176).
3314 * calendar/parse-time.el (parse-time-rules):
3315 Allow years up to most-positive-fixnum.
3316 * calendar/time-date.el (date-to-time):
3317 Pass "Specified time is not representable" errors through.
3318
3319 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3320
3321 * progmodes/python.el: Completion code cleanups.
3322 (python-shell-completion-get-completions): Detect and send import
3323 statements directly to completion function.
3324 (python-shell-completion-at-point): Simplify prompt calculation
3325 and import vs input completion logic.
3326
3327 2014-08-02 Alan Mackenzie <acm@muc.de>
3328
3329 Fix confusion in C++ file caused by comma in "= {1,2},".
3330 Bug #17756.
3331 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
3332 for a statement boundary marked by "}", check there's no "="
3333 before the "{".
3334 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
3335 non-nil `comma-delim' argument.
3336 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
3337 initializer expression more accurately.
3338
3339 Correct loop termination condition in c-syntactic-skip-backward.
3340 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
3341 the situation where, after moving back out of a literal,
3342 skip-chars-backward doesn't move further, yet checks have still to
3343 be done.
3344
3345 2014-08-01 Eli Zaretskii <eliz@gnu.org>
3346
3347 * tutorial.el (tutorial--display-changes): Accept punctuation
3348 characters before the key binding. (Bug#18146)
3349
3350 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
3351
3352 * progmodes/python.el: Shell output capture enhancements.
3353 (python-shell-accept-process-output): New function.
3354 (inferior-python-mode)
3355 (python-shell-send-setup-code): Use it.
3356
3357 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
3358
3359 * calendar/icalendar.el (icalendar--decode-isodatetime):
3360 Use actual current-time-zone when converting to local time. (Bug#15408)
3361
3362 2014-07-29 Martin Rudalics <rudalics@gmx.at>
3363
3364 * window.el (window--state-put-2): Handle horizontal scroll
3365 bars, if present.
3366
3367 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3368
3369 * menu-bar.el (menu-bar-update-buffers): Update item list format
3370 in `buffers-menu' to confirm with changes to `get_keyelt'
3371 (r117463). (Bug#18016)
3372
3373 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3374
3375 * progmodes/python.el (inferior-python-mode): Make input prompts
3376 read-only.
3377
3378 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
3379
3380 * net/tramp-sh.el (tramp-get-remote-python): Also search for
3381 executables named "python2" or "python3".
3382 (tramp-get-remote-uid-with-python): Use parentheses around
3383 arguments to `print' to make it compatible with Python 3.
3384 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
3385
3386 2014-07-28 Eli Zaretskii <eliz@gnu.org>
3387
3388 * window.el (window--pixel-to-total): Use FRAME's root window, not
3389 that of the selected frame. (Bug#18112, Bug#16674)
3390
3391 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
3392
3393 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
3394 (Bug#18117)
3395
3396 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3397
3398 * progmodes/python.el (inferior-python-mode): Doc fix.
3399
3400 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3401
3402 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
3403 not a character, ignore it instead of raising an error.
3404
3405 * calendar/todo-mode.el: Fix handling of marked items and make
3406 minor code improvements.
3407 (todo-edit-item): If there are marked items, ensure user can only
3408 invoke editing commands that work with marked items.
3409 (todo-edit-item--text): When there are marked items, make it a
3410 noop if invoked with point not on an item; otherwise, ensure it
3411 applies only to item at point.
3412 (todo-item-undone): If there are marked not-done items, return
3413 point to its original position before signaling user error.
3414 (todo--user-error-if-marked-done-item): New function.
3415 (todo-edit-item--header, todo-edit-item--diary-inclusion)
3416 (todo-item-done): Use it.
3417
3418 2014-07-28 Glenn Morris <rgm@gnu.org>
3419
3420 * files.el (toggle-read-only): Re-add basic doc-string.
3421 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
3422
3423 * progmodes/prolog.el (prolog-mode-keybindings-edit):
3424 Replace missing `switch-to-prolog' with `run-prolog'.
3425 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
3426
3427 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3428
3429 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
3430 of file-wide setting when changing category-wide setting.
3431
3432 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3433
3434 * doc-view.el (doc-view-open-text): Don't require that the
3435 document is saved in a file (e.g., email attachment).
3436
3437 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3438
3439 Parse completion input in a iPython friendly way. (Bug#18084)
3440 * progmodes/python.el
3441 (python-shell-completion-at-point): Rename from
3442 python-shell-completion-complete-at-point.
3443 (inferior-python-mode): Use it.
3444 (python-completion-at-point): Rename from
3445 python-completion-complete-at-point. Parse input up to first
3446 backward occurrence of whitespace, open-paren, close-paren or
3447 string delimiter.
3448 (python-mode): Use it.
3449
3450 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3451
3452 Prevent Python process shell buffer to pop twice.
3453 * progmodes/python.el (python-shell-switch-to-shell): Do not call
3454 pop-to-buffer.
3455
3456 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3457
3458 * progmodes/python.el
3459 (python-shell-with-shell-buffer): New macro.
3460 (python-shell-font-lock-get-or-create-buffer)
3461 (python-shell-font-lock-kill-buffer)
3462 (python-shell-font-lock-with-font-lock-buffer)
3463 (python-shell-font-lock-cleanup-buffer)
3464 (python-shell-font-lock-toggle): Use it.
3465 (python-shell-font-lock-turn-on)
3466 (python-shell-font-lock-turn-off): Use it. Make command.
3467
3468 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3469
3470 Grab all Python process output before inferior-python-mode hooks.
3471 * progmodes/python.el (inferior-python-mode):
3472 Call accept-process-output and sit-for to ensure all output for process
3473 has been received before running hooks.
3474 (python-shell-internal-get-or-create-process):
3475 Cleanup accept-process-output and sit-for calls.
3476
3477 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3478
3479 More robust shell startup and code setup.
3480 * progmodes/python.el (python-shell-make-comint):
3481 Remove accept-process-output call.
3482 (python-shell-get-buffer): Return current buffer if major-mode is
3483 inferior-python-mode.
3484 (python-shell-get-or-create-process): Use it.
3485 (python-shell-send-setup-code): Send all setup code in one string,
3486 output success message and accept-process-output.
3487
3488 2014-07-27 Eli Zaretskii <eliz@gnu.org>
3489
3490 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
3491 Add rudimentary support for bidirectional text.
3492
3493 2014-07-27 Martin Rudalics <rudalics@gmx.at>
3494
3495 * frame.el (frame-notice-user-settings): Rewrite using
3496 frame-initial-frame-tool-bar-height.
3497 * menu-bar.el (menu-bar-horizontal-scroll-bar)
3498 (menu-bar-no-horizontal-scroll-bar): New functions.
3499 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
3500 scroll bars.
3501 * scroll-bar.el (scroll-bar-lines)
3502 (set-horizontal-scroll-bar-mode)
3503 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
3504 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
3505 (scroll-bar-toolkit-horizontal-scroll): New functions.
3506 (horizontal-scroll-bar-mode)
3507 (previous-horizontal-scroll-bar-mode)
3508 (horizontal-scroll-bar-mode-explicit): New variables.
3509 (horizontal-scroll-bar-mode): New option.
3510 (toggle-horizontal-scroll-bar): Do something.
3511 (top-level): Bind horizontal-scroll-bar mouse-1.
3512 * startup.el (tool-bar-originally-present): Remove variable.
3513 (command-line): Don't set tool-bar-originally-present.
3514 * window.el (window-min-height): Update doc-string.
3515 (window--dump-frame): Dump horizontal scroll bar values.
3516 (window--min-size-1): Handle minibuffer window separately.
3517 Count in margins and horizontal scroll bar. Return safe value
3518 iff IGNORE equals 'safe.
3519 (frame-windows-min-size): New function (used by frame resizing
3520 routines).
3521 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
3522 scroll bars.
3523 (window--sanitize-window-sizes): New function.
3524 (window-split-min-size): Remove.
3525 (split-window): Count divider-width. Don't use
3526 `window-split-min-size' any more. Reword error messages.
3527 Sanitize windows sizes after splitting.
3528
3529 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
3530
3531 Use `defvar-local' more.
3532 * progmodes/hideshow.el
3533 (hs-c-start-regexp, hs-block-start-regexp)
3534 (hs-block-start-mdata-select, hs-block-end-regexp)
3535 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
3536 remove corresponding `make-variable-buffer-local' top-level calls.
3537
3538 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3539
3540 Cleanup error signals. (Bug#18067)
3541 * progmodes/python.el
3542 (python-indent-shift-left): Use user-error instead.
3543 (python-shell-prompt-detect): Use lwarn with python group.
3544 (python-completion-complete-at-point)
3545 (python-eldoc--get-doc-at-point): Don't signal error.
3546
3547 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3548
3549 Support for packages in Python shell. (Bug#13570)
3550 * progmodes/python.el (python-shell--package-depth): New var.
3551 (python-shell-package-enable): New command.
3552 (python-util-list-directories, python-util-list-files)
3553 (python-util-list-packages): New functions.
3554
3555 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3556
3557 Faster comint output. (Bug#16875)
3558 * progmodes/python.el:
3559 (python-comint-output-filter-function): Make obsolete.
3560 (python-comint-postoutput-scroll-to-bottom): New function.
3561 (inferior-python-mode): Set comint-output-filter-functions to a
3562 minimum.
3563
3564 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3565
3566 * progmodes/python.el (python-shell-font-lock-post-command-hook):
3567 Safeguard current point and undo history.
3568
3569 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3570
3571 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
3572 * progmodes/python.el:
3573 (python-shell-prompt-input-regexps): Add iPython block prompt.
3574 (python-shell-output-syntax-table): Delete var.
3575 (python-shell-font-lock-with-font-lock-buffer): New macro.
3576 (python-shell-font-lock-get-or-create-buffer)
3577 (python-shell-font-lock-kill-buffer)
3578 (python-shell-font-lock-cleanup-buffer)
3579 (python-shell-font-lock-post-command-hook)
3580 (python-shell-font-lock-turn-off): New functions.
3581 (python-shell-font-lock-turn-on): New function.
3582 (inferior-python-mode): Use it.
3583 (python-shell-font-lock-toggle): New command.
3584 (python-shell-font-lock-enable): Rename from
3585 python-shell-enable-font-lock.
3586 (run-python-internal): Use it.
3587 (python-shell-font-lock-comint-output-filter-function): New function.
3588 (python-shell-comint-end-of-output-p): New function.
3589 (python-shell-output-filter): Use it.
3590 (python-util-comint-last-prompt): New function.
3591 (python-util-text-properties-replace-name): New function.
3592
3593 2014-07-25 Glenn Morris <rgm@gnu.org>
3594
3595 * vc/ediff-init.el (ediff-toggle-read-only-function):
3596 * vc/ediff-util.el (ediff-toggle-read-only):
3597 Replace obsolete toggle-read-only with read-only-mode.
3598
3599 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
3600
3601 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
3602 with `save-match-data'. (Bug#18095)
3603
3604 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
3605
3606 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
3607 order to ensure that row and col are lexically bound inside the
3608 evaluated sexp.
3609
3610 2014-07-21 Glenn Morris <rgm@gnu.org>
3611
3612 * progmodes/hideif.el (hide-ifdef-mode-submap):
3613 Also substitute read-only-mode.
3614 * bindings.el (mode-line-toggle-read-only):
3615 * bs.el (bs-toggle-readonly):
3616 * buff-menu.el (Buffer-menu-toggle-read-only):
3617 * dired.el (dired-toggle-read-only):
3618 * files.el (view-read-only, find-file-read-only)
3619 (find-file-read-only-other-window)
3620 (find-file-read-only-other-frame):
3621 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
3622 Doc fixes re toggle-read-only.
3623
3624 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
3625
3626 * progmodes/python.el: Add comment about pipe buffering and
3627 solutions for missing/delayed output in inferior Python shells.
3628 (Bug#17304)
3629
3630 * progmodes/python.el (python-mode): Don't set
3631 mode-require-final-newline. (Bug#17990)
3632
3633 Make python.el work with IPython automatically. (Bug#15510)
3634 * progmodes/python.el:
3635 (python-shell-completion-setup-code): New value supporting iPython.
3636 (python-shell-completion-string-code): New value supporting iPython.
3637 (python-shell-completion-get-completions): Use them.
3638 (python-shell-completion-module-string-code): Make obsolete.
3639 (python-shell-prompt-input-regexps)
3640 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
3641 (python-shell-output-filter): Fix comment typo.
3642
3643 Fix Python shell prompts detection for remote hosts.
3644 * progmodes/python.el (python-shell-prompt-detect):
3645 Replace call-process with process-file and make it more robust.
3646
3647 Autodetect Python shell prompts. (Bug#17370)
3648 * progmodes/python.el:
3649 (python-shell-interpreter-interactive-arg)
3650 (python-shell-prompt-detect-enabled)
3651 (python-shell-prompt-detect-failure-warning)
3652 (python-shell-prompt-input-regexps)
3653 (python-shell-prompt-output-regexps): New vars.
3654 (python-shell-prompt-calculated-input-regexp)
3655 (python-shell-prompt-calculated-output-regexp): New vars.
3656 (python-shell-get-process-name)
3657 (python-shell-internal-get-process-name)
3658 (python-shell-output-filter)
3659 (python-shell-completion-get-completions): Use them.
3660 (python-shell-prompt-detect)
3661 (python-shell-prompt-validate-regexps): New functions.
3662 (python-shell-prompt-set-calculated-regexps): New function.
3663 (inferior-python-mode): Use it. Also honor overriden
3664 python-shell-interpreter and python-shell-interpreter-args.
3665 (python-shell-make-comint): Honor overriden
3666 python-shell-interpreter and python-shell-interpreter-args.
3667 (python-shell-get-or-create-process): Make it testable by allowing
3668 to call run-python non-interactively.
3669 (python-util-valid-regexp-p): New function.
3670 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
3671 (python-shell-prompt-output-regexp)
3672 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
3673
3674 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * emacs-lisp/smie.el (smie-config--guess-1): Split from
3677 smie-config--guess.
3678 (smie-config--guess): Use it.
3679
3680 * emacs-lisp/edebug.el: Use nadvice.
3681 (edebug-original-read): Remove.
3682 (edebug--read): Rename from edebug-read and add `orig' arg.
3683 (edebug-uninstall-read-eval-functions)
3684 (edebug-install-read-eval-functions): Use nadvice.
3685 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
3686 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
3687 (edebug-read-string, edebug-read-function): Use just `read'.
3688 (edebug-original-debug-on-entry): Remove.
3689 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
3690 `orig' arg.
3691 (debug-on-entry): Override with nadvice.
3692
3693 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
3694 it also makes sense to bind it to a non-mouse event.
3695
3696 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
3697
3698 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
3701 (bug#18015).
3702
3703 * rect.el (rectangle--string-preview): Don't assume there
3704 a non-nil default (bug#17984).
3705
3706 2014-07-16 Glenn Morris <rgm@gnu.org>
3707
3708 * desktop.el (after-init-hook): Disable startup frame restoration
3709 in non-graphical situations. (Bug#17693)
3710
3711 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
3712 if it was "empty", or used for a different set of files. (Bug#17884)
3713
3714 2014-07-16 Eli Zaretskii <eliz@gnu.org>
3715
3716 * bindings.el (mode-line-remote): If default-directory is not a
3717 string, don't call file-remote-p on it; instead state in the
3718 help-echo that it is nil. (Bug#17986)
3719
3720 2014-07-14 Daniel Colascione <dancol@dancol.org>
3721
3722 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
3723 to `macroexpand-all'
3724
3725 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
3726 Use `macroexpand-all' instead of `cl-macroexpand-all'.
3727
3728 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
3729
3730 Fix bug: C-x v v discarded existing log message (Bug#17884).
3731 * vc/vc-dispatcher.el (vc-log-edit):
3732 Don't clobber an already-existing log message.
3733
3734 2014-07-12 Glenn Morris <rgm@gnu.org>
3735
3736 * vc/log-edit.el (log-edit-changelog-entries):
3737 Check for a visited-but-never-saved ChangeLog.
3738
3739 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
3742 a non-existing file (bug#17970).
3743
3744 * faces.el (face-name): Undo last change.
3745 (x-resolve-font-name): Don't call face-name (bug#17956).
3746
3747 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3748
3749 Fix dedenters and electric colon handling. (Bug#15163)
3750 * progmodes/python.el
3751 (python-rx-constituents): Add dedenter and block-ender.
3752 (python-indent-dedenters, python-indent-block-enders): Delete.
3753 (python-indent-context): Return new case for dedenter-statement.
3754 (python-indent-calculate-indentation): Handle new case.
3755 (python-indent-calculate-levels): Fix levels calculation for
3756 dedenter statements.
3757 (python-indent-post-self-insert-function): Fix colon handling.
3758 (python-info-dedenter-opening-block-message): New function.
3759 (python-indent-line): Use it.
3760 (python-info-closing-block)
3761 (python-info-closing-block-message): Remove.
3762 (python-info-dedenter-opening-block-position)
3763 (python-info-dedenter-opening-block-positions)
3764 (python-info-dedenter-statement-p): New functions.
3765
3766 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
3767
3768 * files.el (out-of-memory-warning-percentage): New defcustom.
3769 (warn-maybe-out-of-memory): Use it.
3770
3771 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
3772
3773 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
3774 when calling `read-string'. (Bug#17839)
3775
3776 2014-07-10 Eli Zaretskii <eliz@gnu.org>
3777
3778 * files.el (warn-maybe-out-of-memory): Fix the wording of the
3779 warning.
3780
3781 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
3782
3783 * files.el (warn-maybe-out-of-memory): New function.
3784 (find-file-noselect): Use it.
3785
3786 2014-07-09 Sam Steingold <sds@gnu.org>
3787
3788 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
3789 `constant' like `bless', `return' &c
3790
3791 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * rect.el (apply-on-rectangle): Check forward-line really moved to the
3794 next line.
3795
3796 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
3799 the middle of a line (bug#17896).
3800
3801 2014-07-09 Juri Linkov <juri@jurta.org>
3802
3803 * startup.el (command-line): Append displaying the warning about
3804 the errors in the init file to the end of `after-init-hook'.
3805 (Bug#17927)
3806
3807 * faces.el (face-name): Return input arg `face' as-is
3808 when it's not a symbol.
3809 (x-resolve-font-name): Don't check if the face is a symbol.
3810 (Bug#17956)
3811
3812 * facemenu.el (list-colors-print): In help-echo format use %.2f
3813 instead of %d because now HSV values are floating-point components
3814 between 0.0 and 1.0.
3815
3816 2014-07-09 Glenn Morris <rgm@gnu.org>
3817
3818 * emulation/cua-rect.el (cua--activate-rectangle):
3819 Avoid setting cua--rectangle to nil. (Bug#17877)
3820
3821 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
3822
3823 * calendar/todo-mode.el: Fix wrong-type-argument error when
3824 marking multiple consecutive items.
3825 (todo-toggle-mark-item): Don't try to mark the empty lines at the
3826 end of the todo and done items sections. Note in doc string that
3827 items marked by passing a numeric prefix argument can include the
3828 last todo and first done items.
3829 (todo-mark-category): Don't try to mark the empty line between the
3830 todo and done items sections.
3831
3832 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
3835 proper Lisp quoting (bug#17934).
3836
3837 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
3838 require-final-newline since prog-mode already took care of it (bug#17947).
3839
3840 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
3841
3842 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
3843 refer to the Todo mode Info manual. Update the comment on
3844 requiring cl-lib.
3845 (todo-find-filtered-items-file): Add todo-prefix overlays.
3846 (todo-filter-items): Reorder a let-bound variable to avoid a
3847 wrong-type-argument error on canceling the file choice dialog.
3848
3849 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 * progmodes/octave.el (inferior-octave-mode):
3852 Set comint-input-ring-size to a number (bug#17912).
3853
3854 2014-07-09 Juri Linkov <juri@jurta.org>
3855
3856 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
3857 and `isearch-mode' associated with nil. (Bug#17849)
3858
3859 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * linum.el (linum--face-height): New function (bug#17813).
3862 (linum-update-window): Use it to adjust margin to linum's width.
3863
3864 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
3865 * eshell/em-smart.el (eshell-smart-scroll-window):
3866 Use with-selected-window.
3867
3868 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
3869 Remove also pointless window&mark manipulation.
3870
3871 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
3872 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
3873 (perl-continuation-line-p): Don't skip over anything else than labels.
3874 Return the previous char.
3875 (perl-calculate-indent): Use syntax-ppss instead of parse-start
3876 and update callers accordingly. For continuation lines, check the
3877 the case of array hashes.
3878 (perl-backward-to-noncomment): Make it non-interactive.
3879 (perl-backward-to-start-of-continued-exp): Rewrite.
3880
3881 2014-07-08 Sam Steingold <sds@gnu.org>
3882
3883 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
3884 New user commands.
3885
3886 2014-07-08 Juri Linkov <juri@jurta.org>
3887
3888 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
3889 (vc-annotate-color-map): Use less saturated colors (20%) for
3890 background-mode.
3891 (vc-annotate-very-old-color): Add default value for background-mode.
3892 (vc-annotate-background): Set default value to nil since now text on
3893 the default backgrounds should be legible in light and dark modes.
3894 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
3895 (Bug#17808)
3896
3897 2014-07-08 Juri Linkov <juri@jurta.org>
3898
3899 * simple.el (transpose-chars): Don't move point into read-only area.
3900 (Bug#17829)
3901
3902 2014-07-08 Juri Linkov <juri@jurta.org>
3903
3904 * window.el (with-displayed-buffer-window): New macro.
3905 (with-temp-buffer-window, with-current-buffer-window):
3906 Use `macroexp-let2' to evaluate and bind variables
3907 in the same order as macro arguments.
3908 (display-buffer--action-function-custom-type):
3909 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
3910
3911 * minibuffer.el (minibuffer-completion-help): Replace
3912 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
3913 with actions that display *Completions* at-bottom when called
3914 from the minibuffer, or below-selected in a normal buffer.
3915 Associate `window-height' with `fit-window-to-buffer'.
3916 Let-bind `pop-up-windows' to nil.
3917
3918 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
3919 instead of `with-current-buffer-window'. (Bug#17809)
3920
3921 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
3922
3923 * progmodes/hideif.el (hide-ifdef-env): Change to global.
3924 (hide-ifdef-env-backup): New variable.
3925 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
3926 New customizable variables.
3927 (hif-clear-all-ifdef-defined): New defun.
3928 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
3929 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
3930 (hif-tokenize): Fix for MS-DOS/Win EOL style.
3931 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
3932 Fix bug to hide the correct #elif region(s).
3933 (hif-range-elif): New defun.
3934 (hif-recurse-level): New var.
3935 (hif-evaluate-region, hif-evaluate-macro): New defun.
3936 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
3937 fully hidden.
3938 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
3939 Better interaction.
3940
3941 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
3942
3943 * net/dbus.el (dbus-peer-handler): New defun.
3944 (dbus-register-service): Register it. (Bug#17858)
3945 (dbus-managed-objects-handler): Fix docstring.
3946
3947 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
3948
3949 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
3950 (narrow-to-defun): New arg include-comments, defaulting to it
3951 (bug#16328).
3952
3953 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3954
3955 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
3956 different calling convention to rectangle--unhighlight-for-redisplay.
3957
3958 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
3959
3960 * net/tramp.el (tramp-call-process): Handle error strings.
3961
3962 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
3963
3964 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
3965 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
3966
3967 * net/trampver.el: Update release number.
3968
3969 2014-07-03 Juri Linkov <juri@jurta.org>
3970
3971 * desktop.el (desktop-save): Rename arg `auto-save' to
3972 `only-if-changed'. Doc fix. (Bug#17873)
3973
3974 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3977 Use insert-for-yank (bug#17271).
3978
3979 2014-07-03 Leo Liu <sdl.web@gmail.com>
3980
3981 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
3982 Support lexical-binding.
3983
3984 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3985
3986 * vc/log-edit.el (log-edit-goto-eoh): New function.
3987 (log-edit--match-first-line): Use it (bug#17861).
3988
3989 2014-07-03 Glenn Morris <rgm@gnu.org>
3990
3991 * vc/log-edit.el (log-edit-hook): Add missing :version.
3992
3993 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
3994
3995 * progmodes/python.el (python-indent-post-self-insert-function):
3996 Enhancements to electric indentation behavior inside
3997 parens. (Bug#17658)
3998
3999 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
4002 buffer-invisibility-spec (bug#17867).
4003
4004 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
4005
4006 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
4007 pass "-a".
4008
4009 2014-07-03 Glenn Morris <rgm@gnu.org>
4010
4011 * cus-edit.el (help):
4012 * finder.el (finder-known-keywords):
4013 * help.el (help-for-help-internal):
4014 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
4015 (ediff-redraw-registry-buffer):
4016 * vc/ediff-ptch.el (ediff-patch-file-internal):
4017 Doc fixes re "online" help. (Bug#17803)
4018
4019 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
4020 (idlwave-mode): Doc URL update.
4021
4022 2014-07-01 Juri Linkov <juri@jurta.org>
4023
4024 * man.el: Display man pages immediately and use process-filter
4025 to format them asynchronously.
4026 (Man-width): Doc fix.
4027 (man): Doc fix.
4028 (Man-start-calling): Use `with-selected-window' to get
4029 `frame-width' and `window-width'.
4030 (Man-getpage-in-background): Call `Man-notify-when-ready'
4031 immediately after creating a new buffer. Call `Man-mode' and set
4032 `mode-line-process' in the created buffer. Set process-filter to
4033 `Man-bgproc-filter' in start-process branch. In call-process branch
4034 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
4035 Use `Man-start-calling' inside `with-current-buffer'.
4036 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
4037 (Man-cleanup-manpage): Don't print messages.
4038 (Man-bgproc-filter): New function.
4039 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
4040 user moved it during asynchronous formatting. Move calls of
4041 `Man-fontify-manpage' and `Man-cleanup-manpage' to
4042 `Man-bgproc-filter'. Move the call of `Man-mode' to
4043 `Man-getpage-in-background'. Use `quit-restore-window'
4044 instead of `kill-buffer'. Use `message' instead of `error'
4045 because errors are caught by process sentinel.
4046 (Man-mode): Move calls of `Man-build-page-list',
4047 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
4048 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
4049
4050 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
4051 for the message about the man page cleaned up.
4052
4053 2014-07-01 Mario Lang <mlang@delysid.org>
4054
4055 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
4056 cosutomization option `gnutls-verify-error'.
4057
4058 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
4061 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
4062
4063 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
4064 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
4065 is suspended (bug#17857).
4066
4067 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
4068
4069 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4070 Prefer utf-8 coding. (Bug#17859)
4071
4072 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4073
4074 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
4075 for `reverse'.
4076
4077 2014-06-30 Glenn Morris <rgm@gnu.org>
4078
4079 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
4080 (autoload-ensure-default-file): Maybe make existing output writable.
4081 * Makefile.in (AUTOGEN_VCS): Remove.
4082 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
4083
4084 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4085
4086 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
4087
4088 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4089
4090 New if-let, when-let, thread-first and thread-last macros.
4091
4092 * emacs-lisp/subr-x.el
4093 (internal--listify, internal--check-binding)
4094 (internal--build-binding-value-form, internal--build-binding)
4095 (internal--build-bindings): New functions.
4096 (internal--thread-argument, thread-first, thread-last)
4097 (if-let, when-let): New macros.
4098
4099 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
4100
4101 * net/rcirc.el (rcirc-buffer-process): Restore previous
4102 behaviour. (Bug#17772)
4103
4104 2014-06-29 Alan Mackenzie <acm@muc.de>
4105
4106 Don't call c-parse-state when c++-template-syntax-table is active.
4107 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
4108 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
4109 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
4110
4111 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
4112
4113 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
4114 account for file-wide setting of todo-top-priorities-overrides.
4115 Make code a bit cleaner.
4116
4117 2014-06-28 Glenn Morris <rgm@gnu.org>
4118
4119 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
4120
4121 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
4122
4123 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
4124 category-wide setting of todo-top-priorities-overrides, check for
4125 a file-wide setting and fontify accordingly.
4126
4127 2014-06-28 Glenn Morris <rgm@gnu.org>
4128
4129 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
4130
4131 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
4134
4135 2014-06-28 K. Handa <handa@gnu.org>
4136
4137 Fix Bug#17739.
4138
4139 * composite.el: Setup composition-function-table for dotted circle.
4140 (compose-gstring-for-dotted-circle): New function.
4141
4142 * international/characters.el: Add category "^" to all
4143 non-spacing characters.
4144
4145 2014-06-28 Glenn Morris <rgm@gnu.org>
4146
4147 * Makefile.in (doit): Remove force rule.
4148 (custom-deps, finder-data, autoloads, update-subdirs)
4149 (compile-one-process): PHONY targets do not need force rules.
4150
4151 * Makefile.in (compile-main, compile, compile-always):
4152 No need to explicitly pass variables to ourself in recursive calls.
4153
4154 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4155
4156 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
4157
4158 2014-06-26 Glenn Morris <rgm@gnu.org>
4159
4160 * Makefile.in (update-authors): Update for moved authors.el.
4161
4162 2014-06-26 Leo Liu <sdl.web@gmail.com>
4163
4164 * skeleton.el (skeleton-end-hook): Default to nil and move the
4165 work to skeleton-insert. (Bug#17850)
4166
4167 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
4168
4169 * calc/calc-alg.el (math-beforep):
4170 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
4171 Simplify because string-lessp can accept symbols as args.
4172
4173 2014-06-26 Daiki Ueno <ueno@gnu.org>
4174
4175 * emacs-lisp/package.el (package--check-signature):
4176 If package-check-signature is allow-unsigned, don't signal error when
4177 we can't verify signature because of missing public key
4178 (bug#17625).
4179
4180 2014-06-26 Glenn Morris <rgm@gnu.org>
4181
4182 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
4183 Remove outdated declaration.
4184
4185 * emacs-lisp/authors.el (authors-valid-file-names)
4186 (authors-renamed-files-alist): Additions.
4187
4188 2014-06-26 Leo Liu <sdl.web@gmail.com>
4189
4190 * textmodes/picture.el (picture-set-tab-stops):
4191 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
4192 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
4193
4194 * progmodes/asm-mode.el (asm-calculate-indentation):
4195 Use indent-next-tab-stop.
4196
4197 * indent.el (indent-accumulate-tab-stops): New function.
4198
4199 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
4202 (package-desc-status): Obey it.
4203
4204 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
4205
4206 * calendar/todo-mode.el: Fix two bugs.
4207 (todo-insert-item--basic): If user cancels item insertion to
4208 another category before setting priority, show original category
4209 whether it is in the same or a different file.
4210 (todo-set-item-priority): After selecting category, instead of
4211 moving point to top, which extends an active region, restore it.
4212
4213 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * help-fns.el (describe-function-1): Check file-name is a string before
4216 calling help-fns--autoloaded-p (bug#17564).
4217
4218 2014-06-26 Juri Linkov <juri@jurta.org>
4219
4220 * desktop.el (desktop-auto-save-enable)
4221 (desktop-auto-save-disable): New functions.
4222 (desktop-save-mode, desktop-auto-save-timeout): Use them.
4223 (desktop-read): Disable the autosave before loading the desktop,
4224 and enable afterwards. (Bug#17351)
4225
4226 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 Fix some indentation problem with \; and pipes (bug#17842).
4229 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
4230 (sh-smie--default-forward-token, sh-smie--default-backward-token):
4231 New functions.
4232 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
4233 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
4234 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
4235
4236 2014-06-26 Glenn Morris <rgm@gnu.org>
4237
4238 * emacs-lisp/find-func.el (find-function-C-source-directory):
4239 Use file-accessible-directory-p.
4240
4241 * ps-samp.el: Make it slightly less awful.
4242 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
4243 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
4244 Only set local values.
4245 (ps-article-subject, ps-article-author): Use standard functions
4246 like mail-fetch-field.
4247 (ps-info-file, ps-info-node): Use match-string.
4248 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
4249 (ps-samp-ps-setup): ... new function.
4250
4251 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
4252 Optimize away code unneeded on any modern Emacs.
4253
4254 * emacs-lisp/authors.el: Move to ../admin.
4255
4256 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
4257
4258 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
4259
4260 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
4261 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
4262 performance enhancements.
4263 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
4264 expansion.
4265 (hif-factor, hif-string-concatenation, intern-safe): Support string
4266 concatenation and argumented macro expansion.
4267 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
4268 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
4269 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
4270 (hif-canonicalize-tokens, hif-place-macro-invocation)
4271 (hif-parse-macro-arglist): Mostly new functions for supporting
4272 argumented macro expansion.
4273 (hif-string-concatenation, hif-stringify, hif-token-concat)
4274 (hif-token-stringification, hif-token-concatenation):
4275 Stringification and concatenation.
4276 (hif-find-next-relevant): Fix comments.
4277 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
4278 some cases involving #elif.
4279 (hif-find-define, hif-add-new-defines): New functions for automatically
4280 scanning of defined symbols.
4281 (hide-ifdef-guts): Fix for defined symbol auto scanning.
4282 (hide-ifdef-undef): Fix behavior to match CPP.
4283
4284 2014-06-25 Glenn Morris <rgm@gnu.org>
4285
4286 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
4287 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
4288 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
4289 files. They are not relevant to the original issue (bug#1004),
4290 and cause unnecessary recompilation (bug#2151).
4291
4292 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * play/landmark.el: Use lexical-binding and avoid `intangible'.
4295 (landmark--last-pos): New var.
4296 (landmark--intangible-chars): New const.
4297 (landmark--intangible): New function.
4298 (landmark-mode, landmark-move): Use it.
4299 (landmark-mode): Remove properties.
4300 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
4301 (landmark-cross-qtuple):
4302 Don't worry about `intangible' any more.
4303 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
4304 (landmark-init-display): Don't set `intangible' and `point-entered'.
4305 (square): Remove. Inline it instead.
4306 (landmark--distance): Rename from `distance'.
4307 (landmark-calc-distance-of-robot-from): Rename from
4308 calc-distance-of-robot-from.
4309 (landmark-calc-smell-internal): Rename from calc-smell-internal.
4310
4311 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
4312
4313 * files.el (dir-locals-find-file, file-relative-name):
4314 * info.el (Info-complete-menu-item):
4315 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
4316 to compare-strings to avoid out-of-range errors.
4317 * subr.el (string-prefix-p): Adjust to match strict range
4318 checking in compare-strings.
4319
4320 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
4321
4322 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
4323 for comment lines non-greedy and stopping at newlines to fix stack
4324 overflows with large files.
4325
4326 2014-06-24 Eli Barzilay <eli@barzilay.org>
4327
4328 * calculator.el (calculator-last-input): Drop 'ascii-character property
4329 lookup.
4330
4331 2014-06-24 Leo Liu <sdl.web@gmail.com>
4332
4333 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
4334 tab-stop-list to nil. (Bug#16381)
4335
4336 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
4337 (indent-rigidly-left-to-tab-stop)
4338 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
4339 (move-to-tab-stop): Change callers.
4340
4341 2014-06-24 Eli Zaretskii <eliz@gnu.org>
4342
4343 * skeleton.el (skeleton-insert): Yet another fix of the doc string
4344 wrt behavior of \n as the first/last element of a skeleton.
4345
4346 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
4347
4348 * net/tramp-adb.el (tramp-adb-handle-process-file):
4349 * net/tramp-sh.el (tramp-sh-handle-process-file):
4350 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
4351 the output buffer when DISPLAY is non-nil. (Bug#17815)
4352
4353 2014-06-24 Glenn Morris <rgm@gnu.org>
4354
4355 * play/landmark.el (landmark-move-down, landmark-move-up):
4356 Fix 2007-10-20 change - preserve horizontal position.
4357
4358 2014-06-23 Sam Steingold <sds@gnu.org>
4359
4360 * simple.el (kill-append): Remove undo boundary depending on ...
4361 (kill-append-merge-undo): New user option.
4362
4363 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * simple.el (handle-shift-selection, exchange-point-and-mark)
4366 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
4367 (transient-mark-mode): Use&set the global value.
4368 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
4369 * emulation/edt.el (edt-emulation-off): Save&restore the global
4370 transient-mark-mode setting.
4371 * obsolete/pc-select.el (pc-selection-mode): Use the
4372 transient-mark-mode function.
4373
4374 2014-06-23 Eli Zaretskii <eliz@gnu.org>
4375
4376 * international/fontset.el (script-representative-chars):
4377 Add representative characters for scripts added in Unicode 7.0.
4378 (otf-script-alist): Synchronize with the latest registry of OTF
4379 script tags.
4380
4381 * international/characters.el (char-script-table): Update for
4382 scripts added and codepoint ranges changed in Unicode 7.0.
4383
4384 2014-06-23 Eli Barzilay <eli@barzilay.org>
4385
4386 * calculator.el (calculator-standard-displayer): Fix bug in use of
4387 `calculator-groupize-number'.
4388 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
4389 `eval' code, so it works in v24.3.1 too.
4390 (calculator-last-input): Comment to clarify purpose.
4391
4392 2014-06-22 Mario Lang <mlang@delysid.org>
4393
4394 * textmodes/rst.el (rst-comment-region): From from -> from.
4395
4396 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
4397
4398 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
4399
4400 * electric.el (electric-layout-post-self-insert-function):
4401 * emacs-lisp/ert.el (ert--insert-infos):
4402 * obsolete/vi.el (vi-set-mark):
4403 * term.el (term-handle-scroll):
4404 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
4405 * wid-edit.el (widget-editable-list-value-create):
4406 Prefer point-marker to copy-marker of point.
4407
4408 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4409
4410 Fix completion retrieval parsing (bug#17209).
4411 * progmodes/python.el (python-mode):
4412 (python-util-strip-string): New function.
4413 (python-shell-completion-get-completions): Use it.
4414
4415 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4416
4417 * skeleton.el (skeleton-insert): Fix last change.
4418
4419 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4420
4421 Enhancements for outline integration (bug#17796).
4422 * progmodes/python.el (python-mode): Properly set
4423 outline-heading-end-regexp so that comments after colons for
4424 defuns are supported.
4425
4426 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4427
4428 * skeleton.el (skeleton-insert): Doc fix.
4429
4430 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
4433 (smie-config-guess): Use smie-config-local so the rules are obeyed
4434 (bug#17818).
4435
4436 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
4437 since it's already done inside the loop (bug#17819).
4438
4439 2014-06-21 Martin Rudalics <rudalics@gmx.at>
4440
4441 * mouse.el (mouse-drag-line): Re-remove code initially removed
4442 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
4443 (Bug#17819).
4444
4445 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
4448 align with the surrounding parent (bug#17721).
4449
4450 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4451
4452 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
4453 locally to nil.
4454 (texinfo-insert-block, texinfo-insert-@end)
4455 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
4456 local setting of skeleton-end-newline by adding an explicit \n to
4457 the skeletons where appropriate. (Bug#17801)
4458
4459 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4460
4461 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
4462 (smie-indent--hanging-p): Use it.
4463 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
4464
4465 2014-06-21 Leo Liu <sdl.web@gmail.com>
4466
4467 * simple.el (read-quoted-char): Don't let help chars pop up help
4468 buffer. (Bug#16617)
4469
4470 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4471
4472 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
4473 for | (bug#17621).
4474
4475 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
4476 Drop unknown events instead of burping.
4477
4478 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4479
4480 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
4481 and later. (Bug#17790)
4482
4483 2014-06-21 Juri Linkov <juri@jurta.org>
4484
4485 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
4486 to `soft'. (Bug#17554)
4487
4488 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
4491 (bug#17737).
4492
4493 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
4494
4495 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
4496 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
4497
4498 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
4499
4500 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
4501 `unread-command-events'.
4502
4503 2014-06-19 William Xu <william.xwl@gmail.com>
4504
4505 * progmodes/hideif.el (hif-string-to-number): Don't return float for
4506 hex integer constants (bug#17807).
4507
4508 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * international/mule-util.el (truncate-string-ellipsis): New var.
4511 (truncate-string-to-width): Use it.
4512
4513 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
4514
4515 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
4516 (lisp-string-in-doc-position-p): New function, extracted from
4517 lisp-font-lock-syntactic-face-function.
4518 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
4519
4520 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
4521
4522 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
4523
4524 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
4527 (bubbles--game-over): Don't add `intangible' properties since they
4528 didn't work anyway.
4529
4530 2014-06-18 Juri Linkov <juri@jurta.org>
4531
4532 * vc/ediff-init.el (ediff-current-diff-Ancestor)
4533 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
4534 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
4535 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
4536 Add `min-colors 88' version with removed black/white foregrounds.
4537 (Bug#10181)
4538
4539 2014-06-18 Juri Linkov <juri@jurta.org>
4540
4541 * vc/diff-mode.el (diff-changed): Empty face definition to use
4542 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
4543 (diff-context): Use darker color on light background and
4544 lighter color on dark background.
4545
4546 2014-06-18 Juri Linkov <juri@jurta.org>
4547
4548 * vc/diff-mode.el (diff-refine-changed): Rename from
4549 `diff-refine-change' for consistency with `diff-changed'.
4550 (diff-refine-change): Add obsolete face alias. (Bug#10181)
4551
4552 * vc/smerge-mode.el (smerge-refined-changed): Rename from
4553 `smerge-refined-change'.
4554 (smerge-refined-change): Add obsolete face alias.
4555
4556 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4557
4558 * rect.el (rectangle-preview): New custom.
4559 (rectangle): New group.
4560 (rectangle--pos-cols): Add `window' argument.
4561 (rectangle--string-preview-state, rectangle--string-preview-window):
4562 New vars.
4563 (rectangle--string-flush-preview, rectangle--string-erase-preview)
4564 (rectangle--space-to, rectangle--string-preview): New functions.
4565 (string-rectangle): Use them.
4566 (rectangle--inhibit-region-highlight): New var.
4567 (rectangle--highlight-for-redisplay): Obey it. Make sure
4568 `apply-on-region' uses the point-crutches of the right window.
4569 Use :align-to rather than multiple spaces.
4570
4571 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
4572
4573 * ruler-mode.el (ruler-mode-window-col)
4574 (ruler-mode-mouse-set-left-margin)
4575 (ruler-mode-mouse-set-right-margin): Fix calculation of column
4576 from mouse position (Bug#17768).
4577
4578 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
4579
4580 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
4581 without varname or rhs causes crash.
4582 (dun-ftp): Fix bug where blank ftp password is allowed, making it
4583 impossible to win endgame.
4584 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
4585 rlogin is anymore.
4586 (dun-help): Bump version number; update contact info.
4587
4588 2014-06-15 Eli Barzilay <eli@barzilay.org>
4589
4590 * calculator.el (calculator-prompt, calculator-remove-zeros)
4591 (calculator-mode-hook, calculator-operators, calculator-stack)
4592 (calculator-mode): Tweak docstring.
4593 (calculator-user-operators): Tweak docstring, fix a bug in the last
4594 example.
4595 (calculator-displayer): `std' case has an optional boolean.
4596 (calculator-displayers): Use the new boolean to group in decimal mode.
4597 (calculator-mode-map, calculator, calculator-message)
4598 (calculator-op-arity, calculator-add-operators)
4599 (calculator-string-to-number, calculator-displayer-prev)
4600 (calculator-displayer-next, calculator-remove-zeros)
4601 (calculator-eng-display, calculator-number-to-string)
4602 (calculator-update-display, calculator-last-input)
4603 (calculator-clear-fragile, calculator-digit, calculator-decimal)
4604 (calculator-exp, calculator-saved-move, calculator-clear)
4605 (calculator-copy, calculator-put-value, calculator-help)
4606 (calculator-expt, calculator-truncate): Minor code improvements.
4607 (calculator-need-3-lines): New function pulling out code from
4608 `calculator'.
4609 (calculator-get-display): Rename from `calculator-get-prompt', and
4610 improved.
4611 (calculator-push-curnum): Rename from `calculator-curnum-value', and
4612 extended for all uses of it. All callers changed.
4613 (calculator-groupize-number): New utility for splitting a number into
4614 groups.
4615 (calculator-standard-displayer): Improve code, new optional argument to
4616 use comma-split groups, make second argument optional too to use with
4617 'left/'right inputs. All callers changed.
4618 (calculator-reduce-stack-once): New utility, doing the meat of what
4619 `calculator-reduce-stack' used to do, much improved (mostly using
4620 `pcase' for conciseness and clarity).
4621 (calculator-reduce-stack): Now doing just the reduction loop using
4622 `calculator-reduce-stack-once'.
4623 (calculator-funcall): Improve code, make it work in v24.3.1 too.
4624 (calculator-last-input): Improve code, remove some old cruft.
4625 (calculator-quit): Kill `calculator-buffer' in electric mode too.
4626 (calculator-integer-p): Remove.
4627 (calculator-fact): Improve code, make it work on non-integer values
4628 too (using truncated numbers).
4629
4630 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
4631
4632 Sync with Tramp 2.2.10.
4633
4634 * net/tramp.el (tramp-methods): Tweak docstring.
4635 (tramp-handle-file-accessible-directory-p): Check for
4636 `file-readable-p' instead of `file-executable-p'.
4637 (tramp-check-cached-permissions):
4638 Use `tramp-compat-file-attributes'.
4639 (tramp-call-process): Add new argument VEC. Adapt callees in all
4640 tramp*.el files.
4641
4642 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
4643 (tramp-adb-maybe-open-connection): Don't set
4644 `tramp-current-*' variables.
4645
4646 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
4647 file properties of temporary buffers.
4648
4649 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
4650
4651 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
4652 (tramp-gvfs-handle-delete-file): Flush file
4653 properties, not directory properties.
4654 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
4655 reading "unix::mode".
4656 (tramp-gvfs-handle-file-name-all-completions):
4657 Use "-h" option for "gvfs-ls".
4658 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
4659 (tramp-gvfs-send-command): Simplify traces.
4660
4661 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
4662 (vc-git-program, vc-hg-program): Declare.
4663 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
4664 (tramp-methods) <nc>: Add new method.
4665 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
4666 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
4667 `tramp-login-args'.
4668 (tramp-default-user-alist): Add "nc".
4669 (top): Remove completion function for "sftp". Add completion
4670 functions for "nc" and "psftp".
4671 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
4672 Implement support for "nc" method.
4673 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
4674 (tramp-remote-coding-commands, tramp-call-local-coding-command):
4675 Tweak docstring.
4676 (tramp-sh-handle-write-region): Tweak error message.
4677 (tramp-sh-handle-vc-registered): Remove backends when the remote
4678 binary does not exist.
4679 (tramp-find-inline-encoding): Do not raise an error.
4680 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
4681 the "nc" case. Quote result also locally.
4682
4683 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4684 (tramp-smb-handle-set-file-acl): Use `start-process'.
4685 (tramp-smb-handle-insert-directory): Use progress reporter.
4686 (tramp-smb-handle-rename-file): Flush also file properties of
4687 FILENAME.
4688
4689 * net/trampver.el: Update release number.
4690
4691 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
4694 add-to-list.
4695 (ses-localvars): Remove ses--local-printer-list, unused.
4696 (ses--metaprogramming): New macro. Use it to defvar variables.
4697 (ses-set-localvars): Simplify.
4698 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
4699 property-list into an alist.
4700 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4701 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
4702 Remove; use defstruct accessors/setters instead.
4703 (ses-cell-formula-aset, ses-cell-printer-aset)
4704 (ses-cell-references-aset): Remove, use setf instead.
4705 (ses--alist-get): New function.
4706 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
4707 Use an alist instead of a plist and don't do move-to-front since the
4708 list is always short.
4709 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
4710 (ses-cell-property-set-fun, ses-cell-property-set)
4711 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
4712 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
4713 (ses--letref): New macro.
4714 (ses-cell-property-pop): Rewrite.
4715 (ses--cell): Rename from ses-cell and make it into a function.
4716 Make `formula' fallback on `value' if nil.
4717 (ses--local-printer): Rename from ses-local-printer and make it into
4718 a function.
4719 (ses-set-cell): Turn it into a macro so finding the accessor from the
4720 field name is done at compile time.
4721 (ses-repair-cell-reference-all): Test presence of `sym' rather than
4722 `ref' before adding `sym' to :ses-repair-reference.
4723 (ses-calculate-cell): Use ses--letref rather than
4724 ses-cell-property-get-handle.
4725 (ses-write-cells): Use a single prin1-to-string.
4726 (ses-setter-with-undo): New function.
4727 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
4728 (ses-unset-with-undo): Remove.
4729 (ses-load): Prefer apply' over `eval'.
4730 (ses-read-printer, ses-set-column-width): Use standard "(default
4731 foo)" format.
4732
4733 2014-06-15 Glenn Morris <rgm@gnu.org>
4734
4735 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
4736
4737 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
4738 Replace delete-duplicates and mapcan by cl- versions throughout.
4739 And cl-macroexpand-all by macroexpand-all.
4740 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
4741
4742 2014-06-15 Eli Zaretskii <eliz@gnu.org>
4743
4744 * subr.el (posn-col-row): Doc fix. (Bug#17768)
4745
4746 2014-06-15 Juri Linkov <juri@jurta.org>
4747
4748 * bindings.el: Put `ascii-character' property on keypad keys
4749 mapped to characters. (Bug#17759)
4750
4751 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
4754 bumping forward into a closing paren (bug#17761).
4755
4756 * term/xterm.el (xterm--version-handler): Work around for OSX
4757 Terminal.app (bug#17607).
4758
4759 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
4760
4761 * play/dunnet.el (dun-describe-room, dun-mode):
4762 If a lamp is in the room, you won't be eaten by a grue.
4763
4764 2014-06-13 Glenn Morris <rgm@gnu.org>
4765
4766 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
4767 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
4768 (compile-always): GNU make automatically passes
4769 command-line arguments to sub-makes.
4770
4771 * calendar/calendar.el (calendar-generate-window):
4772 Remove pointless call to font-lock-fontify-buffer.
4773
4774 2014-06-13 Matthias Meulien <orontee@gmail.com>
4775
4776 * simple.el (completion-list-mode-map): Navigate with tab and backtab
4777 (bug#17767).
4778
4779 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4780
4781 * simple.el (set-mark-command): Simplify a bit.
4782
4783 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4784
4785 * help.el (help--key-binding-keymap): New function.
4786 (help--binding-locus): New function.
4787 (describe-key): Mention the keymap in which the binding was
4788 found. (bug#13948)
4789
4790 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * hippie-exp.el (he--all-buffers): New function.
4793 (try-expand-line-all-buffers, try-expand-list-all-buffers)
4794 (try-expand-dabbrev-all-buffers): Use it.
4795
4796 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
4797
4798 * hippie-exp.el (try-expand-line-all-buffers)
4799 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
4800 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
4801 original buffer, in case they're buffer-local.
4802
4803 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
4804
4805 * ses.el (ses-initial-global-parameters-re): New defconst, a
4806 specific regexp is needed now that ses.el can handle both
4807 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
4808 local printers.
4809 (ses-localvars): Add local variables needed for local printer handling.
4810 (ses-set-localvars): Handle hashmap initialisation.
4811 (ses-paramlines-plist): Add param-line for number of local printers.
4812 (ses-paramfmt-plist): New defconst, needed for code factorization
4813 between functions `ses-set-parameter' and
4814 `ses-file-format-extend-paramter-list'
4815 (ses-make-local-printer-info): New defsubst.
4816 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4817 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
4818 (ses-cell-printer-aset): New defmacro.
4819 (ses-local-printer-compile): New defun.
4820 (ses-local-printer): New defmacro.
4821 (ses-printer-validate, ses-call-printer): Add support for local
4822 printer functions.
4823 (ses-file-format-extend-paramter-list): New defun.
4824 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
4825 factorization.
4826 (ses-load): Add support for local printer functions.
4827 (ses-read-printer): Update docstring and add support for local printer
4828 functions.
4829 (ses-refresh-local-printer, ses-define-local-printer): New defun.
4830 (ses-safe-printer): Add support for local printer functions.
4831
4832 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
4833
4834 * ffap.el (ffap-lax-url): New var (bug#17723).
4835 (ffap-url-at-point): Use it.
4836 (ffap-file-at-point): Avoid returning just "/".
4837
4838 2014-06-12 Matthias Meulien <orontee@gmail.com>
4839
4840 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
4841 (python-mode-map): Bind it.
4842
4843 * progmodes/python.el (class skeleton): Don't erase last char of class
4844 name (bug#17683).
4845
4846 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
4847
4848 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
4849
4850 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
4851
4852 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
4853 (bug#17745).
4854
4855 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * international/mule-cmds.el: Use lexical-binding.
4858 (ucs-names): Simplify.
4859
4860 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
4861
4862 * progmodes/python.el (run-python): Use read-shell-command.
4863
4864 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * rect.el: Make it possible to move bounds past EOL or into TABs.
4867 (operate-on-rectangle): Use apply-on-rectangle.
4868 (rectangle--mark-crutches): New var.
4869 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
4870 (rectangle--crutches, rectangle--reset-crutches): New functions.
4871 (apply-on-rectangle): Obey crutches. Avoid setq.
4872 Fix missing final iteration if end is at EOB&BOL.
4873 (rectangle-mark-mode-map): Add remap bindings for
4874 exchange-point-and-mark and char/line movements.
4875 (rectangle--*-char): New function.
4876 (rectangle-exchange-point-and-mark, rectangle-right-char)
4877 (rectangle-left-char, rectangle-forward-char)
4878 (rectangle-backward-char, rectangle-next-line)
4879 (rectangle-previous-line): New commands.
4880 (rectangle--place-cursor): New function.
4881 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
4882
4883 2014-06-08 Glenn Morris <rgm@gnu.org>
4884
4885 * startup.el (initial-buffer-choice): Doc fix.
4886 Reset :version (adding an option does not merit a :version bump).
4887
4888 * bookmark.el (bookmark-load):
4889 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
4890
4891 2014-06-08 Juri Linkov <juri@jurta.org>
4892
4893 * desktop.el: Activate auto-saving on window configuration changes.
4894 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
4895 `desktop-auto-save-set-timer' to/from
4896 `window-configuration-change-hook'.
4897 (desktop-auto-save-set-timer): Change REPEAT arg of
4898 `run-with-idle-timer' from t to nil.
4899 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
4900
4901 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
4902
4903 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
4904 vc-hg-command (bug#17570).
4905
4906 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * international/mule-cmds.el (ucs-names): Add special entry for BEL
4909 (bug#17702).
4910
4911 2014-06-08 Glenn Morris <rgm@gnu.org>
4912
4913 * startup.el (window-setup-hook): Doc fix.
4914
4915 * emacs-lisp/package.el (package-check-signature)
4916 (package-unsigned-archives): Doc fixes.
4917
4918 2014-06-08 Martin Rudalics <rudalics@gmx.at>
4919
4920 * window.el (display-buffer-use-some-window): Don't make window
4921 used smaller than it was before (Bug#17671).
4922
4923 2014-06-08 Eli Zaretskii <eliz@gnu.org>
4924
4925 * menu-bar.el (menu-bar-open): Fix last change: use the PC
4926 'redisplay' instead of '(sit-for 0)'.
4927
4928 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
4929
4930 * net/tramp.el (tramp-ssh-controlmaster-options):
4931 Improve search regexp. (Bug#17653)
4932
4933 2014-06-08 Glenn Morris <rgm@gnu.org>
4934
4935 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
4936
4937 2014-06-08 Eli Zaretskii <eliz@gnu.org>
4938
4939 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
4940
4941 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
4942
4943 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
4944 (bug#17586).
4945
4946 * vc/vc-hg.el (vc-hg-log-graph): New var.
4947 (vc-hg-print-log): Use it.
4948 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
4949 graph output (bug#17515).
4950
4951 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4952
4953 * mouse.el (mouse-posn-property): Ignore buffer position info when the
4954 even happened elsewhere.
4955
4956 2014-06-06 Mario Lang <mlang@delysid.org>
4957
4958 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
4959 `recenter' if `current-buffer' is equal to `window-buffer'.
4960
4961 2014-06-05 Leo Liu <sdl.web@gmail.com>
4962
4963 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
4964
4965 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
4966
4967 * textmodes/tildify.el (tildify-foreach-region-outside-env):
4968 New function which calls a callback on portions of the buffer that are
4969 outside of ignored environments.
4970 (tildify-build-regexp): Remove function since it is now
4971 incorporated in `tildify-foreach-region-outside-env' where it is
4972 optimized and simplified by the use of `mapconcat'.
4973 (tildify-tildify): Return number of substitutions made so that…
4974 (tildify-count): …can be removed.
4975 (tildify-find-env): Accept a new PAIRS argument which was
4976 previously looked up in `tildify-ignored-environments-alist' each
4977 time the function was called. With this change, the lookup is
4978 performed only once in `tildify-foreach-region-outside-env'.
4979 (tildify-region): Greatly simplify the function since now most of
4980 the work is done by `tildify-foreach-region-outside-env'.
4981 (tildify-mode-alist): Simplify slightly by avoiding if and setq
4982 and instead using or.
4983
4984 * textmodes/tildify.el (tildify-ignored-environments-alist):
4985 Optimize environments regexes
4986
4987 Each time beginning of an environment to ignore is found,
4988 `tildify-find-env' needs to identify regexp for the ending
4989 of the environment. This is done by trying all the opening
4990 regexes on matched text in a loop, so to speed that up, this
4991 loop should have fewer things to match, which can be done by
4992 using alternatives in the opening regexes.
4993
4994 Coincidentally, this should make matching of the opening
4995 regexp faster as well thanks to the use of `regexp-opt' and
4996 having common prefix pulled from many regexes.
4997
4998 * textmodes/tildify.el (tildify-string-alist)
4999 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
5000 of supported modes since `xml-mode' is no longer a thing but just
5001 an alias to the former. Also include comments and insides of tags
5002 in `tildify-ignored-environments-alist' for XML modes. Finally,
5003 since XML does not define “&nbsp;”[1], use a numeric reference for
5004 a no-break space (namely “&#160;”)
5005
5006 [1] XML specification defines only a handful of predefined entities.
5007 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
5008 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
5009 >, &, ' and " respectively). This is in contrast to HTML and even
5010 XHTML which defined a whole bunch of entities including “&nbsp;”.
5011
5012 * textmodes/tildify.el (tildify-pattern-alist)
5013 (tildify-string-alist, tildify-ignored-environments-alist):
5014 Improve defcustom's types by adding more tags explaining what each
5015 value means and replace “sexp” used in
5016 `tildify-ignored-environments-alist' with a full type declaration.
5017
5018 * textmodes/tildify.el (tildify-find-env): Fix matched group
5019 indexes in end-regex building
5020
5021 When looking for a start of an ignore-environment, the regex is built
5022 by concatenating regexes of all the environments configured in
5023 `tildify-ignored-environments-alist'. So for example, the following
5024 list could be used to match TeX's \verb and \verb* commands:
5025
5026 (("\\\\verb\\(.\\)" . (1))
5027 ("\\\\verb\\*\\(.\\)" . (1)))
5028
5029 This would result in the following regex being used to find the start
5030 of any of the variants of the \verb command:
5031
5032 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
5033
5034 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
5035 won't match anything, and thus (match-string 1) will be nil, which
5036 will cause building of the end-matching regex to fail.
5037
5038 Fix this by using capture groups from the time when the opening
5039 regexes are matched individually.
5040
5041 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
5042 in `tildify-find-env'
5043
5044 The `tildify-ignored-environments-alist' allows the end-regex to
5045 be provided not as a static string but mix of strings and indexes
5046 of groups matched the begin-regex. For example, the “\verb!…!”
5047 TeX-command (where “!” is an arbitrary character) is handled
5048 using:
5049
5050 ("\\\\verb\\*?\\(.\\)" . (1))
5051
5052 In the same way, the following should be supported as well:
5053
5054 ("open-\\(.\\)" . ("end-" 1))
5055
5056 However the tildify-find-env function fails at
5057
5058 (concat result
5059 (if (stringp (setq aux (car expression)))
5060 expression ; BUG: expression is a list
5061 (regexp-quote (match-string aux))))
5062
5063 where the string part is handled incorrectly.
5064
5065 The most trivial fix would be to replace `expression' in the
5066 true-part of the if-statement with `aux', but instead, this commit
5067 optimizes `tildify-find-env' by changing it to use `mapconcat'
5068 rather than open-coded while-loop.
5069
5070 2014-06-05 Mario Lang <mlang@delysid.org>
5071
5072 * woman.el (woman-mapcan): Remove.
5073 (woman-parse-colon-path): Use cl-mapcan instead.
5074
5075 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5076
5077 * register.el: Add link to Emacs manual in Commentary.
5078
5079 2014-06-02 Sam Steingold <sds@gnu.org>
5080
5081 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
5082 (popup-menu): ...here.
5083 (menu-bar-open): Use it to avoid an error when `lookup-key'
5084 returns a number.
5085
5086 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
5087
5088 * net/tramp.el (tramp-call-process): Add traces.
5089 (tramp-handle-unhandled-file-name-directory): Return "/".
5090
5091 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
5092
5093 Sync with upstream verilog-mode revision 3cd8144.
5094 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5095 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
5096 (verilog-type-font-keywords): Add nor.
5097 (verilog-batch-execute-func): Force reading of Local Variables.
5098 Fix printing "no changes to be saved" with verilog-batch.
5099 (verilog-auto-arg-ports): Doc fix.
5100 Add verilog-auto-arg-format to support newlines in AUTOARG.
5101 (verilog-auto-arg): Doc fix.
5102
5103 2014-06-02 Glenn Morris <rgm@gnu.org>
5104
5105 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
5106 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5107 * emulation/ws-mode.el: Move to obsolete/.
5108 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
5109
5110 2014-06-02 Eli Zaretskii <eliz@gnu.org>
5111
5112 * simple.el (keyboard-quit): Force update of mode lines, to remove
5113 the "Def" indicator, if we were defining a macro. (Bug#17615)
5114
5115 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * minibuffer.el (minibuffer-force-complete-and-exit):
5118 Obey minibuffer-default (bug#17545).
5119
5120 * progmodes/js.el (js-indent-line): Don't mix columns and chars
5121 (bug#17619).
5122
5123 * subr.el (set-transient-map): Don't wait for some "nested"
5124 transient-map to finish if we're only supposed to be active for
5125 the next command (bug#17642).
5126
5127 2014-06-02 Leo Liu <sdl.web@gmail.com>
5128
5129 * emacs-lisp/gv.el (window-buffer, window-display-table)
5130 (window-dedicated-p, window-hscroll, window-point, window-start):
5131 Fix gv-expander. (Bug#17630)
5132
5133 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
5136 clicks (bug#17633).
5137
5138 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
5139 for the single comma, since ", " is *very* common in normal French text
5140 (bug#17643).
5141
5142 2014-06-02 Glenn Morris <rgm@gnu.org>
5143
5144 * emacs-lisp/package.el (package-check-signature)
5145 (package-unsigned-archives): Fix :version.
5146
5147 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * subr.el (sit-for): Don't run input-methods (bug#15614).
5150
5151 2014-06-02 Glenn Morris <rgm@gnu.org>
5152
5153 * cus-start.el: Fix some :version numbers.
5154
5155 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5156
5157 * simple.el (deactivate-mark): Set mark-active to nil even if
5158 deactivation is done via setting transient-mark-mode to nil,
5159 since one is buffer-local and the other is global.
5160
5161 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
5162 there can't be more than 2 arguments (bug#17584).
5163
5164 2014-06-02 Glenn Morris <rgm@gnu.org>
5165
5166 * simple.el (filter-buffer-substring-functions)
5167 (filter-buffer-substring-function, buffer-substring-filters)
5168 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
5169
5170 * minibuffer.el (completion-in-region-functions, completion-in-region)
5171 (completion--in-region): Doc fixes.
5172
5173 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
5174 (expand-abbrev, abbrev--default-expand): Doc fixes.
5175
5176 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
5177
5178 Include sources used to create macuvs.h.
5179 * international/README: Refer to the Unicode Terms of Use rather
5180 than copying it bodily here, as that simplifies maintenance.
5181
5182 2014-06-01 Glenn Morris <rgm@gnu.org>
5183
5184 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
5185
5186 2014-05-31 Glenn Morris <rgm@gnu.org>
5187
5188 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
5189
5190 2014-05-30 Glenn Morris <rgm@gnu.org>
5191
5192 * loadup.el: Treat `command-line-args' more flexibly.
5193
5194 2014-05-30 Alan Mackenzie <acm@muc.de>
5195
5196 Guard (looking-at "\\s!") from XEmacs.
5197 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
5198
5199 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
5200
5201 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
5202 The argument COUNT is now optional, to be more backward-compatible.
5203 Doc fix. (Bug#17560)
5204
5205 2014-05-29 Reuben Thomas <rrt@sc3d.org>
5206
5207 * whitespace.el (whitespace-report-region):
5208 Simplify documentation.
5209 (whitespace-report-region): Allow report-if-bogus to take the
5210 value `never', for non-interactive use.
5211 (whitespace-report): Refer to whitespace-report-region's
5212 documentation.
5213
5214 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5215
5216 * whitespace.el: Use font-lock-flush. Minimize refontifications.
5217 Side benefit: it works without jit-lock.
5218 (whitespace-point--used): New buffer-local var.
5219 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
5220 (whitespace-color-off): Use font-lock-flush.
5221 (whitespace-point--used, whitespace-point--flush-used): New functions.
5222 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5223 (whitespace-empty-at-eob-regexp): Use them.
5224 (whitespace-post-command-hook): Rewrite.
5225
5226 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
5227 (font-lock-fontify-buffer): Mark interactive-only.
5228 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5229 Make buffer-local.
5230 (font-lock-specified-p): Remove redundant boundp check.
5231 (font-lock-flush-function, font-lock-ensure-function): New vars.
5232 (font-lock-turn-on-thing-lock): Set them.
5233 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
5234 (font-lock-after-change-function): Make `old-len' optional.
5235 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
5236 Call font-lock-flush, just in case.
5237 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
5238 recent Emacsen.
5239 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
5240 (vera-mode-map, vera-mode-menu): Remove bindings to it.
5241 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
5242 and with-syntax-table.
5243 * textmodes/conf-mode.el (conf-quote-normal):
5244 * progmodes/sh-script.el (sh-set-shell):
5245 * progmodes/prog-mode.el (prettify-symbols-mode):
5246 * progmodes/f90.el (f90-font-lock-n):
5247 * progmodes/cwarn.el (cwarn-mode):
5248 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
5249 * progmodes/compile.el (compilation-setup, compilation--unsetup):
5250 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
5251 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
5252 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
5253 font-lock-fontify-buffer-function and
5254 font-lock-unfontify-buffer-function.
5255 (rmail-unfontify-buffer-function, rmail-fontify-message):
5256 Use with-silent-modifications.
5257 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
5258 and font-lock-ensure.
5259 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
5260
5261 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
5262
5263 * emacs-lisp/package.el (package-generate-autoloads):
5264 Inhibit backup files.
5265
5266 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
5269 (bug#17608).
5270
5271 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
5272
5273 * textmodes/tildify.el (tildify-buffer, tildify-region):
5274 Add dont-ask option.
5275
5276 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
5279 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
5280
5281 * subr.el (internal--funcall-interactively): New.
5282 (internal--call-interactively): Remove.
5283 (called-interactively-p): Detect funcall-interactively instead of
5284 call-interactively.
5285 * simple.el (repeat-complex-command): Use funcall-interactively.
5286 (repeat-complex-command--called-interactively-skip): Remove.
5287
5288 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * register.el (register-read-with-preview): Don't burp on
5291 frame switches (e.g. due to the frame we just popped).
5292
5293 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
5294 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
5295
5296 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
5297
5298 * cus-face.el (custom-face-attributes): Add :distant-foreground.
5299
5300 2014-05-26 Martin Rudalics <rudalics@gmx.at>
5301
5302 * window.el (window--dump-frame): Remove interactive specification.
5303
5304 2014-05-26 Glenn Morris <rgm@gnu.org>
5305
5306 * hippie-exp.el (he-line-search-regexp):
5307 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
5308
5309 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5310
5311 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
5312 to avoid errors when trying to create or visit a file foo.todo
5313 located outside to todo-directory, and to allow having such files
5314 without them being tied to Todo mode (bug#17482).
5315 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
5316 (todo-archive-done-item, todo-find-filtered-items-file)
5317 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
5318 (todo-category-completions, todo-read-category): When visiting a
5319 Todo file, make sure we're in the right mode and the buffer local
5320 variables are set.
5321 (todo-make-categories-list, todo-reset-nondiary-marker)
5322 (todo-reset-done-string, todo-reset-comment-string):
5323 After processing all Todo files, kill the buffers of those files that
5324 weren't being visited before the processing.
5325 (todo-display-as-todo-file, todo-add-to-buffer-list)
5326 (todo-visit-files-commands): Comment out.
5327 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
5328 (auto-mode-alist): Remove add-to-list calls making Todo file
5329 extensions unrestrictedly tied to Todo modes.
5330
5331 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
5334 (advice-function-member-p): Tell it to check both names and functions
5335 (bug#17531).
5336 (advice--add-function): Adjust call accordingly.
5337
5338 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5339
5340 * calendar/todo-mode.el: Miscellaneous bug fixes.
5341 (todo-delete-file): When deleting an archive but not its todo
5342 file, make sure to update the todo file's category sexp.
5343 (todo-move-category): Keep the moved category's name unless the
5344 file moved to already has a category with that name. If the
5345 numerically last category of the source file was moved, make the
5346 first category current to avoid selecting a nonexisting category.
5347 (todo-merge-category): Fix implementation to make merging to a
5348 category in another file work as documented. Eliminate now
5349 insufficient and unnecessary renaming of archive category, correct
5350 document string accordingly, and clarify it. If the numerically
5351 last category of the source file was merged, make the first
5352 category current to avoid selecting a nonexisting category.
5353 (todo-archive-done-item): When there are marked items and point
5354 happens to be on an unmarked item, ignore the latter. Don't leave
5355 point below last item after archiving marked items.
5356 (todo-unarchive-items): Fix logic to ensure unarchiving an item
5357 from an archive with only one category deletes the archive only
5358 when the category is empty after unarchiving. Make sure the todo
5359 file's category sexp is updated.
5360 (todo-read-file-name): Allow an existing file name even when it is
5361 not required (todo-move-category needs this to work as documented).
5362 (todo-add-file): Call todo-validate-name to reject the name of an
5363 existing todo file (needed due to fix in todo-read-file-name).
5364 (todo-reset-nondiary-marker): Also reset in filtered items files.
5365 (todo-reset-done-string, todo-reset-comment-string): Also reset in
5366 regexp filtered items files.
5367 (todo-reset-highlight-item): Also reset in filtered items files.
5368 Fix incorrect variable reference in document string.
5369
5370 2014-05-26 Glenn Morris <rgm@gnu.org>
5371
5372 * window.el (window--dump-frame): Avoid error in --without-x builds.
5373
5374 2014-05-26 Glenn Morris <rgm@gnu.org>
5375
5376 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
5377
5378 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5379
5380 * frame.el (set-frame-font): Doc fix.
5381
5382 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
5383
5384 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
5385
5386 * emacs-lisp/package.el (package--download-one-archive):
5387 Use `write-region' instead of `save-buffer' to avoid running various
5388 hooks. (Bug#17155)
5389 (describe-package-1): Same. Insert newline at the end of the
5390 buffer if appropriate.
5391
5392 2014-05-26 Juri Linkov <juri@jurta.org>
5393
5394 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
5395 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
5396 Add more modifiers: meta, control, shift, hyper, super, alt.
5397 (Bug#17439)
5398
5399 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
5400 to allow changing its value with `set-variable'.
5401
5402 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
5405 #; comments.
5406 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
5407 New functions.
5408 (scheme-mode-variables): Set syntax-propertize-function instead of
5409 font-lock-syntactic-face-function.
5410 (scheme-font-lock-syntactic-face-function): Delete.
5411
5412 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
5413
5414 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
5415 (bug#17392).
5416
5417 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5418
5419 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
5420 for a temporary file name.
5421
5422 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5423
5424 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
5425
5426 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5427
5428 * net/dbus.el (dbus-init-bus, dbus-call-method)
5429 (dbus-call-method-asynchronously, dbus-send-signal)
5430 (dbus-method-return-internal, dbus-method-error-internal):
5431 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
5432
5433 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5434
5435 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
5436 methods which do not have a doc string. (Bug#17490)
5437
5438 2014-05-25 Tassilo Horn <tsdh@gnu.org>
5439
5440 * textmodes/reftex-ref.el (reftex-format-special): Make it work
5441 also for AMS Math's \eqref macro.
5442
5443 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5444
5445 Arrange to never byte-compile the generated -pkg.el file.
5446
5447 * emacs-lisp/package.el (package-generate-description-file):
5448 Output first-line comment to set buffer-local var `no-byte-compile'.
5449 Suggested by Dmitry Gutov:
5450 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
5451
5452 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5453
5454 Fix bug: Properly quote args to generated -pkg.el `define-package'.
5455
5456 * emacs-lisp/package.el (package-generate-description-file):
5457 Inline `package--alist-to-plist'; rewrite to selectively
5458 quote alist values that are not self-quoting.
5459 (package--alist-to-plist): Delete func.
5460
5461 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
5462
5463 * term/xterm.el (xterm-function-map): Add mapping for shifted
5464 keypad keys.
5465
5466 2014-05-24 Daniel Colascione <dancol@dancol.org>
5467
5468 * progmodes/subword.el (subword-find-word-boundary): Move point to
5469 correct spot before search. (Bug#17580)
5470
5471 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
5472 breaking the build.
5473
5474 2014-05-24 Leo Liu <sdl.web@gmail.com>
5475
5476 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
5477
5478 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5479
5480 * minibuffer.el (completion--sreverse): Remove.
5481 (completion--common-suffix): Use `reverse' instead.
5482 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
5483
5484 2014-05-22 Glenn Morris <rgm@gnu.org>
5485
5486 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
5487
5488 2014-05-21 Daniel Colascione <dancol@dancol.org>
5489
5490 * files.el (interpreter-mode-alist): Add mksh.
5491
5492 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
5493 derivative.
5494 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
5495 mksh. Improve custom spec; allow regular expressions.
5496 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
5497 (sh-after-hack-local-variables): New function.
5498 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
5499 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
5500 the normalization.
5501 (sh-canonicalize-shell): Rewrite to support regexes.
5502
5503 2014-05-21 Leo Liu <sdl.web@gmail.com>
5504
5505 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
5506
5507 2014-05-19 Leo Liu <sdl.web@gmail.com>
5508
5509 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
5510
5511 2014-05-18 Glenn Morris <rgm@gnu.org>
5512
5513 * loadup.el:
5514 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
5515
5516 2014-05-14 Sam Steingold <sds@gnu.org>
5517
5518 * progmodes/python.el (python-shell-get-or-create-process):
5519 Do not bind `current-prefix-arg' so that C-c C-z does not talk
5520 back unless requested.
5521
5522 2014-05-14 Glenn Morris <rgm@gnu.org>
5523
5524 * subr.el (with-file-modes): New macro.
5525 * printing.el (pr-save-file-modes): Make obsolete.
5526 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
5527 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5528 Add with-file-modes.
5529 * doc-view.el (doc-view-make-safe-dir):
5530 * epg.el (epg--start):
5531 * files.el (locate-user-emacs-file, make-temp-file)
5532 (backup-buffer-copy, move-file-to-trash):
5533 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
5534 * eshell/esh-util.el (eshell-with-private-file-modes)
5535 (eshell-make-private-directory):
5536 * net/browse-url.el (browse-url-mosaic):
5537 * obsolete/mailpost.el (post-mail-send-it):
5538 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
5539 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
5540 Use with-file-modes.
5541
5542 * vc/emerge.el (emerge-make-temp-file): Simplify.
5543
5544 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
5545 Stefan Monnier <monnier@iro.umontreal.ca>
5546
5547 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
5548 suffix (bug#15419).
5549
5550 2014-05-14 Glenn Morris <rgm@gnu.org>
5551
5552 * vc/emerge.el (emerge-temp-file-prefix):
5553 Make pointless option obsolete.
5554 (emerge-temp-file-mode): Make non-functional option obsolete.
5555
5556 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
5557
5558 * net/browse-url.el (browse-url):
5559 Use `unhandled-file-name-directory' when setting `default-directory',
5560 in order to circumvent stalled remote connections. (Bug#17425)
5561
5562 2014-05-14 Glenn Morris <rgm@gnu.org>
5563
5564 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
5565 Optimize on Emacs, which has the relevant functions for ages.
5566
5567 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * simple.el (undo-make-selective-list): Obey undo-no-redo.
5570
5571 2014-05-12 Sam Steingold <sds@gnu.org>
5572
5573 * calendar/time-date.el (seconds-to-string): New function to
5574 pretty print time delay in seconds.
5575
5576 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * mpc.el (mpc-format): Trim Date to the year.
5579 (mpc-songs-hashcons): Shorten the Date field.
5580
5581 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
5582 into autoloading just because of a silly indirection.
5583
5584 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
5585
5586 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
5587
5588 2014-05-12 Glenn Morris <rgm@gnu.org>
5589
5590 * emacs-lisp/find-gc.el: Move to ../admin.
5591
5592 * printing.el (pr-version):
5593 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
5594
5595 * net/browse-url.el (browse-url-mosaic):
5596 Create /tmp/Mosaic.PID as a private file.
5597
5598 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
5601 (advice--member-p): If name is given, only compare the name.
5602 (advice--remove-function): Don't stop at the first match.
5603 (advice--normalize-place): New function.
5604 (add-function, remove-function): Use it.
5605 (advice--add-function): Pass the name, if any, to
5606 advice--remove-function.
5607
5608 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
5609
5610 * electric.el (electric-indent-post-self-insert-function): Don't use
5611 `pos' after modifying the buffer (bug#17449).
5612
5613 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
5614
5615 * calendar/todo-mode.el (todo-insert-item-from-calendar):
5616 Correct argument list to conform to todo-insert-item--basic.
5617
5618 2014-05-12 Glenn Morris <rgm@gnu.org>
5619
5620 * files.el (cd-absolute): Test if directory is accessible
5621 rather than executable. (Bug#17330)
5622
5623 * progmodes/compile.el (recompile):
5624 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
5625
5626 * net/browse-url.el (browse-url-mosaic):
5627 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
5628 This is CVE-2014-3423.
5629
5630 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * mouse.el: Use the normal toplevel loop while dragging.
5633 (mouse-set-point): Handle multi-clicks.
5634 (mouse-set-region): Handle multi-clicks for drags.
5635 (mouse-drag-region): Update call accordingly.
5636 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
5637 Use the normal event loop instead of a local while/read-event loop.
5638 (global-map): Remove redundant bindings for double/triple-mouse-1.
5639 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
5640 Generate synthetic down events when the protocol only sends up events.
5641 (xterm-mouse-last): Remove.
5642 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
5643 terminal parameter instead.
5644 (xterm-mouse--set-click-count): New function.
5645 (xterm-mouse-event): Detect/generate double/triple clicks.
5646 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
5647
5648 * info.el (Info-quoted): New face.
5649 (Info-mode-font-lock-keywords): New var.
5650 (Info-mode): Use it.
5651
5652 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
5653 are a hindrance for C-x C-e.
5654
5655 2014-05-11 Leo Liu <sdl.web@gmail.com>
5656
5657 * net/rcirc.el (rcirc-sentinel): Fix last change.
5658
5659 2014-05-08 Sam Steingold <sds@gnu.org>
5660
5661 * net/rcirc.el (rcirc-reconnect-delay): New user option.
5662 (rcirc-sentinel): Auto-reconnect to the server if
5663 `rcirc-reconnect-delay' is non-0 (but not more often than its
5664 value in case the host is off-line).
5665
5666 2014-05-09 Eli Zaretskii <eliz@gnu.org>
5667
5668 * progmodes/grep.el (lgrep): Fix a typo in last commit.
5669
5670 2014-05-09 Glenn Morris <rgm@gnu.org>
5671
5672 * files.el (file-expand-wildcards):
5673 * man.el (Man-support-local-filenames):
5674 * printing.el (pr-i-directory, pr-interface-directory):
5675 * progmodes/grep.el (lgrep, rgrep):
5676 * textmodes/ispell.el (ispell-call-process)
5677 (ispell-call-process-region, ispell-start-process)
5678 (ispell-init-process): Use file-accessible-directory-p.
5679
5680 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
5683 (xterm-mouse--read-event-sequence-1000): Return nil if something
5684 looks fishy.
5685 (xterm-mouse-event): Propagate it.
5686 (xterm-mouse-translate-1): Handle it.
5687
5688 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
5689
5690 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
5691 four slots of the parameter list are filled, make sure to pass it
5692 to the argument list of todo-insert-item--basic.
5693
5694 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
5697 Add optional `seen' argument to detect and break infinite loops.
5698
5699 2014-05-08 Eli Zaretskii <eliz@gnu.org>
5700
5701 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
5702 (trace-unsafe, trace-use-tree): Make parentheses style be
5703 according to Emacs style.
5704
5705 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
5706
5707 * net/tramp-sh.el (tramp-remote-process-environment):
5708 Remove HISTFILE and HISTSIZE; it's too late to set them here.
5709 Add :version entry.
5710 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
5711 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
5712 extra "PSx=..." commands.
5713 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
5714 (Bug#17295)
5715
5716 (tramp-uudecode): Replace the hard-coded temporary file name by a
5717 format specifier.
5718 (tramp-remote-coding-commands): Enhance docstring.
5719 (tramp-find-inline-encoding): Replace "%t" by a temporary file
5720 name. (Bug#17415)
5721 This is CVE-2014-3424.
5722
5723 2014-05-08 Glenn Morris <rgm@gnu.org>
5724
5725 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
5726 (find-gc-source-files): Update some names.
5727 (trace-call-tree): Simplify and update.
5728 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
5729 This is CVE-2014-3422.
5730
5731 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * minibuffer.el (completion--try-word-completion): Revert fix for
5734 Bug#15980 (bug#17375).
5735
5736 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
5737 Always store button numbers in the same way in xterm-mouse-last;
5738 Don't burp is xterm-mouse-last is not set as expected.
5739 Never return negative indices.
5740
5741 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
5742
5743 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5744 Backtrack one char if the global/char-literal var matcher hits
5745 inside a string. The next char could be the beginning of an
5746 expression expansion.
5747
5748 2014-05-08 Glenn Morris <rgm@gnu.org>
5749
5750 * help-fns.el (describe-function-1): Test for an autoload before a
5751 macro, since `macrop' works on autoloads. (Bug#17410)
5752
5753 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * electric.el (electric-indent-functions-without-reindent): Add yaml.
5756
5757 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
5758 Make sure the new point we return is within the new string (bug#17239).
5759
5760 2014-05-05 Daniel Colascione <dancol@dancol.org>
5761
5762 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5763 Port `gnu' pattern to rx.
5764
5765 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
5766
5767 Remove unneeded prompt when closing a buffer with active
5768 emacsclient ("Buffer ... still has clients"), #16548.
5769 * server.el (server-start): Remove the only call to:
5770 (server-kill-buffer-query-function): Remove.
5771
5772 2014-05-04 Leo Liu <sdl.web@gmail.com>
5773
5774 * calendar/diary-lib.el (calendar-chinese-month-name-array):
5775 Defvar to pacify compiler.
5776
5777 2014-05-04 Eli Zaretskii <eliz@gnu.org>
5778
5779 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
5780
5781 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
5784 Use nil rather than `default' for the "default" appearance (bug#17388).
5785 * vc/ediff-util.el (ediff-inferior-compare-regions)
5786 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
5787 a misleading `default' value when it's really a boolean.
5788 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
5789 overlay is not visible.
5790
5791 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
5792
5793 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
5794 (todo-menu): Uncomment and update.
5795
5796 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
5797
5798 * calendar/todo-mode.el: Reimplement item editing to have the same
5799 basic user interface as item insertion, and make small UI and
5800 larger internal improvements to the latter.
5801 (todo-insert-item): Add reference to the Todo mode user manual to
5802 the documentation string.
5803 (todo-insert-item--basic): Rename from todo-basic-insert-item and
5804 adjust all callers. Change signature to combine diary and
5805 nonmarking arguments. Incorporate functionality of deleted item
5806 copying command and add error checking. Remove detailed
5807 descriptions of the arguments from the documentation string, since
5808 this is treated in the Todo mode user manual.
5809 (todo-copy-item, todo-edit-multiline-item)
5810 (todo-edit-done-item-comment, todo-edit-item-header)
5811 (todo-edit-item-time, todo-edit-item-date-from-calendar)
5812 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
5813 (todo-edit-item-date-year, todo-edit-item-date-month)
5814 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
5815 Remove.
5816 (todo-edit-item): Reimplement as wrapper command for
5817 todo-edit-item--next-key and make it distinguish done and not done
5818 todo items.
5819 (todo-edit-item--text): New function, replacing old command
5820 todo-edit-item and incorporating deleted commands
5821 todo-edit-multiline-item and todo-edit-done-item-comment.
5822 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
5823 Use only numeric value of prefix argument. Remove detailed
5824 descriptions of the arguments from the documentation string, since
5825 this is treated in the Todo mode user manual.
5826 (todo-edit-item--diary-inclusion): New function, replacing old
5827 command todo-edit-item-diary-inclusion and incorporating and fixing
5828 functionality of deleted command todo-edit-item-diary-nonmarking,
5829 making sure to remove todo-nondiary-marker when adding
5830 diary-nonmarking-symbol.
5831 (todo-edit-category-diary-inclusion): Make sure to delete
5832 diary-nonmarking-symbol when adding todo-nondiary-marker.
5833 (todo-edit-category-diary-nonmarking): Fix indentation.
5834 (todo-insert-item--parameters): Group diary and nonmarking
5835 parameters together.
5836 (todo-insert-item--apply-args): Adjust to signature of
5837 todo-insert-item--basic and incorporate copy parameter.
5838 Make small code improvements.
5839 (todo-insert-item--next-param): Improve prompt and adjust it to
5840 new parameter grouping. Remove obsolete code.
5841 (todo-edit-item--param-key-alist)
5842 (todo-edit-item--date-param-key-alist)
5843 (todo-edit-done-item--param-key-alist): New defconsts.
5844 (todo-edit-item--prompt): New variable.
5845 (todo-edit-item--next-key): New function.
5846 (todo-key-bindings-t): Bind "e" to todo-edit-item.
5847 Remove bindings of deleted commands.
5848
5849 2014-05-04 Leo Liu <sdl.web@gmail.com>
5850
5851 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
5852
5853 2014-05-04 Glenn Morris <rgm@gnu.org>
5854
5855 * allout-widgets.el (allout-widgets-tally)
5856 (allout-decorate-item-guides):
5857 * menu-bar.el (menu-bar-positive-p):
5858 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5859 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
5860 * progmodes/js.el (js--inside-param-list-p)
5861 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
5862 * progmodes/prolog.el (region-exists-p):
5863 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
5864 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
5865 Doc fixes (replace `iff').
5866
5867 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
5870
5871 2014-05-04 Leo Liu <sdl.web@gmail.com>
5872
5873 Support Chinese diary entries in calendar and diary. (Bug#17393)
5874 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
5875 (calendar-chinese-from-absolute-for-diary)
5876 (calendar-chinese-to-absolute-for-diary)
5877 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
5878 (diary-chinese-list-entries): New functions to list and mark
5879 Chinese diary entries in the calendar window.
5880 (diary-chinese-anniversary)
5881 (diary-chinese-insert-anniversary-entry)
5882 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
5883 (diary-chinese-insert-yearly-entry): New commands to insert
5884 Chinese diary entries.
5885
5886 * calendar/diary-lib.el (diary-font-lock-keywords):
5887 Support font-locking Chinese dates.
5888
5889 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
5890 inserting Chinese diary entries.
5891
5892 * calendar/calendar.el (diary-chinese-entry-symbol):
5893 New customizable variable.
5894 (calendar-mode-map): Add bindings for inserting Chinese diary
5895 entries.
5896
5897 2014-05-03 Juri Linkov <juri@jurta.org>
5898
5899 * dired.el (dired-check-switches, dired-switches-recursive-p):
5900 New functions. (Bug#17218)
5901 (dired-switches-escape-p, dired-move-to-end-of-filename):
5902 Use `dired-check-switches'.
5903 (dired-insert-old-subdirs, dired-build-subdir-alist)
5904 (dired-sort-R-check): Use `dired-switches-recursive-p'.
5905
5906 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
5907
5908 * simple.el (undo-make-selective-list): New algorithm fixes
5909 incorrectness of position adjustments when undoing in region.
5910 (Bug#17235)
5911 (undo-elt-crosses-region): Make obsolete.
5912 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
5913 New functions to adjust positions using undo-deltas.
5914
5915 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
5918 the last consecutive closing paren (bug#17345).
5919
5920 2014-04-30 Reuben Thomas <rrt@sc3d.org>
5921
5922 * dired.el (dired-mode): make terminology for eXpunge command
5923 consistent. (Bug#17276)
5924
5925 2014-04-30 Eli Zaretskii <eliz@gnu.org>
5926
5927 * dired.el (dired-initial-position-hook, dired-initial-position):
5928 Doc string fixes.
5929
5930 2014-04-30 Glenn Morris <rgm@gnu.org>
5931
5932 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
5933
5934 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
5935
5936 * faces.el (face-spec-recalc): Apply X resources only after the
5937 defface spec has been applied. Thus, X resources are no longer
5938 overriden by the defface spec which also fixes issues on win32 where
5939 the toolbar coloring was wrong because it is set through X resources
5940 and was (wrongfully) overriden. (Bug#16694)
5941
5942 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * textmodes/rst.el (electric-pair-pairs): Declare.
5945 (rst-mode): Set it (bug#17131).
5946
5947 2014-04-30 Juri Linkov <juri@jurta.org>
5948
5949 * desktop.el (desktop-value-to-string): Let-bind `print-length'
5950 and `print-level' to nil. (Bug#17351)
5951
5952 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5953
5954 * battery.el (battery-update): Handle the case where battery
5955 status is "N/A" (bug#17319).
5956
5957 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
5960 to syntax-propertize.
5961 (ps-mode-auto-indent): Mark as obsolete.
5962 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
5963 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
5964 word regexp operators.
5965 (ps-mode-map): Move initialization into declaration. Remove binding
5966 for TAB, RET, >, ], and }.
5967 (ps-mode-syntax-table): Move initialization into declaration.
5968 Don't give word syntax to non-word chars.
5969 (ps-run-mode-map): Move initialization into declaration.
5970 (ps-mode-menu-main): Remove auto-indent entry.
5971 (ps-mode-smie-rules): New function.
5972 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
5973 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
5974 (ps-mode--string-syntax-table): New const.
5975 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
5976 New functions.
5977 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
5978 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
5979
5980 2014-04-27 Daniel Colascione <dancol@dancol.org>
5981
5982 * term/xterm.el (xterm-paste): Use large finite timeout when
5983 reading event to avoid putting keys in this-command-keys.
5984
5985 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
5988 (perl-syntax-propertize-function): Use it. Extend handling of
5989 here-docs to the unquoted case.
5990
5991 2014-04-25 Eli Zaretskii <eliz@gnu.org>
5992
5993 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
5994 Use equal-including-properties to compare help-echo strings (bug#17331).
5995
5996 2014-04-25 Leo Liu <sdl.web@gmail.com>
5997
5998 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5999 Fix syntax for @. (Bug#17325)
6000
6001 2014-04-25 Daniel Colascione <dancol@dancol.org>
6002
6003 * emacs-lisp/cl.el (gv): Require gv early to break eager
6004 macro-expansion cycles.
6005
6006 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * simple.el (region-active-p): Check there's a mark (bug#17324).
6009
6010 * simple.el (completion-list-mode-map): Use choose-completion for the
6011 mouse binding as well (bug#17302).
6012 (completion-list-mode, completion-setup-function): Adjust docstring and
6013 echo area message accordingly.
6014 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
6015 calling convention of choose-completion.
6016 * comint.el (comint-dynamic-list-completions):
6017 * term.el (term-dynamic-list-completions): Accept choose-completion.
6018
6019 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
6020 &, |, +, - and * can't be a division (bug#17317).
6021
6022 * term/xterm.el (xterm--version-handler): Don't use modern xterm
6023 features on gnome-terminal (bug#16988).
6024
6025 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
6026
6027 Improve Scheme font-locking for (define ((foo ...) ...) ...).
6028
6029 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
6030 the declared object, ignore zero or more parens, not zero or one.
6031
6032 2014-04-24 Leo Liu <sdl.web@gmail.com>
6033
6034 * progmodes/xscheme.el (xscheme-expressions-ring)
6035 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
6036 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
6037 (xscheme-allow-output-p, xscheme-prompt)
6038 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
6039
6040 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
6041 Comment out unused functions.
6042
6043 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * info.el: Use lexical-binding and cl-lib.
6046 Use defvar-local and setq-local instead of make-local-variable.
6047 (Info-apropos-matches): Avoid add-to-list.
6048 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
6049
6050 2014-04-24 Daniel Colascione <dancol@dancol.org>
6051
6052 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
6053
6054 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
6057
6058 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
6059
6060 * dired.el (dired-insert-set-properties): Do not consider
6061 subdirectory headings and empty lines to be information that
6062 `dired-hide-details-mode' should hide. (Bug#17228)
6063
6064 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6065
6066 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6067 Remove test messages.
6068 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
6069 and `target' twice.
6070
6071 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
6074 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
6075
6076 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
6077
6078 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6079
6080 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6081 Set "IFS=" when using read builtin, in order to preserve spaces in
6082 the file name. Add test messages for hunting a bug on hydra.
6083 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
6084
6085 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6086
6087 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
6088 Don't prettify a word within a symbol.
6089
6090 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6091
6092 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
6093 possible.
6094
6095 2014-04-22 Daniel Colascione <dancol@dancol.org>
6096
6097 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
6098 use defun to define `function-put'.
6099
6100 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
6103 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
6104 (lisp-mode-variables): Set font-lock-extra-managed-props.
6105
6106 * emacs-lisp/byte-run.el (function-put): New function.
6107 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
6108 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
6109 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
6110 Use them.
6111
6112 2014-04-22 Daniel Colascione <dancol@dancol.org>
6113
6114 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
6115 Add `full-p' parameter; when nil, call `macroexpand' instead of
6116 `macroexpand-all'.
6117
6118 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
6119 Improve docstrings.
6120
6121 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6122 Use lambda function values, not quoted lambdas.
6123 (byte-compile-recurse-toplevel): Remove extraneous &optional.
6124
6125 * emacs-lisp/cl-macs.el
6126 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
6127 (cl-struct-slot-value): Conditionally use aref or nth so that the
6128 compiler produces optimal code.
6129
6130 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
6133 (inline): Don't inline cl--set-elt.
6134 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
6135 Define as inlinable instead.
6136 (cl-struct-set-slot-value): Remove.
6137
6138 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
6139 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
6140 Use setf instead.
6141
6142 2014-04-21 Daniel Colascione <dancol@dancol.org>
6143
6144 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
6145 last two parameters after all.
6146 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
6147 (cl--compiler-macro-assoc,cl-struct-slot-value)
6148 (cl-struct-set-slot-value): Stop using them.
6149
6150 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
6153 entry in image-mode-winprops-alist.
6154
6155 2014-04-21 Daniel Colascione <dancol@dancol.org>
6156
6157 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
6158 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
6159 (byte-compile-toplevel-file-form): Use it.
6160
6161 * emacs-lisp/cl-macs.el:
6162 (cl--loop-let): Properly destructure `while' clauses.
6163
6164 2014-04-20 Daniel Colascione <dancol@dancol.org>
6165
6166 * vc/vc.el (vc-root-dir): New public autoloaded function for
6167 generically finding the current VC root.
6168 * vc/vc-hooks.el (vc-not-supported): New error.
6169 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
6170
6171 2014-04-20 Daniel Colascione <dancol@dancol.org>
6172
6173 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
6174 argument.
6175 (cl--const-expr-val): cl--const-expr-val should macroexpand its
6176 argument in case we're inside a symbol-macrolet.
6177 (cl--do-arglist, cl--compiler-macro-typep)
6178 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
6179 environment to `cl--const-expr-val'.
6180 (cl-struct-sequence-type,cl-struct-slot-info)
6181 (cl-struct-slot-offset, cl-struct-slot-value)
6182 (cl-struct-set-slot-value): New functions.
6183
6184 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
6187 assignments such as "case=hello" (bug#17297).
6188
6189 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
6190
6191 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
6192 Do not autoload.
6193 (tramp-file-name-handler, tramp-completion-file-name-handler):
6194 Revert patch from 2014-04-10, it isn't necessary anymore.
6195 (tramp-autoload-file-name-handler)
6196 (tramp-register-autoload-file-name-handlers): New defuns.
6197 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
6198 (tramp-register-file-name-handlers): Remove also
6199 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
6200 Do not autoload its invocation, but eval it after loading of 'tramp.
6201
6202 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
6203
6204 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
6205
6206 2014-04-17 Daniel Colascione <dancol@dancol.org>
6207
6208 Add support for bracketed paste mode; add infrastructure for
6209 managing terminal mode enabling and disabling automatically.
6210
6211 * xt-mouse.el:
6212 (xterm-mouse-mode): Simplify.
6213 (xterm-mouse-tracking-enable-sequence)
6214 (xterm-mouse-tracking-disable-sequence): New constants.
6215 (turn-on-xterm-mouse-tracking-on-terminal)
6216 (turn-off-xterm-mouse-tracking-on-terminal):
6217 Use tty-mode-set-strings and tty-mode-reset-strings terminal
6218 parameters instead of random hooks.
6219 (turn-on-xterm-mouse-tracking)
6220 (turn-off-xterm-mouse-tracking): Delete.
6221
6222 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
6223 (xterm-paste-ending-sequence): New constant.
6224 (xterm-paste): New command used for bracketed paste support.
6225
6226 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
6227 (terminal-init-xterm-bracketed-paste-mode): New function.
6228 (terminal-init-xterm): Call it.
6229 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
6230 and tty-mode-reset-strings instead of random hooks.
6231 (xterm-turn-on-modify-other-keys)
6232 (xterm-turn-off-modify-other-keys)
6233 (xterm-remove-modify-other-keys): Delete obsolete functions.
6234
6235 * term/screen.el: Rewrite to just use the xterm code.
6236 Add copyright notice. Mention tmux.
6237
6238 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
6239
6240 * image-mode.el (image-mode-window-put): Also update the property of
6241 the "default window".
6242 * doc-view.el (doc-view-new-window-function): If no window
6243 exists, move to the last known page.
6244
6245 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
6248 here-documents (bug#17262).
6249
6250 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6251
6252 * term/pc-win.el (x-list-fonts, x-get-selection-value):
6253 Provide doc strings, as required by snarf-documentation.
6254
6255 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
6258 arg of overlays-at. Use `invisible-p'.
6259
6260 * obsolete/lucid.el (extent-at):
6261 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
6262 overlays-at.
6263 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
6264
6265 2014-04-16 João Távora <joaotavora@gmail.com>
6266
6267 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
6268 links. (Bug#17217).
6269
6270 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6271
6272 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6273 Use mapc to loop over a vector. (Bug#17257).
6274
6275 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
6276
6277 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
6278 patch, there are new problems with file names containing spaces.
6279 Get rid of backticks. (Bug#17238)
6280
6281 2014-04-16 João Távora <joaotavora@gmail.com>
6282
6283 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
6284 possible bug.
6285
6286 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6287
6288 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
6289 (blink-cursor-mode): Mention customization variables and the
6290 effect of 'blink-cursor-blinks'.
6291
6292 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
6293
6294 * simple.el (undo): Prevent insertion of identity mapping into
6295 undo-equiv-table so as undo-only does not inf loop in the presence
6296 of consecutive nils in undo list.
6297
6298 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
6299
6300 * faces.el (make-face): Deprecate optional argument as it is no
6301 longer needed/used since the conditional X resources handling
6302 has been pushed down to make-face-x-resource-internal itself.
6303 (make-empty-face): Don't pass optional argument to make-face.
6304
6305 2014-04-16 Karl Fogel <kfogel@red-bean.com>
6306
6307 * savehist.el (savehist-save): Remove workaround for a read-passwd
6308 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
6309 noticing that the shim was still present.
6310
6311 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
6314
6315 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
6316
6317 * faces.el (face-set-after-frame-default): Remove unused local variable.
6318
6319 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6321 * progmodes/grep.el: Use lexical-binding.
6322 (grep-expand-template): Pass explicit lexical env to `eval'.
6323 (zrgrep): Let-bind grep-find-template explicitly.
6324
6325 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
6326 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
6327
6328 2014-04-12 Eli Zaretskii <eliz@gnu.org>
6329
6330 * international/characters.el <standard-case-table>: Add entries
6331 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
6332 Set category of Coptic characters be 'g' (Greek).
6333
6334 2014-04-12 Leo Liu <sdl.web@gmail.com>
6335
6336 * progmodes/octave.el (completion-table-with-cache):
6337 Define if not available.
6338 (octave-goto-function-definition, octave-sync-function-file-names)
6339 (octave-find-definition-default-filename):
6340 Backquote upattern for compatibility.
6341
6342 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
6343
6344 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
6345 name twice due to backticks. (Bug#17238)
6346
6347 2014-04-12 Glenn Morris <rgm@gnu.org>
6348
6349 * term/w32-win.el (x-win-suspend-error):
6350 * term/x-win.el (x-win-suspend-error): Sync docs.
6351
6352 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
6353
6354 * faces.el (make-face): Remove deprecated optional argument.
6355 The conditional application of X resources is handled directly by
6356 make-face-x-resource-internal since Emacs 24.4.
6357 (make-empty-face): Don't pass optional argument to make-face.
6358
6359 2014-04-11 Glenn Morris <rgm@gnu.org>
6360
6361 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
6362
6363 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6364
6365 Ediff's overlay priorities cause more trouble than they solve.
6366 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
6367 (ediff-highest-priority): Remove function (bug#17234).
6368 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
6369 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
6370 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
6371 overlay priorities.
6372
6373 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
6374
6375 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
6376 entry; use symbol boundaries to avoid mis-matches.
6377
6378 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
6379
6380 * net/tramp.el (tramp-file-name-handler)
6381 (tramp-completion-file-name-handler): Avoid recursive loading.
6382
6383 * net/tramp-sh.el (tramp-make-copy-program-file-name):
6384 Quote result also locally.
6385
6386 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
6389 Remove left-over code.
6390
6391 * newcomment.el (comment-indent-new-line): Sink code where it's used.
6392 Reuse the previous comment's indentation unconditionally if it's on its
6393 own line.
6394
6395 2014-04-09 Daniel Colascione <dancol@dancol.org>
6396
6397 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
6398 `no-syntax-crossing' arguments. Forward to `up-list'.
6399 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
6400 Implement logic for escaping from strings. Use narrowing to deal
6401 with corner cases.
6402
6403 2014-04-09 Leo Liu <sdl.web@gmail.com>
6404
6405 * net/rcirc.el (rcirc-connection-info): New variable.
6406 (rcirc-connect): Use it to store connection info.
6407 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
6408 for killed process.
6409 (rcirc-cmd-reconnect): New command. (Bug#17045)
6410 (rcirc-mode, set-rcirc-encode-coding-system)
6411 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
6412
6413 2014-04-09 Daniel Colascione <dancol@dancol.org>
6414
6415 * emacs-lisp/cl-indent.el: Add comment claiming
6416 facility is also good for elisp.
6417 (lisp-indent-find-method): New function.
6418 (common-lisp-indent-function): Recognize cl-loop.
6419 (common-lisp-indent-function-1): Recognize cl constructs; use
6420 `lisp-indent-find-method' instead of `get' directly.
6421 (if): Use else-body style for elisp.
6422
6423 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
6424
6425 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6426 Module methods. (Bug#17216)
6427
6428 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6429
6430 * help.el (describe-bindings): Fix buffer handling (bug#17210).
6431 (describe-bindings-internal): Mark obsolete.
6432
6433 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
6436 buffer-file-name, and buffer-file-truename any more.
6437
6438 2014-04-08 Leo Liu <sdl.web@gmail.com>
6439
6440 Use lexical-binding and require cl-lib.
6441 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
6442 (rcirc-handler-generic, rcirc-fill-paragraph)
6443 (rcirc-format-response-string, rcirc-target-buffer)
6444 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
6445 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
6446 (rcirc-ctcp-sender-PING, rcirc-browse-url)
6447 (rcirc-markup-timestamp, rcirc-markup-attributes)
6448 (rcirc-markup-my-nick, rcirc-markup-urls)
6449 (rcirc-markup-bright-nicks, rcirc-markup-fill)
6450 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
6451 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
6452 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
6453 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
6454 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
6455 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
6456 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
6457 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
6458 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
6459 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
6460 use cl-lib.
6461
6462 2014-04-07 João Távora <joaotavora@gmail.com>
6463
6464 * elec-pair.el (electric-pair--syntax-ppss):
6465 When inside comments parse from comment beginning.
6466 (electric-pair--balance-info): Fix typo in comment.
6467 (electric-pair--in-unterminated-string-p): Delete.
6468 (electric-pair--unbalanced-strings-p): New function.
6469 (electric-pair-string-bound-function): New var.
6470 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6471 according to `electric-pair--in-unterminated-string-p'
6472
6473 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6474 Inhibit quote pairing if point-max is inside an unterminated string.
6475 (electric-pair--looking-at-unterminated-string-p): Delete.
6476 (electric-pair--in-unterminated-string-p): New function.
6477
6478 2014-04-07 Glenn Morris <rgm@gnu.org>
6479
6480 * shell.el (shell-directory-tracker):
6481 Go back to just ignoring failures. (Bug#17159)
6482
6483 2014-04-07 João Távora <joaotavora@gmail.com>
6484
6485 Fix `electric-pair-delete-adjacent-pairs' in modes binding
6486 backspace. (bug#16981)
6487 * elec-pair.el (electric-pair-backward-delete-char): Delete.
6488 (electric-pair-backward-delete-char-untabify): Delete.
6489 (electric-pair-mode-map): Bind backspace to a menu item filtering
6490 a new `electric-pair-delete-pair' command.
6491 (electric-pair-delete-pair): New command.
6492
6493 * progmodes/python.el (python-electric-pair-string-delimiter):
6494 Fix triple-quoting electricity. (Bug#17192)
6495
6496 * elec-pair.el (electric-pair-post-self-insert-function):
6497 Don't skip whitespace when `electric-pair-text-pairs' and
6498 `electric-pair-pairs' were used. syntax to
6499 electric-pair--skip-whitespace. (Bug#17183)
6500
6501 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6502
6503 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
6504 "<F>". (Bug#17199)
6505
6506 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
6509 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
6510
6511 2014-04-07 Glenn Morris <rgm@gnu.org>
6512
6513 * help.el (view-lossage): Doc tweak.
6514
6515 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
6516
6517 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
6518 only when inhibit-x-resources is nil, and do that earlier in the
6519 function. Doc fix. (Bug#16694)
6520 (face-spec-choose): Accept additional optional argument, whose
6521 value is returned if no matching attributes are found.
6522 (face-spec-recalc): Use the new optional argument when calling
6523 face-spec-choose. (Bug#16378)
6524 (make-face-x-resource-internal): Do nothing when
6525 inhibit-x-resources is non-nil. Don't touch the default face if
6526 reversed video is given--as was done in previous versions of Emacs.
6527 (face-set-after-frame-default): Don't call
6528 make-face-x-resource-internal here. (Bug#16434)
6529
6530 2014-04-07 Tassilo Horn <tsdh@gnu.org>
6531
6532 * doc-view.el (doc-view-bookmark-jump):
6533 Use `bookmark-after-jump-hook' to jump to the right page after the
6534 buffer is shown in a window. (bug#16090)
6535
6536 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6537
6538 * international/characters.el (mirroring): Fix last change:
6539 instead of loading uni-mirrored.el explicitly, do that implicitly
6540 by creating the 'mirroring' uniprop table. This avoids announcing
6541 the loading of uni-mirrored.el.
6542
6543 2014-04-07 Glenn Morris <rgm@gnu.org>
6544
6545 * files.el (buffer-stale--default-function)
6546 (buffer-stale-function, revert-buffer--default):
6547 * autorevert.el (auto-revert-buffers): Doc tweaks.
6548
6549 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6550
6551 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
6552
6553 2014-04-07 Glenn Morris <rgm@gnu.org>
6554
6555 * files.el (make-backup-file-name-function)
6556 (make-backup-file-name, make-backup-file-name--default-function)
6557 (make-backup-file-name-1, find-backup-file-name)
6558 (revert-buffer-function, revert-buffer-insert-file-contents-function)
6559 (buffer-stale--default-function, buffer-stale-function)
6560 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
6561 (revert-buffer, revert-buffer--default)
6562 (revert-buffer-insert-file-contents--default-function):
6563 Doc fixes related to defaults no longer being nil.
6564 (make-backup-file-name-function): Bump :version.
6565 Restore nil as a valid but deprecated custom type.
6566
6567 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6570 Handle $' used as a variable (bug#17174).
6571
6572 * progmodes/perl-mode.el (perl-indent-new-calculate):
6573 Handle forward-sexp failure (bug#16985).
6574 (perl-syntax-propertize-function): Add "foreach" and "for" statement
6575 modifiers introducing expressions (bug#17116).
6576
6577 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
6580
6581 2014-04-05 Leo Liu <sdl.web@gmail.com>
6582
6583 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6584 Add define-compilation-mode.
6585
6586 2014-04-04 João Távora <joaotavora@gmail.com>
6587
6588 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
6589 parse from comment beginning.
6590 (electric-pair--balance-info): Fix typo in comment.
6591 (electric-pair--in-unterminated-string-p): Delete.
6592 (electric-pair--unbalanced-strings-p): New function.
6593 (electric-pair-string-bound-function): New var.
6594 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6595 according to `electric-pair--in-unterminated-string-p'.
6596
6597 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
6600 Move declaration before first use.
6601 (reftex-move-to-next-arg): Silence compiler warning.
6602
6603 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
6604
6605 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
6606 Use `window-total-width' instead of `window-width'.
6607
6608 2014-04-03 Daniel Colascione <dancol@dancol.org>
6609
6610 * subr.el (set-transient-map): Remove rms's workaround entirely;
6611 use new `suspicious-object' subr to mark our lambda for closer
6612 scrutiny during gc.
6613
6614 2014-04-02 Richard Stallman <rms@gnu.org>
6615
6616 * subr.el (set-transient-map): Comment out previous change.
6617
6618 2014-04-02 Glenn Morris <rgm@gnu.org>
6619
6620 * menu-bar.el (menu-bar-file-menu):
6621 * vc/ediff.el (ediff-current-file):
6622 Update for revert-buffer-function no longer being nil by default.
6623
6624 * simple.el (command-execute): Respect nil disabled-command-function.
6625
6626 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6627
6628 * simple.el (command-execute): Do not execute the command when it
6629 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
6630
6631 2014-04-02 Juri Linkov <juri@jurta.org>
6632
6633 * dired-aux.el (dired-compress-file): Don't use string-match-p
6634 because its match data is used afterwards.
6635
6636 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
6639 0 like nil.
6640
6641 2014-04-02 João Távora <joaotavora@gmail.com>
6642
6643 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6644 Inhibit quote pairing if point-max is inside an unterminated string.
6645 (electric-pair--looking-at-unterminated-string-p):
6646 Delete.
6647 (electric-pair--in-unterminated-string-p): New function.
6648
6649 2014-04-01 Daniel Colascione <dancol@dancol.org>
6650
6651 * minibuffer.el (minibuffer-complete): Prevent assertion failure
6652 when trying to complete the prompt.
6653
6654 2014-03-31 Leo Liu <sdl.web@gmail.com>
6655
6656 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6657 Refactor out eldoc-documentation-function-default.
6658 (eldoc-documentation-function-default): New function.
6659 (eldoc-documentation-function): Change value.
6660
6661 2014-03-31 Glenn Morris <rgm@gnu.org>
6662
6663 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
6664
6665 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
6666 (vhdl-compose-components-package, vhdl-compose-configuration):
6667 Abbreviate default-directory (missing from some previous upstream sync).
6668
6669 2014-03-31 Reto Zimmermann <reto@gnu.org>
6670
6671 Sync with upstream vhdl mode v3.35.2.
6672 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6673 (top-level): No longer require assoc.
6674 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
6675 New functions. Use throughout to replace aget etc.
6676 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
6677 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
6678 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
6679 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
6680 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
6681 except `vhdl-compiler'.
6682 (vhdl-error-regexp-add-emacs): Remove all other compilers,
6683 when appropriate.
6684
6685 2014-03-31 Glenn Morris <rgm@gnu.org>
6686
6687 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
6688 Revert 2014-03-26 merge goof; go back to using defalias.
6689
6690 2014-03-30 Daniel Colascione <dancol@dancol.org>
6691
6692 * comint.el (comint-send-input):
6693 Deactivate completion-in-region-mode before we send comint input.
6694 (Bug#17139).
6695
6696 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
6697 on keyboard-quit.
6698
6699 2014-03-29 Glenn Morris <rgm@gnu.org>
6700
6701 * textmodes/reftex.el: Manage most autoloads automatically.
6702 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
6703 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
6704 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
6705 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
6706 * textmodes/reftex-toc.el: Set generated-autoload-file,
6707 and add autoload cookies for reftex.el.
6708 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
6709
6710 2014-03-28 Glenn Morris <rgm@gnu.org>
6711
6712 * cus-start.el (report-emacs-bug-address): Set custom properties.
6713 * mail/emacsbug.el (report-emacs-bug-address):
6714 Variable is now defined in emacs.c.
6715
6716 * mail/emacsbug.el (report-emacs-bug):
6717 Include system-configuration-features.
6718
6719 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
6720
6721 * simple.el (cycle-spacing): Never delete spaces on first run by
6722 default, but do so in a new 'fast mode and if there are already
6723 N spaces (the previous behavior).
6724 Compare N with its value in previous invocation so that changing
6725 prefix argument restarts `cycle-spacing' sequence.
6726 The idea is that with this change, binding M-SPC to
6727 `cycle-spacing' should not introduce any changes in behavior of
6728 the binding so long as users do not type M-SPC twice in a raw with
6729 the same prefix argument or lack thereof.
6730
6731 2014-03-28 Glenn Morris <rgm@gnu.org>
6732
6733 * faces.el (term-file-aliases): New variable.
6734 (tty-run-terminal-initialization): Respect term-file-aliases.
6735 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
6736 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
6737 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
6738
6739 2014-03-27 Glenn Morris <rgm@gnu.org>
6740
6741 * startup.el (inhibit-startup-hooks): Doc tweak.
6742 (normal-top-level): Simplify running of hooks.
6743 For window-setup-hook, respect inhibit-startup-hooks.
6744 (command-line-1): Don't set window-setup-hook to nil.
6745
6746 Allow selective autoloading from obsolete/ directory.
6747 * Makefile.in (obsolete-autoloads): New rule.
6748 (autoloads): Run obsolete-autoloads.
6749 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
6750 * simple.el (iswitchb-mode): Remove hand-written autoloads.
6751
6752 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
6753
6754 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6755 Highlight special globals with font-lock-builtin-face. (Bug#17057)
6756
6757 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6758 Don't propertize `?' or `!' as symbol constituent when after
6759 colon. (Bug#17097)
6760
6761 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
6762
6763 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
6764 which is no longer needed and causes trouble in GTK builds (bug#17046).
6765
6766 * emacs-lisp/package-x.el (package--archive-contents-from-url):
6767 Use url-insert-file-contents; package-handle-response no longer exists.
6768
6769 2014-03-26 Daniel Colascione <dancol@dancol.org>
6770
6771 * simple.el (process-menu-mode-map): New variable.
6772 (process-menu-delete-process): New command.
6773
6774 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
6775
6776 * emacs-lisp/package.el: Fix bug#16733 (again).
6777 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
6778 (url-http-target-url): Remove unused declarations.
6779 (package-handle-response): Remove.
6780 (package--with-work-buffer): Use url-insert-file-contents and simplify.
6781 (package--download-one-archive): Use current-buffer instead of
6782 dynamic binding of `buffer'.
6783 (describe-package-1): Do not decode readme-string.
6784
6785 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
6786
6787 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
6788
6789 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
6790 from 2014-03-07, it decreases performance unnecessarily. Let-bind
6791 `remote-file-name-inhibit-cache' to nil in the second pass.
6792 (tramp-find-executable): Do not call "which" on SunOS.
6793 (tramp-send-command-and-check): Fix docstring.
6794 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
6795 check whether source directory has set the sticky bit.
6796
6797 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
6798
6799 * simple.el (primitive-undo): Only process marker adjustments
6800 validated against their corresponding (TEXT . POS). Issue warning
6801 for lone marker adjustments in undo history. (Bug#16818)
6802 (undo-make-selective-list): Add marker adjustments to selective
6803 undo list based on whether their corresponding (TEXT . POS) is in
6804 the region. Remove variable adjusted-markers, which was unused
6805 and only non nil during undo-make-selective-list.
6806 (undo-elt-in-region): Return nil when passed a marker adjustment
6807 and explain in function doc.
6808
6809 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6810
6811 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
6812
6813 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
6814
6815 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
6816 Match special global variables without curlies, too.
6817 (ruby-font-lock-keywords): Simplify the matcher for special global
6818 variables. Don't require a non-word character after the variable.
6819 (Bug#17057)
6820
6821 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * simple.el (redisplay-highlight-region-function): Increase priority of
6824 overlay to make sure boundaries are visible (bug#15899).
6825
6826 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
6827
6828 * frameset.el (frameset--initial-params): Fix typo in parameter name.
6829 (frameset-restore): Compare display strings with equal.
6830
6831 * frame.el (make-frame): Don't quote display name in error message,
6832 it is already a string.
6833
6834 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6835
6836 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
6837 the password.
6838
6839 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
6840
6841 * emacs-lisp/package.el (package--add-to-archive-contents):
6842 Include already installed and built-in packages in
6843 `package-archive-contents'.
6844 (package-install): Don't include already installed packages in the
6845 options during interactive invocation. (Bug#16762)
6846 (package-show-package-list): If the buffer is already displayed in
6847 another window, switch to that window.
6848
6849 2014-03-26 Reto Zimmermann <reto@gnu.org>
6850
6851 Sync with upstream vhdl mode v3.35.1.
6852 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6853 (vhdl-compiler-alist): Doc fix.
6854 (vhdl-goto-line): Remove.
6855 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
6856 (vhdl-mode) <paragraph-start>: Fix value.
6857 (vhdl-fix-statement-region): Not `for' in wait-statement.
6858 (vhdl-beautify-region): Also (un)tabify.
6859 (vhdl-get-visible-signals):
6860 Scan declarative part of generate statements.
6861 (vhdl-template-record): Fix indentation for record type declaration.
6862 (vhdl-expand-abbrev, vhdl-expand-paren):
6863 Revert to using fset again rather than defalias.
6864 (vhdl-scan-directory-contents): Tweak.
6865 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
6866 (vhdl-compose-components-package):
6867 Replace vhdl-goto-line with forward-line.
6868 (top-level): Tweak speedbar frame selection.
6869 (vhdl-generate-makefile-1): Support for compilers with no
6870 unit-to-file name mapping (create directory with dummy files).
6871
6872 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
6873
6874 Sync with upstream verilog-mode revision 702457d.
6875 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6876 (create-lockfiles): Declare.
6877 (verilog-read-decls): Fix module header imports, bug709.
6878 Reported by Victor Lau.
6879 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
6880 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
6881 interface-only modules, bug721. Reported by Dean Hoyt.
6882
6883 2014-03-26 Glenn Morris <rgm@gnu.org>
6884
6885 * obsolete/gulp.el: Move here from emacs-lisp/.
6886
6887 * files.el (lock-buffer, unlock-buffer, file-locked-p):
6888 Remove fallback aliases, since they are always defined now.
6889
6890 2014-03-24 Daniel Colascione <dancol@dancol.org>
6891
6892 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
6893 instead of cl-loop search function.
6894
6895 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
6896
6897 * calendar/parse-time.el (parse-time-iso8601-regexp)
6898 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
6899 it more generally.
6900
6901 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
6902
6903 * net/dns.el (network-interface-list): Define for XEmacs.
6904
6905 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
6906
6907 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
6908 the network interfaces changed.
6909 (dns-query): Use it to flush the data.
6910
6911 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
6912
6913 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
6914
6915 2014-03-23 Daniel Colascione <dancol@dancol.org>
6916
6917 Change subword-mode to use `find-word-boundary-function-table' and
6918 replace `capitalized-words-mode'. Also, convert to lexical binding.
6919 * progmodes/cap-words.el: Delete now-obsolete file.
6920 * progmodes/subword.el: Reimplement using
6921 `find-word-boundary-function-table'.
6922 (subword-mode-map): Hollow out.
6923 (capitalized-words-mode): Define as obsolete alias for
6924 `subword-mode'.
6925 (subword-mode, superword-mode): Tweak documentation to reflect new
6926 implementation; call `subword-setup-buffer'.
6927 (subword-forward, subword-capitalize): Add underscore to indicate
6928 unused variable.
6929 (subword-find-word-boundary-function-table): New constant.
6930 (subword-empty-char-table): New constant.
6931 (subword-setup-buffer): New function.
6932 (subword-find-word-boundary): New function.
6933
6934 2014-03-23 Daniel Colascione <dancol@dancol.org>
6935
6936 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
6937 list to look for keyword arguments instead of `memq', fixing
6938 (Bug#3647) --- unfortunately, only for freshly-compiled code.
6939 Please make bootstrap.
6940
6941 2014-03-22 Glenn Morris <rgm@gnu.org>
6942
6943 * dired.el (dired-read-regexp): Make obsolete.
6944 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
6945 (dired-flag-files-regexp):
6946 * dired-aux.el (dired-mark-read-regexp):
6947 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
6948
6949 * startup.el (fancy-startup-text):
6950 * help.el (describe-gnu-project): Visit online info about GNU project.
6951
6952 * help-fns.el (help-fns--interactive-only): New function.
6953 (help-fns-describe-function-functions): Add the above function.
6954 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
6955 (next-line, previous-line): Remove hand-written interactive-only
6956 information from doc strings, it is auto-generated now.
6957 * bookmark.el (bookmark-write):
6958 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
6959 (epa-mail-import-keys): Mark interactive-only,
6960 and remove hand-written interactive-only information from doc strings.
6961 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
6962 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
6963 * files.el (not-modified):
6964 * simple.el (mark-whole-buffer): Mark interactive-only.
6965
6966 * emacs-lisp/byte-run.el (defun-declarations-alist):
6967 Add interactive-only. Doc tweak.
6968 (macro-declarations-alist): Doc tweak.
6969 * subr.el (declare): Doc tweak (add xref to manual).
6970 * comint.el (comint-run):
6971 * files.el (insert-file-literally, insert-file):
6972 * replace.el (replace-string, replace-regexp):
6973 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6974 (delete-forward-char, goto-line, insert-buffer, next-line)
6975 (previous-line): Set interactive-only via declare.
6976
6977 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
6978
6979 * emacs-lisp/package.el (package-desc): Use the contents of the
6980 quoted form, not its cdr. (Bug#16873)
6981
6982 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
6983
6984 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
6985 benefit of doc.c; change parameter profile to match the X function.
6986
6987 2014-03-22 Leo Liu <sdl.web@gmail.com>
6988
6989 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
6990 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
6991
6992 2014-03-21 Richard Stallman <rms@gnu.org>
6993
6994 * battery.el (battery-linux-sysfs): Search for each field
6995 from the beginning of the buffer.
6996
6997 * subr.el (set-transient-map): Clear out function and value
6998 of the temporary symbol when we're done with it.
6999
7000 * mail/rmailsum.el (rmail-summary-delete-forward):
7001 Optimize case of reaching end and handling count.
7002 (rmail-summary-mark-deleted): Optimize when N is current msg.
7003 Don't create new summary line.
7004 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
7005 (rmail-summary-undelete-many): Rewrite for speed.
7006 (rmail-summary-msg-number): New function.
7007
7008 * mail/rmail.el (rmail-delete-message): Update summary.
7009 (rmail-undelete-previous-message): Handle repeat count arg.
7010 (rmail-delete-backward, rmail-delete-forward): Likewise.
7011
7012 2014-03-21 Daniel Colascione <dancol@dancol.org>
7013
7014 * mail/emacsbug.el (report-emacs-bug): Include memory usage
7015 information in bug reports.
7016
7017 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
7018
7019 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
7020 and `tramp-copy-env'.
7021
7022 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
7023 (tramp-maybe-open-connection): Handle `tramp-login-env'.
7024
7025 2014-03-21 Glenn Morris <rgm@gnu.org>
7026
7027 * electric.el (electric-indent-post-self-insert-function): Add doc.
7028
7029 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
7030
7031 * emacs-lisp/package.el (package-compute-transaction):
7032 Use `version-list-<=' to compare the requirement version against
7033 the version of package already to be installed. Update the error
7034 message. (Bug#16826)
7035
7036 * progmodes/ruby-mode.el (ruby-smie-rules):
7037 Add indentation rule for ` @ '. (Bug#17050)
7038
7039 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
7040
7041 * align.el (align-regexp): Remove superfluous backslash.
7042
7043 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
7044 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
7045 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
7046 Fix docstring typos.
7047 (ffap-next): Use C-u in docstring.
7048 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
7049 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
7050 Remove superfluous backslashes.
7051 (ffap-string-at-point): Reflow docstring.
7052
7053 * server.el (server-host): Reflow docstring.
7054 (server-unload-function): Fix docstring typo.
7055 (server-eval-at): Remove superfluous backslash.
7056
7057 * skeleton.el (skeleton-insert): Remove superfluous backslash.
7058 (skeleton-insert): Doc fix.
7059 (skeleton-insert): Reflow docstring.
7060
7061 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
7062 (tty-color-approximate, tty-color-by-index, tty-color-values)
7063 (tty-color-desc): Remove superfluous backslashes.
7064
7065 2014-03-21 Glenn Morris <rgm@gnu.org>
7066
7067 * cus-start.el (history-length): Bump :version.
7068
7069 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7070 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7071 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7072 Don't set `make-backup-files'.
7073
7074 * info.el (info--prettify-description): New function,
7075 to give info-finder descriptions consistent case, punctuation.
7076 (Info-finder-find-node): Use it. Sort packages.
7077 Refer to "description" rather than "commentary".
7078
7079 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
7080
7081 * frameset.el (frameset--print-register): New function.
7082 (frameset-to-register): Use it.
7083
7084 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * progmodes/hideif.el (hif-string-to-number): New function.
7087 (hif-tokenize): Use it to understand non-decimal floats.
7088
7089 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
7090
7091 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
7092
7093 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7094
7095 * electric.el (electric-newline-and-maybe-indent): New command.
7096 Bind it globally to C-j.
7097 (electric-indent-mode): Don't mess with the global map any more.
7098 Don't drop the post-self-insert-hook is some buffer is still using it
7099 (bug#16770).
7100
7101 * bindings.el (global-map): Remove C-j binding.
7102
7103 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
7104 the docstring of functions advised before dumping (bug#16993).
7105
7106 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
7107
7108 * ps-print.el (ps-generate-postscript-with-faces):
7109 Explicitly deactivate the mark (bug#16866).
7110 * simple.el (deactivate-mark): Update region highlight.
7111
7112 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
7113
7114 * emacs-lisp/package.el (describe-package-1):
7115 Decode commentary (bug#16733).
7116
7117 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
7118
7119 * custom.el (defcustom): Doc fix: recommend avoiding destructive
7120 modification of the value argument of :set (bug#16755).
7121
7122 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * simple.el (newline-and-indent): Do autofill (bug#17031).
7125
7126 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
7127
7128 * newcomment.el (comment-normalize-vars): Only add escaping check
7129 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
7130 (comment-beginning): Use `narrow-to-region' instead of moving back
7131 one character.
7132 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
7133 (comment-start-skip): Update the docstring.
7134
7135 2014-03-18 Richard Stallman <rms@gnu.org>
7136
7137 * dired.el (dired-display-file): Force use of other window.
7138
7139 2014-03-18 Daniel Colascione <dancol@dancol.org>
7140
7141 * startup.el (tty-handle-args): Remove debug message from 2007.
7142
7143 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
7146 (advice--make-interactive-form): Use it to avoid (auto)loading function.
7147 (advice--make-1, advice-add, advice-remove):
7148 Remove braindead :advice-pending hack.
7149
7150 2014-03-17 Glenn Morris <rgm@gnu.org>
7151
7152 * calendar/calendar.el (calendar-generate-month): Apply weekend
7153 face to the right days; fixes 2013-08-06 change. (Bug#17028)
7154
7155 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
7156
7157 * net/tramp.el (tramp-action-out-of-band): Read pending output.
7158 (tramp-call-process): Trace also DESTINATION.
7159
7160 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7161 Quote file names when they are local. Remove superfluous trace.
7162
7163 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
7164
7165 * newcomment.el (comment-beginning): If `comment-start-skip'
7166 doesn't match, move back one char and try again. (Bug#16971)
7167
7168 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7169 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
7170 Set `comment-start-skip' to a simpler value that doesn't try to
7171 check if the semicolon is escaped (this is handled by
7172 `syntax-ppss' now). (Bug#16971)
7173
7174 * progmodes/scheme.el (scheme-mode-variables): Same.
7175
7176 2014-03-16 Martin Rudalics <rudalics@gmx.at>
7177
7178 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
7179 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
7180 current (Bug#16816, Bug#17007).
7181 (with-current-buffer-window): New macro doing the same as
7182 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
7183 * help.el (help-print-return-message): Warn in doc-string to not
7184 use this in `with-help-window'.
7185 (describe-bindings-internal): Call `describe-buffer-bindings'
7186 from within help buffer. See Juanma's scenario in (Bug#16816).
7187 (with-help-window): Update doc-string.
7188 * dired.el (dired-mark-pop-up):
7189 * files.el (save-buffers-kill-emacs):
7190 * register.el (register-preview): Use `with-current-buffer-window'
7191 instead of `with-temp-buffer-window'.
7192
7193 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
7194
7195 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
7196 Implement inserting into current buffer, documented in their docstrings.
7197 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
7198 (rst-section-tree-point, rst-forward-section, rst-indent)
7199 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
7200 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
7201 (rst-font-lock-handle-adornment-pre-match-form)
7202 (rst-repeat-last-character): Reflow docstrings.
7203 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
7204 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
7205 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
7206 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
7207 Fix docstring typos.
7208 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
7209 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
7210 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
7211
7212 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
7213
7214 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
7215 for compatibility with other ports.
7216 (ns-initialize-window-system): Use it. It is set in term/common-win.el
7217 from the -xrm command line argument, but in the Nextstep port its value
7218 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
7219
7220 * progmodes/python.el (defconst, python-syntax-count-quotes)
7221 (python-indent-region, python-indent-shift-right)
7222 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
7223 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
7224 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
7225 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
7226 (inferior-python-mode, python-shell-make-comint, run-python-internal)
7227 (python-shell-buffer-substring, python-shell-send-buffer)
7228 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
7229 (python-completion-complete-at-point, python-fill-docstring-style)
7230 (python-eldoc-function, python-imenu-format-item-label)
7231 (python-imenu-format-parent-item-label)
7232 (python-imenu-format-parent-item-jump-label)
7233 (python-imenu--build-tree, python-imenu-create-index)
7234 (python-imenu-create-flat-index): Fix docstring typos.
7235 (python-indent-context, python-shell-prompt-regexp, run-python):
7236 Remove superfluous backslashes.
7237 (python-indent-line, python-nav-beginning-of-defun)
7238 (python-shell-get-buffer, python-shell-get-process)
7239 (python-info-current-defun, python-info-current-line-comment-p)
7240 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
7241 (python-indent-post-self-insert-function, python-shell-send-file)
7242 (python-shell-completion-get-completions)
7243 (python-shell-completion-complete-or-indent)
7244 (python-eldoc--get-doc-at-point): Reflow docstrings.
7245
7246 2014-03-14 Glenn Morris <rgm@gnu.org>
7247
7248 * emacs-lisp/package.el (package-menu-mode-map):
7249 Replace use of obsolete function alias. Tweak menu item text.
7250
7251 * info.el (Info-finder-find-node):
7252 Ignore the `emacs' metapackage. (Bug#10813)
7253
7254 * finder.el (finder-list-matches): Include unversioned packages
7255 in the result of a keyword search.
7256
7257 * finder.el (finder--builtins-descriptions): New constant.
7258 (finder-compile-keywords): Use finder--builtins-descriptions.
7259
7260 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
7261
7262 * simple.el (blink-matching-paren): Describe the new value,
7263 `jump', enabling the old behavior.
7264 (blink-matching-open): Use that value. (Bug#17008)
7265
7266 2014-03-14 Glenn Morris <rgm@gnu.org>
7267
7268 * finder.el (finder-no-scan-regexp): Add leim-list.
7269 (finder-compile-keywords):
7270 Don't skip files with same basename. (Bug#14010)
7271 * Makefile.in (setwins_finder): New, excluding leim.
7272 (finder-data): Use setwins_finder.
7273
7274 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
7275 (help-function-arglist, help-make-usage): Move from here...
7276 * help.el (help-split-fundoc, help-add-fundoc-usage)
7277 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
7278 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
7279
7280 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
7281
7282 * net/socks.el (socks, socks-override-functions)
7283 (socks-find-services-entry):
7284 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
7285 (hif-find-ifdef-block):
7286 * progmodes/modula2.el (m2-indent): Fix docstring typos.
7287
7288 * net/tls.el (tls-program): Reflow docstring.
7289
7290 * progmodes/pascal.el (pascal-mode-abbrev-table)
7291 (pascal-imenu-generic-expression, pascal-auto-endcomments)
7292 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
7293 (pascal-outline-mode): Fix docstring typos.
7294 (pascal-mode): Let define-derived-mode document mode hook.
7295 (pascal-uncomment-area): Reflow.
7296 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
7297
7298 * progmodes/opascal.el (opascal-compound-block-indent)
7299 (opascal-case-label-indent): Fix docstring typos.
7300 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
7301
7302 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
7303
7304 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7305 Fontify multiple adjacent negation chars. (Bug#17004)
7306
7307 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
7308
7309 * emacs-lisp/package.el (package--prepare-dependencies):
7310 Accept requirements without explicit version (bug#14941).
7311
7312 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7313
7314 * register.el (register-separator, copy-to-register): Doc fixes.
7315 (register-preview-default): Remove unnecessary call to concat.
7316
7317 * frameset.el (frameset-restore): When checking for a visible frame,
7318 use the action map instead of calling visible-frame-list.
7319
7320 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
7321
7322 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
7323
7324 2014-03-12 Martin Rudalics <rudalics@gmx.at>
7325
7326 * window.el (fit-frame-to-buffer): Get maximum width from
7327 display's width instead of height.
7328
7329 2014-03-12 Glenn Morris <rgm@gnu.org>
7330
7331 * desktop.el (desktop-restore-frames)
7332 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
7333 (desktop-restore-reuses-frames): Doc tweaks.
7334
7335 * electric.el (electric-indent-mode): Doc fix.
7336
7337 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7338
7339 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
7340 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
7341 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
7342 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
7343 (cvs-dired-use-hook): Fix docstring typos.
7344 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
7345 Doc fixes.
7346
7347 * vc/pcvs-defs.el (cvs-auto-remove-handled)
7348 (cvs-auto-remove-directories, cvs-default-ignore-marks)
7349 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
7350 (cvs-execute-single-dir): Fix docstring typos.
7351
7352 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
7353 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
7354
7355 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
7356
7357 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
7358 Fix docstring typos.
7359
7360 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7361
7362 * frameset.el (frameset--jump-to-register): Add autoload; it could be
7363 called from jump-to-register after unloading the frameset package.
7364
7365 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
7368 (bug#16975). Deactivate the mark before setting it to nil.
7369 (activate-mark): Do nothing if region is already active.
7370
7371 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7372
7373 * frameset.el (frameset--target-display): Remove definition; declare.
7374 (frameset-save, frameset-restore): Let-bind frameset--target-display.
7375
7376 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
7379 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
7380 when the advice is pending.
7381 (advice-remove): Remove this marker when not needed any more.
7382
7383 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7384
7385 * frameset.el: Separate options for reusing frames and cleaning up.
7386 (frameset--reuse-list): Remove definition; declare.
7387 (frameset--action-map): Declare.
7388 (frameset--find-frame-if): Doc fix.
7389 (frameset--restore-frame): Cache frame action.
7390 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
7391 how to clean up the frame list after restoring. Remove cleaning
7392 options from REUSE-FRAMES. Change all keyword values to symbols.
7393 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
7394
7395 * desktop.el (desktop-restore-forces-onscreen)
7396 (desktop-restore-reuses-frames): Use non-keyword values.
7397 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
7398
7399 2014-03-10 Glenn Morris <rgm@gnu.org>
7400
7401 * files.el (find-file): Doc fix: update info node name.
7402
7403 * emacs-lisp/advice.el (ad-add-advice, defadvice):
7404 Doc fix: remove references to deleted info nodes.
7405
7406 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
7407
7408 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7409 Do not add nil to the environment, when there's no remote `locale'.
7410 (tramp-find-inline-encoding): Check, that the remote host has
7411 installed perl, before sending scripts.
7412
7413 2014-03-10 Leo Liu <sdl.web@gmail.com>
7414
7415 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7416 Clear eldoc-last-message. (Bug#16920)
7417
7418 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
7421 (bug#14430).
7422
7423 2014-03-09 Juri Linkov <juri@jurta.org>
7424
7425 * ansi-color.el (ansi-color-names-vector): Copy default colors
7426 from `xterm-standard-colors' that look well on the default white
7427 background (and also on the black background) to avoid illegible
7428 color combinations like yellow-on-white and white-on-white.
7429 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
7430
7431 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * frameset.el (frameset-restore): When no frame is visible, do not
7434 generate a list of frames, just make visible the selected one.
7435
7436 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
7437
7438 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
7439 it only contains the repository root. (Bug#16897)
7440
7441 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
7442
7443 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
7444 only when `remote-file-name-inhibit-cache' is nil.
7445 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
7446
7447 2014-03-06 Martin Rudalics <rudalics@gmx.at>
7448
7449 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
7450 Fix doc-strings.
7451 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
7452 fit-frame-to-buffer variable. Fix doc-string.
7453 (fit-window-to-buffer): Set ONLY argument in call of
7454 fit-frame-to-buffer. Fix doc-string.
7455
7456 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
7457
7458 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
7459 (tramp-action-password): Clear password cache if needed.
7460 (tramp-read-passwd): Do not clear password cache.
7461
7462 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
7463 cache unless it is the first password request.
7464
7465 2014-03-06 Glenn Morris <rgm@gnu.org>
7466
7467 * simple.el (newline): Doc tweak.
7468
7469 * emacs-lisp/shadow.el (load-path-shadows-find):
7470 Ignore dir-locals. (Bug#12357)
7471
7472 2014-03-05 Glenn Morris <rgm@gnu.org>
7473
7474 * files.el (interpreter-mode-alist):
7475 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
7476
7477 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7478
7479 * frameset.el (frameset--initial-params): Filter out null entries.
7480
7481 2014-03-05 Martin Rudalics <rudalics@gmx.at>
7482
7483 * window.el (window-min-height, window-min-width):
7484 Rewrite doc-strings.
7485 (window-body-size): Add PIXELWISE argument to make it consistent
7486 with its callees.
7487
7488 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7489
7490 * finder.el (finder-mode-map, finder-mode-syntax-table):
7491 Revert part of 2014-02-28 change.
7492
7493 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
7494
7495 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
7496 (eww-setup-buffer): Clear next/prev/etc more reliably.
7497 (eww-textarea-map): [tab] doesn't work on tty.
7498 Reported by Mario Lang.
7499
7500 * net/shr.el (shr-map): Ditto.
7501
7502 2014-03-04 Glenn Morris <rgm@gnu.org>
7503
7504 * minibuffer.el (completion-hilit-commonality):
7505 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
7506
7507 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7508
7509 * hilit-chg.el (hilit-chg-unload-function): New function.
7510 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
7511 (hilit-chg-map-changes): Prefer cardinal number to digit.
7512 (hilit-chg-display-changes): Reflow docstring.
7513 (highlight-changes-rotate-faces): Remove superfluous backslash.
7514
7515 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
7516
7517 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
7518 `tramp-send-command-and-check'.
7519
7520 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7521
7522 * hexl.el (hexl-address-region, hexl-ascii-region)
7523 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
7524 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
7525 (hexl-forward-word, hexl-previous-line, hexl-next-line):
7526 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
7527 (hexl-mode): Doc fix.
7528 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
7529 (hexl-mode-ruler): Fix typos in docstrings.
7530
7531 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
7532 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
7533 Remove superfluous backslashes.
7534 (strokes-last-stroke, strokes-global-map, strokes-mode):
7535 Reflow docstrings.
7536 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
7537 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
7538 (strokes-distance-squared, strokes-global-set-stroke)
7539 (strokes-global-set-stroke-string): Doc fixes.
7540 (strokes-help): Fix typos; reflow docstring.
7541
7542 2014-03-04 Martin Rudalics <rudalics@gmx.at>
7543
7544 * window.el (window-in-direction): Fix doc-string.
7545
7546 2014-03-04 Glenn Morris <rgm@gnu.org>
7547
7548 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
7549 Explicit error if no grammar.
7550 (smie-config-save): Doc fix. Fix quote typo.
7551
7552 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
7555 electric-indent-mode-hook if we obey electric-indent-mode.
7556 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
7557 decide whether we obey electric-indent-mode.
7558 (c-change-set-fl-decl-start, c-extend-after-change-region):
7559 Silence warnings.
7560 (c-electric-indent-mode-hook): Assume we do want to obey
7561 electric-indent-mode.
7562
7563 * electric.el (electric-indent-mode-has-been-called): Remove.
7564 (electric-indent-mode): Fix accordingly.
7565
7566 * files.el (hack-local-variables): Mention file name in warning.
7567
7568 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
7569
7570 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
7571
7572 * bindings.el: Add comment describing why C-d binds to `delete-char'.
7573 * simple.el (delete-forward-char): Mark as interactive-only.
7574
7575 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
7576
7577 * icomplete.el (icomplete-completions):
7578 Follow-up to 2014-03-01 change.
7579
7580 * icomplete.el: Miscellaneous doc fixes.
7581 Use Icomplete everywhere instead of icomplete for consistency.
7582 (icomplete-max-delay-chars): Fix typo.
7583 (icomplete-mode): Use \[].
7584 (icomplete-tidy, icomplete-exhibit): Reflow.
7585 (icomplete-minibuffer-setup-hook, icomplete-completions):
7586 Remove superfluous backlashes.
7587
7588 * ido.el: Miscellaneous doc fixes.
7589 Use Ido everywhere instead of ido or `ido' for consistency.
7590 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
7591 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
7592 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
7593 (ido-separator): Extract obsolescence info from docstring and declare
7594 with make-obsolete-variable.
7595 (ido-minibuffer-setup-hook): Simplify example.
7596 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
7597 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
7598 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
7599 (ido-everywhere): Reflow docstring.
7600 (ido-toggle-vc): Doc fix.
7601 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
7602 of long list of keybindings.
7603
7604 2014-03-03 Glenn Morris <rgm@gnu.org>
7605
7606 * frame.el (display-pixel-height, display-pixel-width)
7607 (display-mm-dimensions-alist, display-mm-height)
7608 (display-mm-width): Doc tweaks.
7609
7610 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
7611
7612 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
7613 case of undo in region.
7614
7615 2014-03-02 Martin Rudalics <rudalics@gmx.at>
7616
7617 * window.el (fit-window-to-buffer): Fix argument in window-size
7618 call when window is horizontally combined.
7619
7620 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
7621
7622 * icomplete.el (icomplete-completions): Use string-width.
7623 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7624
7625 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
7626
7627 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7628 Highlight regexp options. (Bug#16914)
7629
7630 2014-03-01 Martin Rudalics <rudalics@gmx.at>
7631
7632 * window.el (window--max-delta-1): Round down when calculating
7633 how many lines/columns we can get from a window.
7634
7635 2014-03-01 Glenn Morris <rgm@gnu.org>
7636
7637 * isearch.el (search-invisible): Doc fix.
7638
7639 * minibuffer.el (completion-hilit-commonality):
7640 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
7641 * comint.el (comint-dynamic-list-completions): Doc fix.
7642 * comint.el (comint-dynamic-list-completions):
7643 * filecache.el (file-cache-minibuffer-complete):
7644 * tempo.el (tempo-display-completions):
7645 * eshell/em-hist.el (eshell-list-history):
7646 Replace use of obsolete argument of display-completion-list.
7647
7648 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
7649
7650 * icomplete.el (icomplete-completions):
7651 Revert back to using "..." when ?… cannot be displayed.
7652
7653 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7654
7655 * finder.el (finder-unload-function): New function.
7656
7657 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7658
7659 * dframe.el (dframe-detach):
7660 * find-dired.el (find-dired, find-name-dired):
7661 * finder.el (finder-mode-map, finder-mode-syntax-table)
7662 (finder-headmark, finder-select, finder-mouse-select):
7663 Fix docstring typos.
7664
7665 2014-02-28 Martin Rudalics <rudalics@gmx.at>
7666
7667 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
7668 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
7669 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7670 Fix doc-string based on a suggestion by Nicolas Richard
7671 <theonewiththeevillook@yahoo.fr>.
7672 * help.el (with-help-window): Fix doc-string.
7673
7674 2014-02-28 Ivan Kanis <ivan@kanis.fr>
7675
7676 * net/shr.el (shr-image-animate): New option.
7677 (shr-put-image): Respect shr-image-animate.
7678
7679 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
7680
7681 * net/tramp-adb.el (tramp-adb-parse-device-names):
7682 Use `accept-process-output'.
7683 (tramp-adb-handle-file-truename): Cache the localname only.
7684 (tramp-adb-handle-make-directory)
7685 (tramp-adb-handle-delete-directory): Flush file properties correctly.
7686 (tramp-adb-handle-set-file-modes): Do not raise an error when file
7687 modes cannot be changed.
7688
7689 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
7690 file properties of symlinks.
7691
7692 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
7693
7694 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
7695 required/optional fields to match development biblatex. (Bug#16781)
7696
7697 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
7698
7699 * saveplace.el (toggle-save-place):
7700 Fix argument handling. (Bug#16673)
7701
7702 2014-02-28 Glenn Morris <rgm@gnu.org>
7703
7704 * minibuffer.el (completions-first-difference)
7705 (completions-common-part, completion-hilit-commonality): Doc fixes.
7706
7707 2014-02-28 Karl Berry <karl@gnu.org>
7708
7709 * info.el (Info-mode-map): Add H for describe-mode,
7710 to synchronize with standalone Info.
7711
7712 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
7713
7714 * progmodes/sql.el (sql-interactive-mode):
7715 Avoid setting global comint-input-ring-separator. (Bug#16814)
7716
7717 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7718
7719 * net/dbus.el (dbus--init-bus): Declare function.
7720 (dbus-path-local, dbus-interface-local): New defconst.
7721 (dbus-init-bus): Use them.
7722 (dbus-return-values-table): Extend doc.
7723 (dbus-handle-bus-disconnect): Extend error message.
7724
7725 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
7726
7727 * subr.el (y-or-n-p): Fix double space issue in message.
7728
7729 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7730
7731 * net/tramp.el (tramp-call-process): Improve trace message.
7732 (tramp-handle-insert-file-contents): Trace error case.
7733
7734 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7735 <insert-directory>: Use `tramp-handle-insert-directory'.
7736 (tramp-adb-handle-insert-directory): Remove function.
7737 (tramp-adb-send-command-and-check): New defun, replacing
7738 `tramp-adb-command-exit-status'. Change all callees.
7739 (tramp-adb-handle-file-attributes)
7740 (tramp-adb-handle-directory-files-and-attributes): Use it.
7741 (tramp-adb-ls-output-name-less-p):
7742 Use `directory-listing-before-filename-regexp'.
7743 (tramp-adb-handle-delete-directory): Flush also file properties of
7744 the truename of directory.
7745 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
7746 (tramp-adb-handle-file-local-copy): Make the local copy readable.
7747 (tramp-adb-handle-write-region): Implement APPEND.
7748 (tramp-adb-handle-rename-file): Make it more robust. Flush file
7749 properties correctly.
7750 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
7751 variables. Check for connected devices only when needed.
7752
7753 2014-02-27 Glenn Morris <rgm@gnu.org>
7754
7755 * minibuffer.el (completion-table-dynamic)
7756 (completion-table-with-cache): Doc fixes.
7757
7758 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
7759 (completing-read-multiple): Doc fixes.
7760
7761 2014-02-27 Daniel Colascione <dancol@dancol.org>
7762
7763 * minibuffer.el (completion--nth-completion): Fix indentation.
7764
7765 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
7766 explicit tramp path is empty.
7767
7768 2014-02-27 Glenn Morris <rgm@gnu.org>
7769
7770 * emacs-lisp/crm.el (completing-read-multiple):
7771 Empower help-enable-auto-load.
7772
7773 2014-02-26 Glenn Morris <rgm@gnu.org>
7774
7775 * startup.el (command-line): Don't init the tty in daemon mode.
7776
7777 Avoid calling tty-setup-hook twice, eg if a term file
7778 explicitly calls tty-run-terminal-initialization. (Bug#16859)
7779 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
7780 (tty-create-frame-with-faces): Use it.
7781 * startup.el (command-line): Pass run-hook argument
7782 to tty-run-terminal-initialization.
7783
7784 * dired.el (dired-restore-desktop-buffer): Demote errors;
7785 eg in case a glob match fails. (Bug#16884)
7786
7787 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
7788
7789 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
7790 error from `read-from-string'. (Bug#16850)
7791
7792 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
7793 result of `completing-read' in the interactive form. (Bug#16854)
7794
7795 2014-02-25 Glenn Morris <rgm@gnu.org>
7796
7797 * image.el (image-animate, image-animate-timeout):
7798 Stop animating images in dead buffers. (Bug#16878)
7799
7800 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
7801
7802 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
7803 Doc fixes.
7804 * startup.el (term-setup-hook): Doc fix. Make obsolete.
7805 * term/sun.el (sun-raw-prefix-hooks):
7806 Use tty-setup-hook instead of term-setup-hook.
7807 (terminal-init-sun): Construct message from bytecomp plist.
7808 * term/wyse50.el (enable-arrow-keys): Doc fix.
7809
7810 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
7811
7812 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
7813 Fix docstring typos.
7814
7815 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
7816
7817 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
7818
7819 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7820
7821 * minibuffer.el (completion--try-word-completion):
7822 Fix error when completing M-x commands (bug#16808).
7823
7824 2014-02-24 Leo Liu <sdl.web@gmail.com>
7825
7826 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
7827
7828 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
7829
7830 * apropos.el (apropos-print): Avoid formatting error when
7831 apropos-do-all and apropos-compact-layout are both t.
7832
7833 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
7834
7835 * apropos.el (apropos-property, apropos-all-words-regexp)
7836 (apropos-true-hit, apropos-variable, apropos-print):
7837 Fix docstring typos, and remove obsolete comment.
7838
7839 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
7840
7841 * net/tramp-sh.el (tramp-sh-handle-file-truename):
7842 Preserve trailing "/". (Bug#16851)
7843
7844 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
7845
7846 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
7847 after `=>' (bug#16811).
7848 (ruby-smie-rules): Handle the inconsistent second element of the
7849 list returned by `smie-indent--parent'.
7850 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
7851 method call.
7852
7853 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
7854
7855 * elec-pair.el (electric-pair-text-syntax-table)
7856 (electric-pair-syntax-info, electric-pair--syntax-ppss)
7857 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
7858 (electric-pair--looking-at-unterminated-string-p): Doc fix.
7859 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
7860
7861 2014-02-22 Glenn Morris <rgm@gnu.org>
7862
7863 * imenu.el (imenu--generic-function): Doc fix.
7864
7865 * register.el (frame-configuration-to-register): Make obsolete.
7866
7867 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
7868
7869 * desktop.el (desktop-save-buffer-p): Do not fail when
7870 desktop-files-not-to-save is nil. Return t for true result
7871 as the doc says.
7872
7873 2014-02-22 Daniel Colascione <dancol@dancol.org>
7874
7875 * net/secrets.el (secrets-create-item, secrets-search-items):
7876 Check that attribute values are strings, avoiding the construction
7877 of invalid dbus messages.
7878
7879 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
7882 defun-declarations-alist.
7883
7884 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
7885
7886 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
7887 (bug#16829).
7888
7889 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7890
7891 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
7892 (whitespace-newline, whitespace-trailing, whitespace-line)
7893 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
7894 (whitespace-space-after-tab): Fix typo in docstrings.
7895
7896 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
7897
7898 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
7899
7900 * electric.el (electric-indent-functions-without-reindent):
7901 Add `yaml-indent-line'.
7902
7903 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7904
7905 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
7906 It has done nothing for years; should be removed after the release.
7907
7908 * simple.el (choose-completion): Fix docstring typo.
7909 (read-quoted-char-radix): Remove unneeded * in docstring.
7910 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
7911 Don't escape parentheses unnecessarily in docstrings.
7912
7913 2014-02-21 Martin Rudalics <rudalics@gmx.at>
7914
7915 Fix handling of window-min-height/-width (Bug#16738).
7916 * window.el (window--dump-window, window--dump-frame):
7917 New functions.
7918 (window--min-size-1): Account for window dividers.
7919 When window-resize-pixelwise is nil, delay rounding till after the
7920 sum of the window components has been calculated.
7921 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
7922 nil make sure at least one text line and two text columns remain
7923 fully visible.
7924 (window-resize): Signal an error when window-resize-apply fails.
7925 (window--resize-child-windows): Fix calculation of by how many
7926 pixels a window can still be shrunk via window-new-normal.
7927 (adjust-window-trailing-edge): Call window--resizable with
7928 correct TRAIL argument.
7929
7930 (with-temp-buffer-window): Don't evaluate BODY within
7931 with-current-buffer (Bug#16816).
7932
7933 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
7934
7935 * net/tramp.el (tramp-check-cached-permissions):
7936 Call `file-attributes' with `suffix' being a symbol but a string.
7937
7938 2014-02-21 Daniel Colascione <dancol@dancol.org>
7939
7940 * net/dbus.el (dbus-init-bus-1): Declare new subr.
7941 (dbus-init-bus): New function: call into dbus-init-bus-1
7942 and installs a handler for the disconnect signal.
7943 (dbus-call-method): Rewrite to look for result in cons.
7944 (dbus-call-method-handler): Store result in cons.
7945 (dbus-check-event): Recognize events with nil sender as valid.
7946 (dbus-handle-bus-disconnect): New function. React to bus
7947 disconnection signal by synthesizing dbus error for each
7948 pending synchronous or asynchronous call.
7949 (dbus-notice-synchronous-call-errors): New function.
7950 (dbus-handle-event): Raise errors directly only when `dbus-debug'
7951 is true, not all the time.
7952
7953 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7954
7955 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7956 Remove obsolescence declarations, these variables do not exist anymore.
7957
7958 * savehist.el (savehist-save-minibuffer-history)
7959 (savehist-additional-variables, savehist-file, savehist-mode-hook)
7960 (savehist-save-hook, savehist-coding-system, savehist-loaded)
7961 (savehist-load, savehist-install, savehist-autosave): Fix typos;
7962 mostly, refer to "Savehist mode" when talking about the mode,
7963 and not the function.
7964
7965 * saveplace.el (save-place): Remove redundant info in docstring.
7966 (save-place-forget-unreadable-files, toggle-save-place)
7967 (save-place-forget-unreadable-files, save-place-dired-hook):
7968 Fix typos and remove unneeded backslashes.
7969
7970 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
7971
7972 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
7973 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
7974
7975 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7976 <insert-directory>: Use `tramp-handle-insert-directory'.
7977 (tramp-gvfs-handle-insert-directory): Remove function.
7978
7979 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7980 Call `tramp-handle-insert-directory'.
7981
7982 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
7983
7984 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
7985 before the start of buffer/region (bug#16799).
7986
7987 2014-02-20 Glenn Morris <rgm@gnu.org>
7988
7989 * isearch.el (search-invisible): Doc fix.
7990
7991 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
7992
7993 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
7994 (bug#16657).
7995
7996 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
7997
7998 * frameset.el (frameset-restore): Delay removing an old frame's
7999 duplicate id until the new frame has been correctly created.
8000
8001 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
8002
8003 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
8004 (tramp-check-cached-permissions): Call `file-attributes' if the
8005 cache is empty.
8006
8007 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
8008 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8009
8010 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8011 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8012 (tramp-gvfs-maybe-open-connection): Set always connection
8013 properties, even if target is mounted already.
8014
8015 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
8016 Set tramp-autoload cookie.
8017 (tramp-get-remote-touch): New defun.
8018 (tramp-sh-handle-set-file-times): Use it.
8019 (tramp-sh-handle-directory-files-and-attributes):
8020 Use `tramp-handle-directory-files-and-attributes' if neither stat
8021 nor perl are available on the remote host.
8022
8023 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
8024 "/". Write long listing only when "l" belongs to the switches.
8025
8026 * net/trampver.el: Update release number.
8027
8028 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
8029
8030 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
8031
8032 2014-02-19 Martin Rudalics <rudalics@gmx.at>
8033
8034 * window.el (window-state-put): Allow WINDOW to refer to an
8035 internal window (Bug#16793).
8036
8037 2014-02-19 Glenn Morris <rgm@gnu.org>
8038
8039 * textmodes/remember.el: Move provide statement to end.
8040 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
8041 (remember-notes): Doc fixes.
8042
8043 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * delsel.el (delete-char): Restore incorrectly erased property
8046 (bug#16795).
8047
8048 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
8049
8050 * frameset.el (frameset--restore-frame): When a frame is being reused
8051 and its root window is not alive, delete all the frame's windows before
8052 restoring the window state. This works around the issue in bug#16793.
8053
8054 2014-02-18 Glenn Morris <rgm@gnu.org>
8055
8056 * textmodes/remember.el (remember-data-directory)
8057 (remember-directory-file-name-format, remember-store-in-files)
8058 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
8059 (remember-notes-save-and-bury-buffer)
8060 (remember-notes--kill-buffer-query): Doc fixes.
8061
8062 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
8063
8064 2014-02-17 Alan Mackenzie <acm@muc.de>
8065
8066 Connect electric-indent-mode up with CC Mode. Bug #15478.
8067 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
8068 to electric-indent-{,local-}-mode.
8069 (c-basic-common-init): Set electric-indent-inhibit.
8070 Initialise c-electric-flag from electric-indent-mode.
8071 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
8072 New hook functions which propagate electric-indent-mode to CC mode.
8073
8074 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
8075 hit, toggle electric-indent-local-mode.
8076
8077 * electric.el (electric-indent-mode-has-been-called):
8078 New variable.
8079
8080 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
8081
8082 * frameset.el (frameset-cfg-id): New function.
8083 (frameset--reuse-frame, frameset-restore): Use it.
8084 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
8085
8086 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
8087
8088 * ido.el (ido-file-internal): Remove unused var `d'.
8089 Use \` for to match BoS. Fit within 80n columns.
8090
8091 2014-02-17 Daniel Colascione <dancol@dancol.org>
8092
8093 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
8094 dbus-call-method check for completion using a busy-wait loop with
8095 gradual backoff.
8096
8097 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
8098
8099 Sync with Tramp 2.2.9.
8100
8101 * net/trampver.el: Update release number.
8102
8103 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
8104
8105 * ido.el (ido-file-internal): Don't add the name of an existing
8106 directory twice. (Bug#16747)
8107
8108 2014-02-16 Glenn Morris <rgm@gnu.org>
8109
8110 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
8111 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
8112
8113 2014-02-15 Michael R. Mauger <michael@mauger.com>
8114
8115 * progmodes/sql.el: Version 3.4
8116 (sql-oracle-options): New default value ("-L").
8117 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
8118 (sql-placeholders-filter): Correct placeholder pattern.
8119 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
8120 (sql-login-delay): New variable.
8121 (sql-product-interactive): Use it.
8122
8123 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
8124
8125 * frameset.el (frameset--jump-to-register): Check that buffer is live
8126 (bug#16749).
8127
8128 2014-02-15 Glenn Morris <rgm@gnu.org>
8129
8130 * info.el (info-initialize): Revert 2014-01-10 change.
8131
8132 2014-02-14 Glenn Morris <rgm@gnu.org>
8133
8134 * replace.el (map-query-replace-regexp)
8135 (read-regexp-defaults-function, read-regexp): Doc fixes.
8136
8137 * dired.el (dired-read-regexp):
8138 * faces.el (list-faces-display):
8139 * misearch.el (multi-isearch-read-matching-buffers)
8140 (multi-isearch-read-matching-files):
8141 * play/cookie1.el (cookie-apropos):
8142 * progmodes/grep.el (grep-read-regexp): Doc fixes.
8143
8144 * textmodes/remember.el (remember): Use frameset-to-register
8145 rather than frame-configuration-to-register.
8146
8147 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
8148
8149 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
8150 incorrect keybinding.
8151
8152 2014-02-13 Daniel Colascione <dancol@dancol.org>
8153
8154 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
8155 when adding overlays so that line numbers from compiler match line
8156 numbers we use.
8157
8158 2014-02-13 Glenn Morris <rgm@gnu.org>
8159
8160 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
8161
8162 * jit-lock.el (jit-lock-mode): Doc fix.
8163
8164 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
8165
8166 * apropos.el (apropos-read-pattern): When the user passes an empty
8167 string, give a more helpful error message than "Wrong type
8168 argument: stringp, nil".
8169
8170 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8171
8172 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
8173
8174 2014-02-13 Glenn Morris <rgm@gnu.org>
8175
8176 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
8177
8178 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
8181 shift-select commands.
8182
8183 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
8184
8185 * progmodes/js.el (js-indent-line): Don't widen.
8186 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
8187
8188 2014-02-12 Glenn Morris <rgm@gnu.org>
8189
8190 * icomplete.el (icomplete): Add info-link to defgroup.
8191 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
8192 (icomplete-minibuffer-map, icomplete-mode)
8193 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
8194
8195 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
8196 (package-menu-filter): Rename from package-menu-filter-interactive.
8197 Doc fix.
8198
8199 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * frameset.el (frameset--jump-to-register): Select the required
8202 window and buffer before restoring position (bug#16696).
8203
8204 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
8205
8206 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
8207
8208 2014-02-10 Glenn Morris <rgm@gnu.org>
8209
8210 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
8211
8212 2014-02-10 Eli Zaretskii <eliz@gnu.org>
8213
8214 * w32-common-fns.el (x-get-selection): Doc fix.
8215 * select.el (x-get-selection): Doc fix. (Bug#15109)
8216
8217 * face-remap.el (face-remap-add-relative)
8218 (face-remap-remove-relative, face-remap-reset-base)
8219 (face-remap-set-base): Call force-mode-line-update to redisplay
8220 the current buffer due to potential change in faces. (Bug#16709)
8221
8222 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
8223
8224 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
8225 script more robustly.
8226
8227 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8228
8229 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
8230
8231 * simple.el (choose-completion): Doc fix (bug#14160).
8232
8233 * subr.el (event-start): Say what a nil EVENT value means.
8234
8235 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
8236 (bug#14197).
8237
8238 * progmodes/grep.el (find-program): Doc fix (bug#14289).
8239
8240 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
8241
8242 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
8243
8244 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8245 predicate function (bug#15455).
8246
8247 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
8248
8249 * ielm.el (inferior-emacs-lisp-mode): Instead of
8250 `comment-use-global-state', set `comment-use-syntax'.
8251
8252 2014-02-10 Glenn Morris <rgm@gnu.org>
8253
8254 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
8255
8256 2014-02-09 Alan Mackenzie <acm@muc.de>
8257
8258 Fix c-invalidate-state-cache on narrowed buffers.
8259 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
8260 Widen when setting and clearing the CPP delimiter properties.
8261
8262 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
8263
8264 * help.el (describe-bindings): Doc fix (bug#9888).
8265
8266 * files.el (save-buffer): Use ARG as the parameter name for
8267 consistency (bug#10346).
8268 (save-buffer): Clarify the 0 argument (bug#10346).
8269
8270 * cus-edit.el (customize-apropos): Fix error string.
8271 (custom-buffer-create): Doc fix (bug#11122).
8272 (custom-sort-items): Doc fix (bug#11121).
8273
8274 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
8275
8276 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
8277 (icomplete-simple-completing-p): Mention the previous variable.
8278
8279 * font-lock.el (font-lock-value-in-major-mode): Clarify the
8280 meaning of the parameter (bug#12282).
8281
8282 * files.el (find-file-noselect): Clarify prompt when changing
8283 readedness (bug#13261).
8284 (locate-file): Suffixes aren't returned, so don't say that they
8285 are (bug#12674).
8286 (backup-inhibited): Doc clarification (bug#12525).
8287
8288 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
8289 before we actually start to delete things (bug#16331).
8290
8291 * subr.el (event-start): Doc fix (bug#14228).
8292 (event-end): Ditto.
8293
8294 2014-02-09 Glenn Morris <rgm@gnu.org>
8295
8296 * emacs-lisp/warnings.el (lwarn):
8297 Empower help-enable-auto-load. (Bug#15940)
8298
8299 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8300
8301 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
8302 (Bug#16690)
8303
8304 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
8305
8306 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8307 Insert output at end of buffer. (Bug#16120)
8308
8309 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8310
8311 * simple.el (choose-completion-string-functions): Document new
8312 calling convention (bug#14153).
8313 (execute-extended-command): Clarify doc string (bug#13373).
8314
8315 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
8316
8317 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8318 (find-grep-dired): Doc fix (bug#14288).
8319
8320 2014-02-08 Juri Linkov <juri@jurta.org>
8321
8322 * isearch.el (isearch-quote-char): Check character validity
8323 like in `quoted-insert' (bug#16677).
8324
8325 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8326
8327 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
8328
8329 * isearch.el (isearch-hide-immediately): Doc clarification
8330 (bug#14723).
8331
8332 * simple.el (line-move): Document utility function used many
8333 places in the Emacs sources (bug#14843).
8334
8335 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8336 (dired-prev-marked-file): Doc fix (bug#14855).
8337 (dired-up-directory): Doc fix (bug#14848).
8338
8339 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
8340
8341 * files.el (file-relative-name): Doc fix (bug#15159).
8342
8343 * fringe.el (fringe-styles): Doc fix (bug#15239).
8344
8345 * isearch.el (isearch-filter-predicate): Documentation typo fix
8346 (bug#15474).
8347
8348 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
8349
8350 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
8351
8352 * replace.el (replace-match-maybe-edit): Doc clarification
8353 (bug#15632).
8354
8355 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
8356
8357 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
8358
8359 2014-02-08 Glenn Morris <rgm@gnu.org>
8360
8361 * help-fns.el (describe-variable):
8362 Check {file,dir}-local-variables-alist, and buffer-file-name,
8363 in the correct buffer.
8364
8365 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
8366
8367 * help-fns.el (describe-variable): Fix the case where
8368 a value is directory-local with no dir-locals file. (Bug#16635)
8369
8370 2014-02-08 Glenn Morris <rgm@gnu.org>
8371
8372 * abbrev.el (edit-abbrevs-mode):
8373 Derive from fundamental-mode. (Bug#16682)
8374
8375 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
8376
8377 * simple.el (quoted-insert): Check character validity (bug#16677).
8378
8379 2014-02-07 Juri Linkov <juri@jurta.org>
8380
8381 * desktop.el (desktop-read): Claim the lock when the owner is not
8382 the current process. (Bug#16157)
8383
8384 2014-02-07 Juri Linkov <juri@jurta.org>
8385
8386 * desktop.el (desktop-buffers-not-to-save): Change default from nil
8387 to "\\` ". (Bug#16651)
8388
8389 2014-02-07 Juri Linkov <juri@jurta.org>
8390
8391 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
8392 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
8393 (desktop-auto-save-cancel-timer): New function with some code from
8394 `desktop-auto-save-set-timer'.
8395 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
8396 Instead of setting `desktop-save-mode' to nil, call
8397 `desktop-save-mode' with arg 0. (Bug#16630)
8398
8399 2014-02-07 Glenn Morris <rgm@gnu.org>
8400
8401 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
8402 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
8403 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
8404
8405 * obsolete/iswitchb.el: Move to obsolete/.
8406 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
8407 since obsolete/ is not scanned for autoloads.
8408 * emacs-lisp/authors.el (authors-valid-file-names):
8409 Add iswitchb.el.
8410
8411 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
8412 Disable now non-functional find-file-hook.
8413
8414 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
8415
8416 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
8417 instead of ";" in order to avoid additional prompts. Let heredoc
8418 scripts read from tty. (Bug#16582)
8419 (tramp-send-command): No special handling of heredocs, it isn't
8420 necessary anymore.
8421
8422 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
8423
8424 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
8425 with a space (bug#16664). Limit the symbols considered to the ones
8426 that are bound or fbound (bug#16646).
8427
8428 2014-02-06 Glenn Morris <rgm@gnu.org>
8429
8430 * epa.el (epa-mail-aliases): Doc fix.
8431
8432 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
8433
8434 * emacs-lisp/lisp.el (lisp-completion-at-point):
8435 Use `completion-table-merge' instead of `completion-table-in-turn'
8436 (bug#16604).
8437
8438 * minibuffer.el (completion-table-merge): New function.
8439
8440 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
8441
8442 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
8443 (tramp-sh-handle-set-file-acl)
8444 (tramp-sh-handle-start-file-process)
8445 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
8446 (tramp-find-executable, tramp-send-command): Use it.
8447
8448 2014-02-05 Glenn Morris <rgm@gnu.org>
8449
8450 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
8451
8452 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
8453
8454 * progmodes/python.el (python-shell-send-string)
8455 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
8456
8457 2014-02-04 Anders Lindgren <andlind@gmail.com>
8458
8459 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
8460 the names (bug#16620).
8461
8462 2014-02-03 Martin Rudalics <rudalics@gmx.at>
8463
8464 * faces.el (window-divider): New default value. Rewrite doc-string.
8465 (window-divider-first-pixel, window-divider-last-pixel): New faces.
8466
8467 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
8468
8469 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
8470 `protected' and `public' can also be called without arguments.
8471
8472 2014-02-03 Glenn Morris <rgm@gnu.org>
8473
8474 * register.el (window-configuration-to-register)
8475 (frame-configuration-to-register): Unadvertise unused argument.
8476 * frameset.el (frameset-to-register): Remove unused argument.
8477
8478 * frameset.el (frameset-to-register):
8479 * kmacro.el (kmacro-to-register):
8480 * register.el (increment-register):
8481 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
8482 (calc-append-to-register, calc-prepend-to-register):
8483 * play/gametree.el (gametree-layout-to-register)
8484 (gametree-apply-register-layout):
8485 * textmodes/picture.el (picture-clear-rectangle-to-register)
8486 (picture-yank-rectangle-from-register):
8487 * vc/emerge.el (emerge-combine-versions-register):
8488 Use register-read-with-preview to read registers.
8489
8490 2014-02-03 João Távora <joaotavora@gmail.com>
8491
8492 * elec-pair.el (electric-pair-backward-delete-char): Don't error
8493 when at beginning of (possibly narrowed) buffer.
8494
8495 2014-02-02 Daniel Colascione <dancol@dancol.org>
8496
8497 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
8498 Also try to display local help from just before point.
8499
8500 2014-02-02 Alan Mackenzie <acm@muc.de>
8501
8502 c-parse-state. Don't "append-lower-brace-pair" in certain
8503 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
8504 recognised as a comment.
8505
8506 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
8507 as well as normal comment starter.
8508 (c-parse-state-get-strategy): Extra return possibility
8509 'back-and-forward.
8510 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
8511 return value list to indicate replacement of a brace-pair cons
8512 with its car.
8513 (c-parse-state-1): With 'back-and-forward, only call
8514 c-append-lower-brace-pair-to state-cache when cons-separated.
8515
8516 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
8517
8518 * term/ns-win.el (ns-suspend-error): New function.
8519 (ns-initialize-window-system): Add ns-suspend-error to
8520 suspend-hook (Bug#16612).
8521
8522 2014-02-02 Daniel Colascione <dancol@dancol.org>
8523
8524 * progmodes/cc-defs.el (c-find-assignment-for-mode):
8525 Make loading cc-mode silent.
8526
8527 2014-02-02 Daniel Colascione <dancol@dancol.org>
8528
8529 * comint.el (comint-prompt-read-only): Change doc to suggest
8530 remap keybinding.
8531
8532 2014-02-02 Glenn Morris <rgm@gnu.org>
8533
8534 * register.el (register-read-with-preview, point-to-register)
8535 (window-configuration-to-register, frame-configuration-to-register)
8536 (jump-to-register, number-to-register, view-register, insert-register)
8537 (copy-to-register, append-to-register, prepend-to-register)
8538 (copy-rectangle-to-register): Doc fixes.
8539
8540 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
8543 * emacs-lisp/find-func.el (find-function-C-source): Idem.
8544 * emacs-lisp/nadvice.el (advice--cd*r): New function.
8545 * help-fns.el (describe-function-1): Use it.
8546
8547 2014-02-02 Glenn Morris <rgm@gnu.org>
8548
8549 * register.el (register-preview-default): New function,
8550 split from register-preview.
8551 (register-preview-function): Rename from register-preview-functions,
8552 make it not a hook.
8553 (register-preview): Use register-preview-function.
8554 (register-read-with-preview): Error on non-character event. (Bug#16595)
8555
8556 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
8557
8558 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
8559 `:' before binary operators (bug#16609). Don't check for `:'
8560 before `[' and `(', or their syntax status. A percent literal
8561 can't end with either.
8562 (ruby-font-lock-keywords): For built-ins that require arguments,
8563 check that they're followed by something that looks like argument
8564 (bug#16610).
8565
8566 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
8567
8568 * subr.el (butlast): Document what an omitted N means (bug#13437).
8569 (nbutlast): Ditto.
8570
8571 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
8572
8573 * net/shr.el (shr-generic): Make into a defsubst to make the stack
8574 depth shallower (bug#16587).
8575 (shr-tag-svg): Respect `shr-inhibit-images'.
8576 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
8577
8578 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
8579
8580 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
8581 (ruby-smie-grammar): Make "." right-associative. Make its priority
8582 lower than the ternary and all binary operators.
8583 (ruby-smie-rules): Indent "(" relative to the first non-"."
8584 parent, or the first "." parent at indentation.
8585 Use `ruby-align-chained-calls' for indentation of "." tokens.
8586 (Bug#16593)
8587
8588 2014-01-31 Juri Linkov <juri@jurta.org>
8589
8590 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
8591 from `make-hash-table'.
8592
8593 * textmodes/ispell.el (ispell-init-process): Change message format
8594 to be consistent with other messages.
8595
8596 2014-01-31 Glenn Morris <rgm@gnu.org>
8597
8598 * delsel.el (delete-selection-mode): Doc fix.
8599
8600 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
8601 (trace-function-background): Doc fixes.
8602
8603 * ido.el (ido-use-virtual-buffers): Doc fix.
8604 Reset :version, since the default value has not changed.
8605
8606 * register.el (register-preview-delay, register-read-with-preview):
8607 Doc fixes.
8608
8609 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
8610 do not mess with mail-buffer position (fixes 2009-11-03 change).
8611 * progmodes/cc-mode.el (c-submit-bug-report):
8612 Check auto-fill-mode is bound. (Bug#16592)
8613
8614 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
8615
8616 * startup.el (fancy-splash-image-file): New function,
8617 split from fancy-splash-head.
8618 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
8619 so that we are both using the same image. (Bug#16574)
8620
8621 2014-01-30 Glenn Morris <rgm@gnu.org>
8622
8623 * simple.el (eval-expression): Doc fix.
8624
8625 * hexl.el (hexl-mode-hook):
8626 * ielm.el (ielm-mode-hook):
8627 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
8628 (lisp-interaction-mode-hook):
8629 * progmodes/cfengine.el (cfengine3-documentation-function):
8630 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
8631
8632 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
8635 is a symbol (bug#16584).
8636
8637 2014-01-30 Glenn Morris <rgm@gnu.org>
8638
8639 * help.el (help-for-help-internal): Add "P" to text.
8640
8641 2014-01-29 Glenn Morris <rgm@gnu.org>
8642
8643 * simple.el (just-one-space, cycle-spacing): Doc fixes.
8644
8645 2014-01-28 Martin Rudalics <rudalics@gmx.at>
8646
8647 * window.el (fit-frame-to-buffer): Fix calculations for margins and
8648 height constraints.
8649
8650 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
8651
8652 * progmodes/hideif.el: Extend to full CPP expression syntax.
8653 (hif-token-alist): Add missing tokens.
8654 (hif-token-regexp): Add support for float/octal/hex immediates.
8655 (hif-string-literal-regexp): New const.
8656 (hif-tokenize): Recognize strings and float/octal/hex immediates.
8657 (hif-exprlist): New function.
8658 (hif-parse-if-exp): Use it.
8659 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
8660 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
8661 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
8662 (hif-logxor, hif-comma): New functions.
8663
8664 2014-01-28 Glenn Morris <rgm@gnu.org>
8665
8666 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
8667
8668 * indent.el (tab-stop-list): Doc fix. Add :version.
8669
8670 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
8671 (cvs-append-to-ignore): Add compatibility alias.
8672
8673 2014-01-27 Glenn Morris <rgm@gnu.org>
8674
8675 * dired.el (dired-hide-details-mode): Don't autoload it,
8676 since it cannot be used outside Dired buffers anyway.
8677
8678 * emulation/cua-base.el (cua-mode): Doc fix.
8679
8680 * dired.el (dired-hide-details-hide-symlink-targets)
8681 (dired-hide-details-hide-information-lines)
8682 (dired-hide-details-mode): Doc fixes.
8683
8684 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
8685 * strokes.el (strokes-file): Doc fix. Bump :version.
8686 (strokes-help): Doc fix.
8687 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
8688 * emulation/viper.el (viper): Doc fix for custom group.
8689 (top-level): Remove oh-so-no-longer-relevant text about vip.
8690 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
8691
8692 * ido.el (ido-save-directory-list-file):
8693 * saveplace.el (save-place-file):
8694 * calendar/timeclock.el (timeclock-file):
8695 * net/quickurl.el (quickurl-url-file):
8696 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8697 * progmodes/idlwave.el (idlwave-config-directory):
8698 * textmodes/remember.el (remember-data-file):
8699 Bump :version.
8700
8701 2014-01-26 Glenn Morris <rgm@gnu.org>
8702
8703 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
8704 Doc fix. Make obsolete.
8705 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
8706
8707 * sort.el (delete-duplicate-lines): Doc fix.
8708
8709 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8710
8711 * progmodes/ada-mode.el (ada):
8712 * woman.el (woman): Link to info manual and Commentary section.
8713
8714 * progmodes/flymake.el (flymake):
8715 * nxml/nxml-mode.el (nxml):
8716 * net/eww.el (eww):
8717 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
8718 * htmlfontify.el (htmlfontify):
8719 * ses.el (ses):
8720 * epa.el (epa):
8721 * ido.el (ido): Link to info manual.
8722
8723 2014-01-25 Leo Liu <sdl.web@gmail.com>
8724
8725 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
8726
8727 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
8728
8729 * net/shr.el (shr-tag-img): Prefer the title over the alt text
8730 (bug#16537).
8731
8732 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
8733
8734 * net/eww.el (eww-download-callback):
8735 Fix reference to eww-download-directory.
8736
8737 * emacs-lisp/bytecomp.el (byte-compile-file):
8738 Remove unused local variable `file-name'.
8739
8740 2014-01-24 Glenn Morris <rgm@gnu.org>
8741
8742 * woman.el (woman-default-faces, woman-monochrome-faces):
8743 Fix obsolescence specification.
8744
8745 * subr.el (with-demoted-errors): Doc fix.
8746
8747 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
8750 (cl--macroexp-fboundp): New function.
8751 (cl--make-type-test): Use it.
8752
8753 2014-01-23 Glenn Morris <rgm@gnu.org>
8754
8755 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
8756 * simple.el (eval-expression): Doc fixes.
8757
8758 2014-01-22 Glenn Morris <rgm@gnu.org>
8759
8760 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
8761
8762 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * emacs-lisp/package.el: Write files silently.
8765 (package-autoload-ensure-default-file, package--write-file-no-coding)
8766 (package-generate-description-file, package--download-one-archive)
8767 (package-install-from-archive): Tell `write-region' to stay quiet.
8768 (package-menu-mode, package-menu--print-info): Omit the Archive column
8769 if there's only one archive.
8770 (package-all-keywords, package--has-keyword-p): Remove dead code.
8771
8772 2014-01-22 Glenn Morris <rgm@gnu.org>
8773
8774 * version.el (emacs-bzr-version-bzr): Fix typo.
8775
8776 * version.el (emacs-repository-get-version):
8777 Check either .bzr or .git, but not both.
8778 Make the git case actually use the DIR argument, and return nil
8779 rather than the empty string.
8780 Avoid error if .git exists but the git executable is not found.
8781
8782 2014-01-22 Martin Rudalics <rudalics@gmx.at>
8783
8784 Fixes in window size functions around Bug#16430 and Bug#16470.
8785 * window.el (window-total-size, window-size): New argument ROUND.
8786 (window--min-delta-1, window-min-delta, window--max-delta-1):
8787 Be more conservative when calculating the numbers of lines or
8788 columns a window can shrink (Bug#16430).
8789 (fit-window-to-buffer): Simplify code.
8790 * term.el (term-window-width): Call window-body-width again.
8791
8792 2014-01-22 Glenn Morris <rgm@gnu.org>
8793
8794 * image.el (image-format-suffixes): Doc fix.
8795
8796 * international/quail.el (quail-define-package): Doc fix.
8797
8798 * emacs-lisp/authors.el (authors-valid-file-names)
8799 (authors-renamed-files-alist): Additions.
8800
8801 * vc/vc-git.el (vc-git-print-log): Remove --follow;
8802 reverts 2014-01-09 change. (Bug#16422)
8803
8804 * calc/calc-embed.el (thing-at-point-looking-at):
8805 * emacs-lisp/map-ynp.el (x-popup-dialog):
8806 * obsolete/lmenu.el (x-popup-dialog):
8807 * emacs-lisp/package.el (url-recreate-url):
8808 * mail/mailclient.el (clipboard-kill-ring-save):
8809 * subr.el (x-popup-dialog): Update declaration.
8810 * mail/rmail.el (rmail-mime-message-p):
8811 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
8812
8813 2014-01-21 Daniel Colascione <dancol@dancol.org>
8814
8815 * progmodes/sh-script.el (sh--inside-noncommand-expression):
8816 Correctly detect when we're inside an arithmetic expansion form
8817 containing nested parenthesis.
8818 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
8819 to detect cases where we shouldn't expand "<<" to a heredoc
8820 skeleton.
8821
8822 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
8825 (eldoc--message-command-p): New function.
8826 (eldoc-display-message-p): Use it.
8827 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
8828 message is not automatically erased for us.
8829 (eldoc-print-current-symbol-info): Erase previous message, if any.
8830
8831 2014-01-21 Tassilo Horn <tsdh@gnu.org>
8832
8833 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
8834 specify it's an interactive function.
8835
8836 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
8837 Fix regex used for scanning for citation keys which failed for
8838 citations with optional arguments.
8839
8840 2014-01-21 Leo Liu <sdl.web@gmail.com>
8841
8842 * simple.el (read--expression): Don't enable eldoc-mode.
8843
8844 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * simple.el (move-beginning-of-line): Make sure we don't move forward
8847 (bug#16497).
8848
8849 2014-01-20 Juri Linkov <juri@jurta.org>
8850
8851 * saveplace.el (toggle-save-place, save-place-to-alist)
8852 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
8853 'dired-mode) before checking for dired-directory. (Bug#16477)
8854
8855 2014-01-20 Juri Linkov <juri@jurta.org>
8856
8857 * indent.el (indent-line-to): Use backward-to-indentation
8858 instead of back-to-indentation. (Bug#16461)
8859
8860 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
8861
8862 Revert some of the CANNOT_DUMP fix (Bug#16494).
8863 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
8864 but fixing this can wait until after the next release.
8865 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
8866
8867 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
8868
8869 * eshell/esh-mode.el (eshell-password-prompt-regexp):
8870 Use `password-word-equivalents'.
8871 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
8872 to t. (Bug#5664, Bug#13124)
8873
8874 2014-01-19 Alan Mackenzie <acm@muc.de>
8875
8876 Bind open-paren-in-column-0-is-defun-start to nil at some entry
8877 points.
8878 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
8879 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
8880 * progmodes/cc-mode.el (c-before-change, c-after-change)
8881 (c-font-lock-fontify-region): Bind it here.
8882
8883 2014-01-19 Martin Rudalics <rudalics@gmx.at>
8884
8885 * term.el (term-window-width): Call window-text-width instead of
8886 window-width (Bug#16470).
8887
8888 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
8889
8890 * simple.el (password-word-equivalents): Remove duplicates.
8891 Sort, to make this easier next time.
8892 Downcase. Omit ": " after "jelszó".
8893
8894 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
8895
8896 * term/common-win.el (saved-region-selection): Defvar it.
8897 (x-select-text): Set saved-region-selection (Bug#16382).
8898
8899 2014-01-18 Glenn Morris <rgm@gnu.org>
8900
8901 * emacs-lisp/authors.el (authors-aliases)
8902 (authors-renamed-files-alist): Add some entries.
8903
8904 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
8905
8906 * net/tramp.el (tramp-password-prompt-regexp):
8907 Use `password-word-equivalents' if available.
8908 (tramp-action-password, tramp-process-one-action)
8909 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
8910
8911 2014-01-17 Chong Yidong <cyd@gnu.org>
8912
8913 * simple.el (password-word-equivalents): New defcustom.
8914 * comint.el (comint-password-prompt-regexp): Use it. Bump version
8915 to 24.4.
8916 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
8917 to t. (Bug#13124)
8918
8919 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
8920
8921 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
8922 (ruby-align-to-stmt-keywords): Change the default value.
8923 Use `ruby-alignable-keywords' to generate the possible customization
8924 choices.
8925 (ruby-smie-rules): Instead of using a hardcoded list of alignable
8926 keywords, check against the value of `ruby-alignable-keywords'
8927 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
8928
8929 2014-01-17 Glenn Morris <rgm@gnu.org>
8930
8931 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
8932
8933 Make M-x authors return zero *Authors Errors* from current logs.
8934 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
8935 (authors-ignored-files): Add some entries, remove others.
8936 (authors-ambiguous-files, authors-valid-file-names):
8937 Add some entries.
8938 (authors-renamed-files-alist): Add, remove, and adjust entries.
8939 (authors-renamed-files-regexps): Add some entries.
8940 Remove some very broad ones. Make some entries `lax'.
8941 (authors-lax-changelogs): New constant.
8942 (authors-disambiguate-file-name): Treat top-level specially.
8943 (authors-lax-changelog-p): New function.
8944 (authors-canonical-file-name): Check file as written against
8945 authors-valid-file-names. Do not special-case etc/.
8946 Handle `lax' logs and authors-renamed-files-regexps elements.
8947
8948 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
8949
8950 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
8951 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
8952 callers.
8953
8954 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
8957 Assume we're already in the proper buffer.
8958 Inspired by Anders Lindgren <andlind@gmail.com>.
8959 (follow-post-command-hook): Call it from the right buffer.
8960 (follow-comint-scroll-to-bottom): Adjust call.
8961 (follow-all-followers): Use get-buffer-window-list.
8962
8963 2014-01-15 Daniel Colascione <dancol@dancol.org>
8964
8965 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
8966 `buffer-file-name' in interactive-form so that we don't leave
8967 pathless file names in `file-name-history'.
8968
8969 2014-01-15 Juri Linkov <juri@jurta.org>
8970
8971 * indent.el (indent-rigidly): Set deactivate-mark to nil
8972 in transient indentation mode. (Bug#16438)
8973
8974 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
8975
8976 * emacs-lisp/package.el (package-desc-keywords): New function
8977 (Bug#16222).
8978 (describe-package-1, package-all-keywords)
8979 (package--has-keyword-p): Use it.
8980
8981 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8982
8983 * simple.el (define-alternatives): When creating the
8984 COMMAND-alternatives variable, assign COMMAND as its definition
8985 name so that `describe-variable' can relocate it.
8986
8987 2014-01-14 Matthew Leach <matthew@mattleach.net>
8988
8989 * font-lock.el (font-lock-keywords): Fix typo in docstring
8990 (bug#16307).
8991
8992 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8993
8994 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
8995 line instead of wrongly reset `add-coment' (bug#13577).
8996
8997 2014-01-14 Daiki Ueno <ueno@gnu.org>
8998
8999 * epa-file.el (epa-file-write-region): Encode the region according
9000 to `buffer-file-format'. Problem reported at:
9001 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
9002
9003 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
9006 so it applies in the right buffer (bug#16410).
9007
9008 2014-01-13 Daniel Colascione <dancol@dancol.org>
9009
9010 * textmodes/rst.el (rst-define-key): Provide deprecated
9011 keybindings through named functions instead of anonymous ones so
9012 that "??" doesn't appear in describe-mode output.
9013
9014 2014-01-13 Bastien Guerry <bzg@gnu.org>
9015
9016 * simple.el (define-alternatives): Call the selected command
9017 interactively. When setting `COMMAND--implementation' for the
9018 first time, tell the user how to chose another implementation.
9019 Enhance the docstring.
9020
9021 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
9024 (log-edit--match-first-line): New function.
9025 (log-edit-font-lock-keywords): Use it.
9026 (log-edit-mode): Make jit-lock-defer-multiline work.
9027
9028 2014-01-13 Bastien Guerry <bzg@gnu.org>
9029
9030 * rect.el (rectangle-mark-mode): When the region is not active,
9031 display a message saying that the mark as been set and that
9032 rectangle mode is in use.
9033 (rectangle--highlight-for-redisplay): Only put an overlay with a
9034 visible vertical bar when (display-graphic-p) is non-nil.
9035 This partially fixes Bug#16403.
9036
9037 2014-01-13 Juri Linkov <juri@jurta.org>
9038
9039 * info.el (Info-find-file): Go to DIR before displaying the error
9040 about a nonexistent file if no previous Info file is visited.
9041 Use `user-error' instead of `error' for "Info file %s does not exist".
9042 (Info-find-node-2): In case of a nonexistent node in unwind forms
9043 go to the Top node if there is no previous node to revert to.
9044 (Bug#16405)
9045
9046 2014-01-13 Martin Rudalics <rudalics@gmx.at>
9047
9048 fit-frame/window-to-buffer code fixes including one for Bug#14096.
9049 * window.el (fit-frame-to-buffer): Fix doc-string.
9050 Respect window-min-height/-width. Fit pixelwise when
9051 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
9052 when avoiding that frame goes partially off-screen.
9053 (fit-window-to-buffer): Respect window-min-height/-width
9054 (Bug#14096).
9055
9056 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
9059 after an empty line.
9060
9061 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
9062
9063 * net/shr.el (shr-render-region): Autoload.
9064
9065 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
9066
9067 * net/eww.el (eww-download-directory): Rename from
9068 `eww-download-path' (Bug#16419).
9069
9070 2014-01-12 Leo Liu <sdl.web@gmail.com>
9071
9072 * dired-x.el (dired-mode-map): Fix last change.
9073
9074 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
9075
9076 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
9077
9078 Spelling fixes.
9079 * emacs-lisp/generic.el (generic--normalize-comments):
9080 Rename from generic--normalise-comments. All uses changed.
9081 * play/bubbles.el (bubbles--neighborhood-score)
9082 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
9083 (bubbles--neighborhood-available)
9084 (bubbles--update-neighborhood-score):
9085 Rename from names with 'neighbourhood'. All uses changed.
9086
9087 2014-01-12 Leo Liu <sdl.web@gmail.com>
9088
9089 Re-implement the feature of showing eldoc info after editing.
9090 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
9091 (eldoc-edit-message-commands): New function.
9092 (eldoc-print-after-edit): New variable.
9093 (eldoc-pre-command-refresh-echo-area): Emit message only by
9094 eldoc-message-commands.
9095 (eldoc-mode): Restrict eldoc-message-commands to editing commands
9096 if eldoc-print-after-edit is set. (Bug#16346)
9097 * simple.el (read--expression): Enable eldoc-mode.
9098 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9099
9100 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
9101 Eric S. Raymond <esr@thyrsus.com>
9102
9103 * version.el (emacs-repository-get-version): Enhance so the
9104 function works correctly in either a Bazaar or Git repo.
9105
9106 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
9107
9108 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
9109 Goes with removal of the joke manpages from /etc.
9110
9111 2014-01-10 Kenichi Handa <handa@gnu.org>
9112
9113 * mail/rmail.el (rmail-get-coding-system):
9114 Check rmail-get-coding-function before "funcall"ing it.
9115
9116 2014-01-10 Glenn Morris <rgm@gnu.org>
9117
9118 * emacs-lisp/authors.el (authors-fixed-entries):
9119 Update for files that no longer exist.
9120
9121 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
9122
9123 * version.el (emacs-bzr-get-version): Restore compatibilty with
9124 24.3 (Tested).
9125
9126 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
9127
9128 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
9129 and Podfile.
9130
9131 2014-01-10 Eli Zaretskii <eliz@gnu.org>
9132
9133 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
9134
9135 2014-01-10 Chong Yidong <cyd@gnu.org>
9136
9137 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
9138
9139 2014-01-10 Anders Lindgren <andlind@gmail.com>
9140
9141 * follow.el (follow-cache-command-list): Include right-char and
9142 left-char.
9143
9144 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
9145
9146 Spelling fixes.
9147 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
9148 * woman.el (woman-mark-horizontal-position):
9149 Rename from woman-mark-horizonal-position. Use changed.
9150
9151 2014-01-10 Glenn Morris <rgm@gnu.org>
9152
9153 * info.el (info-initialize): If running uninstalled, ensure our
9154 own info files are always found first, even if INFOPATH is set.
9155
9156 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
9157
9158 2014-01-09 David Engster <deng@randomsample.de>
9159
9160 * emacs-lisp/eieio-custom.el:
9161 * emacs-lisp/eieio-opt.el: Set generated autoload file to
9162 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
9163 * emacs-lisp/eieio.el: Regenerate autoloads.
9164
9165 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
9166
9167 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
9168 following renames. (Bug#8756)
9169
9170 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
9173 (bug#16382).
9174 (activate-mark): Add `no-tmm' argument.
9175 (set-mark, push-mark-command): Use it instead of running
9176 activate-mark-hook by hand.
9177
9178 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
9179
9180 In preparation for the move to git, sanitize out some
9181 Bazaar-specific names.
9182
9183 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
9184
9185 * version.el (emacs-bzr-version): Name changed to
9186 emacs-repository-version. Obsolete-variable alias made.
9187 * loadup.el: Follow through on this name change.
9188 * mail/emacsbug.el (report-emacs-bug): Factor out any
9189 assumption about the version control system in use.
9190
9191 2014-01-08 David Engster <deng@randomsample.de>
9192
9193 * help-fns.el (help-fns-describe-function-functions):
9194 New variable to call functions for augmenting help buffers.
9195 (describe-function-1): Remove explicit calls to
9196 `help-fns--compiler-macro', `help-fns--parent-mode' and
9197 `help-fns--obsolete'. Put them in above new variable instead, and
9198 call them through `run-hook-with-args'.
9199 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
9200 `eieio-describe-class'. Not meant for interactive use anymore,
9201 but to augment existing help buffers. Remove optional second
9202 argument. Create proper button for file location.
9203 Rewrite function to use `insert' instead of `princ' and `prin1' where
9204 possible.
9205 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
9206 (eieio-method-def, eieio-class-def): Move further up.
9207 (describe-method, describe-generic, eieio-describe-method):
9208 Remove aliases.
9209 (eieio-help-constructor, eieio-help-generic): Rename from
9210 `eieio-describe-constructor' and `eieio-describe-generic', resp.
9211 Rewrite to use `insert' in the current buffer and use proper help
9212 buttons.
9213 (eieio-help-find-method-definition)
9214 (eieio-help-find-class-definition): Also accept symbols as
9215 arguments.
9216 (eieio-help-mode-augmentation-maybee): Remove.
9217 (eieio-describe-class-sb): Use `describe-function'.
9218 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
9219 Add `eieio-help-generic' and `eieio-help-constructor'.
9220
9221 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
9222
9223 Spelling fixes.
9224 * language/china-util.el (hz-ascii-designation):
9225 Rename from hz-ascii-designnation.
9226 (hz-ascii-designation): Rename from hz-ascii-designnation.
9227 All uses changed.
9228
9229 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
9232 package-alist.
9233
9234 2014-01-08 Bastien Guerry <bzg@gnu.org>
9235
9236 * emacs-lisp/package.el (package-delete):
9237 Correctly delete the package from package-alist.
9238
9239 2014-01-08 Daiki Ueno <ueno@gnu.org>
9240
9241 * emacs-lisp/package.el (url-recreate-url): Declare.
9242 (url-http-target-url): Declare.
9243 (package-handle-response): Include requested URL in the error message.
9244 (package--check-signature): Don't re-signal errors from
9245 package--with-work-buffer. Suggested by Stefan Monnier.
9246
9247 2014-01-07 Bastien Guerry <bzg@gnu.org>
9248
9249 * minibuffer.el (completion--try-word-completion): When both a
9250 hyphen and a space are possible candidates for the character
9251 following a word, display both candidates. (Bug#15980)
9252
9253 2014-01-07 Martin Rudalics <rudalics@gmx.at>
9254
9255 * window.el (balance-windows-2): While rounding don't give a
9256 window more than the remainder. Bug#16351, bug#16383.
9257
9258 2014-01-07 Glenn Morris <rgm@gnu.org>
9259
9260 * menu-bar.el (menu-bar-help-extra-packages): Remove.
9261 (menu-bar-help-menu): Use view-external-packages instead.
9262
9263 2014-01-07 Bastien Guerry <bzg@gnu.org>
9264
9265 * emacs-lisp/package.el (package-delete): Also delete the package
9266 name from `package-alist', not its description only.
9267
9268 2014-01-07 Glenn Morris <rgm@gnu.org>
9269
9270 * help.el (view-external-packages):
9271 * menu-bar.el (menu-bar-help-extra-packages):
9272 Visit efaq.info rather than etc/MORE.STUFF.
9273
9274 2014-01-07 Juri Linkov <juri@jurta.org>
9275
9276 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
9277 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
9278
9279 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
9280 that shadows RET. (Bug#16342)
9281
9282 2014-01-07 Chong Yidong <cyd@gnu.org>
9283
9284 * isearch.el (isearch-yank-char, isearch-yank-word)
9285 (isearch-yank-line): Doc fix.
9286
9287 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9289 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
9290 * emacs-lisp/elint.el (elint-find-builtins):
9291 * emacs-lisp/eldoc.el (eldoc-symbol-function):
9292 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
9293 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
9294 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9295 * apropos.el (apropos-safe-documentation):
9296 * subr.el (symbol-file): Remove redundant fboundp.
9297 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
9298
9299 2014-01-06 Bastien Guerry <bzg@gnu.org>
9300
9301 * hl-line.el (global-hl-line-overlay): Make a local variable.
9302 (global-hl-line-overlays): New variable to store all overlays.
9303 (global-hl-line-mode): Don't delete overlays from the current
9304 buffer when `global-hl-line-sticky-flag' is non-nil.
9305 (global-hl-line-highlight): Add new overlays to
9306 `global-hl-line-overlays'.
9307 (global-hl-line-unhighlight-all): New function to delete all
9308 overlays when turning off `global-hl-line-mode'.
9309 This fixes Bug#16183.
9310
9311 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9312
9313 * subr.el (set-transient-map): Fix nested case and docstring.
9314
9315 2014-01-06 Tassilo Horn <tsdh@gnu.org>
9316
9317 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
9318 `Texinfo' entry.
9319
9320 2014-01-06 Daniel Colascione <dancol@dancol.org>
9321
9322 Fix defun navigation in vc log view.
9323
9324 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
9325 like `beginning-of-defun'.
9326 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
9327 log-view-end-of-defun to log-view-end-of-defun-1. Replace
9328 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
9329 (log-view-extract-comment): Call `log-view-current-entry' directly
9330 instead of relying on broken `log-view-beginning-of-defun' behavior.
9331
9332 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
9333
9334 Spelling fixes.
9335 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
9336 * emacs-lisp/debug.el (cancel-debug-on-entry):
9337 * epg.el (epg-error-to-string):
9338 * files.el (recover-file):
9339 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
9340 * mail/emacsbug.el (report-emacs-bug-hook):
9341 * mail/sendmail.el (mail-recover):
9342 * ses.el (ses-yank-resize):
9343 * term/ns-win.el (ns-print-buffer):
9344 Spelling fixes in diagnostics, mostly for "canceled" with one L.
9345 * epg.el (epg-key-capability-alist): Rename from misspelled version.
9346 All uses changed.
9347 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
9348
9349 2014-01-06 Leo Liu <sdl.web@gmail.com>
9350
9351 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
9352 to avoid shadowing global key. (Bug#16354)
9353
9354 2014-01-06 Daniel Colascione <dancol@dancol.org>
9355
9356 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
9357 rst-mode.
9358
9359 2014-01-05 Martin Rudalics <rudalics@gmx.at>
9360
9361 * window.el (balance-windows): Add mising t to fix Bug#16351.
9362
9363 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9364
9365 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
9366 (bug#16285).
9367 (shr-insert): If we have a word that's longer than `shr-width',
9368 break after it anyway. Otherwise we'll do no breaking once we get
9369 such a long word.
9370
9371 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9372
9373 * net/eww.el (eww): Support single/double quote for search.
9374 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
9375 (eww-history-quit): Delete and use quit-window.
9376 (eww-history-kill): Delete, because it doesn't work well and
9377 not necessary.
9378 (eww-history-mode-map): Delete some keys and add easy-menu.
9379
9380 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
9381
9382 Fix misspelling of 'chinese' in rx (Bug#16237).
9383 * emacs-lisp/rx.el (rx-categories): Correct spelling of
9384 chinese-two-byte.
9385
9386 Change subword regexps back to vars (Bug#16296).
9387 * progmodes/subword.el (subword-forward-regexp)
9388 (subword-backward-regexp): Change these back to variables.
9389
9390 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
9393 syntax-begin-function (bug#16247).
9394
9395 2014-01-03 Chong Yidong <cyd@gnu.org>
9396
9397 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
9398 (advice--docstring): Delete variable.
9399 (advice--make-1): Leave the docstring empty.
9400 (advice-add): Use function-documentation for advised docstring.
9401
9402 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
9403 Ignore function-documentation property when getting documentation.
9404 (ad-activate-advised-definition): Use function-documentation
9405 generate the docstring.
9406 (ad-make-advised-definition): Don't call
9407 ad-make-advised-definition-docstring.
9408 (ad-make-advised-definition-docstring, ad-advised-definition-p):
9409 Delete functions.
9410
9411 * progmodes/sql.el (sql-help): Use function-documentation instead
9412 of dynamic-docstring-function property. No need to autoload now.
9413 (sql--help-docstring): New variable.
9414 (sql--make-help-docstring): Use it.
9415
9416 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9417
9418 * ielm.el (ielm-tab): Retarget.
9419 (ielm-map): Use ielm-tab for tab.
9420 (ielm-complete-filename): Use comint-filename-completion.
9421 (ielm-complete-symbol): Remove.
9422 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
9423 remove ielm-tab from completion-at-point-functions (bug#16224).
9424
9425 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
9426 Beware signals raised by predicates (bug#16201).
9427
9428 2014-01-02 Richard Stallman <rms@gnu.org>
9429
9430 * dired-aux.el (dired-do-print): Handle printer-name.
9431
9432 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
9433 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
9434 (rmail-epa-decrypt): Turn off mime processing.
9435
9436 * mail/rmail.el (rmail-make-in-reply-to-field):
9437 Add parens in message-id.
9438
9439 * mail/rmail.el (rmail-get-coding-function): Variable.
9440 (rmail-get-coding-system): Use it.
9441
9442 2013-12-31 Eli Zaretskii <eliz@gnu.org>
9443
9444 * international/mule-conf.el: Unify the charset indian-is13194.
9445 (indian-is13194): Specify unify-map.
9446
9447 2013-12-31 Leo Liu <sdl.web@gmail.com>
9448
9449 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
9450
9451 2013-12-30 Daniel Colascione <dancol@dancol.org>
9452
9453 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
9454 of printing a useless when we resume from sleep.
9455
9456 * progmodes/sh-script.el
9457 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
9458 in indentation code. (Bug#16233)
9459
9460 2013-12-28 João Távora <joaotavora@gmail.com>
9461
9462 * elec-pair.el (electric-pair-post-self-insert-function):
9463 Don't open extra newlines at beginning of buffer. (Bug#16272)
9464
9465 2013-12-28 Eli Zaretskii <eliz@gnu.org>
9466
9467 * frame.el (window-system-for-display): Don't allow to create a
9468 GUI frame from a -nw session on MS-Windows. (Bug#14739)
9469
9470 2013-12-28 Glenn Morris <rgm@gnu.org>
9471
9472 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
9473 Update callers.
9474
9475 * apropos.el (apropos-match-face):
9476 * calculator.el (calculator-displayer):
9477 * dabbrev.el (dabbrev-search-these-buffers-only):
9478 * face-remap.el (buffer-face-mode-face):
9479 * simple.el (yank-handled-properties):
9480 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
9481 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
9482 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
9483 (hashcash-double-spend-database):
9484 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
9485 (ruby-deep-indent-paren-style):
9486 * textmodes/flyspell.el (flyspell-auto-correct-binding):
9487 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
9488 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
9489 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
9490 Specify custom types.
9491
9492 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
9493 * bookmark.el (bookmark-bmenu-use-header-line):
9494 * doc-view.el (doc-view-scale-internally):
9495 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
9496 * register.el (register-preview-delay):
9497 * net/shr.el (shr-bullet):
9498 * progmodes/cfengine.el (cfengine-cf-promises)
9499 (cfengine-parameters-indent):
9500 * progmodes/octave.el (inferior-octave-error-regexp-alist):
9501 * textmodes/reftex-vars.el (reftex-label-regexps):
9502 * vc/log-edit.el (log-edit-setup-add-author): Add version.
9503
9504 * net/tls.el (tls-certtool-program): Fix default value.
9505
9506 * desktop.el (desktop-restore-in-current-display):
9507 * newcomment.el (comment-empty-lines):
9508 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
9509 (idlwave-pad-keyword):
9510 * progmodes/tcl.el (tcl-tab-always-indent):
9511 * textmodes/reftex-vars.el (reftex-index-default-tag):
9512 * elec-pair.el (electric-pair-skip-whitespace):
9513 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
9514
9515 * emacs-lisp/authors.el (authors-ignored-files)
9516 (authors-valid-file-names, authors-renamed-files-alist): Additions.
9517
9518 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
9519
9520 * shell.el (shell-dynamic-complete-command): Doc fix.
9521 (shell--command-completion-data): Shell completion now matches
9522 executable filenames from the current buffer's directory, on
9523 systems in which this behavior is the default (windows-nt, ms-dos).
9524
9525 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9526
9527 * net/shr.el (shr-insert): Don't infloop if the width is zero.
9528
9529 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
9532 (bug#16251).
9533
9534 * electric.el: Move all electric-pair-* to elec-pair.el.
9535 * elec-pair.el: New file, split from electric.el.
9536
9537 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9538
9539 * net/shr.el (shr-find-fill-point): Don't try to fill if the
9540 indentation level is larger than the width, because that will
9541 infloop.
9542 (shr-insert): Fill repeatedly long texts, so that Japanese is
9543 formatted correctly (bug#16263).
9544 (shr-find-fill-point): Off by one error in comparison with the
9545 indentation.
9546
9547 2013-12-26 João Távora <joaotavora@gmail.com>
9548
9549 * electric.el (electric-pair-mode): More flexible engine for skip-
9550 and inhibit predicates, new options for pairing-related functionality.
9551 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
9552 if that keeps or improves their balance in buffers.
9553 (electric-pair-delete-adjacent-pairs): Delete the pair when
9554 backspacing over adjacent matched delimiters.
9555 (electric-pair-open-extra-newline): Open extra newline when
9556 inserting newlines between adjacent matched delimiters.
9557 (electric--sort-post-self-insertion-hook):
9558 Sort post-self-insert-hook according to priority values when
9559 minor-modes are activated.
9560 * simple.el (newline-and-indent): Call newline with interactive
9561 set to t.
9562 (blink-paren-post-self-insert-function): Set priority to 100.
9563 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9564 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
9565 comments. Locally set electric-pair-skip-whitespace to 'chomp and
9566 electric-pair-open-newline-between-pairs to nil.
9567
9568 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
9569
9570 * progmodes/python.el: Use lexical-binding.
9571 (python-nav-beginning-of-defun): Stop searching ASAP.
9572
9573 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
9574
9575 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
9576 Fix interactive spec. Doc fix. (Bug#15754)
9577
9578 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
9579
9580 * emacs-lisp/byte-run.el (eval-when-compile):
9581 * progmodes/cc-defs.el (cc-eval-when-compile):
9582 Fix edebug spec (bug#16184).
9583
9584 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9585
9586 * net/shr.el (shr-visit-file): Remove debugging function.
9587 (shr-insert): Don't infloop if we can't find a good place to break
9588 the line (bug#16256).
9589
9590 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
9591
9592 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
9593 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
9594 python-nav-lisp-forward-sexp-safe.
9595 (python-nav--forward-sexp): New argument SAFE allows switching
9596 forward sexp movement behavior for parens.
9597 (python-nav-forward-sexp): Throw errors on unterminated parens
9598 (Bug#16191).
9599 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
9600 (python-nav-backward-sexp-safe): New functions.
9601 (python-shell-buffer-substring):
9602 Use `python-nav-forward-sexp-safe'.
9603
9604 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9605
9606 * net/shr.el (shr-find-fill-point): Don't break lines before a
9607 quotation mark.
9608 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
9609 (shr-find-fill-point): Remove the special checks for the quotation
9610 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
9611
9612 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9613
9614 * net/eww.el (eww-form-textarea): Use a different face for
9615 textareas than text input since they have different keymaps
9616 (bug#16142).
9617
9618 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
9619
9620 * progmodes/python.el (python-nav-beginning-of-statement):
9621 Speed up (Bug#15295).
9622
9623 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9624
9625 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
9626 the window configuration.
9627
9628 2013-12-24 Eli Zaretskii <eliz@gnu.org>
9629
9630 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
9631 we run on MS-Windows or MS-DOS.
9632
9633 2013-12-24 Martin Rudalics <rudalics@gmx.at>
9634
9635 * window.el (balance-windows-area): Call window-size instead of
9636 window-height and window-width. Bug#16241.
9637
9638 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9639
9640 * net/eww.el (eww-bookmark-quit): Remove.
9641 (eww-bookmark-browse): Restore the window configuration when you
9642 choose a bookmark (bug#16144).
9643
9644 2013-12-24 Daniel Colascione <dancol@dancol.org>
9645
9646 * icomplete.el: Remove redundant :group arguments to `defcustom'
9647 throughout.
9648 (icomplete-show-matches-on-no-input): New customizable variable.
9649 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
9650 we have something to show.
9651 (icomplete-exhibit): Compute completions even if we have no user input.
9652
9653 2013-12-23 Daniel Colascione <dancol@dancol.org>
9654
9655 * icomplete.el: Move `provide' to end of file.
9656
9657 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
9658
9659 * net/gnutls.el (gnutls-verify-error): Add version tag.
9660
9661 2013-12-23 Chong Yidong <cyd@gnu.org>
9662
9663 * subr.el (set-transient-map): Rename from
9664 set-temporary-overlay-map. Doc fix.
9665
9666 * face-remap.el (text-scale-adjust):
9667 * indent.el (indent-rigidly):
9668 * kmacro.el (kmacro-call-macro):
9669 * minibuffer.el (minibuffer-force-complete):
9670 * repeat.el (repeat):
9671 * simple.el (universal-argument--mode):
9672 * calendar/todo-mode.el (todo-insert-item--next-param):
9673 * progmodes/f90.el (f90-abbrev-start): Callers changed.
9674
9675 * indent.el (indent-rigidly): Use substitute-command-keys.
9676
9677 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9678
9679 * net/eww.el (eww-tag-select): Add text-property to jump to next
9680 select field.
9681 (eww): Add non-supported ftp error.
9682
9683 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9684
9685 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
9686 comments. Handle electric indent after typing `?' and `!'.
9687
9688 2013-12-22 Chong Yidong <cyd@gnu.org>
9689
9690 * faces.el (face-spec-recalc): If the theme specs are not
9691 applicable to a frame, fall back on the defface spec.
9692 This prevents themes from obliterating faces on low-color terminals.
9693
9694 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9695
9696 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
9697 after `{'. We need it after block openers, and it doesn't seem
9698 to hurt after hash openers.
9699
9700 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9701
9702 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
9703 extracted from `ruby-smie-rules'.
9704 (ruby--electric-indent-chars): New variable.
9705 (ruby--electric-indent-p): New function.
9706 (ruby-mode): Use `electric-indent-functions' instead of
9707 `electric-indent-chars'.
9708
9709 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9710
9711 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
9712 docstring.
9713 (ruby-smie-rules): Indent plus one level after `=>'.
9714
9715 2013-12-21 Richard Stallman <rms@gnu.org>
9716
9717 * simple.el (newline): Doc fix.
9718
9719 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9720
9721 * net/eww.el (eww-list-histories, eww-list-histories)
9722 (eww-history-browse, eww-history-quit, eww-history-kill)
9723 (eww-history-mode-map, eww-history-mode): New command and
9724 functions to list browser histories.
9725 (eww-form-text): Support text form with disabled
9726 and readonly attributes.
9727 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
9728
9729 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9730
9731 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
9732 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
9733 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
9734 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
9735 Use `user-error'.
9736 (eww-bookmark-mode-map): Add menu.
9737 (eww-render, eww-mode): Use `setq-local'.
9738 (eww-tool-bar-map): New variable.
9739 (eww-mode): Set `tool-bar-map'.
9740 (eww-view-source): Check for `html-mode' with `fboundp'.
9741
9742 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9743
9744 * net/shr.el (shr--extract-best-source): Don't bug out on audio
9745 elements with text inside. Also remove debugging.
9746
9747 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
9748
9749 * cus-start.el (all): Add ns-use-srgb-colorspace.
9750
9751 2013-12-21 Chong Yidong <cyd@gnu.org>
9752
9753 * custom.el (custom-theme-recalc-face): Do nothing if the face is
9754 undefined. Thus, theme settings for undefined faces do not take
9755 effect until the faces are defined with defface, the same as with
9756 theme variables.
9757
9758 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
9759 (face-spec-reset-face): Don't assign extra properties in temacs.
9760 (face-spec-recalc): Apply X resources too.
9761
9762 2013-12-21 Chong Yidong <cyd@gnu.org>
9763
9764 * faces.el (face-spec-set):
9765 * cus-face.el (custom-theme-set-faces, custom-set-faces):
9766 * custom.el (defface): Doc fixes (Bug#16203).
9767
9768 * indent.el (indent-rigidly-map): Add docstring, and move commands
9769 into named functions.
9770 (indent-rigidly-left, indent-rigidly-right)
9771 (indent-rigidly-left-to-tab-stop)
9772 (indent-rigidly-right-to-tab-stop): New functions. Decide on
9773 indentation direction based on bidi direction, and accumulate
9774 sequential commands in a single undo boundary.
9775 (indent-rigidly--pop-undo): New utility function.
9776
9777 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
9778
9779 * faces.el (read-face-name): Require crm.el when using crm-separator.
9780
9781 2013-12-20 Daniel Colascione <dancol@dancol.org>
9782
9783 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
9784 so that we don't reflow comments into the shebang line.
9785
9786 2013-12-20 Juri Linkov <juri@jurta.org>
9787
9788 * saveplace.el (save-place-to-alist): Add `dired-filename' as
9789 a position when `dired-directory' is non-nil. Check integer
9790 positions with `integerp'.
9791 (toggle-save-place, save-places-to-alist): Add check for
9792 `dired-directory'.
9793 (save-place-find-file-hook): Check integer positions with
9794 `integerp'.
9795 (save-place-dired-hook): Use `dired-goto-file' when
9796 `dired-filename' is found in the assoc list. Check integer
9797 positions with `integerp'.
9798 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
9799
9800 * dired.el (dired-initial-position-hook): Rename back from
9801 `dired-initial-point-hook'.
9802 (dired-initial-position): Rename `dired-initial-point-hook' to
9803 `dired-initial-position-hook'.
9804 (dired-file-name-at-point): Doc fix. (Bug#15329)
9805
9806 2013-12-20 Juri Linkov <juri@jurta.org>
9807
9808 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
9809 (read-regexp-suggestions): New function.
9810 (read-regexp): Use `read-regexp-defaults-function' to get default values.
9811 Use `read-regexp-suggestions'. Add non-empty default to history
9812 for empty input.
9813 (occur-read-regexp-defaults-function): Remove function.
9814 (occur-read-primary-args): Use `regexp-history-last' instead of
9815 `occur-read-regexp-defaults-function'.
9816
9817 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
9818 (hi-lock-line-face-buffer, hi-lock-face-buffer)
9819 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
9820 `hi-lock-read-regexp-defaults-function'. Doc fix.
9821 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
9822 with `find-tag-default-as-symbol-regexp'. Doc fix.
9823 (hi-lock-read-regexp-defaults): Remove function.
9824 (hi-lock-regexp-okay): Add check for null.
9825
9826 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
9827 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
9828
9829 * subr.el (find-tag-default-as-symbol-regexp): New function.
9830 (find-tag-default-as-regexp): Move symbol regexp formatting to
9831 `find-tag-default-as-symbol-regexp'.
9832
9833 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
9834
9835 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
9836 (Bug#14179)
9837
9838 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
9839
9840 * calendar/todo-mode.el: New implementation of item insertion
9841 commands and key bindings.
9842 (todo-key-prompt): New face.
9843 (todo-insert-item): New command.
9844 (todo-insert-item--parameters): New defconst, replacing defvar
9845 todo-insertion-commands-args-genlist.
9846 (todo-insert-item--param-key-alist): New defconst, replacing
9847 defvar todo-insertion-commands-arg-key-list.
9848 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
9849 (todo-insert-item--argsleft, todo-insert-item--apply-args)
9850 (todo-insert-item--next-param): New functions.
9851 (todo-insert-item--args, todo-insert-item--argleft)
9852 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
9853 New variables.
9854 (todo-key-bindings-t): Change binding of "i" from
9855 todo-insertion-map to todo-insert-item.
9856 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
9857 (todo-insertion-command-name, todo-insertion-commands-names)
9858 (todo-define-insertion-command, todo-insertion-commands)
9859 (todo-insertion-key-bindings, todo-insertion-map): Remove.
9860
9861 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
9862
9863 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
9864 (todo-toggle-item-highlighting): Use eval-and-compile instead of
9865 eval-when-compile.
9866 (todo-move-category): Allow choosing a non-existing todo file to
9867 move the category to, and create that file.
9868 (todo-default-priority): New user option.
9869 (todo-set-item-priority): Use it.
9870 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
9871 (desktop-restore-file-buffer): Declare.
9872 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
9873 (todo-modes-set-2): Locally set desktop-save-buffer to
9874 todo-desktop-save-buffer.
9875 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
9876 (auto-mode-alist): Add autoload cookie.
9877
9878 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
9879
9880 * emacs-lisp/subr-x.el: Renamed from helpers.el.
9881 helpers.el was a poor choice of name.
9882 (string-remove-prefix): New function.
9883 (string-remove-suffix): New function.
9884
9885 2013-12-20 Martin Rudalics <rudalics@gmx.at>
9886
9887 Fix assignment for new window total sizes.
9888 * window.el (window--pixel-to-size): Remove function.
9889 (window--pixel-to-total-1, window--pixel-to-total):
9890 Fix calculation of new total sizes.
9891
9892 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
9893
9894 * comint.el (comint-output-filter): Fix rear-nonsticky property
9895 placement (Bug#16010).
9896
9897 2013-12-20 Chong Yidong <cyd@gnu.org>
9898
9899 * faces.el (read-color): Minor fix for completion function.
9900
9901 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
9902
9903 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
9904 New option. (Bug#16182)
9905 (ruby-smie--indent-to-stmt-p): Use it.
9906 (ruby-smie-rules): Revert the logic in the handling of `when'.
9907 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
9908 (ruby-deep-arglist, ruby-deep-indent-paren)
9909 (ruby-deep-indent-paren-style): Update docstrings to note that the
9910 vars don't have any effect with SMIE.
9911
9912 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
9913
9914 * calc/calc.el (calc-enter, calc-pop): Use the variable
9915 `calc-context-sensitive-enter'.
9916
9917 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9918
9919 * net/shr.el (shr-insert): Protect against infloops in degenerate
9920 tables.
9921
9922 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9923
9924 * progmodes/octave.el (octave): Add link to manual and octave
9925 homepage.
9926 (octave-mode-menu): Link to octave-mode manual.
9927
9928 2013-12-20 Leo Liu <sdl.web@gmail.com>
9929
9930 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
9931 insertion using skeleton-end-newline. (Bug#16138)
9932
9933 2013-12-20 Juri Linkov <juri@jurta.org>
9934
9935 * replace.el (occur-engine): Use `add-face-text-property'
9936 to add the face property to matches and titles. (Bug#14645)
9937
9938 * hi-lock.el (hi-green): Use lighter color "light green" closer to
9939 the palette of other hi-lock colors.
9940 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
9941
9942 2013-12-19 Juri Linkov <juri@jurta.org>
9943
9944 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
9945 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
9946 (minibuffer-history-symbol): Move variable declaration closer to
9947 its usage.
9948
9949 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
9950 (Bug#14785)
9951
9952 2013-12-19 Juri Linkov <juri@jurta.org>
9953
9954 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
9955 New function.
9956 (log-edit-hook): Add it to :options. (Bug#16170)
9957
9958 2013-12-19 Juri Linkov <juri@jurta.org>
9959
9960 * simple.el (eval-expression-print-format): Don't check for
9961 command names and the last command. Always display additional
9962 formats of the integer result in the echo area, and insert them
9963 to the current buffer only with a zero prefix arg.
9964 Display character when char-displayable-p is non-nil.
9965 (eval-expression): With a zero prefix arg, set `print-length' and
9966 `print-level' to nil, and insert the integer values from
9967 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
9968
9969 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
9970 `eval-last-sexp-arg-internal'. Doc fix.
9971 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
9972 `eval-last-sexp-print-value'. Doc fix.
9973 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
9974 Set `print-length' and `print-level' to nil when arg is zero.
9975 (eval-last-sexp): Doc fix.
9976 (eval-defun-2): Print the integer values from
9977 `eval-expression-print-format' at the end.
9978
9979 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
9980 values from `eval-expression-print-format' at the end.
9981
9982 * ielm.el (ielm-eval-input): Print the integer
9983 values from `eval-expression-print-format' at the end.
9984
9985 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
9986
9987 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
9988 2013-12-11T19:01:44Z!tzz@lifelogs.com.
9989
9990 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
9991
9992 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
9993 (hl-line-highlight, global-hl-line-highlight): Use it.
9994 (hl-line-overlay): Use defvar-local.
9995
9996 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
9997
9998 * term/ns-win.el: Require dnd.
9999 (global-map): Remove drag items.
10000 (ns-insert-text, ns-set-foreground-at-mouse)
10001 (ns-set-background-at-mouse):
10002 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
10003 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
10004 New functions.
10005
10006 2013-12-19 Glenn Morris <rgm@gnu.org>
10007
10008 * emacs-lisp/ert.el (ert-select-tests):
10009 Fix string/symbol mixup. (Bug#16121)
10010
10011 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
10012
10013 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
10014 keywords to their parent.
10015
10016 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
10017
10018 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
10019 first arg to be a string (fixed dead code), or an operator symbol.
10020 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
10021 operator symbols.
10022 (ruby-smie-rules): Remove parent token check in the `.' clause, it
10023 did nothing. Don't respond to `(:after ".")', it will be called
10024 with :before anyway. Remove the ` @ ' rule, it didn't seem to
10025 change anything. Only return indentation for binary operators
10026 when they are hanging. De-dent opening paren when its parent is
10027 `.', otherwise it looks bad when the dot is not at bol or eol
10028 (bug#16182).
10029
10030 2013-12-19 Juri Linkov <juri@jurta.org>
10031
10032 * replace.el (query-replace-read-args): Split a non-negative arg
10033 and a negative arg into separate elements.
10034 (query-replace, query-replace-regexp, replace-string)
10035 (replace-regexp): Add arg `backward'. Doc fix.
10036 (replace-match-maybe-edit): When new arg `backward' is non-nil,
10037 move point to the beginning of the match.
10038 (replace-search, replace-highlight): Use new arg `backward'
10039 to set the value of `isearch-forward'.
10040 (perform-replace): Add arg `backward' and use it to perform
10041 replacement backward. (Bug#14979)
10042
10043 * isearch.el (isearch-query-replace): Use a negative prefix arg
10044 to call `perform-replace' with a non-nil arg `backward'.
10045
10046 2013-12-18 Juri Linkov <juri@jurta.org>
10047
10048 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
10049 to the default list. Move `log-edit-show-files' to the end.
10050 Add more available functions to options.
10051 (log-edit): Move default specific settings to
10052 `log-edit-insert-message-template'. Don't move point.
10053 (log-edit-insert-message-template): New function.
10054 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
10055 (Bug#16170)
10056
10057 2013-12-18 Juri Linkov <juri@jurta.org>
10058
10059 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
10060 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
10061
10062 2013-12-18 Leo Liu <sdl.web@gmail.com>
10063
10064 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
10065 (Bug#16186)
10066
10067 2013-12-18 Eli Zaretskii <eliz@gnu.org>
10068
10069 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
10070 formats for displaying file sizes when the -s switch is given.
10071 Instead, compute a separate format for displaying the size in
10072 blocks, which is displayed in addition to the "regular" size.
10073 When -h is given in addition to -s, produce size in blocks in
10074 human-readable form as well. (Bug#16179)
10075
10076 2013-12-18 Tassilo Horn <tsdh@gnu.org>
10077
10078 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10079 Reference tables with ~\ref{...} instead of only \ref{...}.
10080
10081 2013-12-18 Chong Yidong <cyd@gnu.org>
10082
10083 * cus-edit.el (custom-magic-alist): Fix "themed" description
10084 (Bug#14348).
10085
10086 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
10087 is non-nil, do not create a new entry in the symbol's theme-value
10088 or theme-face property; update theme-settings only (Bug#14664).
10089 (custom-available-themes): Doc fix.
10090
10091 * cus-theme.el (custom-new-theme-mode-map): Add bindings
10092 (Bug#15674).
10093
10094 * replace.el (occur-engine): Avoid infloop (Bug#7593).
10095
10096 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
10097
10098 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
10099 (Bug#13914).
10100
10101 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
10102
10103 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
10104
10105 2013-12-18 Glenn Morris <rgm@gnu.org>
10106
10107 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
10108 * cus-start.el (load-prefer-newer): New option.
10109
10110 2013-12-18 Le Wang <l26wang@gmail.com>
10111
10112 * comint.el (comint-previous-matching-input-from-input):
10113 Retain point (Bug#13404).
10114
10115 2013-12-18 Chong Yidong <cyd@gnu.org>
10116
10117 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
10118
10119 2013-12-18 Glenn Morris <rgm@gnu.org>
10120
10121 * mail/emacsbug.el (report-emacs-bug):
10122 Only mention enable-multibyte-characters if non-standard.
10123
10124 2013-12-17 Juri Linkov <juri@jurta.org>
10125
10126 * arc-mode.el (archive-extract-by-file): Check if directory exists
10127 before deletion to not show irrelevant errors if it doesn't exist.
10128
10129 2013-12-17 Juri Linkov <juri@jurta.org>
10130
10131 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
10132 (Bug#14751)
10133
10134 * net/eww.el (browse-web): Add alias to `eww'.
10135 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
10136 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
10137
10138 * net/browse-url.el (browse-url-browser-function): Move `eww'
10139 closer to similar functions.
10140
10141 * startup.el (fancy-startup-screen, fancy-about-screen):
10142 Set browse-url-browser-function to eww-browse-url locally.
10143 (Bug#14751)
10144
10145 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * window.el (window--pixel-to-total): Remove unused `mini' var.
10148 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
10149 (split-window): Remove unused `new' var.
10150 (window--display-buffer): Remove unused `frame' and `delta' vars.
10151 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
10152 and display-width'.
10153
10154 2013-12-17 Martin Rudalics <rudalics@gmx.at>
10155
10156 * dired.el (dired-mark-pop-up):
10157 * register.el (register-preview): Don't bind
10158 split-height-threshold here since it's now done in
10159 display-buffer-below-selected.
10160
10161 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
10162
10163 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
10164 xterm-rgb-convert-to-16bit.
10165 (rxvt-register-default-colors): Standardize with
10166 xterm-register-default-colors (Bug#14078).
10167
10168 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
10169
10170 * simple.el (kill-region): Pass mark first, then point, so that
10171 kill-append works right (Bug#12819).
10172 (copy-region-as-kill, kill-ring-save): Likewise.
10173
10174 2013-12-17 Leo Liu <sdl.web@gmail.com>
10175
10176 * net/rcirc.el (rcirc-add-face):
10177 * eshell/em-prompt.el (eshell-emit-prompt):
10178 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
10179 (Bug#16167)
10180
10181 2013-12-17 Chong Yidong <cyd@gnu.org>
10182
10183 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
10184 Suggested by Xue Fuqiao.
10185
10186 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
10187
10188 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
10189
10190 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * net/shr.el (shr-insert-document): Remove unused var
10193 `shr-preliminary-table-render'.
10194 (shr-rescale-image): Remove unused arg `force'.
10195 (shr-put-image): Update calls accordingly.
10196 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
10197
10198 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
10199
10200 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
10201 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
10202 :close-all, to see which indentation method to use (Bug#16116).
10203 (smie-rules-function): Document the method :close-all.
10204
10205 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10206
10207 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
10208
10209 * net/eww.el (eww-display-html): If we can't find the anchor we're
10210 looking for, then go to point-min.
10211
10212 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
10213
10214 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
10215 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
10216 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
10217 Expand dir too, in case it's relative.
10218
10219 2013-12-16 Juri Linkov <juri@jurta.org>
10220
10221 * desktop.el (desktop-auto-save-timeout): Change default to
10222 `auto-save-timeout'. Doc fix.
10223 (desktop-save): Skip the timestamp in desktop-saved-frameset
10224 when checking for auto-save changes.
10225 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
10226 `desktop-auto-save' is called repeatedly by the idle timer.
10227 (desktop-auto-save-set-timer): Replace `run-with-timer' with
10228 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
10229 (Bug#15331)
10230
10231 2013-12-16 Juri Linkov <juri@jurta.org>
10232
10233 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
10234 (Bug#16035)
10235 (isearch-pre-command-hook): Check `this-command' for symbolp.
10236
10237 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10238
10239 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
10240
10241 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
10242
10243 * progmodes/cfengine.el (cfengine3--current-word): Remove.
10244 (cfengine3--current-function): Bring in the current-function
10245 functionality from `cfengine3--current-word'.
10246 (cfengine3-completion-function): Bring in the
10247 bounds-of-current-word functionality from
10248 `cfengine3--current-word'.
10249
10250 2013-12-16 Martin Rudalics <rudalics@gmx.at>
10251
10252 * window.el (display-buffer-below-selected):
10253 Bind split-height-threshold to 0 as suggested by Juri Linkov.
10254
10255 2013-12-16 Leo Liu <sdl.web@gmail.com>
10256
10257 * progmodes/compile.el (compile-goto-error): Do not push-mark.
10258 Remove NOMSG arg and all uses changed.
10259
10260 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10261
10262 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
10263 (cua--deactivate-rectangle): Don't deactivate the mark.
10264 (cua-set-rectangle-mark): Don't set mark-active since
10265 cua--activate-rectangle already does it for us.
10266 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
10267 non-rectangular region.
10268
10269 * emulation/cua-base.el (cua-repeat-replace-region):
10270 Use with-current-buffer.
10271
10272 * net/gnutls.el: Use cl-lib.
10273 (gnutls-negotiate): `mapcan' -> cl-mapcan.
10274
10275 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10276
10277 * emacs-lisp/package.el (package-built-in-p): Support both
10278 built-in and the package.el converted package descriptions.
10279 (package-show-package-list): Allow keywords.
10280 (package-keyword-button-action): Use it instead of
10281 `finder-list-matches'.
10282 (package-menu-filter-interactive): Interactive filtering (by
10283 keyword) function.
10284 (package-menu--generate): Support keywords and change keymappings
10285 and headers when they are given.
10286 (package--has-keyword-p): Helper function.
10287 (package-menu--refresh): Use it.
10288 (package--mapc): Helper function.
10289 (package-all-keywords): Use it.
10290 (package-menu-mode-map): Set up menu items and keybindings to
10291 provide a filtering UI.
10292
10293 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10294
10295 * net/gnutls.el (gnutls-verify-error): New defcustom to control
10296 the behavior when a certificate fails validation. Defaults to
10297 old behavior: never abort, just warn.
10298 (gnutls-negotiate): Use it.
10299
10300 2013-12-14 Martin Rudalics <rudalics@gmx.at>
10301
10302 * window.el (display-buffer-below-selected): Never split window
10303 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
10304
10305 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
10306
10307 * emacs-lisp/package.el (package--prepare-dependencies): New function.
10308 (package-buffer-info): Use it (bug#15108).
10309
10310 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * icomplete.el (icomplete-completions): Make sure the prefix is already
10313 displayed elsewhere before hiding it (bug#16219).
10314
10315 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
10316
10317 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
10318 open-paren tokens when preceded by a open-paren, too.
10319 (ruby-smie-rules): Handle virtual indentation after open-paren
10320 tokens specially. If there is code between it and eol, return the
10321 column where is starts (Bug#16118).
10322
10323 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10324
10325 * progmodes/cfengine.el: Fix `add-hook' doc.
10326 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
10327 (cfengine3--current-word): Fix parameters.
10328 (cfengine3-make-syntax-cache): Simplify further.
10329 (cfengine3-completion-function, cfengine3--current-function):
10330 Use `assq' for symbols.
10331 (cfengine3--current-function): Fix `cfengine3--current-word' call.
10332
10333 2013-12-13 Glenn Morris <rgm@gnu.org>
10334
10335 * loadup.el (load-path): Warn if site-load or site-init changes it.
10336 No more need to reset it when bootstrapping.
10337
10338 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10339
10340 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
10341 locations for cf-promises.
10342 (cfengine-mode-syntax-functions-regex): New caching variable.
10343 (cfengine3-fallback-syntax): Fallback syntax for cases where
10344 cf-promises doesn't run.
10345 (cfengine3--current-word): Reimplement using
10346 `cfengine-mode-syntax-functions-regex'.
10347 (cfengine3-completion-function, cfengine3--current-function):
10348 Use `cfengine3-make-syntax-cache' directly.
10349 (cfengine3-clear-syntax-cache): New function.
10350 (cfengine3-make-syntax-cache): Simplify and create
10351 `cfengine-mode-syntax-functions-regex' on demand.
10352 (cfengine3-format-function-docstring): Don't call
10353 `cfengine3-make-syntax-cache' explicitly.
10354
10355 2013-12-13 Martin Rudalics <rudalics@gmx.at>
10356
10357 Fix windmove-find-other-window broken after pixelwise resizing
10358 (Bug#16017).
10359 * windmove.el (windmove-other-window-loc): Revert change from
10360 2013-12-04.
10361 (windmove-find-other-window): Call window-in-direction.
10362 * window.el (window-in-direction): New arguments SIGN, WRAP and
10363 MINI to emulate original windmove-find-other-window behavior.
10364
10365 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
10366
10367 * simple.el (blink-matching--overlay): New variable.
10368 (blink-matching-open): Instead of moving point, highlight the
10369 matching paren with an overlay
10370 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
10371
10372 * faces.el (paren-showing-faces, show-paren-match)
10373 (show-paren-mismatch): Move from paren.el.
10374
10375 2013-12-13 Leo Liu <sdl.web@gmail.com>
10376
10377 * indent.el (indent-region): Disable progress reporter in
10378 minibuffer. (Bug#16108)
10379
10380 * bindings.el (visual-order-cursor-movement): Fix version.
10381
10382 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10383
10384 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
10385 Also match after beginning of line.
10386 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
10387 files. Thanks to Russell Sim. (Bug#15378)
10388
10389 2013-12-13 Juri Linkov <juri@jurta.org>
10390
10391 * simple.el <Keypad support>: Remove key bindings duplicated
10392 with bindings.el. (Bug#14397)
10393
10394 2013-12-13 Juri Linkov <juri@jurta.org>
10395
10396 * comint.el (comint-mode-map): Replace `delete-char' with
10397 `delete-forward-char'. (Bug#16109)
10398
10399 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10400
10401 * progmodes/python.el (python-indent-calculate-indentation):
10402 Fix de-denters cornercase. (Bug#15731)
10403
10404 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
10407 (advice--make): Pay attention to `depth'.
10408 (advice--make-1): Don't autoload commands eagerly.
10409 * emacs-lisp/elp.el (elp-instrument-function):
10410 * emacs-lisp/trace.el (trace-function-internal):
10411 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
10412
10413 * iswitchb.el (iswitchb-mode): Don't belittle ido.
10414
10415 2013-12-12 Eli Zaretskii <eliz@gnu.org>
10416
10417 * term/w32-win.el (w32-handle-dropped-file):
10418 * startup.el (normal-top-level):
10419 * net/browse-url.el (browse-url-file-url):
10420 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
10421 decode file names using 'utf-8' rather than
10422 file-name-coding-system.
10423
10424 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10425
10426 * progmodes/python.el (python-indent-context)
10427 (python-indent-calculate-indentation): Fix auto-identation
10428 behavior for comment blocks. (Bug#15916)
10429
10430 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
10431
10432 * progmodes/python.el (python-indent-calculate-indentation):
10433 When determining indentation, don't treat "return", "pass", etc., as
10434 operators when they are just string constituents. (Bug#15812)
10435
10436 2013-12-12 Juri Linkov <juri@jurta.org>
10437
10438 * uniquify.el (uniquify-buffer-name-style): Change default to
10439 `post-forward-angle-brackets'.
10440
10441 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
10442 `uniquify'. Change default to `post-forward-angle-brackets'.
10443
10444 2013-12-11 Glenn Morris <rgm@gnu.org>
10445
10446 * emacs-lisp/package.el (finder-list-matches):
10447 Autoload rather than falsely declaring.
10448
10449 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
10450
10451 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
10452 (eww-mode-map): Use them.
10453
10454 2013-12-11 Martin Rudalics <rudalics@gmx.at>
10455
10456 * window.el (display-buffer-in-side-window): Fix doc-string
10457 (Bug#16115).
10458
10459 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
10460
10461 * vc/vc-git.el: Silence byte-compiler warnings.
10462 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
10463 (log-edit-set-header): Declare.
10464
10465 2013-12-11 Eli Zaretskii <eliz@gnu.org>
10466
10467 * Makefile.in (custom-deps, finder-data): Run output file names
10468 through unmsys--file-name. (Bug#16099)
10469
10470 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
10473 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
10474
10475 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
10476 instead of deleting the selection "by hand" (bug#16098).
10477 Rely on insert-for-yank to yank rectangles.
10478 (cua-highlight-region-shift-only): Mark obsolete.
10479 (cua-mode): Don't enable/disable transient-mark-mode,
10480 shift-select-mode (cua-mode works both with and without them), and
10481 pc-selection-mode (obsolete).
10482 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
10483 (cua--deactivate-rectangle): Deactivate it.
10484
10485 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
10486 (delete-selection-helper): Make sure yank starts at the top of the
10487 deleted region.
10488 (minibuffer-keyboard-quit): Use region-active-p.
10489
10490 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
10491
10492 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
10493 to `delete' (bug#16109).
10494
10495 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10496
10497 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
10498 info manual and show keybindings and set `:group' keyword.
10499
10500 2013-12-11 Juri Linkov <juri@jurta.org>
10501
10502 * delsel.el (delete-active-region): Let-bind `this-command'
10503 to prevent `kill-region' from changing its original value.
10504 (delete-selection-helper): Handle `overwrite-mode' for the type
10505 `kill' exactly the same way as for the type `t'.
10506 (insert-char, quoted-insert, reindent-then-newline-and-indent):
10507 Support more commands. (Bug#13312)
10508
10509 2013-12-11 Juri Linkov <juri@jurta.org>
10510
10511 * bindings.el: Map kp keys to non-kp keys systematically
10512 with basic modifiers control, meta and shift. (Bug#14397)
10513
10514 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10515
10516 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
10517 "Close browser" menu items. Fix wrong function of "List
10518 bookmarks".
10519
10520 2013-12-11 Juri Linkov <juri@jurta.org>
10521
10522 * misearch.el (multi-isearch-buffers): Set the value of
10523 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10524 arg of isearch-forward to t.
10525 (multi-isearch-buffers-regexp): Set the value of
10526 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10527 arg of isearch-forward-regexp to t.
10528 (multi-isearch-files): Set the value of
10529 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10530 arg of isearch-forward to t.
10531 (multi-isearch-files-regexp): Set the value of
10532 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10533 arg of isearch-forward-regexp to t. (Bug#16035)
10534
10535 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
10536 arg of isearch-forward to t.
10537 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
10538 arg of isearch-forward-regexp to t.
10539 (dired-isearch-filter-filenames): Remove unnecessary check for
10540 `dired-isearch-filenames'.
10541
10542 * comint.el (comint-history-isearch-backward):
10543 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
10544 (comint-history-isearch-backward-regexp):
10545 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
10546
10547 2013-12-10 Eli Zaretskii <eliz@gnu.org>
10548
10549 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
10550 unmsys--file-name. (Bug#16099)
10551
10552 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
10553
10554 * emacs-lisp/package.el (package-keyword-button-action):
10555 Remove finder.el require dependency.
10556
10557 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
10558
10559 * emacs-lisp/package.el: Require finder.el.
10560 (describe-package-1): Add keyword buttons.
10561 (package-make-button): New convenience function.
10562 (package-keyword-button-action): Keyword button action using
10563 `finder-list-matches'.
10564
10565 2013-12-09 Eli Zaretskii <eliz@gnu.org>
10566
10567 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
10568 last commit.
10569
10570 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
10571
10572 * autorevert.el (auto-revert-notify-add-watch): Do not handle
10573 symlinked files.
10574
10575 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10576
10577 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
10578 after the end of a percent literal.
10579
10580 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
10581
10582 * progmodes/ruby-mode.el (ruby-forward-string): Document.
10583 Handle caret-delimited strings (Bug#16079).
10584
10585 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10586
10587 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
10588 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
10589 `ruby-parse-partial' (Bug#16078).
10590
10591 2013-12-09 Leo Liu <sdl.web@gmail.com>
10592
10593 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
10594
10595 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
10596
10597 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
10598 (js-switch-indent-offset): New option.
10599 (js--proper-indentation): Use it. And handle the case when
10600 "default" is actually a key in an object literal.
10601 (js--same-line): New function.
10602 (js--multi-line-declaration-indentation): Use it.
10603 (js--indent-in-array-comp, js--array-comp-indentation):
10604 New functions.
10605 (js--proper-indentation): Use them, to handle array comprehension
10606 continuations.
10607
10608 2013-12-08 Leo Liu <sdl.web@gmail.com>
10609
10610 * progmodes/flymake.el (flymake-highlight-line): Re-write.
10611 (flymake-make-overlay): Remove arg MOUSE-FACE.
10612 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
10613
10614 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10615
10616 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
10617 New function.
10618 (redisplay-highlight-region-function): Use it.
10619
10620 * emulation/cua-base.el (cua--explicit-region-start)
10621 (cua--last-region-shifted): Remove.
10622 (cua--deactivate): Use deactivate-mark.
10623 (cua--pre-command-handler-1): Don't handle shift-selection.
10624 (cua--post-command-handler-1): Don't change transient-mark-mode.
10625 (cua--select-keymaps): Use region-active-p rather than
10626 cua--explicit-region-start or cua--last-region-shifted.
10627 (cua-mode): Enable shift-select-mode.
10628
10629 2013-12-08 Leo Liu <sdl.web@gmail.com>
10630
10631 * progmodes/flymake.el (flymake-popup-current-error-menu):
10632 Rename from flymake-display-err-menu-for-current-line. Reimplement.
10633 (flymake-posn-at-point-as-event, flymake-popup-menu)
10634 (flymake-make-emacs-menu): Remove. (Bug#16077)
10635
10636 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * rect.el (rectangle-mark-mode): Activate mark even if
10639 transient-mark-mode is off (bug#16066).
10640 (rectangle--highlight-for-redisplay): Fix boundary condition when point
10641 is > mark and at bolp.
10642
10643 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
10644 (region-extract-function): Use it.
10645 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
10646 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
10647 Delete functions.
10648 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
10649 kill-ring-save, kill-region, delete-char, delete-forward-char.
10650 Ignore self-insert-iso.
10651
10652 * emulation/cua-gmrk.el (cua--init-global-mark):
10653 Ignore `self-insert-iso'.
10654
10655 * emulation/cua-base.el (cua--prefix-copy-handler)
10656 (cua--prefix-cut-handler): Rely on region-extract-function rather than
10657 checking cua--rectangle.
10658 (cua-delete-region): Use region-extract-function.
10659 (cua-replace-region): Delete function.
10660 (cua-copy-region, cua-cut-region): Obey region-extract-function.
10661 (cua--pre-command-handler-1): Don't do the delete-selection thing.
10662 (cua--self-insert-char-p): Ignore `self-insert-iso'.
10663 (cua--init-keymaps): Don't remap delete-selection commands.
10664 (cua-mode): Use delete-selection-mode instead of rolling our own
10665 (bug#16085).
10666
10667 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
10668 Obey region-extract-function.
10669
10670 Make registers and delete-selection-mode work on rectangles.
10671 * register.el (describe-register-1): Don't modify the register's value.
10672 (copy-to-register): Obey region-extract-function.
10673 * delsel.el (delete-active-region): Obey region-extract-function.
10674
10675 2013-12-08 Leo Liu <sdl.web@gmail.com>
10676
10677 * progmodes/flymake.el (flymake, flymake-error-bitmap)
10678 (flymake-warning-bitmap, flymake-fringe-indicator-position)
10679 (flymake-compilation-prevents-syntax-check)
10680 (flymake-start-syntax-check-on-newline)
10681 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
10682 (flymake-start-syntax-check-on-find-file, flymake-log-level)
10683 (flymake-xml-program, flymake-master-file-dirs)
10684 (flymake-master-file-count-limit)
10685 (flymake-allowed-file-name-masks): Relocate.
10686 (flymake-makehash, flymake-float-time)
10687 (flymake-replace-regexp-in-string, flymake-split-string)
10688 (flymake-get-temp-dir): Remove.
10689 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
10690 (flymake-current-row, flymake-selected-frame)
10691 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
10692 related functions. (Bug#16077)
10693
10694 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
10695
10696 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
10697
10698 2013-12-07 Tassilo Horn <tsdh@gnu.org>
10699
10700 * help-fns.el (describe-function-1): Use new advice-* functions
10701 rather than old ad-* functions. Fix function type description and
10702 source links for advised functions and subrs.
10703
10704 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10705
10706 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
10707
10708 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
10709
10710 * progmodes/compile.el (compilation-start):
10711 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
10712
10713 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10714 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
10715
10716 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10717
10718 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10719 Touch up the last change.
10720
10721 2013-12-06 Leo Liu <sdl.web@gmail.com>
10722
10723 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
10724 (inferior-octave-startup): Always use "octave> " for prompt.
10725 (octave-goto-function-definition)
10726 (octave-sync-function-file-names)
10727 (octave-find-definition-default-filename): Remove redundant backquotes.
10728
10729 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10730
10731 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
10732 syntax for `?'.
10733 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
10734 where appropriate already.
10735 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
10736 end of method names (Bug#15874).
10737
10738 2013-12-06 Juri Linkov <juri@jurta.org>
10739
10740 * isearch.el (isearch--saved-overriding-local-map):
10741 New internal variable.
10742 (isearch-mode): Set it to the initial value of
10743 `overriding-terminal-local-map'.
10744 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
10745 with `isearch--saved-overriding-local-map'. (Bug#16035)
10746
10747 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10748
10749 * progmodes/octave.el (inferior-octave-completion-table):
10750 Turn back into function, use `completion-table-with-cache'
10751 (Bug#11906). Update all references.
10752
10753 * minibuffer.el (completion-table-with-cache): New function.
10754
10755 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
10756
10757 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
10758
10759 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
10760
10761 * net/eww.el (eww-current-source): New variable to store page
10762 source.
10763 (eww-display-html, eww-mode, eww-save-history)
10764 (eww-restore-history): Use it.
10765 (eww-view-source): New command to view page source.
10766 Opportunistically uses `html-mode' to highlight the buffer.
10767 (eww-mode-map): Install it.
10768
10769 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
10770
10771 * net/dbus.el (dbus-unregister-service)
10772 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
10773 Fix docstring.
10774 (dbus-unregister-service): Skip :serial entries in
10775 `dbus-registered-objects-table'.
10776 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
10777
10778 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
10779
10780 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
10781 around keywords with extra `split-string' argument.
10782
10783 2013-12-04 Martin Rudalics <rudalics@gmx.at>
10784
10785 * windmove.el (windmove-other-window-loc): Handle navigation
10786 between windows (excluding the minibuffer window - Bug#16017).
10787
10788 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
10789
10790 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
10791 in D-Bus type syntax.
10792 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
10793 preserve unibyte strings. (Bug#16048)
10794
10795 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10796
10797 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10798 Call force-mode-line-update is the proper buffer (bug#16042).
10799
10800 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
10801
10802 * vc/log-edit.el (log-edit-add-new-comment): Rename to
10803 `log-edit-remember-comment', make argument optional. Adjust all
10804 callers.
10805 (log-edit-mode): Add `log-edit-remember-comment' to
10806 `kill-buffer-hook' locally.
10807 (log-edit-kill-buffer): Don't remember comment explicitly since
10808 the buffer is killed anyway.
10809
10810 2013-12-04 Juri Linkov <juri@jurta.org>
10811
10812 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
10813 add-hook and remove-hook for multi-buffer search. (Bug#16035)
10814
10815 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
10816
10817 * notifications.el (notifications-close-notification): Call the
10818 D-Bus method with ID being a `:uint32'. (Bug#16030)
10819
10820 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
10821
10822 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
10823
10824 2013-12-03 Juri Linkov <juri@jurta.org>
10825
10826 * progmodes/compile.el (compilation-start): Rename window alist
10827 entry `no-display-ok' to `allow-no-window'.
10828
10829 * simple.el (shell-command): Add window alist entry
10830 `allow-no-window' to `display-buffer'.
10831 (async-shell-command): Doc fix.
10832
10833 * window.el (display-buffer-no-window): New action function.
10834 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
10835
10836 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10837
10838 * vc/log-edit.el (log-edit-set-header): Extract from
10839 `log-edit-toggle-header'.
10840 (log-edit-extract-headers): Separate the summary, when extracted
10841 from header, from the rest of the message with an empty line.
10842
10843 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
10844 line, if present, to the Summary header.
10845
10846 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10847
10848 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
10849 in current-buffer (bug#16029).
10850
10851 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
10852
10853 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
10854 (debugger-mode-map): Bind it.
10855 (debugger--backtrace-base): New function.
10856 (debugger-eval-expression): Use it.
10857 (debugger-frame-number): Skip local vars when present.
10858 (debugger--locals-visible-p, debugger--insert-locals)
10859 (debugger--show-locals, debugger--hide-locals): New functions.
10860
10861 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
10862
10863 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
10864 "LC_ALL".
10865 (tramp-get-remote-locale): New defun.
10866 (tramp-open-connection-setup-interactive-shell): Use it.
10867
10868 2013-12-02 Leo Liu <sdl.web@gmail.com>
10869
10870 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
10871
10872 * progmodes/sh-script.el (sh-shell-process):
10873 * progmodes/octave.el (inferior-octave-process-live-p):
10874 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
10875 (gdb-inferior-io-sentinel):
10876 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
10877
10878 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10879
10880 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
10881 `save-selected-window' to `log-edit-hide-buf'. This makes
10882 `log-edit-show-files' idempotent.
10883 (log-edit-show-files): Mark the new window as dedicated.
10884
10885 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10886
10887 * vc/log-edit.el (log-edit-mode-map): Add binding for
10888 `log-edit-kill-biffer'.
10889 (log-edit-hide-buf): Add a FIXME comment.
10890 (log-edit-add-new-comment): New function, extracted from
10891 `log-edit-done'.
10892 (log-edit-done, log-edit-add-to-changelog): Use it.
10893 (log-edit-kill-buffer): New command.
10894
10895 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10896
10897 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
10898 instead of killing the buffer.
10899
10900 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
10903
10904 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10905
10906 * net/eww.el (eww-form-checkbox-selected-symbol)
10907 (eww-form-checkbox-symbol): New customizable variable.
10908 (eww-form-checkbox, eww-toggle-checkbox):
10909 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
10910
10911 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
10912 (shr--get-media-pref, shr--extract-best-source): New function.
10913 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
10914 no :src tag was specified.
10915
10916 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
10917 (eww-render): Handle `eww-use-external-browser-for-content-type'.
10918 Use \\` to match beginning of string instead of ^.
10919 (eww-browse-with-external-browser): Provide optional URL parameter.
10920 (eww-render): Set `eww-current-title' back to "".
10921
10922 * net/shr.el (shr-tag-video): Display content for video if no
10923 poster is available.
10924 (shr-tag-audio): Add support for <audio> tag.
10925
10926 * net/eww.el (eww-text-input-types): New const.
10927 (eww-process-text-input): Treat input types in
10928 `eww-text-input-types' as text.
10929
10930 * net/shr.el (shr-tag-table): Fix comment typo.
10931
10932 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10933
10934 * net/eww.el (eww-follow-link): New command to avoid reloading
10935 pages when we follow #target links (bug#15243).
10936 (eww-quit): Special mode buffers shouldn't query before exiting.
10937
10938 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10939
10940 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
10941 forms.
10942
10943 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10944
10945 * net/eww.el (eww-restore-history): Update the window title after
10946 moving in the history.
10947 (eww-current-dom): New variable used to save the current DOM.
10948
10949 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
10950
10951 * vc/log-edit.el (log-edit-mode-map): Add binding for
10952 `log-edit-beginning-of-line'.
10953 (log-edit-setup-add-author): New user option.
10954 (log-edit-beginning-of-line): New command.
10955 (log-edit): Move major mode call above the contents setup so that
10956 the local variable values are already applied.
10957 (log-edit): Only insert "Author: " when
10958 `log-edit-setup-add-author' is non-nil.
10959 (log-edit): When SETUP is non-nil, position point after ": "
10960 instead of point-min.
10961
10962 2013-12-01 Glenn Morris <rgm@gnu.org>
10963
10964 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
10965
10966 2013-11-30 Eli Zaretskii <eliz@gnu.org>
10967
10968 * startup.el (fancy-splash-frame): On MS-Windows, trigger
10969 redisplay to make sure the initial frame gets a chance to become
10970 visible. (Bug#16014)
10971
10972 2013-11-30 Martin Rudalics <rudalics@gmx.at>
10973
10974 Support resizing frames and windows pixelwise.
10975 * cus-start.el (frame-resize-pixelwise)
10976 (window-resize-pixelwise): New entries.
10977 * emacs-lisp/debug.el (debug): Use window-total-height instead
10978 of window-total-size.
10979 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
10980 * help.el (describe-bindings-internal): Use help-buffer as
10981 argument for with-help-window.
10982 (temp-buffer-max-width): New option.
10983 (resize-temp-buffer-window, help-window-setup)
10984 (with-help-window): Rewrite.
10985 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
10986 dragging dividers.
10987 * window.el (frame-char-size, window-min-pixel-height)
10988 (window-safe-min-pixel-height, window-safe-min-pixel-width)
10989 (window-min-pixel-width, window-safe-min-pixel-size)
10990 (window-combination-p, window-safe-min-size)
10991 (window-resizable-p, window--size-to-pixel)
10992 (window--pixel-to-size, window--resize-apply-p): New functions.
10993 (window-safe-min-height): Fix doc-string.
10994 (window-size, window-min-size, window--min-size-1)
10995 (window-sizable, window-sizable-p, window--min-delta-1)
10996 (window-min-delta, window--max-delta-1, window-max-delta)
10997 (window--resizable, window--resizable-p, window-resizable)
10998 (window-full-height-p, window-full-width-p, window-at-side-p)
10999 (window--in-direction-2, window-in-direction)
11000 (window--resize-reset-1, window--resize-mini-window)
11001 (window-resize, window-resize-no-error)
11002 (window--resize-child-windows-normal)
11003 (window--resize-child-windows, window--resize-siblings)
11004 (window--resize-this-window, window--resize-root-window)
11005 (window--resize-root-window-vertically)
11006 (adjust-window-trailing-edge, enlarge-window, shrink-window)
11007 (maximize-window, minimize-window, delete-window)
11008 (quit-restore-window, window-split-min-size, split-window)
11009 (balance-windows-2, balance-windows)
11010 (balance-windows-area-adjust, balance-windows-area)
11011 (window--state-get-1, window-state-get, window--state-put-1)
11012 (window--state-put-2, window-state-put)
11013 (display-buffer-record-window, window--display-buffer):
11014 Make functions handle pixelwise sizing of windows.
11015 (display-buffer--action-function-custom-type)
11016 (display-buffer-fallback-action):
11017 Add display-buffer-in-previous-window.
11018 (display-buffer-use-some-window): Resize window to height it had
11019 before.
11020 (fit-window-to-buffer-horizontally): New option.
11021 (fit-frame-to-buffer): Describe new values.
11022 (fit-frame-to-buffer-bottom-margin): Replace with
11023 fit-frame-to-buffer-margins.
11024 (window--sanitize-margin): New function.
11025 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
11026 using window-text-pixel-size.
11027
11028 2013-11-30 Glenn Morris <rgm@gnu.org>
11029
11030 * emacs-lisp/bytecomp.el (byte-compile-form):
11031 Make the `interactive-only' warning like the `obsolete' one.
11032 * comint.el (comint-run):
11033 * files.el (insert-file-literally, insert-file):
11034 * replace.el (replace-string, replace-regexp):
11035 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11036 (goto-line, insert-buffer, next-line, previous-line):
11037 Tweak `interactive-only' spec.
11038
11039 Stop keeping (most) generated cedet grammar files in the repository.
11040 * Makefile.in (semantic): New.
11041 (compile-main): Depend on semantic.
11042
11043 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
11046 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
11047
11048 * uniquify.el (uniquify-buffer-name-style): Change default.
11049
11050 * loadup.el: Preload "uniquify".
11051
11052 * time.el (display-time-update): Update all mode lines (bug#15999).
11053
11054 * electric.el (electric-indent-mode): Enable by default.
11055 * loadup.el: Preload "electric".
11056
11057 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
11058
11059 * emacs-lisp/helpers.el (string-empty-p): New function.
11060 (string-blank-p): New function.
11061
11062 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
11063
11064 * imenu.el (imenu--index-alist): Add missing dot to the docstring
11065 (Bug#14029).
11066
11067 2013-11-29 Andreas Politz <politza@fh-trier.de>
11068 * imenu.el (imenu--subalist-p): Don't error on non-conses and
11069 allow non-lambda lists as functions.
11070 (imenu--in-alist): Don't recurse into non-subalists.
11071 (imenu): Don't pass function itself as an argument (Bug#14029).
11072
11073 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11074
11075 * progmodes/python.el (python-mode-map): Remove binding for ":".
11076 (python-indent-electric-colon): Remove command.
11077 (python-indent-post-self-insert-function): Integrate the previous code
11078 of python-indent-electric-colon. Make it conditional on
11079 electric-indent-mode.
11080 (python-mode): Add ?: to electric-indent-chars.
11081 Move python-indent-post-self-insert-function to the end of
11082 post-self-insert-hook.
11083
11084 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * doc-view.el (doc-view-goto-page): Update mode-line.
11087
11088 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
11089
11090 2013-11-27 Glenn Morris <rgm@gnu.org>
11091
11092 * international/charprop.el, international/uni-bidi.el:
11093 * international/uni-category.el, international/uni-combining.el:
11094 * international/uni-comment.el, international/uni-decimal.el:
11095 * international/uni-decomposition.el, international/uni-digit.el:
11096 * international/uni-lowercase.el, international/uni-mirrored.el:
11097 * international/uni-name.el, international/uni-numeric.el:
11098 * international/uni-old-name.el, international/uni-titlecase.el:
11099 * international/uni-uppercase.el:
11100 Remove generated files from VCS repository.
11101
11102 2013-11-27 Eli Zaretskii <eliz@gnu.org>
11103
11104 * filenotify.el (file-notify-add-watch): Don't special-case
11105 w32notify when computing the directory to watch.
11106
11107 2013-11-27 Glenn Morris <rgm@gnu.org>
11108
11109 Make bootstrap without generated uni-*.el files possible again.
11110 * loadup.el: Update command-line-args checking for unidata-gen.
11111 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
11112 * composite.el, international/characters.el:
11113 Handle unicode tables being undefined.
11114
11115 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
11116 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
11117 (compile-main): Depend on leim rule.
11118 (leim): New rule.
11119 * loadup.el: Move leim-list.el to leim/ subdirectory.
11120 * startup.el (normal-top-level): No more leim directory.
11121 * international/ja-dic-cnv.el (skkdic-convert):
11122 Disable version-control and autoloads in output files.
11123 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
11124 Disable version-control and autoloads in output files.
11125 * leim/quail: Move here from ../leim.
11126 * leim/quail/hangul.el (hangul-input-method-activate):
11127 Add autoload cookie.
11128 (generated-autoload-load-name): Set file-local value.
11129 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
11130 (generated-autoload-load-name): Set file-local value.
11131
11132 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
11133
11134 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
11135 (eww-add-bookmark): Ask confirmation when add to bookmarks.
11136 (eww-quit): Ask confirmation before quitting eww.
11137
11138 2013-11-26 Eli Zaretskii <eliz@gnu.org>
11139
11140 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
11141 reading output from Diff on MS-Windows and MS-DOS.
11142
11143 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
11144
11145 * emacs-lisp/helpers.el (string-reverse): New function.
11146
11147 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
11148
11149 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
11150 names on MS Windows, like "/[::1]:".
11151
11152 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
11153 SWITCHES.
11154
11155 2013-11-26 Glenn Morris <rgm@gnu.org>
11156
11157 * progmodes/python.el (python-indent-guess-indent-offset):
11158 Avoid corner-case error. (Bug#15975)
11159
11160 Preload leim-list.el. (Bug#4789)
11161 * loadup.el: Load leim-list.el when found.
11162 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
11163
11164 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
11165
11166 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
11167
11168 * emacs-lisp/helpers.el (string-join): New function.
11169
11170 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
11171
11172 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11173 Mark as obsolete and replace it with a symbol property.
11174 (byte-compile-form): Use new 'interactive-only property.
11175 * comint.el, files.el, replace.el, simple.el:
11176 Apply new 'interactive-only properly.
11177
11178 2013-11-25 Martin Rudalics <rudalics@gmx.at>
11179
11180 * window.el (display-buffer-at-bottom): Make sure that
11181 split-window-sensibly creates the new window on bottom
11182 (Bug#15961).
11183
11184 2013-11-23 David Kastrup <dak@gnu.org>
11185
11186 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
11187 on the conflict markers when available.
11188 (smerge--get-marker): New function.
11189 (smerge-end-re, smerge-base-re): Add subgroup.
11190
11191 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11192
11193 * frame.el (handle-focus-in, handle-focus-out): Add missing
11194 interactive spec.
11195
11196 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
11197
11198 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11199 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
11200
11201 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11202
11203 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
11204 (gomoku--last-pos): New var.
11205 (gomoku--intangible-chars): New const.
11206 (gomoku--intangible): New function.
11207 (gomoku-mode): Use it. Derive from special-mode.
11208 (gomoku-move-up): Adjust line count.
11209 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
11210 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
11211 Simplify accordingly.
11212
11213 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
11214 Remove blink-cursor code.
11215 (blink-cursor-timer-function, blink-cursor-suspend):
11216 Don't special-case GUIs.
11217 (blink-cursor-mode): Use focus-in/out-hook.
11218
11219 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
11220
11221 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
11222 work when annotation is invisible (Bug#13886).
11223
11224 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
11225
11226 * json.el (json-alist-p): Only return non-nil if the alist has
11227 simple keys (Bug#13518).
11228
11229 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
11230
11231 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
11232 when control-statement is the first statement in a buffer (Bug#15956).
11233
11234 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
11235
11236 * imenu.el (imenu-generic-skip-comments-and-strings):
11237 New option (Bug#15560).
11238 (imenu--generic-function): Use it.
11239
11240 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
11241
11242 * minibuffer.el (completion--in-region-1): Scroll the correct window.
11243 (Bug#13898)
11244
11245 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
11246
11247 * emacs-lisp/helpers.el: Add some string helpers.
11248 (string-trim-left): Removes leading whitespace.
11249 (string-trim-right): Removes trailing whitespace.
11250 (string-trim): Removes leading and trailing whitespace.
11251
11252 * subr.el (string-suffix-p): New function.
11253
11254 2013-11-23 Glenn Morris <rgm@gnu.org>
11255
11256 * progmodes/python.el (python-shell-send-file):
11257 Add option to delete file when done. (Bug#15647)
11258 (python-shell-send-string, python-shell-send-region): Use it.
11259
11260 2013-11-23 Ivan Shmakov <ivan@siamics.net>
11261
11262 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
11263 to set buffer-read-only to t, never to nil. (Bug#15938)
11264
11265 * textmodes/tex-mode.el (latex-noindent-environments):
11266 Add safe-local-variable property. (Bug#15936)
11267
11268 2013-11-23 Glenn Morris <rgm@gnu.org>
11269
11270 * textmodes/enriched.el (enriched-mode): Doc fix.
11271 * emacs-lisp/authors.el (authors-renamed-files-alist):
11272 Add enriched.doc -> enriched.txt.
11273
11274 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
11275
11276 2013-11-22 Leo Liu <sdl.web@gmail.com>
11277
11278 * progmodes/octave.el (inferior-octave-startup): Spit out error
11279 message.
11280
11281 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
11282
11283 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11284 Improve docstring.
11285 Add :version.
11286 (ruby-encoding-magic-comment-style): Add :version.
11287
11288 2013-11-22 Leo Liu <sdl.web@gmail.com>
11289
11290 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
11291 (Bug#15076)
11292 (octave-help-mode): Adapt to change to help-mode-finish to use
11293 derived-mode-p on 2013-09-17.
11294 (inferior-octave-prompt): Also match octave-gui.
11295 (octave-kill-process): Don't ask twice. (Bug#10564)
11296
11297 2013-11-22 Leo Liu <sdl.web@gmail.com>
11298
11299 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
11300 (inferior-octave-startup, inferior-octave-check-process)
11301 (inferior-octave-track-window-width-change)
11302 (octave-completion-at-point, octave-eldoc-function): Use it.
11303 (octave-kill-process): Provide confirmation. (Bug#10564)
11304
11305 2013-11-21 Leo Liu <sdl.web@gmail.com>
11306
11307 * progmodes/octave.el (octave-mode, inferior-octave-mode):
11308 Fix obsolete variable comment-use-global-state.
11309
11310 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11311
11312 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
11313 Add `octave-source-file'.
11314 (octave-source-file): New function. (Bug#15935)
11315
11316 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
11317
11318 * net/eww.el (eww-local-regex): New variable.
11319 (eww): Use it to detect localhost and similar.
11320
11321 2013-11-21 Leo Liu <sdl.web@gmail.com>
11322
11323 Add completion for command `ag'.
11324 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
11325 (pcomplete/ag): New function.
11326 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
11327
11328 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11329
11330 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
11331 (bug#14646).
11332 (make-obsolete): Remove interactive spec.
11333
11334 2013-11-21 Glenn Morris <rgm@gnu.org>
11335
11336 * startup.el (command-line-1): Use path-separator with -L.
11337
11338 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
11339
11340 * emacs-lisp/package.el (describe-package-1): Add package archive
11341 to shown fields.
11342
11343 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
11344
11345 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11346 Change default to "# encoding: %s" to differentiate it from the
11347 default Ruby encoding comment template.
11348
11349 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
11350
11351 * ses.el (ses-mode): Doc fix. (Bug#14748)
11352
11353 2013-11-20 Leo Liu <sdl.web@gmail.com>
11354
11355 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
11356
11357 2013-11-19 Dan Nicolaescu <dann@gnu.org>
11358
11359 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
11360 when rebase or bisect are in progress.
11361
11362 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
11363
11364 * filenotify.el (file-notify-add-watch): Doc fix.
11365
11366 2013-11-19 Leo Liu <sdl.web@gmail.com>
11367
11368 * obsolete/rcompile.el: Mark obsolete.
11369
11370 * progmodes/compile.el (compilation-start)
11371 (compilation-goto-locus, compilation-find-file):
11372 Pass no-display-ok and handle nil value from display-buffer.
11373 (Bug#13594)
11374
11375 * window.el (display-buffer-alist, display-buffer): Document the
11376 new parameter no-display-ok. Return either a window or nil
11377 but never a non-window value.
11378
11379 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * electric.el (electric-indent-mode-map): Remove.
11382 (electric-indent-mode): Change the global-map instead (bug#15915).
11383
11384 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11385 Use add-function.
11386
11387 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * emacs-lisp/nadvice.el (remove-function): Align with
11390 add-function's behavior.
11391
11392 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
11393 (gdb--string-regexp): New constant.
11394 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
11395 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
11396 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
11397 submatch 1.
11398 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
11399 Adjust use accordingly.
11400 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
11401
11402 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
11403
11404 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
11405 interpolation curlies (Bug#15914).
11406
11407 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
11408
11409 * calc/calc.el (calc-context-sensitive-enter): New variable.
11410 (calc-enter): Use `calc-context-sensitive-enter'.
11411
11412 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
11413
11414 * progmodes/cfengine.el: Version bump.
11415 (cfengine-cf-promises): New defcustom to locate cf-promises.
11416 (cfengine3-vartypes): Add new "data" type.
11417 (cfengine3--current-word): New function to get current name-like
11418 word or its bounds.
11419 (cfengine3--current-function): New function to look up a CFEngine
11420 function's definition.
11421 (cfengine3-format-function-docstring): New function.
11422 (cfengine3-make-syntax-cache): New function.
11423 (cfengine3-documentation-function): New function: ElDoc glue.
11424 (cfengine3-completion-function): New function: completion glue.
11425 (cfengine3-mode): Set `compile-command',
11426 `eldoc-documentation-function', and add to
11427 `completion-at-point-functions'.
11428
11429 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
11430
11431 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11432 `tramp-current-connection'.
11433
11434 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
11435
11436 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
11437 nil/self/true/false with "end of symbol".
11438
11439 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
11440
11441 * subr.el (version-regexp-alist): Fix a typo.
11442
11443 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
11444
11445 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
11446 "en_US.utf8" and "LC_CTYPE" to "".
11447 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
11448 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
11449
11450 2013-11-15 Leo Liu <sdl.web@gmail.com>
11451
11452 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
11453
11454 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * progmodes/gud.el (ctl-x-map):
11457 Remove C-x SPC binding. (Bug#12342)
11458 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
11459
11460 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
11461
11462 * subr.el (version-regexp-alist):
11463 Recognize hg, svn and darcs versions as snapshot versions.
11464
11465 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
11466 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
11467 (ruby--encoding-comment-required-p): Extract from
11468 `ruby-mode-set-encoding'.
11469 (ruby-mode-set-encoding): Add the ability to always insert an
11470 utf-8 encoding comment. Fix and simplify coding comment update
11471 logic.
11472
11473 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
11474
11475 * net/tramp-gvfs.el (top): Run init code only when
11476 `tramp-gvfs-enabled' is not nil.
11477 (tramp-gvfs-enabled): Check also :system bus.
11478
11479 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 Sync with upstream verilog-mode revision 78e66ba.
11482 * progmodes/verilog-mode.el (verilog-end-of-defun)
11483 (verilog-type-completion, verilog-get-list): Remove unused funcs.
11484 (verilog-get-end-of-defun): Remove unused argument.
11485 (verilog-comment-depth): Remove unused local `e'.
11486 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
11487 Don't pass arg to verilog-get-end-of-defun.
11488
11489 2013-11-14 Glenn Morris <rgm@gnu.org>
11490
11491 * obsolete/assoc.el (aget): Prefix dynamic variable.
11492
11493 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
11494
11495 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11496
11497 * widget.el, hfy-cmap.el: Remove bogus package version number.
11498
11499 2013-11-13 Glenn Morris <rgm@gnu.org>
11500
11501 * replace.el (replace-eval-replacement):
11502 Try to give more helpful error message. (Bug#15836)
11503
11504 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11505 (archive-7z-update): Avoid custom type mismatches.
11506
11507 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
11508
11509 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
11510
11511 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11512 address can be empty.
11513
11514 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
11515 Accept nil SWITCHES.
11516 (tramp-gvfs-handle-write-region): Implement APPEND.
11517
11518 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
11519
11520 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
11521 binary "|" operator and closing block args delimiter.
11522 Remove FIXME comment referring to Ruby 1.8-only syntax.
11523 (ruby-smie--implicit-semi-p): Not after "|" operator.
11524 (ruby-smie--closing-pipe-p): New function.
11525 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
11526 (ruby-smie-rules): Indent after "|".
11527
11528 2013-11-12 Glenn Morris <rgm@gnu.org>
11529
11530 * ps-print.el (ps-face-attribute-list):
11531 Handle anonymous faces. (Bug#15827)
11532
11533 2013-11-12 Martin Rudalics <rudalics@gmx.at>
11534
11535 * window.el (display-buffer-other-frame): Fix doc-string.
11536 (Bug#15868)
11537
11538 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11539
11540 * subr.el (force-mode-line-update): Delete, move to buffer.c.
11541
11542 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
11543
11544 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
11545 (tramp-sh-handle-file-local-copy): Don't write a message when
11546 saving temporary files.
11547
11548 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
11549 both directories are remote.
11550 (tramp-smb-handle-directory-files): Do not return double entries.
11551 Do not expand full file names.
11552 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
11553 (tramp-smb-handle-write-region): Implement APPEND.
11554 (tramp-smb-get-stat-capability): Fix a stupid bug.
11555
11556 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11557
11558 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
11559
11560 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11561
11562 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
11563 throwing error over malformed let/let* (bug#15814).
11564
11565 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 * iswitchb.el (iswitchb-mode): Mark obsolete.
11568
11569 2013-11-11 Glenn Morris <rgm@gnu.org>
11570
11571 * international/uni-bidi.el, international/uni-category.el:
11572 * international/uni-name.el, international/uni-numeric.el:
11573 Regenerate for Unicode 6.3.0.
11574
11575 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
11576
11577 * net/tramp.el (tramp-methods):
11578 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
11579 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
11580
11581 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
11582
11583 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11584 Force highlighting text after Summary keyword in doc face for rpm.
11585
11586 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
11587
11588 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
11589 available and the word has no wildcards, append one to the grep pattern.
11590 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
11591 (ispell-complete-word): Call `ispell-lookup-words' with the value
11592 independent of `ispell-look-p'.
11593
11594 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11595
11596 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
11597 Not after "||".
11598 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
11599 their parent.
11600
11601 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11602
11603 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
11604 (ruby-font-lock-keywords): Use backquote.
11605
11606 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11607
11608 * progmodes/ruby-mode.el (ruby-smie--forward-token)
11609 (ruby-smie--backward-token): Only consider full-string matches.
11610
11611 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
11612
11613 * faces.el (describe-face): Add distant-foreground.
11614
11615 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
11616
11617 * progmodes/ruby-mode.el: Improve encoding comment handling.
11618 (ruby-encoding-magic-comment-style): New option.
11619 (ruby-custom-encoding-magic-comment-template): New option.
11620 (ruby--insert-coding-comment, ruby--detect-encoding):
11621 New functions extracted from `ruby-mode-set-encoding'.
11622 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
11623 to control the style of the auto-inserted encoding comment.
11624
11625 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11626
11627 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
11628 Use `smie-backward-sexp' with token argument.
11629
11630 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
11631
11632 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11633 Remove instrumentation code.
11634
11635 2013-11-08 Glenn Morris <rgm@gnu.org>
11636
11637 * progmodes/autoconf.el (autoconf-mode):
11638 Tweak comment-start-skip. (Bug#15822)
11639
11640 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11641
11642 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
11643 at bobp (bug#15826).
11644 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
11645
11646 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
11647
11648 * man.el (Man-start-calling): New macro, extracted from
11649 Man-getpage-in-background.
11650 (Man-getpage-in-background): Use it.
11651 (Man-update-manpage): New command.
11652 (Man-mode-map): Bind it.
11653
11654 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11655
11656 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
11657 of "and", "or", "&&" and "||".
11658 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
11659 argument. Prohibit opening curly brace because it could only be a
11660 block opener in that position.
11661 (ruby-smie--forward-token, ruby-smie--backward-token):
11662 Separate "|" from "&" or "*" going after it. That can happen in block
11663 arguments.
11664 (ruby-smie--indent-to-stmt): New function, seeks the end of
11665 previous statement or beginning of buffer.
11666 (ruby-smie-rules): Use it.
11667 (ruby-smie-rules): Check if there's a ":" before a curly block
11668 opener candidate; if there is, it's a hash.
11669
11670 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11671
11672 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
11673 (cl--block-wrapper): Fix last accidental change.
11674
11675 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
11676
11677 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11678 Instrument, in order to hunt failure on hydra.
11679
11680 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11681
11682 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
11683 malformed bindings form (bug#15814).
11684
11685 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
11686
11687 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
11688 "." compared to " @ ". This incidentally fixes some indentation
11689 examples with "do".
11690 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
11691 (ruby-smie-grammar): New tokens: "and" and "or".
11692 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
11693 Exclude "and" and "or". Remove "do" in order to work around token
11694 priorities.
11695 (ruby-smie-rules): Add all infix tokens. Handle the case of
11696 beginning-of-buffer.
11697
11698 2013-11-06 Glenn Morris <rgm@gnu.org>
11699
11700 * Makefile.in (setwins_almost, setwins_for_subdirs):
11701 Avoid accidental matches.
11702
11703 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 * menu-bar.el (popup-menu): Use key-binding.
11706
11707 2013-11-06 Eli Zaretskii <eliz@gnu.org>
11708
11709 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
11710 menus, support also the menus produced by minor modes.
11711 (Bug#15817)
11712
11713 2013-11-06 Leo Liu <sdl.web@gmail.com>
11714
11715 * thingatpt.el (thing-at-point-looking-at): Add optional arg
11716 DISTANCE to bound the search. All uses changed. (Bug#15808)
11717
11718 2013-11-06 Glenn Morris <rgm@gnu.org>
11719
11720 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
11721 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
11722 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
11723
11724 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11725
11726 * electric.el (electric-indent-just-newline): New command.
11727 (electric-indent-mode-map): New keymap.
11728 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
11729 Re-add :group which weren't redundant.
11730
11731 * electric.el (electric-indent-local-mode): New minor mode.
11732 (electric-indent-functions-without-reindent): New var.
11733 (electric-indent-post-self-insert-function): Use it.
11734 * emacs-lisp/gv.el (buffer-local-value): Add setter.
11735
11736 2013-11-05 Eli Zaretskii <eliz@gnu.org>
11737
11738 * international/quail.el (quail-help): Be more explicit about the
11739 meaning of the labels shown on the keys. (Bug#15800)
11740
11741 * startup.el (normal-top-level): Load the subdirs.el files before
11742 setting the locale environment. (Bug#15805)
11743
11744 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11745
11746 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
11747 via arguments so as to get the right ones (bug#15418).
11748
11749 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
11750
11751 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
11752
11753 Fix problems found while writing a test suite.
11754
11755 * net/tramp-compat.el (tramp-compat-load): New defun.
11756 * net/tramp.el (tramp-handle-load): Use it.
11757
11758 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
11759 "(numberp ok-if-already-exists)" correctly.
11760
11761 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
11762
11763 * international/characters.el (glyphless-char-display-control):
11764 Add usage note.
11765
11766 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
11767
11768 * progmodes/python.el (python-mode):
11769 * progmodes/scheme.el (scheme-mode):
11770 * progmodes/prolog.el (prolog-mode):
11771 * progmodes/ruby-mode.el (ruby-mode):
11772 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
11773 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
11774
11775 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * rect.el (rectangle--highlight-for-redisplay):
11778 * emacs-lisp/smie.el (smie--next-indent-change):
11779 Use buffer-chars-modified-tick.
11780
11781 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
11782
11783 * electric.el (electric-indent-post-self-insert-function):
11784 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
11785
11786 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
11787
11788 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
11789
11790 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11791
11792 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
11793 (bug#15786).
11794
11795 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11796
11797 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
11798
11799 * progmodes/python.el: Fix up last change.
11800 (python-shell--save-temp-file): New function.
11801 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
11802 `string' comes from the current buffer.
11803 (python-shell-send-string-no-output): Remove `msg' arg.
11804 (python--use-fake-loc): New var.
11805 (python-shell-buffer-substring): Obey it. Try to compensate for the
11806 extra coding line added by python-shell--save-temp-file.
11807 (python-shell-send-region): Use python-shell--save-temp-file and
11808 python-shell-send-file directly. Add `nomain' argument.
11809 (python-shell-send-buffer): Use python-shell-send-region.
11810 (python-electric-pair-string-delimiter): New function.
11811 (python-mode): Use it.
11812
11813 2013-11-04 Eli Zaretskii <eliz@gnu.org>
11814
11815 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
11816 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
11817 environment and decoding all of the default-directory's to here
11818 from command-line.
11819 (command-line): Decode also argv[0].
11820
11821 * loadup.el: Error out if default-directory is a multibyte string
11822 when we are dumping.
11823
11824 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
11825
11826 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
11827
11828 * emacs-lisp/package.el (package-menu-mode)
11829 (package-menu--print-info, package-menu--archive-predicate):
11830 Add Archive column to package list.
11831
11832 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
11833
11834 Fix problems found while writing a test suite.
11835
11836 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
11837 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
11838 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
11839 to nil when running original file name handler. Otherwise,
11840 there are problems with constructs like "$$FOO".
11841
11842 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
11843 for `localname'.
11844
11845 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
11846
11847 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
11848
11849 * subr.el (version<, version<=, version=):
11850 Update docstrings with information for snapshot versions.
11851
11852 * helpers.el: New library for misc helper functions.
11853 (hash-table-keys): New function returning a list of hash keys.
11854 (hash-table-values): New function returning a list of hash values.
11855
11856 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
11857
11858 * progmodes/ruby-mode.el (ruby-smie--forward-token)
11859 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
11860
11861 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
11862
11863 * textmodes/fill.el (fill-single-char-nobreak-p): New function
11864 checking whether point is after a 1-letter word.
11865
11866 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11867
11868 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
11869 Don't infloop when expanding region over `multiline' syntax-type that
11870 begins a line (bug#15778).
11871
11872 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
11875 Make it into a proper minor mode.
11876 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
11877 (rectangle-mark-mode-map): New keymap.
11878 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
11879
11880 2013-11-04 Glenn Morris <rgm@gnu.org>
11881
11882 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
11883
11884 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
11887 (ruby-smie-rules): Use smie-rule-parent instead.
11888
11889 * emacs-lisp/smie.el (smie-rule-parent): Always call
11890 smie-indent-virtual rather than only for hanging tokens.
11891 (smie--next-indent-change): New helper command.
11892
11893 2013-11-03 Glenn Morris <rgm@gnu.org>
11894
11895 * Makefile.in (abs_srcdir): Remove.
11896 (emacs): Unset EMACSLOADPATH.
11897
11898 2013-11-02 Glenn Morris <rgm@gnu.org>
11899
11900 * Makefile.in (EMACS): Use a relative filename.
11901 (abs_top_builddir): Remove.
11902 (custom-deps, finder-data, autoloads): Use --chdir.
11903
11904 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
11905
11906 Use relative filenames in TAGS files.
11907 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11908 (lisptagsfiles4, TAGS): Use relative file names.
11909 (TAGS-LISP): Remove.
11910 (maintainer-clean): No more TAGS-LISP file.
11911
11912 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11913 (lisptagsfiles4): Use absolute filenames again.
11914 (TAGS, TAGS-LISP): Not everything needs to run in one line.
11915 Remove all *loaddefs files, not just the first. Remove esh-groups.
11916 (maintainer-clean): Delete TAGS, TAGS-LISP.
11917
11918 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
11919
11920 * emacs-lisp/package.el (package-version-join):
11921 Recognize snapshot versions.
11922
11923 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
11924
11925 * subr.el (version-regexp-alist): Add support for snapshot versions.
11926
11927 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
11928
11929 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
11930 New function, replacement for `smie-rule-parent' for when we want to
11931 skip over our direct parent if it's an assignment token..
11932 (ruby-smie-rules): Use it.
11933
11934 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
11935
11936 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
11937 unconditionally. Remove now unnecessary forward declarations.
11938 Remove XEmacs-specific setup.
11939 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
11940 (ruby-font-lock-syntactic-keywords)
11941 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
11942 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
11943 (ruby-here-doc-end-syntax): Remove.
11944 (ruby-mode): Don't check whether `syntax-propertize-rules' is
11945 defined as function.
11946
11947 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
11948
11949 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
11950
11951 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
11952
11953 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
11954 table and abbrev table, `define-derived-mode' does that for us
11955 anyway.
11956
11957 2013-11-01 Glenn Morris <rgm@gnu.org>
11958
11959 * Makefile.in: Remove manual mh-e dependencies (writing .elc
11960 files is atomic for some time, so no parallel compilation issues).
11961
11962 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
11963
11964 * faces.el (face-x-resources): Add :distant-foreground.
11965 (region): Use :distant-foreground for gtk and ns.
11966
11967 2013-11-01 Tassilo Horn <tsdh@gnu.org>
11968
11969 Allow multiple bibliographies when BibLaTeX is used rather than
11970 BibTeX.
11971 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
11972 (reftex-locate-bibliography-files): Us it.
11973
11974 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
11975
11976 * image.el (image-type-header-regexps): Fix the 'pbm' part to
11977 allow comments in pbm files.
11978
11979 * term/w32-win.el (dynamic-library-alist): Support newer versions
11980 of libjpeg starting with v7: look only for the DLL from the
11981 version against which Emacs was built.
11982 Support versions of libpng beyond 1.4.x.
11983 Support libtiff v4.x.
11984
11985 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
11986
11987 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
11988 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
11989 Add property :safe.
11990 (ruby-deep-arglist): Add property :type.
11991
11992 2013-10-31 Glenn Morris <rgm@gnu.org>
11993
11994 * Makefile.in (custom-deps, finder-data): No need to setq the target
11995 variables, we are in the right directory and the defaults work fine.
11996
11997 2013-10-30 Glenn Morris <rgm@gnu.org>
11998
11999 * Makefile.in (autoloads): Do not use abs_lisp.
12000
12001 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12002 `newline' does not respect `standard-output', so use `princ'.
12003
12004 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
12005
12006 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
12007 * buff-menu.el (Buffer-menu--unmark): New function.
12008 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
12009
12010 2013-10-30 Glenn Morris <rgm@gnu.org>
12011
12012 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
12013
12014 * emacs-lisp/package.el (lm-homepage): Declare.
12015
12016 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
12017 Fix doc typos.
12018
12019 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
12020
12021 * Makefile.in (finder-data, autoloads, update-subdirs)
12022 (compile-main, compile-clean, compile-always, bootstrap-clean):
12023 Check return value of cd.
12024 (compile-calc): Remove.
12025
12026 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
12029
12030 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
12031 (byte-compile-and-folded): New function.
12032 (=, <, >, <=, >=): Use it.
12033
12034 * dos-w32.el (minibuffer-history-case-insensitive-variables)
12035 (path-separator, null-device, buffer-file-coding-system)
12036 (lpr-headers-switches): Check system-type before modifying them.
12037 (find-buffer-file-type-coding-system): Mark obsolete.
12038 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
12039 find-file-not-found-set-buffer-file-coding-system.
12040 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
12041 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
12042 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
12043 (w32-direct-print-region-helper, w32-direct-print-region-function)
12044 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
12045 * startup.el (normal-top-level-add-subdirs-to-load-path):
12046 * ps-print.el (ps-print-region-function):
12047 * lpr.el (print-region-function): Use new name.
12048
12049 * subr.el (custom-declare-variable-early): Remove function.
12050 (custom-declare-variable-list): Remove var.
12051 (error, user-error): Remove `while' loop.
12052 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
12053 (user-emacs-directory-warning, locate-user-emacs-file):
12054 Move to files.el.
12055 * simple.el (read-quoted-char-radix, read-quoted-char):
12056 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
12057 Move from subr.el.
12058 * custom.el (custom-declare-variable-list): Don't process
12059 custom-declare-variable-list.
12060
12061 * progmodes/python.el (python-shell-get-buffer): New function.
12062 (python-shell-get-process): Use it.
12063 (python-shell-send-string): Always use utf-8 and add a cookie to tell
12064 Python which encoding was used. Don't split-string since we only care
12065 about the first line. Return the temp-file, if applicable.
12066 (python-shell-send-region): Tell compile.el how to turn locations in
12067 the temp-file into locations in the source buffer.
12068
12069 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * subr.el (undefined): Add missing behavior from the C code for
12072 unbound keys.
12073
12074 * rect.el: Use lexical-binding. Add new rectangular region support.
12075 (rectangle-mark): New command.
12076 (rectangle--region): New var.
12077 (deactivate-mark-hook): Reset rectangle--region.
12078 (rectangle--extract-region, rectangle--insert-for-yank)
12079 (rectangle--highlight-for-redisplay)
12080 (rectangle--unhighlight-for-redisplay): New functions.
12081 (region-extract-function, redisplay-unhighlight-region-function)
12082 (redisplay-highlight-region-function): Use them to handle
12083 rectangular region.
12084 * simple.el (region-extract-function): New var.
12085 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
12086 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
12087 (kill-region): Replace obsolete `yank-handler' arg with `region'.
12088 (copy-region-as-kill, kill-ring-save): Add `region' argument.
12089 (redisplay-unhighlight-region-function)
12090 (redisplay-highlight-region-function): New vars.
12091 (redisplay--update-region-highlight): New function.
12092 (pre-redisplay-function): Use it.
12093 (exchange-point-and-mark): Don't deactivate the mark before
12094 reactivate-it anyway.
12095 * comint.el (comint-kill-region): Remove yank-handler argument.
12096 * delsel.el (delete-backward-char, backward-delete-char-untabify)
12097 (delete-char): Remove property, since it's now part of their
12098 default behavior.
12099 (self-insert-iso): Remove property since this command doesn't exist.
12100
12101 * emacs-lisp/package.el (package--download-one-archive)
12102 (describe-package-1): Don't query the user about final newline.
12103
12104 2013-10-29 Daniel Colascione <dancol@dancol.org>
12105
12106 * net/tramp.el (tramp-methods): Document new functionality.
12107 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
12108 tramp-hostname-checker if method provides one instead of scanning
12109 argument list for "%h" to decide hostname acceptability.
12110
12111 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
12112
12113 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12114 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12115 Handle COPY-CONTENTS. (Bug#15737)
12116
12117 2013-10-28 Daiki Ueno <ueno@gnu.org>
12118
12119 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12120 Document that this option has no effect with GnuPG 2.0 (bug#15552).
12121
12122 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
12123
12124 * image.el (defimage, image-load-path): Doc fixes.
12125
12126 2013-10-27 Alan Mackenzie <acm@muc.de>
12127
12128 Indent statements in macros following "##" correctly.
12129 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12130 Modify the "#" arm of a cond form to handle "#" and "##" operators.
12131
12132 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
12133
12134 * linum.el (linum-update-window): Fix boundary test (bug#13446).
12135
12136 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
12137
12138 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
12139 after `=' is probably a new expression.
12140
12141 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12142
12143 * man.el (man-imenu-title): New option.
12144 (Man-mode-map): Add menu. (Bug#15722)
12145 (Man-mode): Add imenu to menu.
12146
12147 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
12148
12149 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
12150 specific in what the first arg can be: a non-keyword word,
12151 string/regexp/percent literal opener, opening paren, or unary
12152 operator followed directly by word.
12153
12154 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
12157 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
12158 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
12159 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
12160 Remove vars, they do not apply any more.
12161 (prolog-mode-abbrev-table): Remove redundant declaration.
12162 (prolog-upper-case-string, prolog-lower-case-string): Remove.
12163 (prolog-use-smie): Remove.
12164 (prolog-smie-rules): Add indentation rule for the if-then-else layout
12165 supported by prolog-electric-if-then-else-flag.
12166 (prolog-mode-variables, prolog-menu): Use setq-local.
12167 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
12168 Remove binding to `Backspace' since this key doesn't exist anyway.
12169 Remove bindings for electric self-inserting keys.
12170 (prog-mode): Assume it's defined.
12171 (prolog-post-self-insert): New function.
12172 (prolog-mode): Use it.
12173 (prolog-indent-line, prolog-indent-level)
12174 (prolog-find-indent-of-matching-paren)
12175 (prolog-indentation-level-of-line, prolog-goto-comment-column)
12176 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
12177 (prolog-goto-next-paren, prolog-in-string-or-comment)
12178 (prolog-tokenize, prolog-inside-mline-comment)
12179 (prolog-find-start-of-mline-comment): Remove functions.
12180 (prolog-find-unmatched-paren, prolog-clause-end)
12181 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
12182 (prolog-electric--if-then-else): Rename from
12183 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
12184 (prolog-tokenize-searchkey): Remove const.
12185 (prolog-clause-info): Use forward-sexp.
12186 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
12187 (prolog-electric-if-then-else): Remove commands.
12188 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
12189 for use in post-self-insert-hook.
12190 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
12191 for use in post-self-insert-hook.
12192 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
12193 for use in post-self-insert-hook.
12194 (prolog-electric--underscore): Rename from prolog-electric--underscore;
12195 adapt it for use in post-self-insert-hook.
12196
12197 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
12198
12199 * emacs-lisp/ert.el (ert-run-tests-interactively):
12200 Use `completing-read'. (Bug#9756)
12201
12202 2013-10-25 Eli Zaretskii <eliz@gnu.org>
12203
12204 * simple.el (line-move): Call line-move-1 instead of
12205 line-move-visual when the current window hscroll is zero, but
12206 temporary-goal-column indicates we will need to hscroll as result
12207 of the movement. (Bug#15712)
12208
12209 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
12210
12211 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
12212 capitalization. Use :visible instead of :active.
12213 Fix `ruby-indent-exp' reference. Add menu items for the generic
12214 commands that are used with SMIE.
12215 (ruby-do-end-to-brace): Insert space after `{'.
12216
12217 2013-10-25 John Anthony <john@jo.hnanthony.com>
12218
12219 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
12220
12221 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
12222
12223 2013-10-25 Glenn Morris <rgm@gnu.org>
12224
12225 * vc/vc.el (vc-print-log): Don't use a working revision unless
12226 one was explicitly specified. (Bug#15322)
12227
12228 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12229
12230 * subr.el (add-to-list): Preserve return value in compiler-macro
12231 (bug#15692).
12232
12233 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12234
12235 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
12236 result. Ask user to retry using '-all' flag. (Bug#15701)
12237
12238 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12239
12240 * emacs-lisp/smie.el: New smie-config system.
12241 (smie-config): New defcustom.
12242 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
12243 (smie-config-guess, smie-config-save): New commands.
12244 (smie-config--mode-local, smie-config--buffer-local)
12245 (smie-config--trace, smie-config--modefuns): New vars.
12246 (smie-config--advice, smie-config--mode-hook)
12247 (smie-config--setter, smie-config-local, smie-config--get-trace)
12248 (smie-config--guess-value, smie-config--guess): New functions.
12249 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
12250 text properties. Treat "string fence" syntax like string syntax.
12251
12252 * progmodes/sh-script.el (sh-use-smie): Change default.
12253 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
12254 (sh-var-value): Simplify by CSE.
12255 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
12256 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
12257 is used.
12258 (sh-guess-basic-offset): Use cl-incf.
12259 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
12260
12261 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
12262
12263 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
12264 (bug#15699).
12265
12266 2013-10-24 Glenn Morris <rgm@gnu.org>
12267
12268 * Makefile.in (abs_top_srcdir): Remove.
12269 (update-subdirs): Use relative path to update-subdirs.
12270
12271 2013-10-24 Eli Zaretskii <eliz@gnu.org>
12272
12273 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
12274 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
12275 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
12276 Call unmsys--file-name before expand-file-name, not after it.
12277
12278 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
12279
12280 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
12281 (ert-test-skipped): New error.
12282 (ert-skip, ert-stats-skipped): New defuns.
12283 (ert--skip-unless): New macro.
12284 (ert-test-skipped): New struct.
12285 (ert--run-test-debugger, ert-test-result-type-p)
12286 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
12287 (ert--stats-set-test-and-result, ert-char-for-test-result)
12288 (ert-string-for-test-result, ert-run-tests-batch)
12289 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
12290 Handle skipped tests. (Bug#9803)
12291
12292 2013-10-24 Glenn Morris <rgm@gnu.org>
12293
12294 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
12295
12296 * Makefile.in (abs_top_srcdir): New, set by configure.
12297 (update-subdirs): Correct build-aux location.
12298
12299 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
12300
12301 * vc/vc.el (vc-print-root-log): Always set `default-directory'
12302 value, whether we could auto-deduce `backend', or not.
12303
12304 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
12305 with parameters" example. Simplify the "is it block or is it
12306 hash" check, but also make it more thorough.
12307
12308 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
12309
12310 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
12311
12312 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12313
12314 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
12315 { if it is hanging.
12316
12317 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
12318 :before ";".
12319
12320 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
12321
12322 * progmodes/compile.el (compilation-directory-matcher)
12323 (compilation-page-delimiter):
12324 Support GNU Make-4.0 directory quoting. (Bug#15678)
12325
12326 2013-10-23 Leo Liu <sdl.web@gmail.com>
12327
12328 * ido.el (ido-tidy): Handle read-only text.
12329
12330 2013-10-23 Glenn Morris <rgm@gnu.org>
12331
12332 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
12333 (emacs, compile, compile-always):
12334 Quote entities that might contain whitespace.
12335 (custom-deps, finder-data, autoloads): Use abs_lisp.
12336 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12337 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12338 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
12339
12340 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
12341
12342 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
12343 Use `following-char'.
12344
12345 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
12348 * progmodes/ruby-mode.el (ruby-smie-rules):
12349 Remove corresponding workaround. Fix indentation rule of ";" so it
12350 also applies when ";" is the parent.
12351
12352 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
12353
12354 * frame.el (display-screens, display-pixel-height)
12355 (display-pixel-width, display-mm-width, display-backing-store)
12356 (display-save-under, display-planes, display-color-cells)
12357 (display-visual-class, display-monitor-attributes-list):
12358 Mention the optional ‘display’ argument in doc strings.
12359
12360 2013-10-22 Michael Gauland <mikelygee@amuri.net>
12361
12362 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
12363 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
12364
12365 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12366
12367 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
12368 TODO. Add "." after " @ ".
12369 (ruby-smie--at-dot-call): New function. Checks if point at method
12370 call with explicit target.
12371 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
12372 to the method name tokens when it precedes them.
12373 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
12374 (ruby-smie-rules): Add rule for indentation before and after "."
12375 token.
12376
12377 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12378
12379 * textmodes/remember.el (remember-diary-extract-entries):
12380 Avoid add-to-list.
12381
12382 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
12383 an instruction.
12384
12385 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12386
12387 * progmodes/ruby-mode.el (ruby-smie-grammar):
12388 Add (almost) all infix operators.
12389 (ruby-smie--implicit-semi-p): Add new operator chars.
12390
12391 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
12392 `smie-down-list'.
12393 (ruby-smie--args-separator-p): Check that there's no newline
12394 between method call and its arguments.
12395
12396 2013-10-20 Alan Mackenzie <acm@muc.de>
12397
12398 Allow comma separated lists after Java "implements".
12399
12400 * progmodes/cc-engine.el (c-backward-over-enum-header):
12401 Parse commas.
12402 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
12403 from a "disallowed" list in enum fontification.
12404
12405 2013-10-20 Johan Bockgård <bojohan@gnu.org>
12406
12407 * startup.el (default-frame-background-mode): Remove unused defvar.
12408
12409 * progmodes/verilog-mode.el (verilog-mode): Don't set
12410 comment-indent-function globally.
12411
12412 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
12413
12414 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
12415 Move Info menu item creation to ns-win.el.
12416
12417 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
12418 in menu bar.
12419
12420 * menu-bar.el: Move GNUstep specific menus...
12421
12422 * term/ns-win.el (ns-initialize-window-system): ... to here.
12423
12424 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12425
12426 * simple.el (newline): Only run post-self-insert-hook when
12427 called interactively.
12428
12429 2013-10-19 Johan Bockgård <bojohan@gnu.org>
12430
12431 * icomplete.el (icomplete-with-completion-tables): Add :version.
12432
12433 2013-10-19 Alan Mackenzie <acm@muc.de>
12434
12435 Fix fontification bugs with constructors and const.
12436
12437 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
12438 CASE 2) Remove the check for the absence of a suffix construct
12439 after a function declaration with only types (no identifiers) in
12440 the parentheses. Also, accept a function declaration with just a
12441 type inside the parentheses, if this type can be positively
12442 recognised as such, or if a prefix keyword like "explicit" nails
12443 down the construct as a declaration.
12444
12445 2013-10-19 Eli Zaretskii <eliz@gnu.org>
12446
12447 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
12448 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
12449 the problem whereby selecting a menu item that leads to a
12450 minibuffer prompt moves the cursor out of the minibuffer window,
12451 making it hard to type at the prompt. Suggested by Stefan Monnier
12452 <monnier@iro.umontreal.ca>.
12453
12454 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
12455
12456 * menu-bar.el: Don't make Services menu.
12457
12458 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12459
12460 * ffap.el: Handle "/usr/include/c++/<version>" directories.
12461 (ffap-alist): Use ffap-c++-mode for c++-mode.
12462 (ffap-c++-path): New variable.
12463 (ffap-c++-mode): New function.
12464
12465 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
12466
12467 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
12468
12469 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
12470
12471 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
12472 introduced on 2013-09-08, which results in an infinite loop
12473 requesting a password.
12474
12475 2013-10-18 Glenn Morris <rgm@gnu.org>
12476
12477 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
12478
12479 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
12480
12481 Sync with upstream verilog-mode revision 1a6ecec7.
12482 * progmodes/verilog-mode.el (verilog-mode-version): Update.
12483 (verilog-mode-release-date): Remove.
12484 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
12485 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
12486 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
12487 (verilog-auto-tieoff-ignore-regexp)
12488 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
12489 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
12490 (verilog-signals-with, verilog-dir-cache-preserving)
12491 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
12492 Doc fixes.
12493 (verilog-case-fold): New option, to control case folding in
12494 regexp searches, bug597.
12495 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
12496 (verilog-string-match-fold, verilog-in-paren-count)
12497 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
12498 (verilog-at-close-struct-p): New functions.
12499 (verilog-beg-block-re-ordered, verilog-extended-case-re)
12500 (verilog-forward-sexp, verilog-set-auto-endcomments)
12501 (verilog-leap-to-case-head): Handle "unique0" case.
12502 (verilog-in-constraint-re): New constant.
12503 (verilog-keywords, verilog-type-font-keywords):
12504 Add some SystemVerilog 1800-2012 keywords.
12505 (verilog-label-be): Remove unimplemented argument, bug669.
12506 (verilog-batch-execute-func): When batch expanding clear
12507 create-lockfiles to prevent spurious user locks when a file ends
12508 up not changing.
12509 (verilog-calculate-indent, verilog-calc-1)
12510 (verilog-at-close-constraint-p, verilog-at-constraint-p)
12511 (verilog-do-indent): Fix indentation of nested constraints
12512 and structures.
12513 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
12514 (verilog-auto-inst-param): Use verilog-string-match-fold.
12515 (verilog-read-inst-module-matcher):
12516 Fix AUTOINST on gate primitives with #1.
12517 (verilog-read-decls): Fix double-declaring user-defined typed signals.
12518 Reads all user-defined typed variables.
12519 (verilog-read-defines): Fix reading definitions inside comments, bug647.
12520 (verilog-signals-matching-regexp)
12521 (verilog-signals-not-matching-regexp, verilog-auto):
12522 Respect verilog-case-fold.
12523 (verilog-diff-report): Fix line count.
12524 (verilog-auto-assign-modport): Remove unused local `modi'.
12525 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
12526 better handle multidimensional arrays.
12527 Fix packed array ports misadding bit index in AUTOINST, bug637.
12528 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
12529 to not double-declare existing outputs and inputs, respectively.
12530 (verilog-template-map): Bind U to verilog-sk-uvm-component.
12531 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
12532 (verilog-sk-uvm-component): New skeleton.
12533 (verilog-submit-bug-report): Add verilog-case-fold,
12534 remove verilog-mode-release-date.
12535
12536 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
12537
12538 * subr.el (sit-for): Call (input-pending-p t) so as to behave
12539 as before.
12540
12541 2013-10-18 Reuben Thomas <rrt@sc3d.org>
12542
12543 * textmodes/remember.el (remember): Set buffer-offer-save in
12544 remember buffers (bug#13566).
12545
12546 2013-10-18 Daniel Colascione <dancol@dancol.org>
12547
12548 When evaluating forms in ielm, direct standard output to ielm
12549 buffer. Add new ielm-return-for-effect command. Remove trailing
12550 whitespace throughout.
12551
12552 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
12553 (ielm-return-for-effect): New command.
12554 (ielm-send-input): Accept optional `for-effect' parameter.
12555 (ielm-eval-input): Accept optional `for-effect' parameter.
12556 Bind `standard-output' to stream we create using
12557 `ielm-standard-output-impl'. Suppress printing result when
12558 `for-effect'.
12559 (ielm-standard-output-impl): New function.
12560 (inferior-emacs-lisp-mode): Explain new features in documentation.
12561
12562 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
12563
12564 Code cleanup.
12565
12566 * net/tramp.el (tramp-debug-message): Do not check for connection
12567 buffer.
12568 (tramp-message): Use "vector" connection property.
12569
12570 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
12571 (tramp-equal-remote, tramp-eshell-directory-change)
12572 * net/tramp-adb.el (tramp-adb-handle-copy-file)
12573 (tramp-adb-handle-rename-file)
12574 * net/tramp-cmds.el (tramp-list-remote-buffers)
12575 (tramp-cleanup-connection, tramp-cleanup-this-connection)
12576 * net/tramp-compat.el (tramp-compat-process-running-p)
12577 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
12578 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
12579 (tramp-gvfs-handle-rename-file)
12580 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12581 (tramp-set-file-uid-gid)
12582 * net/tramp-smb.el (tramp-smb-handle-copy-file)
12583 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
12584 of `file-remote-p'.
12585
12586 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
12587 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12588 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
12589 (tramp-gw-open-network-stream): Suppress unrelated traces.
12590
12591 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
12592 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12593 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12594 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
12595 connection property.
12596
12597 * net/tramp-cache.el (top): Suppress traces when reading
12598 persistency file.
12599
12600 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12601 Refactor common code. Improve debug message.
12602 (tramp-maybe-open-connection)
12603 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
12604 connection buffer too early.
12605
12606 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
12607 from `tramp-smb-actions-with-acl'.
12608 (tramp-smb-actions-set-acl): New defconst.
12609 (tramp-smb-handle-copy-directory)
12610 (tramp-smb-action-get-acl): New defun, renamed from
12611 `tramp-smb-action-with-acl'.
12612 (tramp-smb-action-set-acl): New defun.
12613 (tramp-smb-handle-set-file-acl): Rewrite.
12614
12615 2013-10-17 Glenn Morris <rgm@gnu.org>
12616
12617 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
12618
12619 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * skeleton.el (skeleton-newline): Remove.
12622 (skeleton-internal-1): Use (insert "\n") instead.
12623
12624 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
12625 let-bindings.
12626
12627 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
12628 forward-sexp-function while we redo its job (bug#15613).
12629
12630 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
12631
12632 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
12633 represented by lists.
12634
12635 2013-10-16 Glenn Morris <rgm@gnu.org>
12636
12637 * tmm.el (tmm--history): New dynamic variable.
12638 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
12639
12640 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
12641
12642 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
12643 (tramp-smb-errors): Add error messages.
12644 (tramp-smb-actions-with-acl): New defconst.
12645 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
12646 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
12647 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
12648 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
12649 (tramp-smb-get-stat-capability): Fix tests.
12650
12651 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
12652
12653 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
12654 (bug#15580).
12655
12656 2013-10-16 Glenn Morris <rgm@gnu.org>
12657
12658 * ansi-color.el (ansi-color-drop-regexp):
12659 Add 1J, 1K, 2K. (Bug#15617)
12660
12661 * files.el (hack-local-variables--warned-lexical): New.
12662 (hack-local-variables):
12663 Warn about misplaced lexical-binding. (Bug#15616)
12664
12665 * net/eww.el (eww-render): Always set eww-current-url,
12666 and update header line. (Bug#15622)
12667 (eww-display-html): ... Rather than just doing it here.
12668
12669 2013-10-15 Eli Zaretskii <eliz@gnu.org>
12670
12671 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
12672 menu navigations commands.
12673
12674 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
12675
12676 * progmodes/subword.el (subword-capitalize): Be careful when
12677 the search for [[:alpha:]] fails (bug#15580).
12678
12679 2013-10-14 Eli Zaretskii <eliz@gnu.org>
12680
12681 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
12682 to commands that scroll the menu.
12683
12684 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
12685
12686 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
12687 Handle methods ending with `?' and `!'.
12688
12689 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
12690
12691 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
12692 `japanese-cp932' to `cp932' to fix the problem where saving a
12693 source file written in Shift_JIS twice would end up having
12694 `coding: japanese-cp932' which Ruby could not recognize.
12695 (ruby-mode-set-encoding): Add support for encodings mapped to nil
12696 in `ruby-encoding-map'.
12697 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
12698 doesn't need to be explicitly declared in magic comment.
12699 (ruby-encoding-map): Add type declaration for better customize UI.
12700
12701 2013-10-13 Glenn Morris <rgm@gnu.org>
12702
12703 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
12704 Occur buffers are read-only. http://bugs.debian.org/720775
12705
12706 * emacs-lisp/authors.el (authors-fixed-entries):
12707 Comment out old alpha stuff.
12708
12709 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
12710
12711 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
12712 to `after-save-hook' instead of `before-save-hook'.
12713 (ruby-mode-set-encoding): Use the value of coding system used to
12714 write the file. Call `basic-save-buffer-1' after modifying the
12715 buffer.
12716
12717 2013-10-13 Alan Mackenzie <acm@muc.de>
12718
12719 Fix indentation/fontification of Java enum with
12720 "implements"/generic.
12721
12722 * progmodes/cc-engine.el (c-backward-over-enum-header):
12723 Extracted from the three other places and enhanced to handle generics.
12724 (c-inside-bracelist-p): Uses new function above.
12725 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
12726 function above.
12727 (c-font-lock-enum-tail): Uses new function above.
12728
12729 2013-10-13 Kenichi Handa <handa@gnu.org>
12730
12731 * international/mule-cmds.el (select-safe-coding-system): Remove a
12732 superfluous condition in chekcing whether a coding system is safe
12733 or not.
12734
12735 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
12736
12737 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
12738
12739 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
12740
12741 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
12742
12743 2013-10-13 Glenn Morris <rgm@gnu.org>
12744
12745 * menu-bar.el (menu-bar-update-buffers):
12746 Unify Buffers menu prompt string. (Bug#15576)
12747
12748 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
12749
12750 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
12751 Add some entries.
12752 (authors-fixed-entries): Use accented form of name.
12753
12754 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12755
12756 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
12757 method calls (bug#15594).
12758 (ruby-smie--args-separator-p): New function.
12759 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
12760 recognize paren-free method calls.
12761
12762 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
12763 internals of universal-argument.
12764
12765 2013-10-11 Eli Zaretskii <eliz@gnu.org>
12766
12767 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
12768 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
12769 dropped menu on second mouse click on the menu bar.
12770
12771 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
12774 (explicit-shell-file-name): Declare.
12775 (sh--vars-before-point, sh--cmd-completion-table): New functions.
12776 (sh-completion-at-point-function): New function.
12777 (sh-mode): Use it.
12778 (sh-smie--keyword-p): Remove unused argument.
12779 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
12780 vars.
12781 (sh-set-shell): Always setup SMIE, even if we use the
12782 old indentation code.
12783
12784 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
12785
12786 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
12787 cases of ? and =.
12788 (ruby-smie-rules): Simplify the "do" rule. The cases when the
12789 predicate would return nil are almost non-existent.
12790 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
12791
12792 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
12793 cache also after commands that modify the buffer but don't move
12794 point.
12795
12796 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
12797
12798 * env.el (substitute-env-in-file-name): New function.
12799 (substitute-env-vars): Extend the meaning of the optional arg.
12800
12801 2013-10-10 Eli Zaretskii <eliz@gnu.org>
12802
12803 * term/w32-win.el (dynamic-library-alist): Define separate lists
12804 of GIF DLLs for versions before and after 5.0.0 of giflib.
12805 (Bug#15531)
12806
12807 2013-10-10 João Távora <joaotavora@gmail.com>
12808
12809 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
12810 not locked, use last revision and current source as
12811 defaults. (Bug#15569)
12812
12813 2013-10-10 Masatake YAMATO <yamato@redhat.com>
12814
12815 * menu-bar.el (menu-bar-open): Don't use popup-menu if
12816 menu-bar is hidden.
12817
12818 2013-10-10 Martin Rudalics <rudalics@gmx.at>
12819
12820 * window.el (pop-to-buffer-same-window): Fix doc-string.
12821 (Bug#15492)
12822
12823 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
12826
12827 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
12828
12829 * calendar/icalendar.el (icalendar-import-file):
12830 Fix interactive spec. (Bug#15482)
12831
12832 2013-10-10 Glenn Morris <rgm@gnu.org>
12833
12834 * desktop.el (desktop-save): Default to saving in .emacs.d,
12835 since PWD is no longer in desktop-path by default. (Bug#15319)
12836
12837 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
12838 now that text mode has a menu with the same entry.
12839 (menu-bar-text-mode-auto-fill): Remove now unused func.
12840 * textmodes/text-mode.el (text-mode-map):
12841 Use auto-fill help text from menu-bar.el.
12842
12843 2013-10-10 John Anthony <john@jo.hnanthony.com>
12844
12845 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
12846
12847 2013-10-09 Juri Linkov <juri@jurta.org>
12848
12849 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
12850 instead of this-command-keys. Add universal-argument-more and
12851 universal-argument-minus to the list of prefix commands. (Bug#15568)
12852
12853 2013-10-09 Glenn Morris <rgm@gnu.org>
12854
12855 * vc/vc-svn.el (vc-svn-create-repo):
12856 Expand paths in file://... url. (Bug#15446)
12857
12858 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
12859 Add some entries.
12860 (authors): Remove unused local variables.
12861
12862 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
12863
12864 * profiler.el: Create a more coherent calltree from partial backtraces.
12865 (profiler-format): Hide the tail with `invisible' so that C-s can still
12866 find the hidden elements.
12867 (profiler-calltree-depth): Don't recurse so enthusiastically.
12868 (profiler-function-equal): New hash-table-test.
12869 (profiler-calltree-build-unified): New function.
12870 (profiler-calltree-build): Use it.
12871 (profiler-report-make-name-part): Indent the calltree less.
12872 (profiler-report-mode): Add visibility specs for profiler-format.
12873 (profiler-report-expand-entry, profiler-report-toggle-entry):
12874 Expand the whole subtree when provided with a prefix arg.
12875
12876 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
12877
12878 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
12879 iuwu-mod token.
12880 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
12881 hanging iuwu-mod token.
12882 (ruby-smie--forward-token): Do not include a dot after a token in
12883 that token.
12884 (ruby-smie--backward-token): Likewise.
12885
12886 2013-10-08 Juri Linkov <juri@jurta.org>
12887
12888 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
12889 to isearch-other-control-char.
12890 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
12891 and isearch-post-command-hook to post-command-hook.
12892 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
12893 and isearch-post-command-hook from post-command-hook.
12894 (isearch-unread-key-sequence)
12895 (isearch-reread-key-sequence-naturally)
12896 (isearch-lookup-scroll-key, isearch-other-control-char)
12897 (isearch-other-meta-char): Remove functions.
12898 (isearch-pre-command-hook, isearch-post-command-hook):
12899 New functions based on isearch-other-meta-char rewritten
12900 relying on the new behavior of overriding-terminal-local-map
12901 that does not replace the local keymaps any more. (Bug#15200)
12902
12903 2013-10-08 Eli Zaretskii <eliz@gnu.org>
12904
12905 Support menus on text-mode terminals.
12906 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
12907 functionality.
12908
12909 * tooltip.el (tooltip-mode): Don't error out on TTYs.
12910
12911 * menu-bar.el (popup-menu, popup-menu-normalize-position):
12912 Move here from mouse.el.
12913 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
12914 and arrow keys.
12915 (tty-menu-navigation-map): New map for TTY menu navigation.
12916
12917 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
12918
12919 * frame.el (display-mouse-p): Report text-mode mouse as available
12920 on w32.
12921 (display-popup-menus-p): Report availability if mouse is
12922 available; don't condition on window-system.
12923
12924 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
12925 (tty-menu-selected-face): New faces.
12926
12927 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
12928
12929 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
12930 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
12931 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
12932 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
12933 New constants.
12934 (lisp-mode-variables): New `elisp' argument.
12935 (emacs-lisp-mode): Use it.
12936 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
12937 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
12938
12939 * indent.el: Use lexical-binding.
12940 (indent-region): Add progress reporter.
12941 (tab-stop-list): Make it implicitly extend to infinity by repeating the
12942 last step.
12943 (indent--next-tab-stop): New function to implement this behavior.
12944 (tab-to-tab-stop, move-to-tab-stop): Use it.
12945
12946 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
12947
12948 * indent.el (indent-rigidly--current-indentation): New function.
12949 (indent-rigidly-map): New var.
12950 (indent-rigidly): Use it to provide interactive mode (bug#8196).
12951
12952 2013-10-08 Bastien Guerry <bzg@gnu.org>
12953
12954 * register.el (insert-register): Fix 2013-10-07 change.
12955
12956 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * progmodes/perl-mode.el: Use lexical-binding.
12959 Remove redundant :group args.
12960 (perl-nochange): Change default to be closer to other major modes's
12961 standard behavior.
12962 (perl-indent-line): Don't consider text on current line as a
12963 valid beginning of function from which to indent.
12964
12965 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
12966 with more than one argument (bug#15538).
12967
12968 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
12969
12970 * vc/pcvs.el: Use lexical-binding.
12971 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
12972 environment of `eval'.
12973 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
12974 than a list of expressions. Adjust callers.
12975 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
12976
12977 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
12978
12979 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
12980 case of the dot in a chained method call being on the following line.
12981
12982 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * electric.el (electric-indent-inhibit): New var.
12985 (electric-indent-post-self-insert-function): Use it.
12986 * progmodes/python.el (python-mode): Set it.
12987
12988 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
12989 open braces.
12990
12991 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
12992
12993 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
12994 (css-mode): Use electric-indent-chars.
12995
12996 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
12997 (font-lock-beg, font-lock-end): Move before first use.
12998 (nxml-mode): Use syntax-propertize-function.
12999 (nxml-after-change, nxml-after-change1): Adjust accordingly.
13000 (nxml-extend-after-change-region): Remove.
13001 * nxml/xmltok.el: Use lexical-binding.
13002 (xmltok-save): Use `declare'.
13003 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
13004 * nxml/nxml-util.el: Use lexical-binding.
13005 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
13006 Use `declare'.
13007 * nxml/nxml-ns.el: Use lexical-binding.
13008 (nxml-ns-save): Use `declare'.
13009 (nxml-ns-prefixes-for): Avoid add-to-list.
13010 * nxml/rng-match.el: Use lexical-binding.
13011 (rng--ipattern): Use cl-defstruct.
13012 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
13013 (rng-cons-group-after, rng-subst-group-after)
13014 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
13015 Use closures instead of `(lambda...).
13016
13017 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
13018
13019 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
13020 of BEG and END.
13021
13022 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13023 Use `tramp-handle-insert-file-contents'.
13024 (tramp-gvfs-handle-insert-file-contents): Remove function.
13025
13026 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13027 Use `save-restriction' in order to keep markers.
13028
13029 * net/trampver.el: Update release number.
13030
13031 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13032
13033 * progmodes/compile.el (compilation-parse-errors):
13034 Use compilation--put-prop.
13035 (compilation--ensure-parse): Check compilation-multiline.
13036
13037 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
13038
13039 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
13040 lexical-binding.
13041
13042 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
13043
13044 * progmodes/ruby-mode.el: Fix recently added tests.
13045 (ruby-smie-grammar): Add - and +.
13046 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
13047 (ruby-smie--backward-id): New functions.
13048 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
13049 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
13050 any more.
13051
13052 2013-10-07 Leo Liu <sdl.web@gmail.com>
13053
13054 * register.el (register-preview-delay)
13055 (register-preview-functions): New variables.
13056 (register-read-with-preview, register-preview)
13057 (register-describe-oneline): New functions.
13058 (point-to-register, window-configuration-to-register)
13059 (frame-configuration-to-register, jump-to-register)
13060 (number-to-register, view-register, insert-register)
13061 (copy-to-register, append-to-register, prepend-to-register)
13062 (copy-rectangle-to-register): Use register-read-with-preview to
13063 read register. (Bug#15525)
13064
13065 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
13066
13067 * net/network-stream.el (network-stream-open-starttls): Don't add
13068 --insecure if it's already present, because that gnutls-cli
13069 rejects getting that parameter twice.
13070
13071 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
13072
13073 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
13074 keyword, too.
13075
13076 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
13077
13078 * newcomment.el (comment-use-global-state): Change default value
13079 to t, mark obsolete (Bug#15251).
13080 (comment-beginning): In addition to `comment-to-syntax', check the
13081 value of `comment-use-global-state'.
13082
13083 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13084
13085 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
13086 (ruby-comment-column): Follow the global default, by default.
13087 (ruby-smie-grammar): Add assignment syntax.
13088 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
13089 open-paren, a comma, or a \.
13090 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
13091 and line continuations.
13092 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
13093 followed by implicit semi-colons. Add rule for string concatenation
13094 and for indentation at BOB.
13095 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
13096
13097 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
13098 calling next-sexp, since next-token may have skipped chars which
13099 next-sexp doesn't know should be skipped!
13100
13101 2013-10-05 Leo Liu <sdl.web@gmail.com>
13102
13103 * progmodes/octave.el (octave-send-region):
13104 Call compilation-forget-errors.
13105
13106 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
13107
13108 * vc/vc-svn.el (vc-svn-find-admin-dir):
13109 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
13110 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
13111 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
13112 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
13113
13114 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
13115
13116 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
13117
13118 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * subr.el (read-passwd): Hide chars even when called within a context
13121 where after-change-functions is disabled (bug#15501).
13122 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
13123 until we removed ourself from overriding-terminal-local-map.
13124
13125 2013-10-04 Leo Liu <sdl.web@gmail.com>
13126
13127 * progmodes/octave.el (inferior-octave-mode):
13128 Call compilation-forget-errors.
13129
13130 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
13131
13132 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
13133
13134 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
13135
13136 * net/secrets.el (secrets-create-collection): Add optional
13137 argument ALIAS. Use proper Label keyword. Append ALIAS as
13138 dbus-call-method argument. (Bug#15516)
13139
13140 2013-10-04 Leo Liu <sdl.web@gmail.com>
13141
13142 * progmodes/octave.el (inferior-octave-error-regexp-alist)
13143 (inferior-octave-compilation-font-lock-keywords): New variables.
13144 (compilation-error-regexp-alist)
13145 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
13146 (inferior-octave-mode): Use compilation-shell-minor-mode.
13147
13148 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
13149
13150 * minibuffer.el (completion--replace): Be careful that `end' might be
13151 a marker.
13152
13153 2013-10-03 Daiki Ueno <ueno@gnu.org>
13154
13155 Add support for package signature checking.
13156 * emacs-lisp/package.el (url-http-file-exists-p)
13157 (epg-make-context, epg-context-set-home-directory)
13158 (epg-verify-string, epg-context-result-for)
13159 (epg-signature-status, epg-signature-to-string)
13160 (epg-check-configuration, epg-configuration)
13161 (epg-import-keys-from-file): Declare.
13162 (package-check-signature): New user option.
13163 (package-unsigned-archives): New user option.
13164 (package-desc): Add `signed' field.
13165 (package-load-descriptor): Set `signed' field if .signed file exists.
13166 (package--archive-file-exists-p): New function.
13167 (package--check-signature): New function.
13168 (package-install-from-archive): Check package signature.
13169 (package--download-one-archive): Check archive signature.
13170 (package-delete): Remove .signed file.
13171 (package-import-keyring): New command.
13172 (package-refresh-contents): Import default keyring.
13173 (package-desc-status): Add "unsigned" status.
13174 (describe-package-1, package-menu--print-info)
13175 (package-menu-mark-delete, package-menu--find-upgrades)
13176 (package-menu--status-predicate): Support "unsigned" status.
13177
13178 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13179
13180 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
13181 the new compilation scheme using the new byte-codes.
13182
13183 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
13184 (byte-pophandler): New byte codes.
13185 (byte-goto-ops): Adjust accordingly.
13186 (byte-compile--use-old-handlers): New var.
13187 (byte-compile-catch): Use new byte codes depending on
13188 byte-compile--use-old-handlers.
13189 (byte-compile-condition-case--old): Rename from
13190 byte-compile-condition-case.
13191 (byte-compile-condition-case--new): New function.
13192 (byte-compile-condition-case): New function that dispatches depending
13193 on byte-compile--use-old-handlers.
13194 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
13195 when we can.
13196
13197 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
13198 Optimize under `condition-case' and `catch' if
13199 byte-compile--use-old-handlers is nil.
13200 (disassemble-offset): Handle new bytecodes.
13201
13202 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 * subr.el (error): Use `declare'.
13205 (decode-char, encode-char): Use advertised-calling-convention instead
13206 of the docstring to discourage use of the `restriction' arg.
13207
13208 2013-10-03 Daiki Ueno <ueno@gnu.org>
13209
13210 * epg.el (epg-verify-file): Add a comment saying that it does not
13211 notify verification error as a return value nor a signal.
13212 (epg-verify-string): Ditto.
13213
13214 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
13215
13216 * progmodes/compile.el (compilation-start): Try globbing the arg to
13217 `cd' (bug#15417).
13218
13219 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
13220
13221 Sync with Tramp 2.2.8.
13222
13223 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
13224 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
13225 * net/trampver.el: Update release number.
13226
13227 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
13228
13229 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13230 and default-process-coding-system for darwin only.
13231
13232 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
13235
13236 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
13237
13238 * vc/vc-git.el (vc-git-grep): Disable pager.
13239
13240 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
13241
13242 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
13243 Use :url instead of :homepage, as per
13244 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
13245
13246 * newcomment.el (comment-beginning): When `comment-use-syntax' is
13247 non-nil, use `syntax-ppss' (Bug#15251).
13248
13249 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13250
13251 * progmodes/octave.el (inferior-octave-startup-file):
13252 Prefer ~/.emacs.d/init_octave.m.
13253
13254 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
13255
13256 * emacs-lisp/package.el (package-desc-from-define):
13257 Accept additional arguments as plist, convert them to an alist and store
13258 them in the `extras' slot.
13259 (package-generate-description-file): Convert extras alist back to
13260 plist and append to the `define-package' form arguments.
13261 (package--alist-to-plist): New function.
13262 (package--ac-desc): Add `extras' slot.
13263 (package--add-to-archive-contents): Check if the archive-contents
13264 vector is long enough, and if it is, pass its `extras' slot value
13265 to `package-desc-create'.
13266 (package-buffer-info): Call `lm-homepage', pass the returned value
13267 to `package-desc-from-define'.
13268 (describe-package-1): Render the homepage button (Bug#13291).
13269
13270 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13271 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
13272
13273 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
13274
13275 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13276 and default-process-coding-system to utf-8-unix (Bug#15402).
13277
13278 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
13279
13280 * subr.el (looking-back): Do not recommend using looking-back.
13281
13282 2013-09-28 Alan Mackenzie <acm@muc.de>
13283
13284 Fix indentation/fontification of Java enum with "implements".
13285
13286 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
13287 regexp which matches "implements", etc., in Java.
13288 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
13289 specifier clauses coming after "enum".
13290 * progmodes/cc-fonts.el (c-font-lock-declarations)
13291 (c-font-lock-enum-tail): Check for extra specifier clauses coming
13292 after "enum".
13293
13294 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
13295
13296 * faces.el (region): Change ns_selection_color to
13297 ns_selection_fg_color, add ns_selection_bg_color.
13298
13299 2013-09-28 Leo Liu <sdl.web@gmail.com>
13300
13301 * progmodes/octave.el (inferior-octave-completion-table)
13302 (inferior-octave-completion-at-point): Minor tweaks.
13303
13304 * textmodes/ispell.el (ispell-lookup-words): Rename from
13305 lookup-words. (Bug#15460)
13306 (lookup-words): Obsolete.
13307 (ispell-complete-word, ispell-command-loop): All uses changed.
13308
13309 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13310
13311 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
13312 (octave-mode-menu): Add octave-send-buffer.
13313 (octave-send-buffer): New function.
13314
13315 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13316
13317 * progmodes/octave.el (octave-mode-map): Add key binding for
13318 octave-lookfor.
13319 (octave-mode-menu): Add octave-lookfor.
13320 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
13321 octave-lookfor.
13322 (octave-lookfor): New function.
13323
13324 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13325
13326 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
13327 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
13328 its convention.
13329 (cl--loop-set-iterator-function): New function.
13330 (cl-loop): Adjust accordingly, so as not to use cl-subst.
13331 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
13332 Bind `it' with `let' instead of substituting it with `cl-subst'.
13333 (cl--unused-var-p): New function.
13334 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
13335 Eliminate some unused variable warnings (bug#15326).
13336
13337 2013-09-27 Tassilo Horn <tsdh@gnu.org>
13338
13339 * doc-view.el (doc-view-scale-reset): Rename from
13340 `doc-view-reset-zoom-level'.
13341 (doc-view-scale-adjust): New command.
13342 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
13343 `doc-view-scale-adjust'.
13344
13345 2013-09-26 Tassilo Horn <tsdh@gnu.org>
13346
13347 * doc-view.el (doc-view-reset-zoom-level): New command.
13348 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
13349 zoom commands (bug#15466).
13350
13351 2013-09-26 Kenichi Handa <handa@gnu.org>
13352
13353 * international/quail.el (quail-help): Make it not a command.
13354
13355 2013-09-26 Leo Liu <sdl.web@gmail.com>
13356
13357 * minibuffer.el (completion-all-sorted-completions): Make args
13358 optional as they are.
13359
13360 2013-09-25 Daniel Colascione <dancol@dancol.org>
13361
13362 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
13363 specs are and that they're not evaluated.
13364
13365 2013-09-24 Sam Steingold <sds@gnu.org>
13366
13367 * midnight.el (clean-buffer-list-kill-regexps)
13368 (clean-buffer-list-kill-buffer-names): Update for the new Man
13369 buffer naming which includes the object name.
13370
13371 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * eshell/esh-cmd.el (eshell--sep-terms): New var.
13374 (eshell-parse-command, eshell-parse-pipeline): Use it since
13375 eshell-separate-commands requires a dynamic scoped var.
13376 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
13377
13378 2013-09-23 Leo Liu <sdl.web@gmail.com>
13379
13380 * autoinsert.el (auto-insert-alist): Make the value of
13381 lexical-binding match its file setting.
13382
13383 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
13384
13385 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
13386
13387 * autoarg.el (autoarg-kp-digit-argument):
13388 * electric.el (Electric-command-loop):
13389 * kmacro.el (kmacro-step-edit-insert):
13390 Do not set universal-argument-num-events.
13391
13392 2013-09-22 Leo Liu <sdl.web@gmail.com>
13393
13394 * files.el (interpreter-mode-alist): Add octave.
13395
13396 2013-09-21 Alan Mackenzie <acm@muc.de>
13397
13398 C++: fontify identifier in declaration following "public:" correctly.
13399 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
13400 to match "public", etc.
13401 (c-decl-prefix-re): Add ":" into the C++ value.
13402 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
13403 bit. Add a check for a ":" preceded by "public", etc.
13404
13405 2013-09-21 Eli Zaretskii <eliz@gnu.org>
13406
13407 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
13408 recognized by GDB 7.5 and later.
13409
13410 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
13411
13412 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
13413
13414 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13415
13416 * subr.el (internal--call-interactively): New const.
13417 (called-interactively-p): Use it (bug#3984).
13418
13419 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
13420
13421 * vc/pcvs.el (cvs-mode-ignore):
13422 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
13423 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
13424
13425 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13426
13427 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
13428 (eshell-ls-orig-insert-directory): Remove.
13429 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
13430 (eshell-ls-use-in-dired): Use advice-add/remove.
13431 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
13432 Add `orig-fun' arg for use in :around advice.
13433 Make it check (redundantly) eshell-ls-use-in-dired.
13434
13435 2013-09-19 Glenn Morris <rgm@gnu.org>
13436
13437 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
13438
13439 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
13440
13441 * emacs-lisp/eieio.el (class-parent): Undo previous change.
13442
13443 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
13444
13445 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
13446 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
13447 (tramp-get-remote-python): New defuns.
13448 (tramp-get-remote-uid-with-perl)
13449 (tramp-get-remote-gid-with-perl): New defuns. Perl code
13450 contributed by yary <not.com@gmail.com> (tiny change).
13451 (tramp-get-remote-uid-with-python)
13452 (tramp-get-remote-gid-with-python): New defuns. Python code
13453 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
13454 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
13455
13456 2013-09-19 Glenn Morris <rgm@gnu.org>
13457
13458 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
13459
13460 * eshell/em-unix.el (eshell-remove-entries):
13461 Rename argument to avoid name-clash with global `top-level'.
13462
13463 * eshell/esh-proc.el (eshell-kill-process-function):
13464 Remove eshell-reset-after-proc from eshell-kill-hook if present.
13465 (eshell-reset-after-proc): Remove unused arg `proc'.
13466
13467 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
13468 (directory-files-and-attributes): Mark unused arg.
13469
13470 * eshell/em-unix.el (eshell-remove-entries):
13471 Remove unused arg `path'. Update callers.
13472
13473 * eshell/em-hist.el (eshell-hist-parse-arguments):
13474 Remove unused arg `silent'. Update callers.
13475
13476 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
13477 Fix (f)boundp mix-up.
13478
13479 * eshell/em-smart.el (eshell-smart-scroll-window)
13480 (eshell-disable-after-change):
13481 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
13482
13483 2013-09-18 Alan Mackenzie <acm@muc.de>
13484
13485 Fix fontification of type when followed by "const".
13486 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
13487 "known" types from fontification.
13488
13489 2013-09-18 Glenn Morris <rgm@gnu.org>
13490
13491 * emacs-lisp/chart.el (x-display-color-cells): Declare.
13492 (chart-face-list): Drop Emacsen without display-color-p.
13493
13494 * net/eww.el (libxml-parse-html-region): Declare.
13495 (eww-display-html): Explicit error if no libxml2 support.
13496
13497 * doc-view.el (doc-view-mode): Silence --without-x compilation.
13498
13499 * image.el (image-type-from-buffer, image-multi-frame-p):
13500 Remove --without-x warning/error.
13501
13502 * mouse.el (mouse-yank-primary):
13503 * term.el (term-mouse-paste):
13504 Reorder to silence --without-x compilation.
13505
13506 * mpc.el (doc-view-mode): Silence --without-x compilation.
13507
13508 * mail/rmailmm.el (rmail-mime-set-bulk-data):
13509 Silence --without-x compilation.
13510
13511 * progmodes/gud.el (gud-find-file, gud-mode):
13512 Silence --without-x compilation.
13513 (tooltip-mode): Declare.
13514
13515 * wdired.el (dired-backup-overwrite): Remove declaration.
13516 (wdired-mode-map): Add doc string.
13517
13518 * custom.el (x-get-resource): Declare.
13519
13520 * eshell/em-glob.el (ange-cache):
13521 * eshell/em-unix.el (ange-cache): Declare.
13522
13523 * faces.el (x-display-list, x-open-connection, x-get-resource):
13524 Declare.
13525
13526 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
13527 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
13528 Declare.
13529
13530 * frame.el (x-display-grayscale-p, x-display-name): Declare.
13531
13532 * net/gnutls.el (gnutls-log-level): Declare.
13533
13534 * net/shr.el (image-size, image-animate): Declare.
13535
13536 * simple.el (font-info): Declare.
13537
13538 * subr.el (x-popup-dialog): Declare.
13539
13540 * term/common-win.el (x-select-enable-primary)
13541 (x-last-selected-text-primary, x-last-selected-text-clipboard):
13542 Declare.
13543
13544 * term/ns-win.el (x-handle-args): Declare.
13545
13546 * term/x-win.el (x-select-enable-clipboard): Declare.
13547
13548 * term/w32-win.el (create-default-fontset): Declare.
13549
13550 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
13551 Declare.
13552
13553 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
13554 (fit-frame-to-buffer): Explicit error if --without-x.
13555 (mouse-autoselect-window-select): Silence compiler.
13556
13557 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13558
13559 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
13560 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
13561 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
13562 * eshell/esh-util.el (eshell-sublist):
13563 Remove unused local variables.
13564
13565 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
13566
13567 * textmodes/two-column.el: Make 2C-split work for --without-x.
13568 (scroll-bar-columns): Autoload.
13569 (top-level): Require fringe when compiling.
13570
13571 2013-09-18 Leo Liu <sdl.web@gmail.com>
13572
13573 * subr.el (add-hook): Robustify to handle closure as well.
13574
13575 2013-09-17 Glenn Morris <rgm@gnu.org>
13576
13577 * simple.el (messages-buffer-mode-map): Unbind "g".
13578
13579 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13580
13581 * help-mode.el (help-mode-finish): Use derived-mode-p.
13582 Remove obsolete highlighting.
13583
13584 * play/life.el (life-mode): Use define-derived-mode. Derive from
13585 special-mode.
13586 (life): Let-bind inhibit-read-only.
13587 (life-setup): Avoid `setq'. Use `life-mode'.
13588
13589 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
13590 which should not be needed any more.
13591 (package-menu-refresh, package-menu-describe-package): Use user-error.
13592
13593 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
13594 (eshell-post-rewrite-command-hook): Make obsolete.
13595 (eshell-parse-command): Simplify.
13596 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
13597 (eshell--cmd): Declare.
13598 (eshell-parse-pipeline): Remove unused var `final-p'.
13599 Pass a dynvar to eshell-post-rewrite-command-hook.
13600 Implement the new eshell-post-rewrite-command-function.
13601 (eshell-invoke-directly): Remove unused arg `input'.
13602 * eshell/esh-io.el (eshell-io-initialize):
13603 Use eshell-post-rewrite-command-function (bug#15399).
13604 (eshell--apply-redirections): Rename from eshell-apply-redirections;
13605 adjust to new calling convention.
13606 (eshell-create-handles): Rename args to avoid clashing with dynvar
13607 `standard-output'.
13608
13609 2013-09-17 Glenn Morris <rgm@gnu.org>
13610
13611 * simple.el (messages-buffer-mode): New major mode.
13612 (messages-buffer): New function.
13613 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
13614 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
13615 (ert-run-test): Use `messages-buffer' function.
13616 (ert--force-message-log-buffer-truncation): Ignore read-only.
13617 * help.el (view-echo-area-messages): Use `messages-buffer' function.
13618 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
13619
13620 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13621
13622 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
13623
13624 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
13625
13626 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13627
13628 * icomplete.el (icomplete-in-buffer): New var.
13629 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
13630 vars and replace them with functions.
13631 (icomplete-minibuffer-setup): Adjust accordingly.
13632 (icomplete--completion-table, icomplete--completion-predicate)
13633 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
13634 New functions.
13635 (icomplete-forward-completions, icomplete-backward-completions)
13636 (icomplete-simple-completing-p, icomplete-exhibit)
13637 (icomplete-completions): Use them.
13638 (icomplete--in-region-buffer): New var.
13639 (icomplete--in-region-setup): New function.
13640 (icomplete-mode): Use it.
13641
13642 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
13643 (bug#15379).
13644 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
13645 return args and options.
13646 (eshell-eval-using-options): Use the new return value of
13647 eshell--do-opts to set the options's vars in their scope.
13648 (eshell--set-option): Rename from eshell-set-option.
13649 Add arg `opt-vals'.
13650 (eshell--process-option): Rename from eshell-process-option.
13651 Add arg `opt-vals'.
13652 (eshell--process-args): Use an `opt-vals' alist to store the options's
13653 values during their processing and return them additionally to the
13654 remaining args.
13655
13656 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
13657
13658 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
13659 continuation character an operator, as far as indentation is
13660 concerned (Bug#15369).
13661
13662 2013-09-15 Martin Rudalics <rudalics@gmx.at>
13663
13664 * window.el (window--state-put-2): Don't process buffer state
13665 when buffer doesn't exist any more (Bug#15382).
13666
13667 2013-09-15 Glenn Morris <rgm@gnu.org>
13668
13669 * eshell/em-unix.el (eshell/rm):
13670 Make -f ignore missing files. (Bug#15373)
13671
13672 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
13673 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
13674 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
13675
13676 2013-09-14 Glenn Morris <rgm@gnu.org>
13677
13678 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
13679
13680 2013-09-13 Glenn Morris <rgm@gnu.org>
13681
13682 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
13683 (dired-guess-default): Make `file' available in the env. (Bug#15363)
13684
13685 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
13686
13687 * frame.el (x-focus-frame): Mark as declared in frame.c.
13688
13689 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * ls-lisp.el: Use advice-add.
13692 (original-insert-directory): Remove.
13693 (ls-lisp--insert-directory): Rename from insert-directory; add
13694 `orig-fun' argument.
13695 (insert-directory): Advise.
13696
13697 2013-09-13 Eli Zaretskii <eliz@gnu.org>
13698
13699 * term.el (term-emulate-terminal): Decode the command string
13700 before passing it to term-command-hook. (Bug#15337)
13701
13702 2013-09-13 Glenn Morris <rgm@gnu.org>
13703
13704 * eshell/esh-util.el (ange-cache): Move declaration earlier.
13705
13706 * eshell/esh-ext.el (eshell-search-path): Declare.
13707
13708 * eshell/em-prompt.el (eshell/pwd): Autoload it.
13709 Otherwise an error occurs if eshell-dirs module not loaded.
13710
13711 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
13712
13713 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
13714
13715 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
13716 `tramp-check-proper-host'. Check for a valid method name.
13717
13718 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13719 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13720 * net/tramp-sh.el (tramp-maybe-open-connection):
13721 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
13722
13723 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
13724 also for hash values.
13725
13726 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13727
13728 * term/ns-win.el (parameters): Don't declare as dynamic.
13729 (before-make-frame-hook): Don't add ineffective function.
13730
13731 * eshell/*.el: Use lexical-binding (bug#15231).
13732
13733 2013-09-12 Kenichi Handa <handa@gnu.org>
13734
13735 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
13736
13737 2013-09-12 Glenn Morris <rgm@gnu.org>
13738
13739 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
13740 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
13741
13742 * subr.el (do-after-load-evaluation): Also give compiler warnings
13743 when obsolete files are used (except by obsolete files).
13744
13745 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
13746 in the status output, assume `filename' is the first. (Bug#15322)
13747
13748 * vc/vc.el (vc-deduce-fileset): Doc fix.
13749
13750 * calc/calc-help.el (Info-goto-node):
13751 * progmodes/cperl-mode.el (Info-find-node):
13752 * vc/ediff.el (Info-goto-node): Update declarations.
13753
13754 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
13755
13756 * vc/vc-bzr.el (vc-compilation-mode): Declare.
13757 (vc-bzr-pull): Require vc-dispatcher.
13758 * vc/vc-git.el (vc-compilation-mode): Declare.
13759 (vc-git-pull): Require vc-dispatcher.
13760
13761 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
13762
13763 * progmodes/octave.el (help-button-action): Declare.
13764
13765 * shell.el (shell-directory-tracker): Output error as a message
13766 rather than just returning it as a string.
13767 (shell-process-pushd): Remove useless use of message.
13768
13769 * dframe.el (dframe-timer-fn):
13770 * files.el (dir-locals-read-from-file):
13771 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
13772 (mpc-format):
13773 * reveal.el (reveal-post-command):
13774 * saveplace.el (load-save-place-alist-from-file):
13775 * shell.el (shell-resync-dirs):
13776 * w32-common-fns.el (x-get-selection-value):
13777 * emacs-lisp/copyright.el (copyright-find-copyright):
13778 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
13779 * emulation/tpu-edt.el (tpu-copy-keyfile):
13780 * play/bubbles.el (bubbles--mark-neighbourhood):
13781 * progmodes/executable.el
13782 (executable-make-buffer-file-executable-if-script-p):
13783 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
13784
13785 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13786
13787 Cleanup Eshell to rely less on dynamic scoping.
13788 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
13789 last-value, and ext-command here. Bind `args' closer to `body'.
13790 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
13791 (eshell--args): Declare new dynamic var.
13792 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
13793 last-value, and ext-command. Pass `args' to `body'.
13794 (eshell-process-args): Bind eshell--args.
13795 (eshell-set-option): Use eshell--args.
13796 * eshell/eshell.el (eshell): Use derived-mode-p.
13797 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
13798 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
13799 (eshell-glob-function): Declare.
13800 * eshell/esh-util.el: Require cl-lib.
13801 (eshell-read-hosts-file): Avoid add-to-list.
13802 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
13803 `err'.
13804 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
13805 Declare.
13806 (eshell/diff): Remove unused var `err'.
13807 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
13808 `killflag'.
13809 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
13810 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
13811 first use.
13812 * eshell/em-glob.el (eshell-glob-matches, message-shown):
13813 Move declaration before first use.
13814 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
13815 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
13816 rely on cl-return.
13817
13818 2013-09-12 Glenn Morris <rgm@gnu.org>
13819
13820 * term/ns-win.el (global-map): Remove binding for ispell-next,
13821 deleted 1999-05-29. (Bug#15357)
13822
13823 2013-09-11 Glenn Morris <rgm@gnu.org>
13824
13825 * echistory.el (electric-command-history): Remove call to deleted func.
13826
13827 * play/landmark.el (landmark-mode): Fix typos.
13828
13829 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
13830 Check cvs-sort-ignore-file is bound.
13831
13832 * savehist.el: No need for cl when compiling on Emacs.
13833
13834 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13835
13836 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
13837 (bug#15338).
13838 (eshell-self-insert-command, eshell-send-invisible):
13839 Remove unused argument.
13840 (eshell-handle-control-codes): Remove unused var `orig'.
13841 Avoid delete-backward-char.
13842
13843 * files.el (set-auto-mode): Simplify a bit further.
13844
13845 2013-09-11 Glenn Morris <rgm@gnu.org>
13846
13847 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
13848 (set-auto-mode): Don't regexp-quote elements.
13849 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
13850 * progmodes/cc-mode.el (interpreter-mode-alist):
13851 * progmodes/ruby-mode.el (interpreter-mode-alist):
13852 Revert previous change.
13853
13854 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13855
13856 * play/snake.el (snake-mode):
13857 * play/mpuz.el (mpuz-mode):
13858 * play/landmark.el (lm-mode):
13859 * play/blackbox.el (blackbox-mode):
13860 * play/5x5.el (5x5-mode):
13861 * obsolete/options.el (Edit-options-mode):
13862 * net/quickurl.el (quickurl-list-mode):
13863 * net/newst-treeview.el (newsticker-treeview-mode):
13864 * mail/rmailsum.el (rmail-summary-mode):
13865 * mail/mspools.el (mspools-mode):
13866 * locate.el (locate-mode):
13867 * ibuffer.el (ibuffer-mode):
13868 * emulation/ws-mode.el (wordstar-mode):
13869 * emacs-lisp/debug.el (debugger-mode):
13870 * array.el (array-mode):
13871 * net/eudc.el (eudc-mode): Use define-derived-mode.
13872 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
13873 Move initialization into declaration.
13874 (mairix-searches-mode): Use define-derived-mode.
13875 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
13876 (eudc-edit-hotlist): Use dolist.
13877 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
13878 (Man-mode): Use define-derived-mode.
13879 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
13880 (Info-edit-mode): Use define-derived-mode.
13881 (Info-cease-edit): Use Info-mode.
13882 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
13883 into declaration.
13884 (eshell-mode): Use define-derived-mode.
13885 * chistory.el (command-history-mode-map): Rename from
13886 command-history-map.
13887 (command-history-mode): Use define-derived-mode.
13888 (Command-history-setup): Remove function.
13889 * calc/calc.el (calc-trail-mode-map): New var.
13890 (calc-trail-mode): Use define-derived-mode.
13891 (calc-trail-buffer): Set calc-main-buffer manually.
13892 * bookmark.el (bookmark-insert-annotation): New function.
13893 (bookmark-edit-annotation): Use it.
13894 (bookmark-edit-annotation-mode): Make it a proper major mode.
13895 (bookmark-send-edited-annotation): Use derived-mode-p.
13896 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
13897 closer to its ideal place. Use \' to match EOS.
13898
13899 * profiler.el (profiler-calltree-find): Use function-equal.
13900
13901 2013-09-10 Glenn Morris <rgm@gnu.org>
13902
13903 * files.el (interpreter-mode-alist): Convert to regexps.
13904 (set-auto-mode): Adapt for this. (Bug#15306)
13905 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
13906 Comment out unused variable.
13907 * progmodes/cc-mode.el (interpreter-mode-alist):
13908 * progmodes/python.el (interpreter-mode-alist):
13909 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
13910 * progmodes/sh-script.el (sh-set-shell):
13911 No longer use interpreter-mode-alist to get list of shells.
13912
13913 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
13914
13915 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
13916
13917 * simple.el: Use set-temporary-overlay-map for universal-argument.
13918 (universal-argument-map): Don't use default-bindings (bug#15317).
13919 Bind switch-frame explicitly. Replace universal-argument-minus with
13920 a conditional binding.
13921 (universal-argument-num-events, saved-overriding-map): Remove.
13922 (restore-overriding-map): Remove.
13923 (universal-argument--mode): Rename from save&set-overriding-map,
13924 and rewrite.
13925 (universal-argument, universal-argument-more, negative-argument)
13926 (digit-argument): Adjust accordingly.
13927 (universal-argument-minus): Remove.
13928 (universal-argument-other-key): Remove.
13929
13930 * subr.el (with-demoted-errors): Add `format' argument.
13931
13932 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
13933
13934 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
13935 `tramp-cleanup-connection'.
13936
13937 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
13938 parameters KEEP-DEBUG and KEEP-PASSWORD.
13939
13940 * net/tramp.el (tramp-file-name-handler):
13941 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13942 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13943 (tramp-maybe-open-connection):
13944 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
13945 Use `tramp-cleanup-connection'.
13946
13947 * net/tramp-sh.el (tramp-maybe-open-connection):
13948 Catch 'uname-changed inside the progress reporter.
13949
13950 2013-09-10 Glenn Morris <rgm@gnu.org>
13951
13952 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
13953
13954 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
13955 returns "alternate access method" in mode (eg "-rw-r--r--.").
13956
13957 2013-09-08 Glenn Morris <rgm@gnu.org>
13958
13959 * saveplace.el (load-save-place-alist-from-file):
13960 Demote errors. (Bug#15305)
13961
13962 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
13963
13964 Improve compatibility with older Emacsen, and XEmacs.
13965
13966 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
13967 only if it is bound. It isn't for XEmacs.
13968 (with-tramp-progress-reporter): Do not let-bind `result'.
13969 This yields to scoping errors in XEmacs.
13970 (tramp-handle-make-auto-save-file-name): New function, moved from
13971 tramp-sh.el.
13972
13973 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
13974 for `make-auto-save-file-name'.
13975 (tramp-adb--gnu-switches-to-ash):
13976 Use `tramp-compat-replace-regexp-in-string'.
13977
13978 * net/tramp-cache.el (tramp-cache-print): Call
13979 `substring-no-properties' only if it is bound. It isn't for XEmacs.
13980
13981 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
13982 bound. It isn't for XEmacs.
13983
13984 * net/tramp-compat.el (tramp-compat-copy-file):
13985 Catch `wrong-number-of-arguments' error.
13986 (tramp-compat-replace-regexp-in-string): New defun.
13987
13988 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
13989 for `make-auto-save-file-name'.
13990 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
13991 `copy-file'.
13992 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
13993 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
13994 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
13995
13996 * net/tramp-gw.el (tramp-gw-open-network-stream):
13997 Use `tramp-compat-replace-regexp-in-string'.
13998
13999 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14000 Call `tramp-handle-make-auto-save-file-name'.
14001 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
14002 (tramp-sh-file-gvfs-monitor-dir-process-filter)
14003 (tramp-sh-file-inotifywait-process-filter):
14004 Use `tramp-compat-replace-regexp-in-string'.
14005 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
14006
14007 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
14008 for `make-auto-save-file-name'.
14009 (tramp-smb-handle-copy-directory):
14010 Call `tramp-compat-replace-regexp-in-string'.
14011 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
14012 (tramp-smb-handle-copy-file): Improve error message.
14013 (tramp-smb-handle-rename-file): Rename directly only in case
14014 `newname' does not exist yet. This is a restriction of smbclient.
14015 (tramp-smb-maybe-open-connection): Rerun the function only when
14016 `auth-sources' is non-nil.
14017
14018 2013-09-08 Kenichi Handa <handa@gnu.org>
14019
14020 * international/characters.el: Set category "^" (Combining) for
14021 more characters.
14022
14023 2013-09-07 Alan Mackenzie <acm@muc.de>
14024
14025 Correctly fontify Java class constructors.
14026 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
14027 in Java Mode.
14028 (c-recognize-typeless-decls): Set the Java value to t.
14029 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14030 While handling a "(", add a check for, effectively, Java, and handle a
14031 "typeless" declaration there.
14032
14033 2013-09-07 Roland Winkler <winkler@gnu.org>
14034
14035 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
14036 field subtitle for entry type book.
14037
14038 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14039
14040 * minibuffer.el: Make minibuffer-complete call completion-in-region
14041 rather than other way around.
14042 (completion--some, completion-pcm--find-all-completions):
14043 Don't delay signals when debugging.
14044 (minibuffer-completion-contents): Beware fields within the
14045 minibuffer contents.
14046 (completion-all-sorted-completions): Use defvar-local.
14047 (completion--do-completion, completion--cache-all-sorted-completions)
14048 (completion-all-sorted-completions, minibuffer-force-complete):
14049 Add args `beg' and `end'.
14050 (completion--in-region-1): New fun, extracted from minibuffer-complete.
14051 (minibuffer-complete): Use completion-in-region.
14052 (completion-complete-and-exit): New fun, extracted from
14053 minibuffer-complete-and-exit.
14054 (minibuffer-complete-and-exit): Use it.
14055 (completion--complete-and-exit): Rename from
14056 minibuffer--complete-and-exit.
14057 (completion-in-region--single-word): New function, extracted from
14058 minibuffer-complete-word.
14059 (minibuffer-complete-word): Use it.
14060 (display-completion-list): Make `common-substring' argument obsolete.
14061 (completion--in-region): Call completion--in-region-1 instead of
14062 minibuffer-complete.
14063 (completion-help-at-point): Pass boundaries to
14064 minibuffer-completion-help as args rather than via an overlay.
14065 (completion-pcm--string->pattern): Use `any-delim'.
14066 (completion-pcm--optimize-pattern): New function.
14067 (completion-pcm--pattern->regex): Handle `any-delim'.
14068 * icomplete.el (icomplete-forward-completions)
14069 (icomplete-backward-completions, icomplete-completions):
14070 Adjust calls to completion-all-sorted-completions and
14071 completion--cache-all-sorted-completions.
14072 (icomplete-with-completion-tables): Default to t.
14073 * emacs-lisp/crm.el (crm--current-element): Rename from
14074 crm--select-current-element. Don't put an overlay but return the
14075 boundaries instead.
14076 (crm--completion-command): Take two new args to bind to the boundaries.
14077 (crm-completion-help): Adjust accordingly.
14078 (crm-complete): Use completion-in-region.
14079 (crm-complete-word): Use completion-in-region--single-word.
14080 (crm-complete-and-exit): Use completion-complete-and-exit.
14081
14082 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14083
14084 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
14085 than dynamically.
14086
14087 2013-09-06 Juri Linkov <juri@jurta.org>
14088
14089 * info.el (Info-display-images-node): When image file doesn't exist
14090 display text version of the image if it's provided in the Info file.
14091 Otherwise, display the location of missing image from SRC attribute.
14092 Add help-echo text property from ALT attribute. (Bug#15279)
14093
14094 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14095
14096 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
14097 (edit-abbrevs-mode): Use define-derived-mode.
14098
14099 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
14100 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
14101 that it's defined.
14102 (epa-key-list-mode, epa-key-mode, epa-info-mode):
14103 Use define-derived-mode.
14104
14105 * epg.el (epg-start-encrypt): Minor CSE simplification.
14106
14107 2013-09-06 William Xu <william.xwl@gmail.com>
14108
14109 * arc-mode.el: Add support for 7za (bug#15264).
14110 (archive-7z-program): New var.
14111 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
14112 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
14113 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
14114
14115 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
14116
14117 Remove URL syntax.
14118
14119 * net/tramp.el (tramp-syntax, tramp-prefix-format)
14120 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
14121 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
14122 (tramp-postfix-host-format, tramp-file-name-regexp)
14123 (tramp-completion-file-name-regexp)
14124 (tramp-completion-dissect-file-name)
14125 (tramp-handle-substitute-in-file-name): Remove 'url case.
14126 (tramp-file-name-regexp-url)
14127 (tramp-completion-file-name-regexp-url): Remove constants.
14128
14129 2013-09-06 Glenn Morris <rgm@gnu.org>
14130
14131 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
14132
14133 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
14134
14135 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
14136 keywords" below "here-doc beginnings" (Bug#15270).
14137
14138 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
14139
14140 * subr.el (pop): Use `car-safe'.
14141 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
14142 to detect unused `pop' return value.
14143
14144 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
14145 var `block-regexp'.
14146 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
14147 (python-fill-string): Remove unused var `marker'.
14148 (python-skeleton-add-menu-items): Remove unused var `items'.
14149
14150 * international/mule-cmds.el: Require CL.
14151 (find-coding-systems-for-charsets): Avoid add-to-list.
14152 (sanitize-coding-system-list): New function, extracted from
14153 select-safe-coding-system-interactively.
14154 (select-safe-coding-system-interactively): Use it.
14155 (read-input-method-name): Accept symbols for `default'.
14156
14157 * emacs-lisp/advice.el (defadvice): Add indent rule.
14158
14159 2013-09-05 Daniel Hackney <dan@haxney.org>
14160
14161 * dired-x.el:
14162 * net/ange-ftp.el:
14163 * net/browse-url.el:
14164 * net/dbus.el:
14165 * net/eudc.el:
14166 * net/eudcb-ldap.el:
14167 * net/eww.el:
14168 * net/imap.el:
14169 * printing.el:
14170 * vc/ediff-diff.el:
14171 * vc/ediff-init.el:
14172 * vc/ediff-merg.el:
14173 * vc/ediff-mult.el:
14174 * vc/ediff-util.el:
14175 * vc/ediff-wind.el:
14176 * vc/ediff.el:
14177 * vc/emerge.el:
14178 * vc/pcvs.el:
14179 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
14180 byte compiler. Remove some unused let-bound variables.
14181
14182 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
14183
14184 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
14185 a "ref-cell", since it gets better optimized (bug#14883).
14186
14187 2013-09-05 Glenn Morris <rgm@gnu.org>
14188
14189 * progmodes/cc-awk.el (c-forward-sws): Declare.
14190
14191 2013-09-04 Glenn Morris <rgm@gnu.org>
14192
14193 * generic-x.el [rul-generic-mode]: Require cc-mode.
14194 (c++-mode-syntax-table): Declare.
14195 (rul-generic-mode-syntax-table): Init in the defvar.
14196
14197 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14198
14199 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
14200 (vc-do-command, vc-set-async-update):
14201 * vc/vc-mtn.el (vc-mtn-dir-status):
14202 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
14203 (vc-hg-pull, vc-hg-merge-branch):
14204 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
14205 (vc-git-merge-branch):
14206 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
14207 (vc-cvs-dir-status-files):
14208 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
14209 (vc-bzr-dir-status-files):
14210 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
14211 * vc/vc-annotate.el: Use lexical-binding.
14212 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
14213 (vc-sentinel-movepoint): Declare.
14214 (vc-annotate): Don't use `goto-line'.
14215 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
14216 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
14217 (vc-sentinel-movepoint): Declare.
14218 * vc/vc-svn.el: Use lexical-binding.
14219 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
14220 * vc/vc-sccs.el:
14221 * vc/vc-rcs.el: Use lexical-binding.
14222
14223 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
14224 `deleted'. Don't drop errors silently.
14225
14226 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
14227
14228 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
14229
14230 * vc/vc.el (vc-ignore): Rewrite.
14231 (vc-default-ignore): New function.
14232 (vc-default-ignore-completion-table): Use find-ignore-file.
14233
14234 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
14235 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
14236 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
14237 Remove. Most code moved to vc.el.
14238
14239 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
14240
14241 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
14242 * net/tramp-smb.el (tramp-smb-get-file-entries):
14243 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
14244 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
14245
14246 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
14247 Update call to it.
14248 (eww-change-select): Remove unused var `properties'.
14249 (eww-make-unique-file-name): Remove unused var `base'.
14250
14251 * finder.el (finder-compile-keywords): Don't mess with windows.
14252
14253 * calculator.el (calculator-funcall): Fix typo in last change.
14254
14255 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
14256
14257 * emacs-lisp/package.el (package-activate-1): Don't let a missing
14258 <pkg>-autoloads.el file stop us.
14259
14260 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14261 warnings, and factor out common code.
14262
14263 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
14264
14265 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
14266 two-character operators and whether the character preceding them
14267 changes their meaning (Bug#15208).
14268
14269 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14270
14271 Format code sent to Python shell for robustness.
14272 * progmodes/python.el (python-shell-buffer-substring):
14273 New function.
14274 (python-shell-send-region, python-shell-send-buffer): Use it.
14275
14276 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
14277
14278 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
14279 * net/tramp.el (tramp-user-error): ... here.
14280 (tramp-find-method, tramp-check-proper-host)
14281 (tramp-dissect-file-name, tramp-debug-message)
14282 (tramp-handle-shell-command):
14283 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14284 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
14285
14286 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
14287
14288 2013-09-02 Martin Rudalics <rudalics@gmx.at>
14289
14290 * avoid.el (mouse-avoidance-point-position)
14291 (mouse-avoidance-too-close-p): Handle case where posn-at-point
14292 returns nil.
14293
14294 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14295
14296 * progmodes/python.el (python-shell-completion-get-completions):
14297 Drop use of deleted `comint-last-prompt-overlay'.
14298 (python-nav-if-name-main): New command.
14299
14300 2013-09-01 Glenn Morris <rgm@gnu.org>
14301
14302 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14303 Avoid leading space in $wins. Otherwise the sed command used by
14304 eg compile-main ends up containing "/*.el". (Bug#15170)
14305
14306 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
14307
14308 2013-08-30 Glenn Morris <rgm@gnu.org>
14309
14310 * emacs-lisp/bytecomp.el (byte-recompile-directory):
14311 Fix is-this-a-directory logic. (Bug#15220)
14312
14313 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14314
14315 * textmodes/css-mode.el: Use SMIE.
14316 (css-smie-grammar): New var.
14317 (css-smie--forward-token, css-smie--backward-token)
14318 (css-smie-rules): New functions.
14319 (css-mode): Use them.
14320 (css-navigation-syntax-table): Remove var.
14321 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
14322 (css-indent-calculate, css-indent-line): Remove functions.
14323
14324 Misc changes to reduce use of `(lambda...); and other cleanups.
14325 * cus-edit.el: Use lexical-binding.
14326 (customize-push-and-save, customize-apropos)
14327 (custom-buffer-create-internal): Use closures.
14328 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
14329 * progmodes/ada-xref.el: Use setq.
14330 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
14331 * dframe.el: Use lexical-binding.
14332 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
14333 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
14334 * descr-text.el: Use lexical-binding.
14335 (describe-text-widget, describe-text-sexp, describe-property-list):
14336 Use closures.
14337 * comint.el (comint-history-isearch-push-state): Use a closure.
14338 * calculator.el: Use lexical-binding.
14339 (calculator-number-to-string): Make it work with lexical-binding.
14340 (calculator-funcall): Same and use cl-letf.
14341
14342 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
14343 (lisp--company-doc-string, lisp--company-location): New functions.
14344 (lisp-completion-at-point): Use them to improve Company support.
14345
14346 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
14347 params of lambda expressions.
14348 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
14349 (ruby-smie--opening-pipe-p): New function.
14350 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
14351 symbols and matched |...| for formal params.
14352 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
14353 from being treated as hanging. Handle "rescue".
14354
14355 2013-08-29 Glenn Morris <rgm@gnu.org>
14356
14357 * progmodes/cc-engine.el (c-pull-open-brace):
14358 Move definition before use.
14359
14360 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14361
14362 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
14363 are immutable. Don't use `unsafe' any more.
14364 (cl--defsubst-expand): Don't substitute at the same time as keeping
14365 a residual unused let-binding. Don't use `unsafe' any more.
14366
14367 2013-08-29 Glenn Morris <rgm@gnu.org>
14368
14369 * calendar/cal-china.el (calendar-chinese-year-cache):
14370 Recenter on 2015.
14371
14372 * nxml/nxml-util.el (nxml-debug-clear-inside):
14373 Use cl-loop rather than loop.
14374
14375 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
14376
14377 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
14378
14379 2013-08-28 Glenn Morris <rgm@gnu.org>
14380
14381 * progmodes/antlr-mode.el: No need to require cc-mode twice.
14382
14383 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
14384
14385 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
14386
14387 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14388
14389 * simple.el (repeat-complex-command--called-interactively-skip):
14390 New function.
14391 (repeat-complex-command): Use it (bug#14136).
14392
14393 * progmodes/cc-mode.el: Minor cleanup of var declarations.
14394 (c-define-abbrev-table): Add `doc' argument.
14395 (c-mode-abbrev-table, c++-mode-abbrev-table)
14396 (objc-mode-abbrev-table, java-mode-abbrev-table)
14397 (idl-mode-abbrev-table, pike-mode-abbrev-table)
14398 (awk-mode-abbrev-table): Use it.
14399 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
14400 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
14401 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
14402 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
14403 Move initialization into the declaration; and remove any
14404 autoload cookie.
14405
14406 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
14407 and dynamic let binding.
14408
14409 * vc/smerge-mode.el: Remove redundant :group args.
14410
14411 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
14412 to load-path.
14413
14414 2013-08-28 Juri Linkov <juri@jurta.org>
14415
14416 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
14417 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
14418 (isearch-other-meta-char): Handle an undefined shifted printing
14419 character by downshifting it. (Bug#15200)
14420
14421 2013-08-28 Juri Linkov <juri@jurta.org>
14422
14423 * isearch.el (isearch-search): Change regexp error message for
14424 non-regexp searches. (Bug#15166)
14425
14426 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
14427
14428 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
14429 for portability to hosts where /bin/sh has problems.
14430
14431 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14432
14433 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
14434
14435 2013-08-27 Juri Linkov <juri@jurta.org>
14436
14437 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
14438 in the keyboard macro. (Bug#15126)
14439
14440 2013-08-27 Juri Linkov <juri@jurta.org>
14441
14442 * isearch.el (isearch-quote-char): Comment out converting unibyte
14443 to multibyte, thus syncing with its `quoted-insert' counterpart.
14444 (Bug#15166)
14445
14446 2013-08-27 Martin Rudalics <rudalics@gmx.at>
14447
14448 * window.el (display-buffer-use-some-window): Add missing
14449 argument in call of get-largest-window (Bug#15185).
14450 Reported by Stephen Leake.
14451
14452 2013-08-27 Glenn Morris <rgm@gnu.org>
14453
14454 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
14455
14456 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14457
14458 * progmodes/python.el (python-font-lock-keywords): Don't return nil
14459 from a matcher-function unless there's no more matches (bug#15161).
14460
14461 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14462
14463 * minibuffer.el: Revert change from 2013-08-20.
14464
14465 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
14466 with text property `tramp-default', if appropriate.
14467 (tramp-check-proper-host): New defun.
14468 (tramp-dissect-file-name): Do not check hostname. Revert change
14469 of 2013-03-18.
14470 (tramp-backtrace): Make VEC-OR-PROC optional.
14471
14472 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14473 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14474 * net/tramp-sh.el (tramp-maybe-open-connection):
14475 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14476 Apply `tramp-check-proper-host'.
14477
14478 2013-08-26 Tassilo Horn <tsdh@gnu.org>
14479
14480 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
14481 lambda expression in order to have `describe-variable' display it.
14482
14483 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14484
14485 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
14486 BUF can be optional. (Bug#15186)
14487
14488 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
14489
14490 * progmodes/flymake.el (flymake-get-real-file-name-function):
14491 Fix broken customization. (Bug#15184)
14492
14493 2013-08-25 Alan Mackenzie <acm@muc.de>
14494
14495 Improve indentation of bracelists defined by macros (without "=").
14496
14497 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
14498 expansion begins with "{", regard it as bracelist when it doesn't
14499 contain a ";".
14500
14501 Parse C++ inher-intro when there's a template split over 2 lines.
14502
14503 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
14504 rigorously the search for "class" etc. followed by ":".
14505
14506 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
14507 random languages a regexp which never matches rather than nil.
14508
14509 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
14510
14511 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
14512 (c-awk-regexp-one-line-possibly-open-char-list-re)
14513 (c-awk-one-line-possibly-open-regexp-re)
14514 (c-awk-one-line-non-syn-ws*-re): Remove.
14515 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
14516 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
14517 (c-awk-space*-unclosed-regexp-/-re): New constants.
14518 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
14519 aren't regexp delimiters.
14520
14521 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
14522 handling for a rare situation in AWK Mode involving unterminated
14523 strings/regexps.
14524
14525 2013-08-23 Glenn Morris <rgm@gnu.org>
14526
14527 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
14528
14529 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
14530
14531 * files.el (create-file-buffer): If the result would begin with
14532 spaces, prepend a "|" instead of removing them. (Bug#15162)
14533
14534 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14535
14536 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
14537 text-properties (bug#15155).
14538
14539 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
14540 exist any more.
14541 (calc-keypad-redraw): Remove unused var `pad'.
14542 (calc-keypad-press): Remove unused var `menu'.
14543
14544 2013-08-23 Martin Rudalics <rudalics@gmx.at>
14545
14546 * window.el (display-buffer-pop-up-frame):
14547 Call pop-up-frame-function with BUFFER current so `make-frame' will
14548 use it as the new frame's buffer (Bug#15133).
14549
14550 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14551
14552 * calendar/timeclock.el: Minor cleanups.
14553 (timeclock-ask-before-exiting, timeclock-use-display-time):
14554 Use `symbol'.
14555 (timeclock-modeline-display): Define as alias before the
14556 actual definition.
14557 (timeclock-mode-line-display): Use define-minor-mode.
14558 (timeclock-day-list-template): Make it a function, add an argument.
14559 (timeclock-day-list-required, timeclock-day-list-length)
14560 (timeclock-day-list-debt, timeclock-day-list-span)
14561 (timeclock-day-list-break): Adjust calls accordingly.
14562
14563 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14564
14565 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
14566 Use read--expression so that completion works again.
14567
14568 2013-08-21 Sam Steingold <sds@gnu.org>
14569
14570 Add rudimentary inferior shell interaction
14571 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
14572 (sh-set-shell): Reset it.
14573 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
14574 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
14575
14576 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 * align.el: Use lexical-binding.
14579 (align-region): Simplify accordingly.
14580
14581 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
14582
14583 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
14584
14585 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
14586 `non-essential' up.
14587
14588 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
14589
14590 * net/tramp.el:
14591 * net/tramp-adb.el:
14592 * net/tramp-cmds.el:
14593 * net/tramp-ftp.el:
14594 * net/tramp-gvfs.el:
14595 * net/tramp-gw.el:
14596 * net/tramp-sh.el: Don't wrap external variable declarations by
14597 `eval-when-compile'.
14598
14599 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14600
14601 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
14602 now that Emacs supports ImageMagick animations.
14603
14604 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
14605
14606 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
14607 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
14608
14609 2013-08-16 Martin Rudalics <rudalics@gmx.at>
14610
14611 * window.el (mouse-autoselect-window-select): Do autoselect when
14612 mouse pointer is on margin.
14613
14614 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
14615
14616 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
14617
14618 2013-08-16 Glenn Morris <rgm@gnu.org>
14619
14620 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
14621 Handle "Remote Directory" response of some clients. (Bug#15058)
14622
14623 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
14624 Tweak warning. (Bug#14926)
14625
14626 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
14627 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
14628
14629 * image-mode.el (image-mode-map): Add menu items to reverse,
14630 increase, decrease, reset animation speed.
14631 (image--set-speed, image-increase-speed, image-decrease-speed)
14632 (image-reverse-speed, image-reset-speed): New functions.
14633 (image-mode-map): Add bindings for speed commands.
14634
14635 * image.el (image-animate-get-speed, image-animate-set-speed):
14636 New functions.
14637 (image-animate-timeout): Respect image :speed property.
14638
14639 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14640
14641 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
14642 previous line (bug#15101).
14643 (debugger-eval-expression, debugger-record-expression):
14644 Use read--expression (bug#15102).
14645
14646 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
14647
14648 Remove byte compiler warnings, visible when compiling with
14649 `byte-compile-force-lexical-warnings' set to t.
14650
14651 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
14652 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
14653 (tramp-handle-unhandled-file-name-directory)
14654 (tramp-handle-file-notify-add-watch, tramp-action-login)
14655 (tramp-action-succeed, tramp-action-permission-denied)
14656 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
14657 arguments with "_".
14658
14659 * net/tramp-adb.el (tramp-adb-parse-device-names)
14660 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
14661 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
14662 (tramp-adb-handle-file-truename): Remove unused arguments.
14663
14664 * net/tramp-cache.el (tramp-flush-directory-property)
14665 (tramp-flush-connection-property, tramp-list-connections)
14666 (tramp-parse-connection-properties): Prefix unused arguments with "_".
14667
14668 * net/tramp-compat.el (tramp-compat-make-temp-file):
14669 Rename FILENAME to F.
14670
14671 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14672 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
14673 (tramp-zeroconf-parse-workstation-device-names)
14674 (tramp-zeroconf-parse-webdav-device-names)
14675 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
14676
14677 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14678 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
14679
14680 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
14681 arguments.
14682 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
14683 (tramp-sh-handle-insert-file-contents-literally)
14684 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
14685 with "_".
14686 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
14687 Remove unused variables.
14688
14689 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14690 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
14691 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
14692
14693 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
14694 Make them a defconst.
14695 (tramp-uuencode-region): Remove unused variable.
14696
14697 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
14698
14699 * frameset.el (frameset--prop-setter): New function.
14700 (frameset-prop): Add gv-setter declaration.
14701 (frameset-filter-minibuffer): Deal with the case that the minibuffer
14702 parameter was already set in FILTERED. Doc fix.
14703 (frameset--record-minibuffer-relationships): Allow saving a
14704 minibufferless frame without its corresponding minibuffer frame.
14705 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
14706 frame, if the frame id matches.
14707 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
14708 frames before orphaned ones.
14709 (frameset-restore): Warn about orphaned windows, instead of error out.
14710
14711 2013-08-14 Martin Rudalics <rudalics@gmx.at>
14712
14713 * window.el (window-make-atom): Don't overwrite parameter
14714 already present.
14715 (display-buffer-in-atom-window): Handle special case where we
14716 split an already atomic window.
14717 (window--major-non-side-window, display-buffer-in-side-window)
14718 (window--side-check): Ignore minibuffer window when walking
14719 window tree.
14720 (window-deletable-p): Return 'frame only if no other frame uses
14721 our minibuffer window.
14722 (record-window-buffer): Run buffer-list-update-hook.
14723 (split-window): Make sure window--check-frame won't destroy an
14724 existing atomic window in case the new window gets nested
14725 inside.
14726 (display-buffer-at-bottom): Ignore minibuffer window when
14727 walking window tree. Don't split a side window.
14728 (pop-to-buffer): Don't set-buffer here, the select-window call
14729 should do that.
14730 (mouse-autoselect-window-select): Autoselect only if we are in the
14731 text portion of the window.
14732
14733 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14734
14735 * net/shr.el (shr-parse-image-data): New function to grab both the
14736 data itself and the Content-Type.
14737 (shr-put-image): Use it.
14738
14739 * net/eww.el (eww-display-image): Ditto.
14740
14741 * image.el (image-content-type-suffixes): New variable.
14742
14743 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14744
14745 * progmodes/python.el (python-imenu--build-tree)
14746 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
14747
14748 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
14749
14750 * simple.el (backward-word): Mention the optional argument.
14751
14752 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
14753
14754 * frameset.el (frameset--make): Rename constructor from make-frameset.
14755 (frameset-p, frameset-valid-p): Don't autoload.
14756 (frameset-valid-p): Use normal accessors.
14757
14758 2013-08-13 Glenn Morris <rgm@gnu.org>
14759
14760 * progmodes/compile.el (compile-command): Tweak example in doc.
14761 * obsolete/scribe.el (scribe-mode):
14762 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
14763
14764 * mail/feedmail.el (feedmail-confirm-outgoing)
14765 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
14766
14767 * cus-start.el (truncate-partial-width-windows): Fix type.
14768
14769 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
14770
14771 * net/shr.el (shr-table-horizontal-line): Fix custom type.
14772
14773 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
14774
14775 * emacs-lisp/timer.el (timer--time-setter): New function.
14776 (timer--time): Use it as gv-setter.
14777
14778 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
14779 setter is not a symbol.
14780
14781 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
14782
14783 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
14784 if sending fails. This makes debugging easier.
14785
14786 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
14787
14788 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
14789 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
14790 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
14791
14792 2013-08-12 Eli Zaretskii <eliz@gnu.org>
14793
14794 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
14795
14796 2013-08-12 Glenn Morris <rgm@gnu.org>
14797
14798 * format.el (format-annotate-function):
14799 Handle read-only text properties in the source. (Bug#14887)
14800
14801 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14802
14803 * net/eww.el (eww-display-html): Ignore coding system errors.
14804 One web site uses "utf-8lias" as the coding system.
14805
14806 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
14807
14808 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
14809
14810 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
14811
14812 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
14813 (tutorial--detailed-help): Remove unused local variables.
14814 (tutorial--save-tutorial-to): Use ignore-errors.
14815 (help-with-tutorial): Use looking-at-p.
14816
14817 * view.el (view-buffer-other-window, view-buffer-other-frame):
14818 Mark unused arguments.
14819
14820 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
14821 (woman-select-symbol-fonts, woman, woman-find-file)
14822 (woman-insert-file-contents, woman-non-underline-faces):
14823 Use string-match-p.
14824 (woman1-unquote): Move declaration.
14825
14826 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
14827 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
14828 argument. Remove unused local variable.
14829 (xml-parse-elem-type): Use string-match-p.
14830 (xml-substitute-numeric-entities): Use ignore-errors.
14831
14832 * calculator.el (calculator): Mark unused argument.
14833 (calculator-paste, calculator-quit, calculator-integer-p):
14834 Use ignore-errors.
14835 (calculator-string-to-number, calculator-decimal, calculator-exp)
14836 (calculator-op-or-exp): Use string-match-p.
14837
14838 * dired.el (dired-buffer-more-recently-used-p): Declare.
14839 (dired-insert-set-properties, dired-insert-old-subdirs):
14840 Use ignore-errors.
14841
14842 * dired-aux.el (dired-compress): Use ignore-errors.
14843 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
14844 (dired-do-async-shell-command, dired-do-shell-command)
14845 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
14846 (dired-insert-subdir-validate): Use string-match-p.
14847 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
14848 (dired-add-entry): Use string-match-p, looking-at-p.
14849 (dired-insert-subdir-newpos): Remove unused local variable.
14850
14851 * filenotify.el (file-notify-callback): Remove unused local variable.
14852
14853 * filesets.el (filesets-error): Mark unused argument.
14854 (filesets-which-command-p, filesets-filter-dir-names)
14855 (filesets-directory-files, filesets-get-external-viewer)
14856 (filesets-ingroup-get-data): Use string-match-p.
14857
14858 * find-file.el (ff-other-file-name, ff-other-file-name)
14859 (ff-find-the-other-file, ff-cc-hh-converter):
14860 Remove unused local variables.
14861 (ff-get-file-name): Use string-match-p.
14862 (ff-all-dirs-under): Use ignore-errors.
14863
14864 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
14865 (follow-select-if-visible): Remove unused local variable.
14866
14867 * forms.el (read-file-filter): Move declaration.
14868 (forms--make-format, forms--make-parser, forms-insert-record):
14869 Quote function with #'.
14870 (forms--update): Use string-match-p. Quote function with #'.
14871
14872 * help-mode.el (help-dir-local-var-def): Mark unused argument.
14873 (help-make-xrefs): Use looking-at-p.
14874 (help-xref-on-pp): Use looking-at-p, ignore-errors.
14875
14876 * ibuffer.el (ibuffer-ext-visible-p): Declare.
14877 (ibuffer-confirm-operation-on): Use string-match-p.
14878
14879 * msb.el (msb-item-handler, msb-dired-item-handler):
14880 Mark unused arguments.
14881
14882 * ses.el (ses-decode-cell-symbol)
14883 (ses-kill-override): Remove unused local variable.
14884 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
14885 (ses-load): Use ignore-errors, looking-at-p.
14886 (ses-jump-safe): Use ignore-errors.
14887 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
14888
14889 * tabify.el (untabify, tabify): Mark unused arguments.
14890
14891 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
14892 Mark unused argument.
14893 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
14894 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
14895
14896 * emacs-lisp/timer.el (timer--time): Define setter with
14897 gv-define-setter to avoid deprecation warning.
14898
14899 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
14900 (*record-cmpl-statistics-p*): Remove (was commented out).
14901 (cmpl-statistics-block): Remove (body was commented out).
14902 All callers changed.
14903 (add-completions-from-buffer, load-completions-from-file):
14904 Remove unused variables.
14905
14906 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
14907
14908 * filecache.el (file-cache-delete-file-list):
14909 Print message only when told so.
14910 (file-cache-files-matching): Use #' in mapconcat argument.
14911
14912 * ffap.el (ffap-url-at-point): Fix reference to variable
14913 thing-at-point-default-mail-uri-scheme.
14914
14915 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
14916
14917 * subr.el (define-error): New function.
14918 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
14919 error-file-not-found and define with define-error.
14920 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
14921 and define with define-error.
14922 * userlock.el (file-locked, file-supersession):
14923 * simple.el (mark-inactive):
14924 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
14925 * progmodes/ada-mode.el (ada-mode-errors):
14926 * play/life.el (life-extinct):
14927 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
14928 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
14929 * nxml/rng-util.el (rng-error):
14930 * nxml/rng-uri.el (rng-uri-error):
14931 * nxml/rng-match.el (rng-compile-error):
14932 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
14933 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
14934 * nxml/nxml-rap.el (nxml-scan-error):
14935 * nxml/nxml-outln.el (nxml-outline-error):
14936 * net/soap-client.el (soap-error):
14937 * net/gnutls.el (gnutls-error):
14938 * net/ange-ftp.el (ftp-error):
14939 * mpc.el (mpc-proc-error):
14940 * json.el (json-error, json-readtable-error, json-unknown-keyword)
14941 (json-number-format, json-string-escape, json-string-format)
14942 (json-key-format, json-object-format):
14943 * jka-compr.el (compression-error):
14944 * international/quail.el (quail-error):
14945 * international/kkc.el (kkc-error):
14946 * emacs-lisp/ert.el (ert-test-failed):
14947 * calc/calc.el (calc-error, inexact-result, math-overflow)
14948 (math-underflow):
14949 * bookmark.el (bookmark-error-no-filename):
14950 * epg.el (epg-error): Define with define-error.
14951
14952 * time.el (display-time-event-handler)
14953 (display-time-next-load-average): Don't call sit-for since it seems
14954 unnecessary (bug#15045).
14955
14956 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
14957 Use #' instead of ' to quote functions.
14958 (checkdoc-output-mode): Use setq-local.
14959 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
14960 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
14961 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
14962 (checkdoc-ispell, checkdoc-ispell-current-buffer)
14963 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
14964 (checkdoc-ispell-message-text, checkdoc-ispell-start)
14965 (checkdoc-ispell-continue, checkdoc-ispell-comments)
14966 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
14967
14968 * ido.el (ido-completion-help): Fix up compiler warning.
14969
14970 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
14971
14972 * frameset.el (frameset-p): Add autoload cookie.
14973 (frameset--jump-to-register): New function, based on code moved from
14974 register.el.
14975 (frameset-to-register): Move from register.el. Adapt to `registerv'.
14976
14977 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
14978 (frameset-restore, frameset-save, frameset-session-filter-alist):
14979 Remove declarations.
14980 (register-alist): Doc fix.
14981 (frameset-to-register): Move to frameset.el.
14982 (jump-to-register, describe-register-1): Remove frameset-specific code.
14983
14984 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
14985
14986 * allout-widgets.el (allout-widgets-pre-command-business)
14987 (allout-widgets-post-command-business)
14988 (allout-widgets-after-change-handler)
14989 (allout-decorate-item-and-context, allout-set-boundary-marker)
14990 (allout-body-modification-handler)
14991 (allout-graphics-modification-handler): Mark ignored arguments.
14992 (allout-widgets-post-command-business)
14993 (allout-widgets-exposure-change-processor)
14994 (allout-widgets-exposure-undo-processor)
14995 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
14996 (allout-parse-item-at-point, allout-decorate-item-guides)
14997 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
14998 * allout.el (epa-passphrase-callback-function): Declare.
14999 (allout-overlay-insert-in-front-handler)
15000 (allout-overlay-interior-modification-handler)
15001 (allout-isearch-end-handler, allout-chart-siblings)
15002 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
15003 (allout-yank-processing, allout-process-exposed)
15004 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
15005 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
15006 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
15007 (lisp-indent-defform): Mark ignored arguments.
15008 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
15009 (calculate-lisp-indent): Remove unused variables.
15010 * international/characters.el (indian-2-column, arabic-2-column)
15011 (tibetan): Mark ignored arguments.
15012 (use-cjk-char-width-table): Mark ignored arguments.
15013 Remove unused variables.
15014 * international/fontset.el (build-default-fontset-data)
15015 (x-compose-font-name, create-fontset-from-fontset-spec):
15016 Mark ignored arguments.
15017 (fontset-plain-name): Remove unused variables.
15018 * international/mule.el (charset-id, charset-bytes, generic-char-p)
15019 (keyboard-coding-system): Mark ignored arguments.
15020 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
15021 * help.el (resize-temp-buffer-window):
15022 * window.el (display-buffer-in-major-side-window)
15023 (display-buffer-in-side-window, display-buffer-in-previous-window):
15024 Remove unused variables.
15025 * isearch.el (isearch-forward-symbol):
15026 * version.el (emacs-bzr-version-bzr):
15027 * international/mule-cmds.el (current-language-environment):
15028 * term/common-win.el (x-handle-iconic, x-handle-geometry)
15029 (x-handle-display):
15030 * term/pc-win.el (x-list-fonts, x-display-planes)
15031 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
15032 (x-server-version, x-display-screens, x-display-mm-height)
15033 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
15034 (x-selection-owner-p, x-own-selection-internal)
15035 (x-disown-selection-internal, x-get-selection-internal)
15036 (msdos-initialize-window-system):
15037 * term/tty-colors.el (tty-color-alist, tty-color-clear):
15038 * term/x-win.el (x-handle-no-bitmap-icon):
15039 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
15040 (vc-default-find-file-hook, vc-default-extra-menu):
15041 Mark ignored arguments.
15042
15043 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
15044
15045 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
15046 break-condition in the context of the debugged code (bug#12685).
15047
15048 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
15049
15050 * comint.el:
15051 Do not use an overlay to highlight the last prompt. (Bug#14744)
15052 (comint-mode): Make comint-last-prompt buffer local.
15053 (comint-last-prompt): New variable.
15054 (comint-last-prompt-overlay): Remove. Superseded by
15055 comint-last-prompt.
15056 (comint-snapshot-last-prompt, comint-output-filter):
15057 Use comint-last-prompt.
15058
15059 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15060
15061 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
15062 (frameset-save): Check validity of the resulting frameset.
15063
15064 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
15065
15066 * ido.el (ido-record-command): Add doc string.
15067
15068 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15069
15070 * frameset.el (frameset): Do not disable creation of the default
15071 frameset-p predicate. Doc fix.
15072 (frameset-valid-p): New function, copied from the old predicate-p.
15073 Add additional checks.
15074 (frameset-restore): Check with frameset-valid-p.
15075 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
15076 (frameset-name, frameset-description, frameset-properties)
15077 (frameset-states): Add docstring.
15078 (frameset-session-filter-alist, frameset-persistent-filter-alist)
15079 (frameset-filter-alist): Doc fixes.
15080
15081 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15082
15083 * frameset.el (frameset-p, frameset-prop): Doc fixes.
15084
15085 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
15086
15087 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
15088 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
15089 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
15090 (byte-compile-normal-call): Remove obsolescence check.
15091
15092 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15093
15094 * frameset.el (frameset-restore): Doc fix.
15095
15096 * register.el (frameset-frame-id, frameset-frame-with-id)
15097 (frameset-p, frameset-restore, frameset-save): Declare.
15098 (register-alist): Document framesets.
15099 (frameset-session-filter-alist): Declare.
15100 (frameset-to-register): New function.
15101 (jump-to-register): Implement jumping to framesets. Doc fix.
15102 (describe-register-1): Describe framesets.
15103
15104 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
15105
15106 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
15107
15108 * desktop.el (desktop-save-frameset): Use new frameset-save args.
15109 Use lexical-binding.
15110
15111 * frameset.el (frameset): Use type vector, not list (incompatible
15112 change). Do not declare a new constructor, use the default one.
15113 Upgrade suggested properties `app', `name' and `desc' to slots `app',
15114 `name' and `description', respectively, and add read-only slot
15115 `timestamp'. Doc fixes.
15116 (frameset-copy, frameset-persistent-filter-alist)
15117 (frameset-filter-alist, frameset-switch-to-gui-p)
15118 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
15119 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
15120 (frameset-filter-iconified, frameset-keep-original-display-p):
15121 Doc fixes.
15122 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
15123 Rename from frameset-filter-(save|restore)-param. All callers changed.
15124 Doc fix.
15125 (frameset-p): Adapt to change to vector and be more thorough.
15126 Change arg name to OBJECT. Doc fix.
15127 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
15128 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
15129 All callers changed.
15130 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
15131 All callers changed.
15132 (frameset--record-minibuffer-relationships): Rename from
15133 frameset--process-minibuffer-frames. All callers changed.
15134 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
15135 Use new default constructor (again). Doc fix.
15136 (frameset--find-frame-if): Rename from `frameset--find-frame'.
15137 All callers changed.
15138 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
15139 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
15140 Doc fix.
15141 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
15142 PARAMETERS and WINDOW-STATE, respectively.
15143 (frameset-restore): Add new keyword argument PREDICATE.
15144 Reset frameset--target-display to nil. Doc fix.
15145
15146 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
15147
15148 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
15149 (bat-mode): Use it.
15150 (bat-mode-syntax-table): Mark \n as end-of-comment.
15151 (bat-font-lock-keywords): Remove comment rule.
15152
15153 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
15154 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
15155
15156 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
15157 (byte-compile-callargs-warn): Use `push'.
15158 (byte-compile-arglist-warn): Ignore higher-order "calls".
15159 (byte-compile-file-form-autoload): Use `pcase'.
15160 (byte-compile-function-form): If quoting a symbol, check that it exists.
15161
15162 2013-08-07 Eli Zaretskii <eliz@gnu.org>
15163
15164 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
15165 and add a few popular commands found in batch files.
15166 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
15167 (dos-mode): Doc fixes.
15168
15169 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
15170
15171 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
15172 (dos-mode): Use setq-local. Add space after "rem".
15173 (dos-mode-syntax-table): Don't use "w" for symbol chars.
15174 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
15175
15176 2013-08-07 Arni Magnusson <arnima@hafro.is>
15177
15178 * progmodes/dos.el: New file.
15179 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
15180 dos-mode.
15181
15182 2013-08-06 Glenn Morris <rgm@gnu.org>
15183
15184 * calendar/calendar.el: Add new faces, and day-header-array.
15185 (calendar-weekday-header, calendar-weekend-header)
15186 (calendar-month-header): New faces.
15187 (calendar-day-header-construct): New function.
15188 (calendar-day-header-width): Also :set calendar-day-header-array.
15189 (calendar-american-month-header, calendar-european-month-header)
15190 (calendar-iso-month-header): Use calendar- faces.
15191 (calendar-generate-month):
15192 Use calendar-day-header-array for day headers; apply faces to them.
15193 (calendar-mode): Check calendar-font-lock-keywords non-nil.
15194 (calendar-abbrev-construct): Add optional maxlen argument.
15195 (calendar-day-name-array): Doc fix.
15196 (calendar-day-name-array, calendar-abbrev-length)
15197 (calendar-day-abbrev-array):
15198 Also :set calendar-day-header-array, and maybe redraw.
15199 (calendar-day-header-array): New option. (Bug#15007)
15200 (calendar-font-lock-keywords): Set to nil and make obsolete.
15201 (calendar-day-name): Add option to use header array.
15202
15203 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15204
15205 * net/shr.el (shr-render-td): Remove debugging.
15206 (shr-render-td): Make width computation consistent by defaulting
15207 all zero-width columns to 10 characters. This may not be optimal,
15208 but it's at least consistent.
15209 (shr-make-table-1): Redo last change to fix the real problem in
15210 colspan handling.
15211
15212 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15213
15214 * files.el (cache-long-line-scans):
15215 Make obsolete alias to `cache-long-scans'.
15216
15217 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15218
15219 * frameset.el (frameset, frameset-filter-alist)
15220 (frameset-filter-params, frameset-save, frameset--reuse-frame)
15221 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
15222 (frameset-compute-pos): Rename from frameset--compute-pos,
15223 and add docstring.
15224 (frameset-move-onscreen): Use frameset-compute-pos.
15225 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15226
15227 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
15228 Fix typos in docstrings.
15229
15230 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15231
15232 * frame.el (get-other-frame): Tiny cleanup.
15233
15234 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15235
15236 * vc/vc.el (vc-default-ignore-completion-table):
15237 Silence byte-compiler warning.
15238
15239 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
15240 slot, which can indeed be nil.
15241 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15242 Move entry for `left' from persistent to live filter alist.
15243 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
15244 Doc fixes.
15245 (frameset-filter-params): When restoring a frame, copy items added to
15246 `filtered', to avoid unwittingly modifying the original parameters.
15247 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
15248 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
15249
15250 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
15251 to use looking-at-p instead of looking-at. (Bug#15028)
15252
15253 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15254
15255 Revert introduction of isearch-filter-predicates (bug#14714).
15256 Rely on add-function instead.
15257 * isearch.el (isearch-filter-predicates): Rename it back to
15258 isearch-filter-predicate.
15259 (isearch-message-prefix): Use advice-function-mapc and advice
15260 properties to get the isearch-message-prefix.
15261 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
15262 instead of run-hook-with-args-until-failure.
15263 (isearch-filter-visible): Not obsolete any more.
15264 * loadup.el: Preload nadvice.
15265 * replace.el (perform-replace): Revert to funcall
15266 instead of run-hook-with-args-until-failure.
15267 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
15268 * dired-aux.el (dired-isearch-filenames-mode): Rename from
15269 dired-isearch-filenames-toggle; make it into a proper minor mode.
15270 Use add/remove-function.
15271 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
15272 Call the minor-mode rather than add/remove-hook.
15273 (dired-isearch-filter-filenames):
15274 Remove isearch-message-prefix property.
15275 * info.el (Info--search-loop): New function, extracted from Info-search.
15276 Funcall isearch-filter-predicate instead of
15277 run-hook-with-args-until-failure isearch-filter-predicates.
15278 (Info-search): Use it.
15279 (Info-mode): Use isearch-filter-predicate instead of
15280 isearch-filter-predicates.
15281
15282 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15283
15284 Do not call to `selected-window' where it is assumed by default.
15285 Affected functions are `window-minibuffer-p', `window-dedicated-p',
15286 `window-hscroll', `window-width', `window-height', `window-buffer',
15287 `window-frame', `window-start', `window-point', `next-window'
15288 and `window-display-table'.
15289 * abbrev.el (abbrev--default-expand):
15290 * bs.el (bs--show-with-configuration):
15291 * buff-menu.el (Buffer-menu-mouse-select):
15292 * calc/calc.el (calc):
15293 * calendar/calendar.el (calendar-generate-window):
15294 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
15295 (diary-make-entry):
15296 * comint.el (send-invisible, comint-dynamic-complete-filename)
15297 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
15298 * completion.el (complete):
15299 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
15300 * disp-table.el (describe-current-display-table):
15301 * doc-view.el (doc-view-insert-image):
15302 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
15303 * ehelp.el (with-electric-help):
15304 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15305 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
15306 * emacs-lisp/helper.el (Helper-help-scroller):
15307 * emulation/cua-base.el (cua--post-command-handler-1):
15308 * eshell/esh-mode.el (eshell-output-filter):
15309 * ffap.el (ffap-gnus-wrapper):
15310 * help-macro.el (make-help-screen):
15311 * hilit-chg.el (highlight-compare-buffers):
15312 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
15313 * hl-line.el (global-hl-line-highlight):
15314 * icomplete.el (icomplete-simple-completing-p):
15315 * isearch.el (isearch-done):
15316 * jit-lock.el (jit-lock-stealth-fontify):
15317 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
15318 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
15319 * mpc.el (mpc-tagbrowser, mpc):
15320 * net/rcirc.el (rcirc-any-buffer):
15321 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
15322 * play/landmark.el (landmark-max-width, landmark-max-height):
15323 * play/zone.el (zone):
15324 * progmodes/compile.el (compilation-goto-locus):
15325 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
15326 * progmodes/etags.el (find-tag-other-window):
15327 * progmodes/fortran.el (fortran-column-ruler):
15328 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15329 * progmodes/verilog-mode.el (verilog-point-text):
15330 * reposition.el (reposition-window):
15331 * rot13.el (toggle-rot13-mode):
15332 * server.el (server-switch-buffer):
15333 * shell.el (shell-dynamic-complete-command)
15334 (shell-dynamic-complete-environment-variable):
15335 * simple.el (insert-buffer, set-selective-display)
15336 (delete-completion-window):
15337 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
15338 (speedbar-recenter):
15339 * startup.el (fancy-splash-head):
15340 * textmodes/ispell.el (ispell-command-loop):
15341 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
15342 * tutorial.el (help-with-tutorial):
15343 * vc/add-log.el (add-change-log-entry):
15344 * vc/compare-w.el (compare-windows):
15345 * vc/ediff-help.el (ediff-indent-help-message):
15346 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
15347 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
15348 (ediff-setup-control-frame):
15349 * vc/emerge.el (emerge-position-region):
15350 * vc/pcvs-util.el (cvs-bury-buffer):
15351 * window.el (walk-windows, mouse-autoselect-window-select):
15352 * winner.el (winner-set-conf, winner-undo): Related users changed.
15353
15354 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15355
15356 * frameset.el (frameset--set-id): Doc fix.
15357 (frameset-frame-id, frameset-frame-id-equal-p)
15358 (frameset-locate-frame-id): New functions.
15359 (frameset--process-minibuffer-frames, frameset--reuse-frame)
15360 (frameset-restore): Use them.
15361
15362 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15363
15364 Do not call to `selected-frame' where it is assumed by default.
15365 Affected functions are `raise-frame', `redraw-frame',
15366 `frame-first-window', `frame-terminal' and `delete-frame'.
15367 * calendar/appt.el (appt-disp-window):
15368 * epg.el (epg-wait-for-completion):
15369 * follow.el (follow-delete-other-windows-and-split)
15370 (follow-avoid-tail-recenter):
15371 * international/mule.el (set-terminal-coding-system):
15372 * mail/rmail.el (rmail-mail-return):
15373 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15374 * progmodes/f90.el (f90-add-imenu-menu):
15375 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
15376 * server.el (server-switch-buffer):
15377 * simple.el (delete-completion-window):
15378 * talk.el (talk):
15379 * term/xterm.el (terminal-init-xterm-modify-other-keys)
15380 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
15381 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
15382 * vc/ediff.el (ediff-documentation): Related users changed.
15383 * frame.el (selected-terminal): Remove the leftover.
15384
15385 2013-08-05 Glenn Morris <rgm@gnu.org>
15386
15387 * calendar/calendar.el (calendar-generate-month):
15388 Fix for calendar-column-width != 1 + calendar-day-digit-width.
15389 (calendar-generate-month, calendar-font-lock-keywords):
15390 Fix for calendar-day-header-width > length of any day name.
15391
15392 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15393
15394 * desktop.el (desktop-clear): Use new name of sort predicate.
15395
15396 * frameset.el (frameset): Add docstring. Move :version property to its
15397 own `version' slot.
15398 (frameset-copy): Rename from copy-frameset.
15399 (frameset-p): Check more thoroughly.
15400 (frameset-prop): Do not check for :version, which is no longer a prop.
15401 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15402 Use new :never value instead of t.
15403 (frameset-filter-alist): Expand and clarify docstring.
15404 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
15405 (frameset-filter-minibuffer, frameset-filter-save-param)
15406 (frameset-filter-restore-param, frameset-filter-iconified):
15407 Add pointer to docstring of frameset-filter-alist.
15408 (frameset-filter-params): Rename filter values to be more meaningful:
15409 :never instead of t, and reverse the meanings of :save and :restore.
15410 (frameset--process-minibuffer-frames): Clarify error message.
15411 (frameset-save): Avoid unnecessary and confusing call to framep.
15412 Use new BOA constructor for framesets.
15413 (frameset--reuse-list): Doc fix.
15414 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
15415 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
15416 (frameset-minibufferless-first-p): Doc fix.
15417 Rename from frameset-sort-frames-for-deletion.
15418 (frameset-restore): Doc fixes. Use new function names.
15419 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15420
15421 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15422
15423 * desktop.el (desktop-restore-forces-onscreen)
15424 (desktop-restore-reuses-frames): Document :keyword constant values.
15425 (desktop-filter-parameters-alist): Remove, now identical to
15426 frameset-filter-alist.
15427 (desktop--filter-tty*): Remove, moved to frameset.el.
15428 (desktop-save-frameset, desktop-restore-frameset):
15429 Do not pass :filters argument.
15430
15431 * frameset.el (frameset-live-filter-alist)
15432 (frameset-persistent-filter-alist): New variables.
15433 (frameset-filter-alist): Use them. Add autoload cookie.
15434 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
15435 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
15436 `frameset--id' (it's supposed to be internal to frameset.el).
15437 (frameset--process-minibuffer-frames): Ditto. Doc fix.
15438 (frameset--initial-params): New function.
15439 (frameset--get-frame): Use it. Doc fix.
15440 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
15441 Accept :all, not 'all.
15442 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
15443 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
15444 with fbound symbols. Fix frame id matching, and remove matching ids if
15445 the frame being restored is deleted. Obey :delete.
15446
15447 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15448
15449 * subr.el (macrop): New function.
15450 (text-clone--maintaining): New var.
15451 (text-clone--maintain): Rename from text-clone-maintain. Use it
15452 instead of inhibit-modification-hooks.
15453
15454 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
15455 a proxy, so as handle autoloads and redefinitions of the target.
15456 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
15457
15458 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
15459 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
15460 (pcase--mutually-exclusive-p): New function.
15461 (pcase--split-consp): Use it.
15462 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
15463 mutually exclusive with the current predicate.
15464
15465 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
15466 (edebug-macrop): Remove. Use `macrop' instead.
15467 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
15468 (ad-macro-p):
15469 * eshell/esh-cmd.el (eshell-macrop):
15470 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
15471
15472 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15473
15474 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
15475 (advice-mapc): New function, using it.
15476 (advice-function-member-p): New function.
15477 (advice--normalize): Store the cdr in advice--saved-rewrite since
15478 that's the part that will be changed.
15479 (advice--symbol-function): New function.
15480 (advice-remove): Handle removal before the function is defined.
15481 Adjust to new advice--saved-rewrite.
15482 (advice-member-p): Use advice-function-member-p and
15483 advice--symbol-function.
15484
15485 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15486
15487 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
15488 (frameset-filter-minibuffer): Doc fix.
15489 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
15490 (frameset--set-id, frameset--process-minibuffer-frames)
15491 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
15492 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
15493
15494 * desktop.el (desktop-clear): Only delete frames when called
15495 interactively and desktop-restore-frames is non-nil. Doc fix.
15496 (desktop-read): Set desktop-saved-frameset to nil.
15497
15498 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
15499
15500 * vc/vc.el (vc-ignore): Rewrite.
15501 (vc-default-ignore-completion-table, vc--read-lines)
15502 (vc--add-line, vc--remove-regexp): New functions.
15503
15504 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
15505 (vc-svn-ignore-completion-table): New function.
15506
15507 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
15508 (vc-hg-ignore-completion-table)
15509 (vc-hg-find-ignore-file): New functions.
15510
15511 * vc/vc-git.el (vc-git-ignore): Rewrite.
15512 (vc-git-ignore-completion-table)
15513 (vc-git-find-ignore-file): New functions.
15514
15515 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
15516
15517 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
15518 (vc-bzr-ignore-completion-table)
15519 (vc-bzr-find-ignore-file): New functions.
15520
15521 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
15522
15523 * frameset.el (frameset-prop): New function and setter.
15524 (frameset-save): Do not modify frame list passed by the caller.
15525
15526 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15527
15528 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
15529
15530 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
15531
15532 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
15533 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
15534
15535 * custom.el (custom-initialize-default, custom-initialize-set)
15536 (custom-initialize-reset, custom-initialize-changed): Affect the
15537 toplevel-default-value (bug#6275, bug#14586).
15538 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
15539 for bug#6275.
15540
15541 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15542
15543 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
15544 Add cl-def* expressions.
15545
15546 * frameset.el (frameset-filter-params): Fix order of arguments.
15547
15548 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15549
15550 Move code related to saving frames to frameset.el.
15551 * desktop.el: Require frameset.
15552 (desktop-restore-frames): Doc fix.
15553 (desktop-restore-reuses-frames): Rename from
15554 desktop-restoring-reuses-frames.
15555 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
15556 (desktop-clear): Clear frames too.
15557 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
15558 (desktop--filter-tty*, desktop-save, desktop-read):
15559 Use frameset functions.
15560 (desktop-before-saving-frames-functions, desktop--filter-*-color)
15561 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15562 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
15563 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
15564 (desktop--process-minibuffer-frames, desktop-save-frames)
15565 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
15566 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
15567 (desktop--sort-states, desktop-restoring-frames-p)
15568 (desktop-restore-frames): Remove. Most code moved to frameset.el.
15569 (desktop-restoring-frameset-p, desktop-restore-frameset)
15570 (desktop--check-dont-save, desktop-save-frameset): New functions.
15571 (desktop--app-id): New constant.
15572 (desktop-first-buffer, desktop-buffer-ok-count)
15573 (desktop-buffer-fail-count): Move before first use.
15574 * frameset.el: New file.
15575
15576 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15577
15578 * files.el: Use lexical-binding.
15579 (dir-locals-read-from-file): Remove unused `err' variable.
15580 (hack-dir-local-variables--warned-coding): New var.
15581 (hack-dir-local-variables): Use it to avoid repeated warnings.
15582 (make-backup-file-name--default-function): New function.
15583 (make-backup-file-name-function): Use it as default.
15584 (buffer-stale--default-function): New function.
15585 (buffer-stale-function): Use it as default.
15586 (revert-buffer-insert-file-contents--default-function): New function.
15587 (revert-buffer-insert-file-contents-function): Use it as default.
15588 (insert-directory): Avoid add-to-list.
15589
15590 * autorevert.el (auto-revert-handler): Simplify.
15591 Use buffer-stale--default-function.
15592
15593 2013-08-01 Tassilo Horn <tsdh@gnu.org>
15594
15595 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
15596
15597 * whitespace.el (whitespace-ensure-local-variables): New function.
15598 (whitespace-cleanup-region): Call it.
15599 (whitespace-turn-on): Call it.
15600
15601 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
15602
15603 Complete file name handlers.
15604
15605 * net/tramp.el (tramp-handle-set-visited-file-modtime)
15606 (tramp-handle-verify-visited-file-modtime)
15607 (tramp-handle-file-notify-rm-watch): New functions.
15608 (tramp-call-process): Do not bind `default-directory'.
15609
15610 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15611 Order alphabetically.
15612 <access-file, add-name-to-file, dired-call-process>:
15613 <dired-compress-file, file-acl, file-notify-rm-watch>:
15614 <file-ownership-preserved-p, file-selinux-context>:
15615 <make-directory-internal, make-symbolic-link, set-file-acl>:
15616 <set-file-selinux-context, set-visited-file-modtime>:
15617 <verify-visited-file-modtime>: Add handler.
15618 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
15619
15620 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
15621 <file-notify-add-watch, file-notify-rm-watch>:
15622 <set-file-times, set-visited-file-modtime>:
15623 <verify-visited-file-modtime>: Add handler.
15624 (with-tramp-gvfs-error-message)
15625 (tramp-gvfs-handle-set-visited-file-modtime)
15626 (tramp-gvfs-fuse-file-name): Remove.
15627 (tramp-gvfs-handle-file-notify-add-watch)
15628 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
15629 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
15630
15631 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15632 Order alphabetically.
15633 <file-notify-rm-watch>: Use default Tramp handler.
15634 <executable-find>: Remove private handler.
15635 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
15636 `default-directory'.
15637 (tramp-sh-handle-executable-find)
15638 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
15639 (tramp-sh-file-gvfs-monitor-dir-process-filter)
15640 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
15641 Do not use `format' in `tramp-message'.
15642
15643 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
15644 <file-notify-rm-watch, set-visited-file-modtime>:
15645 <verify-visited-file-modtime>: Add handler.
15646 (tramp-smb-call-winexe): Do not bind `default-directory'.
15647
15648 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
15649
15650 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
15651
15652 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
15653
15654 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
15655 use it.
15656 (log-view-diff-changeset): Same.
15657 (log-view-diff-common): Call backend command `previous-revision'
15658 to find out the previous revision, in both cases. Swap the
15659 variables `to' and `fr', so that `fr' usually refers to the
15660 earlier revision (Bug#14989).
15661
15662 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
15663
15664 * ibuf-ext.el (ibuffer-filter-by-filename):
15665 Make it work with dired buffers too.
15666
15667 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
15668
15669 * emacs-lisp/re-builder.el (reb-color-display-p):
15670 * files.el (save-buffers-kill-terminal):
15671 * net/browse-url.el (browse-url):
15672 * server.el (server-save-buffers-kill-terminal):
15673 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
15674 Prefer nil to selected-frame for the first arg of frame-parameter.
15675
15676 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
15677
15678 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
15679
15680 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
15681
15682 * minibuffer.el (completion--twq-all): Try and preserve each
15683 completion's case choice (bug#14907).
15684
15685 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15686
15687 * net/network-stream.el (open-network-stream): Mention the new
15688 :nogreeting parameter.
15689 (network-stream-open-starttls): Use the :nogreeting parameter
15690 (bug#14938).
15691
15692 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
15693
15694 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
15695 more natural than popping.
15696
15697 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
15698 (shr-urlify): Highlight under mouse.
15699
15700 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
15701
15702 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
15703
15704 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
15705
15706 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
15707 buffer for output.
15708
15709 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
15710 point-min==1. Fix search string. Fix parentheses missing.
15711
15712 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
15713 assume point-min==1. Fix search string. Fix parentheses missing.
15714
15715 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
15716
15717 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
15718 buffer for output.
15719
15720 2013-07-29 Eli Zaretskii <eliz@gnu.org>
15721
15722 * frame.el (frame-notice-user-settings): Avoid inflooping when the
15723 initial frame is minibuffer-less. (Bug#14841)
15724
15725 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
15726
15727 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
15728 option.
15729
15730 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15731 (tramp-maybe-open-connection): Use it.
15732
15733 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15734
15735 * desktop.el (desktop--make-frame): Include `minibuffer' in the
15736 minimal set of parameters passed when creating a frame, because
15737 the minibuffer status of a frame cannot be changed later.
15738
15739 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
15740
15741 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
15742 replace-regexp-in-string and inadvertent omissions in previous change.
15743 (todo-filter-items): Ensure only file names are comma-separated in
15744 name of filtered items buffer.
15745
15746 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15747
15748 * desktop.el: Optionally force offscreen frames back onscreen.
15749 (desktop-restoring-reuses-frames): New option.
15750 (desktop--compute-pos, desktop--move-onscreen): New functions.
15751 (desktop--make-frame): Use desktop--move-onscreen.
15752
15753 2013-07-27 Alan Mackenzie <acm@muc.de>
15754
15755 Fontify a Java generic method as a function.
15756 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
15757 value to t.
15758
15759 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
15760
15761 * calendar/todo-mode.el: Add command to rename todo files.
15762 (todo-rename-file): New command.
15763 (todo-key-bindings-t): Add key binding for it. Change the
15764 bindings of todo-filter-regexp-items(-multifile) to use `x'
15765 instead of `r', since the latter is better suited to the new
15766 renaming command.
15767
15768 2013-07-27 Alan Mackenzie <acm@muc.de>
15769
15770 Make Java try-with-resources statement parse properly.
15771 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
15772 (c-block-stmt-1-2-key): New language constants/variables.
15773 * progmodes/cc-engine.el (c-beginning-of-statement-1)
15774 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
15775 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
15776 with c-block-stmt-1-2-key.
15777
15778 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
15779
15780 * desktop.el (desktop--make-frame): Apply most frame parameters after
15781 creating the frame to force (partially or totally) offscreen frames to
15782 be restored as such.
15783
15784 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
15785
15786 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
15787 (Bug#14948)
15788
15789 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15790
15791 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
15792 `base' arg of backtrace-frame.
15793
15794 2013-07-26 Eli Zaretskii <eliz@gnu.org>
15795
15796 * simple.el (list-processes): Doc fix.
15797
15798 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
15799
15800 * desktop.el (desktop--select-frame):
15801 Try harder to reuse existing frames.
15802
15803 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15804
15805 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
15806 (edebug-eval): Use backtrace-eval.
15807 (edebug--display, edebug--recursive-edit): Don't let-bind the
15808 edebug-outer-* vars that keep track of variables we locally let-bind.
15809 (edebug-outside-excursion): Don't restore outside values of locally
15810 let-bound vars.
15811 (edebug--display): Use user-error.
15812 (cl-lexical-debug, cl-debug-env): Remove.
15813
15814 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
15815
15816 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
15817 are restored to be sure that they are visible before deleting any
15818 remaining ones.
15819
15820 2013-07-26 Matthias Meulien <orontee@gmail.com>
15821
15822 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
15823 vc-print-root-log. (Bug#14948)
15824
15825 2013-07-26 Richard Stallman <rms@gnu.org>
15826
15827 Add aliases for encrypting mail.
15828 * epa.el (epa-mail-aliases): New option.
15829 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
15830 Bind inhibit-read-only so read-only text doesn't ruin everything.
15831 (epa-mail-default-recipients): New subroutine broken out.
15832 Handle epa-mail-aliases.
15833
15834 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15835
15836 Add support for lexical variables to the debugger's `e' command.
15837 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
15838 vars, except for debugger-outer-match-data.
15839 (debugger-frame-number): Move check for "on a function call" from
15840 callers into it. Add `skip-base' argument.
15841 (debugger-frame, debugger-frame-clear): Simplify accordingly.
15842 (debugger-env-macro): Only reset the state stored in non-variables,
15843 i.e. current-buffer and match-data.
15844 (debugger-eval-expression): Rewrite using backtrace-eval.
15845 * subr.el (internal--called-interactively-p--get-frame): Remove.
15846 (called-interactively-p):
15847 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
15848 `base' arg of backtrace-frame instead.
15849
15850 2013-07-26 Glenn Morris <rgm@gnu.org>
15851
15852 * align.el (align-regexp): Doc fix. (Bug#14857)
15853 (align-region): Explicit error if subexpression missing/does not match.
15854
15855 * simple.el (global-visual-line-mode):
15856 Do not duplicate the mode lighter. (Bug#14858)
15857
15858 2013-07-25 Martin Rudalics <rudalics@gmx.at>
15859
15860 * window.el (display-buffer): In display-buffer bind
15861 split-window-keep-point to t, bug#14829.
15862
15863 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
15864
15865 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
15866 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
15867 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
15868 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15869 Change accordingly.
15870 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15871 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
15872
15873 2013-07-25 Glenn Morris <rgm@gnu.org>
15874
15875 * dired-x.el (dired-mark-extension): Convert comment to doc string.
15876
15877 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
15878
15879 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
15880 parameter to modify-frame-parameters if the value has not changed;
15881 this is a workaround for bug#14949.
15882 (desktop--make-frame): On cl-delete-if call, check parameter name,
15883 not full parameter.
15884
15885 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
15886
15887 * vc/vc.el (vc-ignore): New function.
15888
15889 * vc/vc-svn.el (vc-svn-ignore): New function.
15890
15891 * vc/vc-hg.el (vc-hg-ignore): New function.
15892
15893 * vc/vc-git.el (vc-git-ignore): New function.
15894
15895 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
15896 (vc-dir-ignore): New function.
15897
15898 * vc/vc-cvs.el (vc-cvs-ignore): New function.
15899 (cvs-append-to-ignore): Move here from pcvs.el.
15900
15901 * vc/vc-bzr.el (vc-bzr-ignore): New function.
15902
15903 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
15904
15905 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
15906
15907 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
15908 (desktop-restore-frames): Warn when deleting an existing frame failed.
15909
15910 2013-07-24 Glenn Morris <rgm@gnu.org>
15911
15912 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
15913
15914 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
15915
15916 * filenotify.el (file-notify-supported-p):
15917 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
15918 Remove functions.
15919
15920 * autorevert.el (auto-revert-use-notify)
15921 (auto-revert-notify-add-watch):
15922 * net/tramp.el (tramp-file-name-for-operation):
15923 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15924 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15925 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15926 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
15927 Remove `file-notify-supported-p' entry.
15928
15929 2013-07-24 Glenn Morris <rgm@gnu.org>
15930
15931 * printing.el: Replace all uses of deleted ps-windows-system,
15932 ps-lp-system, ps-flatten-list with lpr- versions.
15933
15934 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
15935
15936 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
15937 checked with memq (bug#14935).
15938
15939 * files.el (revert-buffer-function): Use a non-nil default.
15940 (revert-buffer-preserve-modes): Declare var to
15941 provide access to the `preserve-modes' argument.
15942 (revert-buffer): Let-bind it.
15943 (revert-buffer--default): New function, extracted from revert-buffer.
15944
15945 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
15946
15947 * lpr.el: Signal print errors more prominently.
15948 (print-region-function): Don't default to nil.
15949 (lpr-print-region): New function, extracted from print-region-1.
15950 Check lpr's return value and signal an error in case of problem.
15951 (print-region-1): Use it.
15952 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
15953 versions instead.
15954 (ps-printer-name): Default to nil.
15955 (ps-printer-name-option): Default to lpr-printer-switch.
15956 (ps-print-region-function): Don't default to nil.
15957 (ps-postscript-code-directory): Simplify default.
15958 (ps-do-despool): Use lpr-print-region to properly check the outcome.
15959 (ps-string-list, ps-eval-switch, ps-flatten-list)
15960 (ps-flatten-list-1): Remove.
15961 (ps-multibyte-buffer): Avoid setq.
15962 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
15963 (print-region-function, ps-print-region-function): Don't set them here.
15964
15965 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
15966
15967 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
15968 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
15969 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
15970 (ido-decorations): Doc fix.
15971
15972 * ansi-color.el: Fix old URL.
15973
15974 2013-07-23 Michael R. Mauger <michael@mauger.com>
15975
15976 * progmodes/sql.el: Version 3.3
15977 (sql-product-alist): Improve oracle :prompt-cont-regexp.
15978 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
15979 (sql-interactive-remove-continuation-prompt): Rewrite, use
15980 functions above. Fix continuation prompt and complete output line
15981 handling.
15982 (sql-redirect-one, sql-execute): Use `read-only-mode' on
15983 redirected output buffer.
15984 (sql-mode): Restore deleted code (Bug#13591).
15985
15986 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
15987
15988 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
15989
15990 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
15991
15992 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
15993
15994 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15995 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15996 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
15997
15998 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
15999
16000 * desktop.el (desktop-clear): Simplify; remove useless checks
16001 against invalid buffer names.
16002 (desktop-list*): Use cl-list*.
16003 (desktop-buffer-info, desktop-create-buffer): Simplify.
16004
16005 2013-07-23 Leo Liu <sdl.web@gmail.com>
16006
16007 * bookmark.el (bookmark-make-record): Restore NAME as a default
16008 value. (Bug#14933)
16009
16010 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
16011
16012 * emacs-lisp/autoload.el (autoload--setup-output): New function,
16013 extracted from autoload--insert-text.
16014 (autoload--insert-text): Remove.
16015 (autoload--print-cookie-text): New function, extracted from
16016 autoload--insert-cookie-text.
16017 (autoload--insert-cookie-text): Remove.
16018 (autoload-generate-file-autoloads): Adjust calls accordingly.
16019
16020 * winner.el (winner-hook-installed-p): Remove.
16021 (winner-mode): Simplify accordingly.
16022
16023 * subr.el (add-to-list): Fix compiler-macro when `append' is
16024 not constant. Don't use `cl-member' for the base case.
16025
16026 * progmodes/subword.el: Fix boundary case (bug#13758).
16027 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
16028 own group.
16029 (subword-backward-regexp): Make it a constant.
16030 (subword-forward-internal): Don't treat a trailing capital as the
16031 beginning of a word.
16032
16033 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
16034
16035 * emacs-lisp/package.el (package-menu-mode): Don't modify the
16036 global value of tabulated-list-revert-hook (bug#14930).
16037
16038 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
16039
16040 * desktop.el: Require 'cl-lib.
16041 (desktop-before-saving-frames-functions): New hook.
16042 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
16043 for frames being saved. Rename from desktop--save-minibuffer-frames.
16044 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
16045 Do not save frames with non-nil `desktop-dont-save' parameter.
16046 Filter out deleted frames.
16047 (desktop--find-frame): Use cl-find-if.
16048 (desktop--select-frame): Use cl-(first|second|third) to access values
16049 of desktop-mini.
16050 (desktop--make-frame): Use cl-delete-if.
16051 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
16052 (desktop-restore-frames): Use cl-(first|second|third) to access values
16053 of desktop-mini. Look for visible frame at the end, not while
16054 restoring frames.
16055
16056 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
16057 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
16058 Use string-match-p, looking-at-p (bug#14927).
16059
16060 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
16061
16062 * desktop.el (desktop-saved-frame-states):
16063 Rename from desktop--saved-states; all users changed.
16064 (desktop-save-frames): Rename from desktop--save-frames.
16065 Do not save state to desktop file.
16066 (desktop-save): Save desktop-saved-frame-states to desktop file
16067 and reset to nil.
16068 (desktop-restoring-frames-p): New function.
16069 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
16070 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
16071 buffer-lists when restoring frames. Suggested by Martin Rudalics.
16072
16073 * desktop.el: Correctly restore iconified frames.
16074 (desktop--filter-iconified-position): New function.
16075 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
16076
16077 2013-07-20 Glenn Morris <rgm@gnu.org>
16078
16079 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
16080 Let `message' do the formatting.
16081 (def-gdb-preempt-display-buffer): Add explicit format.
16082
16083 * image-dired.el (image-dired-track-original-file):
16084 Use with-current-buffer.
16085 (image-dired-track-thumbnail): Use with-current-buffer.
16086 Avoid changing point of wrong window.
16087
16088 * image-dired.el (image-dired-track-original-file):
16089 Avoid changing point of wrong window. (Bug#14909)
16090
16091 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
16092
16093 * progmodes/gdb-mi.el (gdb-done-or-error):
16094 Guard against "%" in gdb output. (Bug#14127)
16095
16096 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
16097
16098 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
16099 (Bug#14826)
16100
16101 * international/mule.el (coding-system-iso-2022-flags): Fix last
16102 change.
16103
16104 2013-07-20 Kenichi Handa <handa@gnu.org>
16105
16106 * international/mule.el (coding-system-iso-2022-flags):
16107 Add `8-bit-level-4'. (Bug#8522)
16108
16109 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16110
16111 * net/shr.el (shr-mouse-browse-url): New command and keystroke
16112 (bug#14815).
16113
16114 * net/eww.el (eww-process-text-input): Allow inputting when the
16115 point is at the start of the line, as the properties aren't
16116 front-sticky.
16117
16118 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
16119 degenerate widths.
16120
16121 2013-07-19 Richard Stallman <rms@gnu.org>
16122
16123 * epa.el (epa-popup-info-window): Doc fix.
16124
16125 * subr.el (split-string): New arg TRIM.
16126
16127 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
16128
16129 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
16130 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
16131
16132 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
16133
16134 * filenotify.el (file-notify--library): Rename from
16135 `file-notify-support'. Do not autoload. Adapt all uses.
16136 (file-notify-supported-p): New defun.
16137
16138 * autorevert.el (auto-revert-use-notify):
16139 Use `file-notify-supported-p' instead of `file-notify-support'.
16140 Adapt docstring.
16141 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
16142
16143 * net/tramp.el (tramp-file-name-for-operation):
16144 Add `file-notify-supported-p'.
16145
16146 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16147 New defun.
16148 (tramp-sh-file-name-handler-alist): Add it as handler for
16149 `file-notify-supported-p '.
16150
16151 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16152 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16153 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16154 Add `ignore' as handler for `file-notify-*' functions.
16155
16156 2013-07-17 Eli Zaretskii <eliz@gnu.org>
16157
16158 * simple.el (line-move-partial, line-move): Don't start vscroll or
16159 scroll-up if the current line is not taller than the window.
16160 (Bug#14881)
16161
16162 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
16163
16164 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
16165 highlight question marks in the method names as strings.
16166 (ruby-block-beg-keywords): Inline.
16167 (ruby-font-lock-keyword-beg-re): Extract from
16168 `ruby-font-lock-keywords'.
16169
16170 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
16171
16172 * frame.el (blink-cursor-blinks): New defcustom.
16173 (blink-cursor-blinks-done): New defvar.
16174 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
16175 (blink-cursor-timer-function): Check if number of blinks has been
16176 done on X and NS.
16177 (blink-cursor-suspend, blink-cursor-check): New defuns.
16178
16179 2013-07-15 Glenn Morris <rgm@gnu.org>
16180
16181 * edmacro.el (edmacro-format-keys): Fix previous change.
16182
16183 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
16184
16185 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
16186 The hack didn't work outside English locales anyway.
16187
16188 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
16189
16190 * simple.el (define-alternatives): Rename from alternatives-define,
16191 per RMS' suggestion.
16192
16193 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
16194
16195 * desktop.el (desktop-restore-frames): Change default to t.
16196 (desktop-restore-in-current-display): Now offer more options.
16197 (desktop-restoring-reuses-frames): New customization option.
16198 (desktop--saved-states): Doc fix.
16199 (desktop-filter-parameters-alist): New variable, renamed and expanded
16200 from desktop--excluded-frame-parameters.
16201 (desktop--target-display): New variable.
16202 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
16203 (desktop--filter-tty*, desktop--filter-*-color)
16204 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16205 (desktop--filter-save-desktop-parm)
16206 (desktop-restore-in-original-display-p): New functions.
16207 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
16208 (desktop--save-minibuffer-frames): New function, inspired by a similar
16209 function from Martin Rudalics.
16210 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
16211 (desktop--restore-in-this-display-p): Remove.
16212 (desktop--find-frame): Rename from desktop--find-frame-in-display
16213 and add predicate argument.
16214 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
16215 (desktop--reuse-list): New variable.
16216 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
16217 New functions.
16218 (desktop--restore-frames): Add support for "minibuffer-special" frames.
16219
16220 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
16221
16222 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
16223
16224 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
16225
16226 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16227 Highlight conversion methods on Kernel.
16228
16229 2013-07-13 Alan Mackenzie <acm@muc.de>
16230
16231 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
16232 and comment it out. This out-commenting enables certain C++
16233 declarations to be parsed correctly.
16234
16235 2013-07-13 Eli Zaretskii <eliz@gnu.org>
16236
16237 * international/mule.el (define-coding-system): Doc fix.
16238
16239 * simple.el (default-font-height): Don't call font-info if the
16240 frame's default font didn't change since the frame was created.
16241 (Bug#14838)
16242
16243 2013-07-13 Leo Liu <sdl.web@gmail.com>
16244
16245 * ido.el (ido-read-file-name): Guard against non-symbol value.
16246
16247 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
16248
16249 * progmodes/python.el (python-imenu--build-tree): Fix corner case
16250 in nested defuns.
16251
16252 2013-07-13 Leo Liu <sdl.web@gmail.com>
16253
16254 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
16255 ido-set-matches call. (Bug#6852)
16256
16257 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
16258
16259 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
16260 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
16261 Ruby 2.0.
16262 (ruby-font-lock-keywords): Distinguish calls to functions with
16263 module-like names from module references. Highlight character
16264 literals.
16265
16266 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
16267
16268 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
16269 (gdb-send): Handle continued commands. (Bug#14847)
16270
16271 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16272
16273 * desktop.el (desktop--v2s): Remove unused local variable.
16274 (desktop-save-buffer): Make defvar-local; adjust docstring.
16275 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
16276 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
16277
16278 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
16279
16280 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
16281
16282 2013-07-12 Eli Zaretskii <eliz@gnu.org>
16283
16284 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
16285 (Bug#14842)
16286
16287 2013-07-12 Glenn Morris <rgm@gnu.org>
16288
16289 * doc-view.el: Require cl-lib at runtime too.
16290 (doc-view-remove-if): Remove.
16291 (doc-view-search-next-match, doc-view-search-previous-match):
16292 Use cl-remove-if.
16293
16294 * edmacro.el: Require cl-lib at runtime too.
16295 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
16296 (edmacro-mismatch, edmacro-subseq): Remove.
16297
16298 * shadowfile.el: Require cl-lib.
16299 (shadow-remove-if): Remove.
16300 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
16301 Use cl-remove-if.
16302
16303 * wid-edit.el: Require cl-lib.
16304 (widget-choose): Use cl-remove-if.
16305 (widget-remove-if): Remove.
16306
16307 * progmodes/ebrowse.el: Require cl-lib at runtime too.
16308 (ebrowse-delete-if-not): Remove.
16309 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
16310 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
16311 Use cl-delete-if-not.
16312
16313 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16314
16315 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
16316 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
16317
16318 2013-07-12 Leo Liu <sdl.web@gmail.com>
16319
16320 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
16321
16322 2013-07-11 Glenn Morris <rgm@gnu.org>
16323
16324 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
16325 (edebug-gensym-index, edebug-gensym):
16326 Remove reimplementation of cl-gensym.
16327 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
16328
16329 * thumbs.el: Require cl-lib at run-time too.
16330 (thumbs-gensym-counter, thumbs-gensym):
16331 Remove reimplementation of cl-gensym.
16332 (thumbs-temp-file): Use cl-gensym.
16333
16334 * emacs-lisp/ert.el: Require cl-lib at runtime too.
16335 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
16336 (ert--intersection, ert--set-difference, ert--set-difference-eq)
16337 (ert--union, ert--gensym-counter, ert--gensym-counter)
16338 (ert--coerce-to-vector, ert--remove*, ert--string-position)
16339 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
16340 (ert-make-test-unbound, ert--expand-should-1)
16341 (ert--expand-should, ert--should-error-handle-error)
16342 (should-error, ert--explain-equal-rec)
16343 (ert--plist-difference-explanation, ert-select-tests)
16344 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
16345 Use cl-lib functions rather than reimplementations.
16346
16347 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
16348
16349 * net/tramp.el (tramp-methods): Extend docstring.
16350 (tramp-connection-timeout): New defcustom.
16351 (tramp-error-with-buffer): Reset timestamp only when appropriate.
16352 (with-tramp-progress-reporter): Simplify.
16353 (tramp-process-actions): Improve messages.
16354
16355 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16356 * net/tramp-sh.el (tramp-maybe-open-connection):
16357 Use `tramp-connection-timeout'.
16358 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
16359 (Bug#14808)
16360
16361 2013-07-11 Leo Liu <sdl.web@gmail.com>
16362
16363 * ido.el (ido-read-file-name): Conform to the requirements of
16364 read-file-name. (Bug#11861)
16365 (ido-read-directory-name): Conform to the requirements of
16366 read-directory-name.
16367
16368 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
16369
16370 * subr.el (delay-warning): New function.
16371
16372 2013-07-10 Eli Zaretskii <eliz@gnu.org>
16373
16374 * simple.el (default-line-height): New function.
16375 (line-move-partial, line-move): Use it instead of computing the
16376 line height inline.
16377 (line-move-partial): Always compute ROWH. If the last line is
16378 partially-visible, but its text is completely visible, allow
16379 cursor to enter such a partially-visible line.
16380
16381 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
16382
16383 Improve error messages. (Bug#14808)
16384
16385 * net/tramp.el (tramp-current-connection): New defvar, moved from
16386 tramp-sh.el.
16387 (tramp-message-show-progress-reporter-message): Remove, not
16388 needed anymore.
16389 (tramp-error-with-buffer): Show message in minibuffer.
16390 Discard input before waiting. Reset connection timestamp.
16391 (with-tramp-progress-reporter): Improve messages.
16392 (tramp-process-actions): Use progress reporter. Delete process in
16393 case of error. Improve messages.
16394
16395 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
16396 Call `tramp-error-with-buffer' with vector and buffer.
16397 (tramp-current-connection): Remove.
16398 (tramp-maybe-open-connection): The car of
16399 `tramp-current-connection' are the first 3 slots of the vector.
16400
16401 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
16402
16403 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
16404 inside continued strings.
16405
16406 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
16407
16408 Timestamp fixes for undo (Bug#14824).
16409 * files.el (clear-visited-file-modtime): Move here from fileio.c.
16410
16411 2013-07-10 Leo Liu <sdl.web@gmail.com>
16412
16413 * files.el (require-final-newline): Allow safe local value.
16414 (Bug#14834)
16415
16416 2013-07-09 Leo Liu <sdl.web@gmail.com>
16417
16418 * ido.el (ido-read-directory-name): Handle fallback.
16419 (ido-read-file-name): Update DIR to ido-current-directory.
16420 (Bug#1516)
16421 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
16422
16423 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
16424
16425 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
16426 "autoload". Remove "warn lower camel case" section, previously
16427 commented out. Highlight negation char. Do not highlight the
16428 target in singleton method definitions.
16429
16430 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16431
16432 * faces.el (tty-setup-hook): Declare the hook.
16433
16434 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
16435 and detect when a guard/pred depends on local vars (bug#14773).
16436 (pcase--u1): Adjust caller.
16437
16438 2013-07-08 Eli Zaretskii <eliz@gnu.org>
16439
16440 * simple.el (line-move-partial, line-move): Account for
16441 line-spacing.
16442 (line-move-partial): Avoid setting vscroll when the last
16443 partially-visible line in window is of default height.
16444
16445 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16446
16447 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
16448 been used a while.
16449
16450 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
16451
16452 * subr.el (read-quoted-char): Remove unused local variable `char'.
16453
16454 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
16455
16456 * vc/ediff.el (ediff-version): Version update.
16457 (ediff-files-command, ediff3-files-command, ediff-merge-command)
16458 (ediff-merge-with-ancestor-command, ediff-directories-command)
16459 (ediff-directories3-command, ediff-merge-directories-command)
16460 (ediff-merge-directories-with-ancestor-command): New functions.
16461 All are command-line interfaces to ediff: to facilitate calling
16462 Emacs with the appropriate ediff functions invoked.
16463
16464 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
16465 New function.
16466 (viper-save-kill-buffer): Check if buffer is modified.
16467
16468 * emulation/viper.el (viper-version): Version update.
16469 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
16470
16471 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
16472
16473 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
16474 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
16475 (viper-intercept-ESC-key): Simplify.
16476 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
16477 don't use kbd.
16478 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
16479 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
16480 (viper-setup-ESC-to-escape): New functions.
16481 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
16482 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
16483
16484 2013-07-07 Eli Zaretskii <eliz@gnu.org>
16485
16486 * simple.el (default-font-height, window-screen-lines):
16487 New functions.
16488 (line-move, line-move-partial): Use them instead of
16489 frame-char-height and window-text-height. This makes scrolling
16490 text smoother when the buffer's default face uses a font that is
16491 different from the frame's default font.
16492
16493 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
16494
16495 * files.el (write-file): Do not display confirm dialog for NS,
16496 it does its own dialog, which can't be canceled (Bug#14578).
16497
16498 2013-07-06 Eli Zaretskii <eliz@gnu.org>
16499
16500 * simple.el (line-move-partial): Adjust the row returned by
16501 posn-at-point for the current window-vscroll. (Bug#14567)
16502
16503 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
16504
16505 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
16506 (tramp-sh-file-inotifywait-process-filter): Handle file names with
16507 spaces.
16508
16509 2013-07-06 Martin Rudalics <rudalics@gmx.at>
16510
16511 * window.el (window-state-put-stale-windows): New variable.
16512 (window--state-put-2): Save list of windows without matching buffer.
16513 (window-state-put): Remove "bufferless" windows if possible.
16514
16515 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16516
16517 * simple.el (alternatives-define): Remove leftover :group keyword.
16518 Tweak docstring.
16519
16520 2013-07-06 Leo Liu <sdl.web@gmail.com>
16521
16522 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
16523 (ido-enable-virtual-buffers): New variable.
16524 (ido-buffer-internal, ido-toggle-virtual-buffers)
16525 (ido-make-buffer-list): Use it.
16526 (ido-exhibit): Support turning on and off virtual buffers
16527 automatically.
16528
16529 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16530
16531 * simple.el (alternatives-define): New macro.
16532
16533 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
16534
16535 * subr.el (read-quoted-char): Use read-key.
16536 (sit-for): Let read-event decode tty input (bug#14782).
16537
16538 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
16539
16540 * calendar/todo-mode.el: Add handling of file deletion, both by
16541 mode command and externally. Fix various related bugs.
16542 Clarify Commentary and improve some documentation strings and code.
16543 (todo-delete-file): New command.
16544 (todo-check-file): New function.
16545 (todo-show): Handle external deletion of the file we're trying to
16546 show (bug#14688). Replace called-interactively-p by an optional
16547 prefix argument to avoid problematic interaction with catch form
16548 when byte compiled (bug#14702).
16549 (todo-quit): Handle external deletion of the archive's todo file.
16550 Make sure the buffer that was visiting the archive file is still
16551 live before trying to bury it.
16552 (todo-category-completions): Handle external deletion of any
16553 category completion files.
16554 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
16555 of todo files, in case of external deletion.
16556 (todo-add-file): Replace unnecessary setq by let-binding.
16557 (todo-find-archive): Check whether there are any archives.
16558 Replace unnecessary setq by let-binding.
16559 (todo-archive-done-item): Use find-file-noselect to get the
16560 archive buffer whether or not the archive already exists.
16561 Remove superfluous code. Use file size instead of buffer-file-name to
16562 check if the archive is new; if it is, update list of archives.
16563 (todo-default-todo-file): Allow nil to be a valid value for when
16564 there are no todo files.
16565 (todo-reevaluate-default-file-defcustom): Use corrected definition
16566 of todo-default-todo-file.
16567 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
16568 (todo-delete-category, todo-show-categories-table)
16569 (todo-category-number): Clarify comment.
16570 (todo-filter-items): Clarify documentation string.
16571 (todo-show-current-file, todo-display-as-todo-file)
16572 (todo-reset-and-enable-done-separator): Tweak documentation string.
16573 (todo-done-separator): Make separator length window-width, since
16574 bug#2749 is now fixed.
16575
16576 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
16577
16578 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16579 Support both "gvfs-monitor-dir" and "inotifywait".
16580 (tramp-sh-file-inotifywait-process-filter): Rename from
16581 `tramp-sh-file-notify-process-filter'.
16582 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16583 (tramp-get-remote-gvfs-monitor-dir): New defuns.
16584
16585 2013-07-05 Leo Liu <sdl.web@gmail.com>
16586
16587 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
16588
16589 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16590
16591 * frame.el (display-pixel-height, display-pixel-width)
16592 (display-mm-height, display-mm-width): Mention behavior on
16593 multi-monitor setups in docstrings.
16594 (w32-display-monitor-attributes-list): Declare function.
16595 (display-monitor-attributes-list): Use it.
16596
16597 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
16598
16599 * filenotify.el: New package.
16600
16601 * autorevert.el (top): Require filenotify.el.
16602 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
16603 instead.
16604 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16605 (auto-revert-notify-handler): Use `file-notify-*' functions.
16606
16607 * subr.el (file-notify-handle-event): Move function to filenotify.el.
16608
16609 * net/tramp.el (tramp-file-name-for-operation):
16610 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
16611
16612 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
16613 for `file-notify-add-watch' and `file-notify-rm-watch'.
16614 (tramp-process-sentinel): Improve trace.
16615 (tramp-sh-handle-file-notify-add-watch)
16616 (tramp-sh-file-notify-process-filter)
16617 (tramp-sh-handle-file-notify-rm-watch)
16618 (tramp-get-remote-inotifywait): New defuns.
16619
16620 2013-07-03 Juri Linkov <juri@jurta.org>
16621
16622 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
16623 call of `occur-read-primary-args' to interactive spec.
16624
16625 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
16626 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
16627
16628 2013-07-03 Matthias Meulien <orontee@gmail.com>
16629
16630 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
16631 `Buffer-menu-multi-occur'. Add it to the menu.
16632 (Buffer-menu-mode): Document it in docstring.
16633 (Buffer-menu-multi-occur): New command. (Bug#14673)
16634
16635 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16636
16637 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
16638 keywords and built-ins.
16639
16640 2013-07-03 Glenn Morris <rgm@gnu.org>
16641
16642 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
16643
16644 Make info-xref checks case-sensitive by default
16645 * info.el (Info-find-node, Info-find-in-tag-table)
16646 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
16647 Add option for exact case matching of nodes.
16648 * info-xref.el (info-xref): New custom group.
16649 (info-xref-case-fold): New option.
16650 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
16651
16652 2013-07-03 Leo Liu <sdl.web@gmail.com>
16653
16654 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
16655
16656 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16657
16658 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
16659 middle of block statement initially, lower the depth. Remove
16660 FIXME comment, not longer valid. Remove middle of block statement
16661 detection, no need to do that anymore since we've been using
16662 `ruby-parse-region' here.
16663
16664 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
16665
16666 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
16667
16668 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
16669
16670 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
16671
16672 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
16673
16674 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
16675 (desktop-restore-in-current-display): New customization option.
16676 (desktop--excluded-frame-parameters): Add `font'.
16677 (desktop--save-frames): Rename from desktop--save-windows.
16678 (desktop--restore-in-this-display-p): New function.
16679 (desktop--make-full-frame): Remove unwanted width/height from
16680 full(width|height) frames.
16681 (desktop--restore-frames): Rename from desktop--restore-windows.
16682 Obey desktop-restore-current-display. Do not delete old frames or
16683 select a new frame unless we were able to restore at least one frame.
16684
16685 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
16686
16687 * files.el (find-file-noselect): Simplify conditional expression.
16688
16689 * textmodes/remember.el (remember-append-to-file):
16690 Don't mix `find-buffer-visiting' and `get-file-buffer'.
16691
16692 Add `remember-notes' function to store random notes across Emacs
16693 restarts.
16694 * textmodes/remember.el (remember-data-file): Add :set callback to
16695 affect notes buffer (if any).
16696 (remember-notes): New command.
16697 (remember-notes-buffer-name, bury-remember-notes-on-kill):
16698 New defcustoms for the `remember-notes' function.
16699 (remember-notes-save-and-bury-buffer): New command.
16700 (remember-notes-mode-map): New variable.
16701 (remember-mode): New minor mode.
16702 (remember-notes--kill-buffer-query): New function.
16703 * startup.el (initial-buffer-choice): Add notes to custom type.
16704
16705 2013-06-30 Eli Zaretskii <eliz@gnu.org>
16706
16707 * bindings.el (right-char, left-char): Don't call sit-for, this is
16708 no longer needed. Use arithmetic comparison only for numerical
16709 arguments.
16710
16711 * international/mule-cmds.el (select-safe-coding-system):
16712 Handle the case of FROM being a string correctly. (Bug#14755)
16713
16714 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16715
16716 * net/shr.el (shr-make-table-1): Add a sanity check that allows
16717 progression on degenerate tables.
16718 (shr-rescale-image): ImageMagick animated images currently don't work.
16719
16720 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
16721
16722 Some fixes and improvements for desktop frame restoration.
16723 It is still experimental and disabled by default.
16724 * desktop.el (desktop--save-windows): Put the selected frame at
16725 the head of the list.
16726 (desktop--make-full-frame): New function.
16727 (desktop--restore-windows): Try to re-select the frame that was
16728 selected upon saving. Do not abort if some frames fail to restore,
16729 just show an error message and continue. Set up maximized frames
16730 so they have default non-maximized dimensions.
16731
16732 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
16733
16734 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
16735 Don't start heredoc inside a string or comment.
16736
16737 2013-06-29 Eli Zaretskii <eliz@gnu.org>
16738
16739 * bindings.el (visual-order-cursor-movement): New defcustom.
16740 (right-char, left-char): Provide visual-order cursor motion by
16741 calling move-point-visually. Update the doc strings.
16742
16743 2013-06-28 Kenichi Handa <handa@gnu.org>
16744
16745 * international/mule.el (define-coding-system): New coding system
16746 properties :inhibit-null-byte-detection,
16747 :inhibit-iso-escape-detection, and :prefer-utf-8.
16748 (set-buffer-file-coding-system): If :charset-list property of
16749 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
16750 appropriate for setting.
16751
16752 * international/mule-cmds.el (select-safe-coding-system):
16753 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
16754 multibyte characters, return utf-8 (or one of its siblings).
16755
16756 * international/mule-conf.el (prefer-utf-8): New coding system.
16757 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
16758 files.
16759
16760 2013-06-28 Ivan Kanis <ivan@kanis.fr>
16761
16762 * net/shr.el (shr-render-region): New function.
16763
16764 * net/eww.el: Autoload `eww-browse-url'.
16765
16766 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
16767
16768 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16769 Adapt to `package-desc-version' being a list.
16770 Use `package--ac-desc-version' to retrieve version from a package
16771 archive element.
16772
16773 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
16774
16775 New experimental feature to save&restore window and frame setup.
16776 * desktop.el (desktop-save-windows): New defcustom.
16777 (desktop--saved-states): New var.
16778 (desktop--excluded-frame-parameters): New defconst.
16779 (desktop--filter-frame-parms, desktop--find-frame-in-display)
16780 (desktop--restore-windows, desktop--save-windows): New functions.
16781 (desktop-save): Call `desktop--save-windows'.
16782 (desktop-read): Call `desktop--restore-windows'.
16783
16784 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16785
16786 * net/shr.el (add-face-text-property): Remove compat definition.
16787
16788 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
16789
16790 * info.el (Info-try-follow-nearest-node): Move search for footnote
16791 above search for node name to prevent missing a footnote (bug#14717).
16792
16793 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
16794
16795 * obsolete/otodo-mode.el: Add obsolescence info to file header.
16796
16797 2013-06-27 Leo Liu <sdl.web@gmail.com>
16798
16799 * net/eww.el (eww-read-bookmarks): Check file size.
16800
16801 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
16802
16803 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
16804 advice--pending if newdef is nil or an autoload (bug#13820).
16805 (advice-mapc): New function.
16806
16807 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16808
16809 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
16810 probably.
16811 (eww-mode-map): Add a menu bar.
16812 (eww-add-bookmark): New command.
16813 (eww-bookmark-mode): New mode and commands.
16814 (eww-add-bookmark): Remove newlines from the title.
16815 (eww-bookmark-browse): Don't bug out if it's the only window.
16816
16817 2013-06-26 Glenn Morris <rgm@gnu.org>
16818
16819 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
16820 (hfy-size): Handle ttys. (Bug#14668)
16821
16822 * info-xref.el: Update for Texinfo 5 change in *note format.
16823 (info-xref-node-re, info-xref-note-re): New constants.
16824 (info-xref-check-buffer): Use info-xref-note-re.
16825
16826 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
16827
16828 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
16829
16830 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
16831 nil terminate the loop (bug#14718).
16832
16833 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16834
16835 * net/eww.el: Rework history traversal. When going forward/back,
16836 put these actions into the history, too, so that they can be
16837 replayed.
16838 (eww-render): Move the history reset to the correct buffer.
16839
16840 2013-06-25 Juri Linkov <juri@jurta.org>
16841
16842 * files-x.el (modify-dir-local-variable): Change the header comment
16843 in the file with directory local variables. (Bug#14692)
16844
16845 * files-x.el (read-file-local-variable-value): Add `default'.
16846 (Bug#14710)
16847
16848 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16849
16850 * net/eww.el (eww-make-unique-file-name): Create a unique file
16851 name before saving to entering `y' accidentally asynchronously.
16852
16853 2013-06-25 Ivan Kanis <ivan@kanis.fr>
16854
16855 * net/eww.el (eww-download): New command and keystroke.
16856
16857 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16858
16859 * net/eww.el (eww-copy-page-url): Change name of command.
16860
16861 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
16862 be more consistent with Info and dired.
16863
16864 * net/eww.el (eww-mode-map): Ditto.
16865
16866 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16867
16868 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
16869 packages from archives.
16870 (package-archive-contents): Change format; include obsolete packages.
16871 (package-desc): Use `dir' to mark builtin packages.
16872 (package--from-builtin): Set the `dir' field to `builtin'.
16873 (generated-autoload-file, version-control): Declare.
16874 (package-compute-transaction): Change first arg and return value to be
16875 lists of package-descs. Adjust to new package-archive-contents format.
16876 (package--add-to-archive-contents): Adjust to new
16877 package-archive-contents format.
16878 (package-download-transaction): Arg is now a list of package-descs.
16879 (package-install): If `pkg' is a package name, pass it as
16880 a requirement, so it is subject to the usual (e.g. disabled) checks.
16881 (describe-package): Accept package-desc as well.
16882 (describe-package-1): Describe a specific package-desc. Add links to
16883 other package-descs for the same package name.
16884 (package-menu-describe-package): Pass the actual package-desc.
16885 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
16886 works correctly.
16887 (package-desc-status): New function.
16888 (package-menu--refresh): New function, extracted
16889 from package-menu--generate.
16890 (package-menu--generate): Use it.
16891 (package-delete): Update package-alist.
16892 (package-menu-execute): Don't call package-initialize.
16893
16894 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
16895 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
16896 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
16897 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
16898 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
16899 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
16900
16901 2013-06-25 Martin Rudalics <rudalics@gmx.at>
16902
16903 * window.el (window--state-get-1): Workaround for bug#14527.
16904 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
16905
16906 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16907
16908 * net/eww.el (eww-back-url): Implement the history by stashing all
16909 the data into a list.
16910 (eww-forward-url): Allow going forward in the history, too.
16911
16912 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16913
16914 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
16915 for values and use read--expression for expressions (bug#14710).
16916 (read-file-local-variable): Avoid setq.
16917 (read-file-local-variable-mode): Use minor-mode-list.
16918
16919 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16920
16921 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
16922 for DOI URLs.
16923
16924 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16925
16926 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
16927 Update imenu-support when dialect changes.
16928
16929 2013-06-25 Leo Liu <sdl.web@gmail.com>
16930
16931 * ido.el (ido-read-internal): Allow forward slash on windows.
16932
16933 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
16934
16935 * net/eww.el (eww): Start of strings is \\`, not ^.
16936
16937 2013-06-24 Ivan Kanis <ivan@kanis.fr>
16938
16939 * net/shr.el (shr-browse-url): Fix interactive spec.
16940
16941 * net/eww.el (eww): Add a trailing slash to domain names.
16942
16943 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
16944
16945 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
16946
16947 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
16948
16949 * net/shr.el (shr-browse-url): Use an external browser if given a
16950 prefix.
16951
16952 * net/eww.el (eww-external-browser): Move to shr.
16953
16954 2013-06-24 Ivan Kanis <ivan@kanis.fr>
16955
16956 * net/eww.el (eww): Work more correctly for file: URLs.
16957 (eww-detect-charset): Allow quoted charsets.
16958 (eww-yank-page-url): New command and keystroke.
16959
16960 2013-06-24 Daiki Ueno <ueno@gnu.org>
16961
16962 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
16963 file name of gpg executable.
16964 (epg-context-program): New function.
16965 (epg-context-home-directory): New function.
16966 (epg-context-set-program): New function.
16967 (epg-context-set-home-directory): New function.
16968 (epg--start): Use `epg-context-program' instead of
16969 'epg-gpg-program'.
16970 (epg--list-keys-1): Likewise.
16971
16972 2013-06-24 Leo Liu <sdl.web@gmail.com>
16973
16974 * ido.el (ido-read-internal): Fix bug#14620.
16975
16976 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
16977
16978 * faces.el (face-documentation): Simplify.
16979 (read-face-attribute, tty-find-type, x-resolve-font-name):
16980 Use `string-match-p'.
16981 (list-faces-display): Use `string-match-p'. Simplify.
16982 (face-spec-recalc): Check face to avoid face alias loops.
16983 (read-color): Use `string-match-p' and non-capturing parenthesis.
16984
16985 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16986
16987 * net/shr.el (shr-rescale-image): Use the new
16988 :max-width/:max-height functionality.
16989
16990 2013-06-23 Ivan Kanis <ivan@kanis.fr>
16991
16992 * net/eww.el (eww-search-prefix): New variable.
16993 (eww): Use it.
16994 (eww-external-browser): New variable.
16995 (eww-mode-map): New keystroke.
16996 (eww-browse-with-external-browser): New command.
16997
16998 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
16999
17000 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
17001
17002 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
17003 Don't skip aligning the next header field when padding is 0;
17004 otherwise, field width is not respected unless the title is as
17005 wide as the field.
17006
17007 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
17008
17009 * emacs-lisp/package.el (package-el-version): Remove.
17010 (package-process-define-package): Fix inf-loop.
17011 (package-install): Allow symbols as arguments again.
17012
17013 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
17014
17015 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
17016 add some more keyword-like methods.
17017 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
17018
17019 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
17020
17021 * bs.el (bs-buffer-show-mark): Make defvar-local.
17022 (bs-mode): Use setq-local.
17023
17024 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
17025 (emacs-lock--try-unlocking): Make defvar-local.
17026
17027 2013-06-22 Glenn Morris <rgm@gnu.org>
17028
17029 * play/cookie1.el (cookie-apropos): Minor simplification.
17030
17031 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
17032
17033 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
17034
17035 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
17036 `regexp-opt', it breaks the build during dumping.
17037
17038 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
17039
17040 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17041 Highlight keyword-like methods on Kernel and Module with
17042 font-lock-builtin-face.
17043 (auto-mode-alist): Consolidate different entries into one regexp
17044 and add more *file-s.
17045
17046 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
17047
17048 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
17049
17050 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
17051 (diary-entry): Use it in the action of this button type instead of
17052 diary-goto-entry.
17053
17054 * calendar/todo-mode.el: New version.
17055 (todo-add-category): Append new category to end of file and give
17056 it the highest number, instead of putting it at the beginning and
17057 giving it 0. Incorporate noninteractive functionality.
17058 (todo-forward-category): Adapt to 1-based category numbering.
17059 Allow skipping over archived categories.
17060 (todo-backward-category): Derive from todo-forward-category.
17061 (todo-backward-item, todo-forward-item): Make noninteractive and
17062 delegate interactive part to new commands. Make sensitive to done items.
17063 (todo-categories): Make value an alist of category names and
17064 vectors of item counts.
17065 (todo-category-beg): Make a defconst.
17066 (todo-category-number): Use 1 instead of 0 as initial value.
17067 (todo-category-select): Make sensitive to overlays, optional item
17068 highlighting and done items.
17069 (todo-delete-item): Make sensitive to overlays and marked and done items.
17070 (todo-edit-item): Make sensitive to overlays and editing of
17071 date/time header optional. Add format checks.
17072 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
17073 no-op if point is not on an item. Advertise using todo-edit-quit.
17074 (todo-edit-mode): Make sensitive to new format, font-locking, and
17075 multiple todo files.
17076 (todo-insert-item, todo-insert-item-here): Derive from
17077 todo-basic-insert-item and extend functionality.
17078 (todo-item-end, todo-item-start): Make sensitive to done items.
17079 (todo-item-string): Don't return text properties. Restore point.
17080 (todo-jump-to-category): Make sensitive to multiple todo files and
17081 todo archives. Use extended category completion.
17082 (todo-lower-item, todo-raise-item): Rename to *-priority and
17083 derive from todo-set-item-priority.
17084 (todo-mode): Derive from special-mode. Make sensitive to new
17085 format, font-locking and multiple todo files. Make read-only.
17086 (todo-mode-map): Don't suppress digit keys, so they can supply
17087 prefix arguments. Add many new key bindings.
17088 (todo-prefix): Insert as an overlay instead of file text.
17089 Change semantics from diary date expression to purely visual mark.
17090 (todo-print): Rename to todo-print-buffer. Make buffer display
17091 features printable. Remove option to restrict number of items
17092 printed. Add option to print to file.
17093 (todo-print-function): Rename to todo-print-buffer-function.
17094 (todo-quit): Extend to handle exiting new todo modes.
17095 (todo-remove-item): Make sensitive to overlays.
17096 (todo-save): Extend to buffers of filtered items.
17097 (todo-show): Make sensitive to done items, multiple todo files and
17098 new todo modes. Offer to convert legacy todo file before creating
17099 first new todo file.
17100 (todo-show-priorities): Rename to todo-top-priorities.
17101 Change semantics of value 0.
17102 (todo-top-priorities): Rename to todo-filter-top-priorities,
17103 derive from todo-filter-items and extend functionality.
17104 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
17105 and extend functionality to other types of filtered items.
17106 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
17107 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
17108 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
17109 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
17110 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
17111 (todo-edit-mode-hook, todo-entry-prefix-function)
17112 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
17113 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
17114 (todo-initials, todo-insert-threshold, todo-item-string-start)
17115 (todo-line-string, todo-menu, todo-mode-hook)
17116 (todo-more-important-p, todo-previous-answer, todo-previous-line)
17117 (todo-print-priorities, todo-remove-separator)
17118 (todo-save-top-priorities-too, todo-string-count-lines)
17119 (todo-string-multiline-p, todo-time-string-format)
17120 (todo-tmp-buffer-name): Remove.
17121 (todo-add-file, todo-archive-done-item, todo-choose-archive)
17122 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
17123 (todo-edit-category-diary-inclusion)
17124 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
17125 (todo-edit-file, todo-edit-item-date-day)
17126 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
17127 (todo-edit-item-date-month, todo-edit-item-date-to-today)
17128 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
17129 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
17130 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
17131 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
17132 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
17133 (todo-filter-top-priorities-multifile, todo-find-archive)
17134 (todo-find-filtered-items-file, todo-go-to-source-item)
17135 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
17136 (todo-jump-to-archive-category, todo-lower-category)
17137 (todo-mark-category, todo-marked-item-p, todo-merge-category)
17138 (todo-move-category, todo-move-item, todo-next-button)
17139 (todo-next-item, todo-padded-string, todo-powerset)
17140 (todo-previous-button, todo-previous-item)
17141 (todo-print-buffer-to-file, todo-raise-category)
17142 (todo-rename-category, todo-repair-categories-sexp, todo-search)
17143 (todo-set-category-number, todo-set-item-priority)
17144 (todo-set-top-priorities-in-category)
17145 (todo-set-top-priorities-in-file, todo-show-categories-table)
17146 (todo-sort-categories-alphabetically-or-numerically)
17147 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
17148 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
17149 (todo-toggle-item-header, todo-toggle-item-highlighting)
17150 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
17151 (todo-toggle-view-done-items, todo-toggle-view-done-only)
17152 (todo-unarchive-items, todo-unmark-category): New commands.
17153 (todo-absolute-file-name, todo-add-to-buffer-list)
17154 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
17155 (todo-basic-insert-item, todo-category-completions)
17156 (todo-category-number, todo-category-string-matcher-1)
17157 (todo-category-string-matcher-2, todo-check-filtered-items-file)
17158 (todo-check-format, todo-clear-matches)
17159 (todo-comment-string-matcher, todo-convert-legacy-date-time)
17160 (todo-current-category, todo-date-string-matcher)
17161 (todo-define-insertion-command, todo-diary-expired-matcher)
17162 (todo-diary-goto-entry, todo-diary-item-p)
17163 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
17164 (todo-display-categories, todo-display-sorted, todo-done-item-p)
17165 (todo-done-item-section-p, todo-done-separator)
17166 (todo-done-string-matcher, todo-files, todo-filter-items)
17167 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
17168 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
17169 (todo-insert-category-line, todo-insert-item-from-calendar)
17170 (todo-insert-sort-button, todo-insert-with-overlays)
17171 (todo-insertion-command-name, todo-insertion-key-bindings)
17172 (todo-label-to-key, todo-longest-category-name-length)
17173 (todo-make-categories-list, todo-mode-external-set)
17174 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
17175 (todo-modes-set-3, todo-multiple-filter-files)
17176 (todo-nondiary-marker-matcher, todo-prefix-overlays)
17177 (todo-read-category, todo-read-date, todo-read-dayname)
17178 (todo-read-file-name, todo-read-time)
17179 (todo-reevaluate-category-completions-files-defcustom)
17180 (todo-reevaluate-default-file-defcustom)
17181 (todo-reevaluate-filelist-defcustoms)
17182 (todo-reevaluate-filter-files-defcustom)
17183 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
17184 (todo-reset-done-separator, todo-reset-done-separator-string)
17185 (todo-reset-done-string, todo-reset-global-current-todo-file)
17186 (todo-reset-highlight-item, todo-reset-nondiary-marker)
17187 (todo-reset-prefix, todo-set-categories)
17188 (todo-set-date-from-calendar, todo-set-show-current-file)
17189 (todo-set-top-priorities, todo-short-file-name)
17190 (todo-show-current-file, todo-sort, todo-time-string-matcher)
17191 (todo-total-item-counts, todo-update-buffer-list)
17192 (todo-update-categories-display, todo-update-categories-sexp)
17193 (todo-update-count, todo-validate-name, todo-y-or-n-p):
17194 New functions.
17195 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
17196 New major modes.
17197 (todo-categories, todo-display, todo-edit, todo-faces)
17198 (todo-filtered): New defgroups.
17199 (todo-archived-only, todo-button, todo-category-string, todo-date)
17200 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
17201 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
17202 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
17203 (todo-add-item-if-new-category, todo-always-add-time-string)
17204 (todo-categories-align, todo-categories-archived-label)
17205 (todo-categories-category-label, todo-categories-diary-label)
17206 (todo-categories-done-label, todo-categories-number-separator)
17207 (todo-categories-todo-label, todo-categories-totals-label)
17208 (todo-category-completions-files, todo-completion-ignore-case)
17209 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
17210 (todo-done-separator-string, todo-done-string)
17211 (todo-files-function, todo-filter-done-items, todo-filter-files)
17212 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
17213 (todo-initial-category, todo-initial-file, todo-item-mark)
17214 (todo-legacy-date-time-regexp, todo-mode-line-function)
17215 (todo-nondiary-marker, todo-number-prefix)
17216 (todo-print-buffer-function, todo-show-current-file)
17217 (todo-show-done-only, todo-show-first, todo-show-with-done)
17218 (todo-skip-archived-categories, todo-top-priorities-overrides)
17219 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
17220 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
17221 New defcustoms.
17222 (todo-category-done, todo-date-pattern, todo-date-string-start)
17223 (todo-diary-items-buffer, todo-done-string-start)
17224 (todo-filtered-items-buffer, todo-item-start)
17225 (todo-month-abbrev-array, todo-month-name-array)
17226 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
17227 (todo-top-priorities-buffer): New defconsts.
17228 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
17229 (todo-categories-with-marks, todo-category-string-face)
17230 (todo-comment-face, todo-comment-string, todo-current-todo-file)
17231 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
17232 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
17233 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
17234 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
17235 (todo-font-lock-keywords, todo-global-current-todo-file)
17236 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
17237 (todo-insertion-commands-args)
17238 (todo-insertion-commands-args-genlist)
17239 (todo-insertion-commands-names, todo-insertion-map)
17240 (todo-key-bindings-t, todo-key-bindings-t+a)
17241 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
17242 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
17243 (todo-nondiary-face, todo-print-buffer, todo-time-face)
17244 (todo-visited): New variables.
17245
17246 2013-06-21 Glenn Morris <rgm@gnu.org>
17247
17248 * play/cookie1.el (cookie-apropos): Add optional display argument.
17249 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
17250 (psychoanalyze-pinhead): Use cookie-doctor.
17251
17252 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17253
17254 * emacs-lisp/package.el (tar-get-file-descriptor)
17255 (tar--extract): Declare.
17256
17257 2013-06-21 Eduard Wiebe <usenet@pusto.de>
17258
17259 Extend flymake's warning predicate to be a function (bug#14217).
17260 * progmodes/flymake.el (flymake-warning-predicate): New.
17261 (flymake-parse-line): Use it.
17262 (flymake-warning-re): Make obsolete alias to
17263 `flymake-warning-predicate'.
17264
17265 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17266
17267 * emacs-lisp/package.el (package-alist): Include obsolete packages.
17268 (package-obsolete-list): Remove.
17269 (package-activate): Remove min-version argument. Add `force' argument.
17270 Adjust to new package-alist format.
17271 (package-mark-obsolete): Remove.
17272 (package-unpack): Force reload of the package's autoloads.
17273 (package-installed-p): Check builtins if the installed package is not
17274 recent enough.
17275 (package-initialize): Don't reset package-obsolete-list.
17276 Don't specify which package version to activate.
17277 (package-process-define-package, describe-package-1)
17278 (package-menu--generate): Adjust to new package-alist format.
17279
17280 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17281
17282 * allout-widgets.el (allout-widgets-mode-off)
17283 (allout-widgets-mode-on, allout-widgets-pre-command-business)
17284 (allout-widgets-post-command-business)
17285 (allout-widgets-after-copy-or-kill-function)
17286 (allout-widgets-after-undo-function, allout-test-range-overlaps)
17287 (allout-decorate-item-and-context)
17288 (allout-graphics-modification-handler): Fix typos in docstrings.
17289 (allout-get-or-create-parent-widget): Use `looking-at-p'.
17290
17291 * cmuscheme.el (scheme-start-file): Doc fix.
17292 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
17293 (scheme-input-filter): Use `string-match-p'.
17294
17295 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
17296
17297 * dired-x.el: Use Dired consistently in docstrings.
17298
17299 * dired.el: Use Dired consistently in docstrings.
17300 (dired-readin, dired-mode): Use `setq-local'.
17301 (dired-switches-alist): Make defvar-local.
17302 (dired-buffers-for-dir): Use `zerop'.
17303 (dired-safe-switches-p, dired-switches-escape-p)
17304 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
17305 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
17306 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
17307 (dired-goto-next-nontrivial-file): Use `string-match-p'.
17308 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
17309 (dired-toggle-marks, dired-mark-files-containing-regexp)
17310 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
17311 (dired-flag-auto-save-files, dired-flag-backup-files):
17312 Use `looking-at-p'.
17313 (dired-mark-files-regexp, dired-build-subdir-alist):
17314 Use `string-match-p', `looking-at-p'.
17315
17316 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
17317 (direct-print-region-helper): Use `string-match-p'.
17318
17319 2013-06-21 Leo Liu <sdl.web@gmail.com>
17320
17321 * comint.el (comint-redirect-results-list-from-process):
17322 Fix infinite loop.
17323
17324 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17325
17326 * net/eww.el (eww-update-header-line-format): Quote % characters.
17327
17328 2013-06-21 Glenn Morris <rgm@gnu.org>
17329
17330 * play/cookie1.el (cookie): New custom group.
17331 (cookie-file): New option.
17332 (cookie-check-file): New function.
17333 (cookie): Make it interactive. Make start and end messages optional.
17334 Interactively, display the result. Default to cookie-file.
17335 (cookie-insert): Default to cookie-file.
17336 (cookie-snarf): Make start and end messages optional.
17337 Default to cookie-file. Use with-temp-buffer.
17338 (cookie-read): Rename from read-cookie.
17339 Make start and end messages optional. Default to cookie-file.
17340 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
17341 Do not autoload it.
17342 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
17343 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
17344
17345 2013-06-21 Leo Liu <sdl.web@gmail.com>
17346
17347 * progmodes/octave.el (octave-mode): Backward compatibility fix.
17348
17349 2013-06-21 Glenn Morris <rgm@gnu.org>
17350
17351 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
17352
17353 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17354 Daniel Hackney <dan@haxney.org>
17355
17356 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
17357 Consolidate the single-file vs tarball code.
17358 (package-desc-suffix): New function.
17359 (package-desc-full-name): Don't bother inlining it.
17360 (package-load-descriptor): Return the new package-desc.
17361 (package-mark-obsolete): Remove unused arg `package'.
17362 (package-unpack): Make it work for single files as well.
17363 Make it update package-alist.
17364 (package--make-autoloads-and-stuff): Rename from
17365 package--make-autoloads-and-compile. Don't compile any more.
17366 (package--compile): New function.
17367 (package-generate-description-file): New function, extracted from
17368 package-unpack-single.
17369 (package-unpack-single): Remove.
17370 (package--with-work-buffer): Add indentation and debugging info.
17371 (package-download-single): Remove.
17372 (package-install-from-archive): Rename from package-download-tar, make
17373 it take a pkg-desc, and make it work for single files as well.
17374 (package-download-transaction): Simplify.
17375 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
17376 external tar program.
17377 (package-install-from-buffer): Remove `pkg-desc' argument.
17378 Use package-tar-file-info for tar-mode buffers.
17379 (package-install-file): Simplify accordingly.
17380 (package-archive-base): Change to take a pkg-desc.
17381 * tar-mode.el (tar--check-descriptor): New function, extracted from
17382 tar-get-descriptor.
17383 (tar-get-descriptor): Use it.
17384 (tar-get-file-descriptor): New function.
17385 (tar--extract): New function, extracted from tar-extract.
17386 (tar--extract): Use it.
17387 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
17388 case the summary uses non-ascii. Adjust to new calling convention of
17389 package-tar-file-info.
17390
17391 2013-06-21 Leo Liu <sdl.web@gmail.com>
17392
17393 * comint.el (comint-redirect-results-list-from-process):
17394 Fix random delay. (Bug#14681)
17395
17396 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17397
17398 * profiler.el (profiler-format-number): Use log, not log10.
17399
17400 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17401
17402 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
17403
17404 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17405
17406 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
17407 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
17408 yet available.
17409 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
17410 (AUTOGENEL): ... here.
17411 * emacs-lisp/cl-macs.el (cl--sublis): New function.
17412 (cl--defsubst-expand): Use it.
17413
17414 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
17415
17416 * subr.el (log10): Move here from C code, and declare as obsolete.
17417 All uses of (log10 X) replaced with (log X 10).
17418
17419 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17420
17421 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
17422 Declare with `defvar-local'.
17423 (tabulated-list-use-header-line, tabulated-list-entries)
17424 (tabulated-list-padding, tabulated-list-printer)
17425 (tabulated-list-sort-key): Declare with `defvar-local'.
17426 (tabulated-list-init-header, tabulated-list-print-fake-header):
17427 Use `setq-local'.
17428
17429 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
17430
17431 * arc-mode.el (archive-mode): Add `archive-write-file' to
17432 `write-contents-functions' also for remote files. (Bug#14652)
17433
17434 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17435
17436 * cus-edit.el (custom-commands): Fix typos.
17437 (custom-display): Fix tooltip text.
17438 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
17439 Fix typos in docstrings.
17440 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
17441 (custom-unlispify-menu-entry, custom-magic-value-create)
17442 (custom-add-see-also, custom-group-value-create): Use ?\s.
17443 (custom-guess-type, customize-apropos, editable-field)
17444 (custom-face-value-create): Use `string-match-p'.
17445 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
17446
17447 * custom.el (custom-load-symbol): Use `string-match-p'.
17448
17449 * ansi-color.el: Convert to lexical binding.
17450 (ansi-colors): Fix URL.
17451 (ansi-color-context, ansi-color-context-region): Use defvar-local.
17452 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
17453 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
17454
17455 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17456
17457 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
17458
17459 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
17460
17461 2013-06-19 Tom Tromey <tromey@redhat.com>
17462
17463 * net/eww.el (eww-top-url): Remove.
17464 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
17465 (eww-render): Set new variables. Don't set eww-top-url.
17466 (eww-handle-link): Handle "prev", "home", and "contents".
17467 Downcase the rel text.
17468 (eww-top-url): Choose best top URL.
17469
17470 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17471
17472 * net/eww.el: Rewrite to implement form elements "by hand" instead of
17473 relying in widget.el. Using widget.el leads to too many
17474 user interface inconsistencies.
17475 (eww-self-insert): Implement entering commands in text fields.
17476 (eww-process-text-input): New function to make text input field editing
17477 work.
17478 (eww-submit): Rewrite to use the new-style form methods.
17479 (eww-select-display): Display the correct selected item.
17480 (eww-change-select): Implement changing the select value.
17481 (eww-toggle-checkbox): Implement radio/checkboxes.
17482 (eww-update-field): Fix compilation error.
17483 (eww-tag-textarea): Implement <textarea>.
17484
17485 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
17486 we don't shadow mode-specific bindings.
17487
17488 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
17489 nothing to push.
17490
17491 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
17492
17493 2013-06-19 Glenn Morris <rgm@gnu.org>
17494
17495 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
17496
17497 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17498
17499 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
17500 not needed.
17501
17502 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
17503
17504 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17505
17506 * net/browse-url.el (browse-url-browser-function):
17507 `eww-browse-url' has the right calling signature, `eww' does not.
17508
17509 2013-06-19 Glenn Morris <rgm@gnu.org>
17510
17511 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17512 Only eval autoloaded macros.
17513 (byte-compile-autoload): Only give the macro warning for macros.
17514
17515 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
17516 (ps-underlined-faces): Declare.
17517
17518 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
17519 (speedbar-add-supported-extension): Declare.
17520
17521 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
17522 Don't include a date stamp in the header of the generated file;
17523 it leads to needless differences between output files.
17524
17525 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17526
17527 * net/secrets.el (secrets-struct-secret-content-type):
17528 Replace check of introspection data by a test call of "CreateItem".
17529 Some servers do not offer introspection.
17530
17531 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
17532
17533 * electric.el (electric-pair-mode): Improve interaction with
17534 electric-layout-mode.
17535 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
17536 (electric-pair-syntax): Use text-mode-syntax-table in comments
17537 and strings.
17538 (electric-pair--insert): New function.
17539 (electric-pair-post-self-insert-function): Use it and
17540 electric--after-char-pos.
17541
17542 2013-06-19 Leo Liu <sdl.web@gmail.com>
17543
17544 * progmodes/octave.el (octave-help): Fix regexp.
17545
17546 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17547
17548 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
17549 (shr-table-horizontal-line): Allow nil as a value, and change the
17550 default.
17551 (shr-insert-table-ruler): Respect the nil value.
17552
17553 2013-06-18 Tom Tromey <tromey@barimba>
17554
17555 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17556 New defvars.
17557 (eww-open-file): New defun.
17558 (eww-render): Initialize new variables.
17559 (eww-display-html): Handle "link" and "a".
17560 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
17561 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
17562 (eww-back-url): Rename from eww-previous-url.
17563 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17564 New defuns.
17565
17566 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
17567
17568 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
17569 Distinguish ternary operator tokens from slash symbol and slash
17570 char literal.
17571
17572 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17573
17574 Convert symbol prettification into minor mode and global minor mode.
17575
17576 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
17577 `prog-prettify-symbols', and make a local defvar instead of defcustom.
17578 (prettify-symbols--keywords): Rename from
17579 `prog-prettify-symbols-alist' and make a local defvar.
17580 (prettify-symbols--compose-symbol): Rename from
17581 `prog--prettify-font-lock-compose-symbol'.
17582 (prettify-symbols--make-keywords): Rename from
17583 `prog-prettify-font-lock-symbols-keywords' and simplify.
17584 (prog-prettify-install): Remove.
17585 (prettify-symbols-mode): New minor mode, based on
17586 `prog-prettify-install'.
17587 (turn-on-prettify-symbols-mode): New function.
17588 (global-prettify-symbols-mode): New globalized minor mode.
17589
17590 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
17591 * progmodes/cfengine.el (cfengine3-mode):
17592 * progmodes/perl-mode.el (perl-mode): Don't call
17593 `prog-prettify-install'; set `prettify-symbols-alist' instead.
17594
17595 2013-06-18 Juri Linkov <juri@jurta.org>
17596
17597 * files-x.el (modify-file-local-variable-message): New function.
17598 (modify-file-local-variable)
17599 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
17600 and call `modify-file-local-variable-message' when it's non-nil.
17601 (add-file-local-variable, delete-file-local-variable)
17602 (add-file-local-variable-prop-line)
17603 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
17604 and use it. (Bug#9820)
17605
17606 2013-06-18 Juri Linkov <juri@jurta.org>
17607
17608 * emulation/vi.el (vi-shell-op):
17609 * emulation/vip.el (vip-execute-com, ex-command):
17610 * emulation/viper-cmd.el (viper-exec-bang):
17611 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
17612 the call of `shell-command-on-region'. (Bug#14637)
17613
17614 * simple.el (shell-command-on-region): Doc fix.
17615
17616 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17617
17618 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
17619 (bug#14633).
17620
17621 2013-06-18 Glenn Morris <rgm@gnu.org>
17622
17623 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
17624
17625 * newcomment.el (comment-search-forward, comment-search-backward):
17626 Doc fix. (Bug#14376)
17627
17628 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17629
17630 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
17631 (buffer-face-mode-invoke): Doc fix.
17632
17633 2013-06-18 Matthias Meulien <orontee@gmail.com>
17634
17635 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
17636 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
17637
17638 2013-06-18 Glenn Morris <rgm@gnu.org>
17639
17640 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
17641 Replace obsolete function generic-make-keywords with its expansion.
17642
17643 * progmodes/python.el (ffap-alist): Declare.
17644
17645 * textmodes/reftex.el (bibtex-mode-map): Declare.
17646
17647 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17648
17649 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
17650 (package-unpack, package-unpack-single): Return the pkg-dir.
17651 (package-download-transaction): Use it to update package-alist.
17652
17653 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17654
17655 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
17656 possible choice.
17657
17658 2013-06-17 Juri Linkov <juri@jurta.org>
17659
17660 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
17661
17662 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17663
17664 * emacs-lisp/package.el (package-load-descriptor):
17665 Remove `with-syntax-table' call, `read' doesn't need it.
17666 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
17667
17668 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17669
17670 * startup.el (command-line): Expand package name returned by
17671 `package--description-file' (bug#14639).
17672
17673 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17674
17675 * emacs-lisp/package.el (package-load-descriptor): Do not call
17676 `emacs-lisp-mode', just use its syntax table.
17677
17678 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17679
17680 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
17681 `font-lock-extra-managed-props' if any prettifying keyword is added.
17682 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
17683 (prog-mode): Use `setq-local'.
17684
17685 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17686
17687 * international/characters.el (standard-case-table): Set syntax of ?»
17688 and ?« to punctuation.
17689
17690 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
17691
17692 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
17693 Save relevant match data before calling `syntax-ppss' (bug#14595).
17694
17695 2013-06-15 Juri Linkov <juri@jurta.org>
17696
17697 * files-x.el (modify-file-local-variable-prop-line): Add local
17698 variables to the end of the existing comment on the first line.
17699 Use `file-auto-mode-skip' to skip interpreter magic line,
17700 and also skip XML declaration.
17701
17702 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17703
17704 * startup.el (package--builtin-versions): New var.
17705 (package-subdirectory-regexp): Remove.
17706 (package--description-file): Hard code its value instead.
17707
17708 * emacs-lisp/package.el: Don't activate packages older than builtin.
17709 (package-obsolete-list): Rename from package-obsolete-alist, and make
17710 it into a simple list of package-desc.
17711 (package-strip-version): Remove.
17712 (package-built-in-p): Use package--builtin-versions.
17713 (package-mark-obsolete): Simplify.
17714 (package-process-define-package): Mark it obsolete if older than the
17715 builtin version.
17716 (package-handle-response): Use line-end-position.
17717 (package-read-archive-contents, package--download-one-archive):
17718 Simplify.
17719 (package--add-to-archive-contents): Skip if older than the builtin or
17720 installed version.
17721 (package-menu-describe-package): Fix last change.
17722 (package-list-unversioned): New var.
17723 (package-menu--generate): Use it.
17724
17725 * emacs-lisp/autoload.el: Manage package--builtin-versions.
17726 (autoload--insert-text, autoload--insert-cookie-text): New functions.
17727 (autoload-builtin-package-versions): New variable.
17728 (autoload-generate-file-autoloads): Use them.
17729 Remove the list of autoloaded functions/macros from the
17730 (autoload...) comments.
17731
17732 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
17733
17734 2013-06-15 Eli Zaretskii <eliz@gnu.org>
17735
17736 * simple.el (line-move-partial): Don't jump to the next screen
17737 line as soon as it becomes visible. Instead, continue enlarging
17738 the vscroll until the portion of a tall screen line that's left on
17739 display is about the height of the frame's default font.
17740 (Bug#14567)
17741
17742 2013-06-15 Glenn Morris <rgm@gnu.org>
17743
17744 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
17745 compilation-error-regexp-alist void, or local while let-bound.
17746
17747 * progmodes/make-mode.el (makefile-mode-syntax-table):
17748 Treat "=" as punctuation. (Bug#14614)
17749
17750 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
17751
17752 * help-fns.el (describe-variable):
17753 Add extra line for permanent-local variables.
17754
17755 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
17756
17757 * progmodes/scheme.el (scheme-font-lock-keywords-2):
17758 Add export, import, library. (Bug#9164)
17759 (library): Set indent function.
17760
17761 2013-06-14 Glenn Morris <rgm@gnu.org>
17762
17763 * term/xterm.el (xterm--query):
17764 Stop after first matching handler. (Bug#14615)
17765
17766 2013-06-14 Ivan Kanis <ivan@kanis.fr>
17767
17768 Add support for dired in saveplace.
17769 * dired.el (dired-initial-position-hook): New variable.
17770 (dired-initial-position): Call hook to place cursor position.
17771 * saveplace.el (save-place-to-alist): Add dired position.
17772 (save-place-dired-hook): New function.
17773
17774 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
17775
17776 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
17777 through a symbol rather than letrec.
17778
17779 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
17780 (package-desc): Add `dir' field.
17781 (package-desc-full-name): New function.
17782 (package-load-descriptor): Combine the two arguments. Don't use `load'.
17783 (package-maybe-load-descriptor): Remove.
17784 (package-load-all-descriptors): Just call package-load-descriptor.
17785 (package--disabled-p): New function.
17786 (package-desc-vers, package-desc-doc): Remove aliases.
17787 (package--dir): Remove function.
17788 (package-activate): Check if a package is disabled.
17789 (package-process-define-package): New function, extracted from
17790 define-package.
17791 (define-package): Turn into a place holder.
17792 (package-unpack-single, package-tar-file-info):
17793 Use package--description-file.
17794 (package-compute-transaction): Use package--disabled-p.
17795 (package-download-transaction): Don't call
17796 package-maybe-load-descriptor since they're all loaded anyway.
17797 (package-install): Change argument to be a pkg-desc.
17798 (package-delete): Use a single pkg-desc argument.
17799 (describe-package-1): Use package-desc-dir instead of package--dir.
17800 Use package-desc property instead of package-symbol.
17801 (package-install-button-action): Adjust accordingly.
17802 (package--push): Rewrite.
17803 (package-menu--print-info): Adjust accordingly. Change the ID format
17804 to be a pkg-desc.
17805 (package-menu-describe-package, package-menu-get-status)
17806 (package-menu--find-upgrades, package-menu-mark-upgrades)
17807 (package-menu-execute, package-menu--name-predicate):
17808 Adjust accordingly.
17809 * startup.el (package--description-file): New function.
17810 (command-line): Use it.
17811 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17812 Use package-desc-version.
17813
17814 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
17815 (byte-compile-preprocess): Use it.
17816 (byte-compile-file-form-defalias): Try a bit harder to use macros we
17817 can't quite recognize.
17818 (byte-compile-add-to-list): Remove.
17819 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
17820 (cconv-closure-convert): Add assertion.
17821
17822 * emacs-lisp/map-ynp.el: Use lexical-binding.
17823 (map-y-or-n-p): Remove unused vars `tail' and `object'.
17824 Factor out some repeated code.
17825
17826 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * subr.el (with-eval-after-load): New macro.
17829 (eval-after-load): Allow form to be a function.
17830 take advantage of lexical-binding.
17831 (do-after-load-evaluation): Use dolist and adjust to new format.
17832 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
17833
17834 2013-06-13 Juri Linkov <juri@jurta.org>
17835
17836 * replace.el (perform-replace): Display "symbol " and other search
17837 modes from `isearch-message-prefix' in the *Help* buffer.
17838
17839 * isearch.el (isearch-query-replace): Add " symbol" and other
17840 possible search modes from `isearch-message-prefix' to the prompt.
17841 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
17842 when reading a regexp to collect.
17843
17844 2013-06-13 Juri Linkov <juri@jurta.org>
17845
17846 * isearch.el (word-search-regexp): Match whitespace if the search
17847 string begins or ends in whitespace. The LAX arg is applied to
17848 both ends of the search string. Use `regexp-quote' and explicit
17849 \< and \> instead of \b. Use \` and \' instead of ^ and $.
17850 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
17851 boundaries are replaced with symbol boundaries, and characters
17852 between symbols match non-word non-symbol syntax. (Bug#14602)
17853
17854 2013-06-13 Juri Linkov <juri@jurta.org>
17855
17856 * isearch.el (isearch-del-char): Don't exceed the length of
17857 `isearch-string' by the prefix arg. (Bug#14563)
17858
17859 2013-06-13 Juri Linkov <juri@jurta.org>
17860
17861 * isearch.el (isearch-yank-word, isearch-yank-line)
17862 (isearch-char-by-name, isearch-quote-char)
17863 (isearch-printing-char, isearch-process-search-char):
17864 Add optional count prefix arg. (Bug#14563)
17865
17866 * international/isearch-x.el
17867 (isearch-process-search-multibyte-characters):
17868 Add optional count prefix arg.
17869
17870 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
17871
17872 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
17873 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
17874 lexical-binding.
17875
17876 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
17877
17878 * subr.el (set-temporary-overlay-map): Add on-exit argument.
17879
17880 2013-06-13 Glenn Morris <rgm@gnu.org>
17881
17882 * startup.el (tty-handle-args):
17883 Don't just discard "--" and anything after. (Bug#14608)
17884
17885 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
17886
17887 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
17888
17889 Implement changes in Secret Service API. Make it backward compatible.
17890 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
17891 (secrets-create-item): Use it. Prefix properties with interface.
17892
17893 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
17894
17895 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
17896 (term-emulate-terminal): Respect term-suppress-hard-newline.
17897
17898 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
17899
17900 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
17901 Only remove a `thumb-file' overlay. (Bug#14548)
17902
17903 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
17904
17905 * mail/reporter.el (reporter-submit-bug-report):
17906 Handle missing package-name. (Bug#14600)
17907
17908 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17909
17910 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
17911 (reftex-citation-prompt, reftex-default-bibliography)
17912 (reftex-bib-or-thebib, reftex-get-bibfile-list)
17913 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
17914 (reftex-bib-sort-author, reftex-bib-sort-year)
17915 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
17916 (reftex-extract-bib-entries-from-thebibliography)
17917 (reftex-get-bibkey-default, reftex-get-bib-names)
17918 (reftex-parse-bibtex-entry, reftex-get-bib-field)
17919 (reftex-format-bib-entry, reftex-parse-bibitem)
17920 (reftex-format-bibitem, reftex-do-citation)
17921 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
17922 (reftex-restrict-bib-matches, reftex-extract-bib-file)
17923 (reftex-insert-bib-matches, reftex-format-citation)
17924 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
17925 (reftex-create-bibtex-file): Add docstrings, mostly by converting
17926 existing comments into docstrings.
17927
17928 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
17929
17930 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
17931
17932 2013-06-12 Andreas Schwab <schwab@suse.de>
17933
17934 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
17935 for auto-save files.
17936
17937 2013-06-12 Glenn Morris <rgm@gnu.org>
17938
17939 * ido.el (ido-delete-ignored-files): Remove.
17940 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
17941 Go back to calling ido-ignore-item-p directly.
17942
17943 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
17944
17945 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
17946
17947 * ido.el (ido-delete-ignored-files): New function,
17948 split from ido-make-file-list-1.
17949 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
17950 (ido-make-file-list-1): Use ido-delete-ignored-files.
17951
17952 2013-06-12 Leo Liu <sdl.web@gmail.com>
17953
17954 * progmodes/octave.el (inferior-octave-startup)
17955 (inferior-octave-completion-table)
17956 (inferior-octave-track-window-width-change)
17957 (octave-eldoc-function-signatures, octave-help)
17958 (octave-find-definition): Use single quoted strings.
17959 (inferior-octave-startup-args): Change default value.
17960 (inferior-octave-startup): Do not hard code "-i" and
17961 "--no-line-editing".
17962 (inferior-octave-resync-dirs): Add optional arg NOERROR.
17963 (inferior-octave-directory-tracker): Use it.
17964 (octave-goto-function-definition): Robustify.
17965 (octave-help): Support highlighting operators in 'See also'.
17966 (octave-find-definition): Find subfunctions only in Octave mode.
17967
17968 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
17969
17970 * help-fns.el (help-fns--compiler-macro): If the handler function is
17971 named, then put a link to it.
17972 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
17973 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
17974 (cl-typep): Use it.
17975 (cl-eval-when): Simplify debug spec.
17976 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
17977 compiler-macro function instead of setting `compiler-macro-file'.
17978
17979 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
17980
17981 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
17982 * vc/vc-hooks.el (vc-stay-local): Doc fix.
17983
17984 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
17985 Daniel Hackney <dan@haxney.org>
17986
17987 First part of Daniel Hackney's patch to package.el.
17988 * emacs-lisp/package.el: Use defstruct.
17989 (package-desc): New, main struct.
17990 (package--bi-desc, package--ac-desc): New structs, used to describe the
17991 format in external files.
17992 (package-desc-vers): Replace with package-desc-version accessor.
17993 (package-desc-doc): Replace with package-desc-summary accessor.
17994 (package-activate-1): Remove `package' arg since the pkg-vec now
17995 includes the name.
17996 (define-package): Use package-desc-from-define.
17997 (package-unpack-single): Change file-name arg to be a symbol.
17998 (package--add-to-archive-contents): Use package-desc-create and new
17999 accessor functions to package--ac-desc.
18000 (package-buffer-info, package-tar-file-info): Return a package-desc.
18001 (package-install-from-buffer): Remove `type' argument. Change pkg-info
18002 arg to be a package-desc.
18003 (package-install-file): Adjust accordingly. Use \' to match EOS.
18004 (package--from-builtin): New function.
18005 (describe-package-1, package-menu--generate): Use it.
18006 (package--make-autoloads-and-compile): Change name arg to be a symbol.
18007 (package-generate-autoloads): Idem and return the name of the file.
18008 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18009 Change pkg-info arg to be a package-desc.
18010 Use package-make-ac-desc.
18011 (package-upload-file): Use \' to match EOS.
18012 * finder.el (finder-compile-keywords): Use package-make-builtin.
18013
18014 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
18015
18016 * vc/vc.el (vc-deduce-fileset): Change error message.
18017 (vc-read-backend): New function.
18018 (vc-next-action): Use it.
18019
18020 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
18021
18022 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
18023 (prolog-font-lock-keywords): Use regexp-opt instead.
18024 Don't manually highlight strings.
18025 (prolog-mode-variables): Simplify comment-start-skip.
18026 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
18027
18028 * emacs-lisp/generic.el (generic--normalise-comments)
18029 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
18030 (generic-mode-set-comments): Use them.
18031 (generic-bracket-support): Use setq-local.
18032 (generic-make-keywords-list): Declare obsolete.
18033
18034 2013-06-11 Glenn Morris <rgm@gnu.org>
18035
18036 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
18037 Prettify after setting font-lock-defaults. (Bug#14574)
18038
18039 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
18040
18041 * replace.el (query-replace, occur-read-regexp-defaults-function)
18042 (replace-search):
18043 * subr.el (declare-function, number-sequence, local-set-key)
18044 (substitute-key-definition, locate-user-emacs-file)
18045 (with-silent-modifications, split-string, eval-after-load):
18046 Fix typos, remove unneeded backslashes and reflow some docstrings.
18047
18048 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
18049
18050 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
18051 default for Elisp files.
18052
18053 2013-06-11 Glenn Morris <rgm@gnu.org>
18054
18055 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
18056 although define-derived-mode was doing this anyway. (Bug#14583)
18057
18058 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
18059
18060 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18061 Fix make-variable-buffer-local call to refer to the correct variable.
18062
18063 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
18064
18065 * eshell/em-term.el (eshell-visual-commands)
18066 (eshell-visual-subcommands, eshell-visual-options):
18067 Add summary line to docstrings. Add cross-references.
18068
18069 2013-06-10 Glenn Morris <rgm@gnu.org>
18070
18071 * epa.el (epa-read-file-name): New function. (Bug#14510)
18072 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
18073
18074 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
18075
18076 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
18077 output redirection to be ignored with visual commands.
18078
18079 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
18080
18081 * eshell/em-term.el (eshell-visual-command-p): New function.
18082 (eshell-term-initialize): Move long lambda to separate function
18083 eshell-visual-command-p.
18084 * eshell/em-dirs.el (eshell-dirs-initialize):
18085 * eshell/em-script.el (eshell-script-initialize):
18086 Add missing #' to lambda.
18087
18088 2013-06-08 Leo Liu <sdl.web@gmail.com>
18089
18090 * progmodes/octave.el (octave-add-log-current-defun): New function.
18091 (octave-mode): Set add-log-current-defun-function.
18092 (octave-goto-function-definition): Do not move point if not found.
18093 (octave-find-definition): Enhance to try subfunctions first.
18094
18095 2013-06-08 Glenn Morris <rgm@gnu.org>
18096
18097 * emacs-lisp/bytecomp.el (byte-compile-char-before)
18098 (byte-compile-backward-char, byte-compile-backward-word):
18099 Improve previous change, to handle non-explicit nil.
18100
18101 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
18102
18103 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
18104 (smie--opener/closer-at-point): New function.
18105 (smie--matching-block-data): Use it. Don't match from right after an
18106 opener or right before a closer. Obey smie-blink-matching-inners.
18107 Don't signal a mismatch for repeated inners like "switch..case..case".
18108
18109 2013-06-07 Leo Liu <sdl.web@gmail.com>
18110
18111 * progmodes/octave.el (octave-mode): Set comment-use-global-state
18112 to t. (Bug#14303)
18113 (octave-function-header-regexp): Fix. (Bug#14570)
18114 (octave-help-mode-finish-hook, octave-help-mode-finish):
18115 Remove. Just use temp-buffer-show-hook.
18116
18117 * newcomment.el (comment-search-backward): Revert last change.
18118 (Bug#14434)
18119
18120 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
18121
18122 2013-06-07 Eli Zaretskii <eliz@gnu.org>
18123
18124 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
18125 through xargs, to avoid failure due to MS-Windows limitations on
18126 command-line length.
18127
18128 2013-06-06 Glenn Morris <rgm@gnu.org>
18129
18130 * font-lock.el (lisp-font-lock-keywords-2):
18131 Treat user-error like error.
18132
18133 * emacs-lisp/bytecomp.el (byte-compile-char-before)
18134 (byte-compile-backward-char, byte-compile-backward-word):
18135 Handle explicit nil arguments. (Bug#14565)
18136
18137 2013-06-05 Alan Mackenzie <acm@muc.de>
18138
18139 * isearch.el (isearch-allow-prefix): New user option.
18140 (isearch-other-meta-char): Don't exit isearch when a prefix
18141 argument is typed whilst `isearch-allow-prefix' is non-nil.
18142 (Bug#9706)
18143
18144 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18145
18146 * autorevert.el (auto-revert-notify-handler): Use memq.
18147 Hide assertion failure.
18148
18149 * skeleton.el: Use cl-lib.
18150 (skeleton-further-elements): Use defvar-local.
18151 (skeleton-insert): Use cl-progv.
18152
18153 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18154
18155 * progmodes/prog-mode.el (prog-prettify-symbols)
18156 (prog-prettify-install): Update docstrings.
18157
18158 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18159
18160 * simple.el: Move all the prog-mode code to prog-mode.el.
18161 * progmodes/prog-mode.el: New file.
18162 * loadup.el: Add prog-mode.el.
18163
18164 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18165
18166 * simple.el (prog-prettify-symbols): Add version.
18167 (prog-prettify-install): Add convenience function to prettify symbols.
18168
18169 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
18170 (perl--augmented-font-lock-keywords-1)
18171 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
18172 variables and use it.
18173
18174 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18175 (cfengine3-mode): Remove unneeded variable and use it.
18176
18177 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18178 (lisp--augmented-font-lock-keywords-1)
18179 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
18180 Remove unneeded variables and use it.
18181
18182 2013-06-05 João Távora <joaotavora@gmail.com>
18183
18184 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
18185 to point when opening the connection. (Bug#14380)
18186
18187 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18188
18189 * subr.el (load-history-regexp, load-history-filename-element)
18190 (eval-after-load, after-load-functions, do-after-load-evaluation)
18191 (eval-next-after-load, display-delayed-warnings)
18192 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
18193 definition of save-match-data.
18194 (overriding-local-map): Remove accidental obsolescence declaration.
18195
18196 * emacs-lisp/edebug.el (edebug-result): Move before first use.
18197
18198 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18199
18200 Generalize symbol prettify support to prog-mode and implement it
18201 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
18202 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
18203 (prog--prettify-font-lock-compose-symbol)
18204 (prog-prettify-font-lock-symbols-keywords): New variables and
18205 functions to support symbol prettification.
18206 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18207 (lisp--augmented-font-lock-keywords-1)
18208 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
18209 (lisp--prettify-symbols-alist): Implement prettify of lambda.
18210 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18211 (cfengine3--prettify-symbols-alist, cfengine3-mode):
18212 Implement prettify of -> => :: strings.
18213 * progmodes/perl-mode.el (perl-prettify-symbols)
18214 (perl--font-lock-compose-symbol)
18215 (perl--font-lock-symbols-keywords): Move to prog-mode.
18216 (perl--prettify-symbols-alist): Prettify -> => :: strings.
18217 (perl-font-lock-keywords-1)
18218 (perl-font-lock-keywords-2): Remove explicit prettify support.
18219 (perl--augmented-font-lock-keywords)
18220 (perl--augmented-font-lock-keywords-1)
18221 (perl--augmented-font-lock-keywords-2, perl-mode):
18222 Implement prettify support.
18223
18224 2013-06-05 Leo Liu <sdl.web@gmail.com>
18225
18226 Re-implement SMIE matching block highlight using
18227 show-paren-data-function. (Bug#14395)
18228 * emacs-lisp/smie.el (smie-matching-block-highlight)
18229 (smie--highlight-matching-block-overlay)
18230 (smie--highlight-matching-block-lastpos)
18231 (smie-highlight-matching-block)
18232 (smie-highlight-matching-block-mode): Remove.
18233 (smie--matching-block-data-cache): New variable.
18234 (smie--matching-block-data): New function.
18235 (smie-setup): Use smie--matching-block-data for
18236 show-paren-data-function.
18237
18238 * progmodes/octave.el (octave-mode-menu): Fix.
18239 (octave-find-definition): Skip garbage lines.
18240
18241 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18242
18243 Fix compilation error with simultaneous dynamic+lexical scoping.
18244 Add warning when a defvar appears after the first let-binding.
18245 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
18246 (byte-compile-close-variables): Initialize it.
18247 (byte-compile--declare-var): New function.
18248 (byte-compile-file-form-defvar)
18249 (byte-compile-file-form-define-abbrev-table)
18250 (byte-compile-file-form-custom-declare-variable): Use it.
18251 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
18252 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
18253 (byte-compile-bind): Handle dynamic bindings that shadow
18254 lexical bindings.
18255 (byte-compile-unbind): Make arg non-optional.
18256 (byte-compile-let): Simplify.
18257 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
18258 (cconv--analyse-function, cconv-analyse-form): Populate it.
18259 Protect byte-compile-bound-variables to limit the scope of defvars.
18260 (cconv-analyse-form): Add missing rule for (defvar <foo>).
18261 Remove unneeded rule for `declare'.
18262
18263 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
18264 so as to avoid depending on cl-adjoin at run-time.
18265 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
18266
18267 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
18268 (macroexp--warn-and-return): Use it.
18269
18270 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18271
18272 * subr.el: Convert to lexical binding.
18273 (overriding-local-map): Make obsolete.
18274 (add-to-list): Doc fix. Add compiler macro.
18275 (read-key): Swap values of local maps.
18276
18277 2013-06-05 Leo Liu <sdl.web@gmail.com>
18278
18279 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
18280
18281 2013-06-04 Leo Liu <sdl.web@gmail.com>
18282
18283 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
18284 (compilation-auto-jump): Suppress the "Mark set" message to give
18285 way to exit message.
18286
18287 2013-06-04 Alan Mackenzie <acm@muc.de>
18288
18289 Remove faulty optimization from indentation calculation.
18290 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
18291 search limit based on 2000 characters back from indent-point.
18292
18293 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18294
18295 * eshell/em-term.el (cl-lib): Require `cl-lib'.
18296
18297 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
18298
18299 * emacs-lisp/lisp.el: Use lexical-binding.
18300 (lisp--local-variables-1, lisp--local-variables): New functions.
18301 (lisp--local-variables-completion-table): New var.
18302 (lisp-completion-at-point): Use it complete let-bound vars.
18303
18304 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
18305 eagerly (bug#14422).
18306
18307 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
18308
18309 * autorevert.el (auto-revert-notify-enabled)
18310 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18311 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
18312 (auto-revert-notify-handler): Handle also gfilenotify.
18313
18314 * subr.el (file-notify-handle-event): New defun. Replacing ...
18315 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
18316 Remove.
18317
18318 2013-06-03 Juri Linkov <juri@jurta.org>
18319
18320 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
18321 `M-s h .'. (Bug#14427)
18322
18323 * hi-lock.el (highlight-symbol-at-point): New alias for the new
18324 command `hi-lock-face-symbol-at-point'.
18325 (hi-lock-face-symbol-at-point): New command.
18326 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
18327 (hi-lock-menu): Add `highlight-symbol-at-point'.
18328 (hi-lock-mode): Doc fix.
18329
18330 * isearch.el (isearch-forward-symbol-at-point): New command.
18331 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
18332 (isearch-highlight-regexp): Add a regexp which matches
18333 words/symbols for word/symbol mode.
18334
18335 * subr.el (find-tag-default-bounds): New function with the body
18336 mostly moved from `find-tag-default'.
18337 (find-tag-default): Move most code to `find-tag-default-bounds',
18338 call it and apply `buffer-substring-no-properties' afterwards.
18339
18340 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18341
18342 * eshell/em-term.el (eshell-term-initialize):
18343 Use `cl-intersection' rather than `intersection'.
18344
18345 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
18346
18347 * vc/log-view.el: Doc fix.
18348 (log-view-mode-map): Copy keymap from `special-mode-map'.
18349
18350 2013-06-02 Eric Ludlam <zappo@gnu.org>
18351
18352 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
18353 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
18354 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
18355 (eieio-unbound, eieio-default-superclass)
18356 (eieio--define-field-accessors, method-static, method-before)
18357 (method-primary, method-after, method-num-lists)
18358 (method-generic-before, method-generic-primary)
18359 (method-generic-after, method-num-slots)
18360 (eieio-specialized-key-to-generic-key)
18361 (eieio--check-type, class-v, class-p)
18362 (eieio-class-name, define-obsolete-function-alias)
18363 (eieio-class-parents-fast, eieio-class-children-fast)
18364 (same-class-fast-p, class-constructor, generic-p)
18365 (generic-primary-only-p, generic-primary-only-one-p)
18366 (class-option-assoc, class-option, eieio-object-p)
18367 (class-abstract-p, class-method-invocation-order)
18368 (eieio-defclass-autoload-map, eieio-defclass-autoload)
18369 (eieio-class-un-autoload, eieio-defclass)
18370 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
18371 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
18372 (eieio--defgeneric-init-form, eieio-defgeneric-form)
18373 (eieio-defgeneric-reset-generic-form)
18374 (eieio-defgeneric-form-primary-only)
18375 (eieio-defgeneric-reset-generic-form-primary-only)
18376 (eieio-defgeneric-form-primary-only-one)
18377 (eieio-defgeneric-reset-generic-form-primary-only-one)
18378 (eieio-unbind-method-implementations)
18379 (eieio--defmethod, eieio--typep)
18380 (eieio-perform-slot-validation, eieio-validate-slot-value)
18381 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
18382 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
18383 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
18384 (eieio-slot-name-index, eieio-class-slot-name-index)
18385 (eieio-set-defaults, eieio-initarg-to-attribute)
18386 (eieio-attribute-to-initarg, eieio-c3-candidate)
18387 (eieio-c3-merge-lists, eieio-class-precedence-c3)
18388 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
18389 (eieio-class-precedence-list, eieio-generic-call-methodname)
18390 (eieio-generic-call-arglst, eieio-generic-call-key)
18391 (eieio-generic-call-next-method-list)
18392 (eieio-pre-method-execution-functions, eieio-generic-call)
18393 (eieio-generic-call-primary-only, eieiomt-method-list)
18394 (eieiomt-optimizing-obarray, eieiomt-install)
18395 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
18396 (eieio-generic-form, eieio-defmethod, make-obsolete)
18397 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
18398 (defclass): Remove `eval-and-compile' from macro.
18399 (call-next-method, shared-initialize): Instead of using
18400 `scoped-class' variable, use new eieio--scoped-class, and
18401 eieio--with-scoped-class.
18402 (initialize-instance): Rename local variable 'scoped-class' to
18403 'this-class' to remove ambiguitity from old global.
18404
18405 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
18406 eieio.el.
18407 (eieio--scoped-class-stack): New variable.
18408 (eieio--scoped-class): New fcn.
18409 (eieio--with-scoped-class): New scoping macro.
18410 (eieio-defclass): Use pushnew instead of add-to-list.
18411 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
18412 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
18413 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
18414 `scoped-class' variable, use new eieio--scoped-class, and
18415 eieio--with-scoped-class.
18416
18417 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
18418
18419 2013-06-02 Tassilo Horn <tsdh@gnu.org>
18420
18421 * eshell/esh-ext.el (eshell-external-command): Pass args to
18422 `eshell-find-interpreter'.
18423 (eshell-find-interpreter): Add new second parameter ARGS.
18424
18425 * eshell/em-script.el (eshell-script-initialize): Add second arg
18426 to the function added as MATCH to `eshell-interpreter-alist'.
18427
18428 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
18429 the function added as MATCH to `eshell-interpreter-alist'.
18430
18431 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
18432 (eshell-visual-options): New defcustom.
18433 (eshell-escape-control-x): Adapt docstring.
18434 (eshell-term-initialize): Test `eshell-visual-subcommands' and
18435 `eshell-visual-options' in addition to `eshell-visual-commands'.
18436 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
18437
18438 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
18439
18440 * progmodes/python.el (python-indent-block-enders): Add break,
18441 continue and raise keywords.
18442
18443 2013-06-01 Glenn Morris <rgm@gnu.org>
18444
18445 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
18446
18447 Plain (f)boundp silences compilation warnings since Emacs 22.1.
18448 * progmodes/cc-cmds.el (delete-forward-p):
18449 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
18450 * progmodes/cc-engine.el (buffer-syntactic-context):
18451 * progmodes/cc-fonts.el (face-property-instance):
18452 * progmodes/cc-mode.el (set-keymap-parents):
18453 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
18454 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
18455 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
18456 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
18457 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
18458
18459 * progmodes/cc-vars.el (other): Emacs has this widget since
18460 at least 21.1, so don't (re)define it.
18461
18462 * eshell/em-cmpl.el (eshell-cmpl-initialize):
18463 Replace the obsolete alias pcomplete-arg-quote-list.
18464
18465 2013-06-01 Leo Liu <sdl.web@gmail.com>
18466
18467 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
18468 punctuation syntax.
18469 (inferior-octave-minimal-columns)
18470 (inferior-octave-last-column-width): New variables.
18471 (inferior-octave-track-window-width-change): New function.
18472 (inferior-octave-mode): Adjust column width so that Octave output,
18473 for example from 'ls', can fit into the window nicely.
18474
18475 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18476
18477 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18478 Highlight expansions inside regexp literals.
18479
18480 2013-05-31 Glenn Morris <rgm@gnu.org>
18481
18482 * obsolete/sym-comp.el (symbol-complete):
18483 Replace obsolete completion-annotate-function.
18484
18485 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
18486
18487 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18488
18489 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18490 New function, checks if point is inside a literal that allows
18491 expression expansion.
18492 (ruby-syntax-propertize-expansion): Use it.
18493 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
18494 around the body.
18495
18496 2013-05-30 Juri Linkov <juri@jurta.org>
18497
18498 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
18499 to "\M-si".
18500 (isearch-invisible): New variable.
18501 (isearch-forward): Doc fix.
18502 (isearch-mode): Set `isearch-invisible'
18503 to the value of `search-invisible'.
18504 (isearch-toggle-case-fold): Doc fix.
18505 (isearch-toggle-invisible): New command.
18506 (isearch-query-replace): Let-bind `search-invisible'
18507 to the value of `isearch-invisible'.
18508 (isearch-search): Use `isearch-invisible' instead of
18509 `search-invisible'. Let-bind `search-invisible'
18510 to the value of `isearch-invisible'. (Bug#11378)
18511
18512 2013-05-30 Juri Linkov <juri@jurta.org>
18513
18514 * replace.el (perform-replace): Avoid `isearch-range-invisible'
18515 call when `query-flag' is nil and `search-invisible' is non-nil.
18516 (Bug#11746)
18517
18518 2013-05-30 Glenn Morris <rgm@gnu.org>
18519
18520 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
18521
18522 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
18523 (cc-require): Suppress spurious "noruntime" warnings.
18524 (cc-require-when-compile): Use fboundp, for sake of compiler.
18525
18526 * progmodes/cc-mode.el: Move load of cc-vars before that of
18527 cc-langs (which in turn loads cc-vars), to quieten compiler.
18528
18529 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18530
18531 * paren.el: Simplify the code.
18532 (show-paren-mode): Always start the timer.
18533 (show-paren--idle-timer): Rename from show-paren-idle-timer.
18534 (show-paren--overlay, show-paren--overlay-1): Rename from
18535 show-paren-overlay and show-paren-overlay-1, and initialize to an
18536 overlay rather than to nil.
18537 (show-paren-function): Misc cleanup and simplifications.
18538
18539 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18540
18541 * paren.el (show-paren-data-function): New hook.
18542 (show-paren--default): New function, extracted from show-paren-function.
18543 (show-paren-function): Use show-paren-data-function.
18544
18545 2013-05-30 Glenn Morris <rgm@gnu.org>
18546
18547 * ielm.el (ielm-map, ielm-complete-symbol):
18548 Use completion-at-point rather than obsolete functions.
18549 (inferior-emacs-lisp-mode): Doc fix.
18550 Set completion-at-point-functions, rather than
18551 comint-dynamic-complete-functions.
18552
18553 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
18554 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
18555 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
18556
18557 * image.el (image-animated-p): Tweak definition.
18558
18559 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
18560 (rlogin-process-connection-type): Tweak default. Add set-after.
18561 (rlogin-host): Doc fix.
18562 (rlogin): Tweak prompt.
18563 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
18564
18565 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
18566 * progmodes/tcl.el (inferior-tcl-mode-map):
18567 Use completion-at-point rather than obsolete alias.
18568
18569 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
18570
18571 * minibuffer.el (read-file-name-completion-ignore-case):
18572 Move before completion--in-region, for eager macro expansion.
18573
18574 2013-05-29 Juri Linkov <juri@jurta.org>
18575
18576 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
18577 for total count of matching lines. Add `global-matches' for total
18578 count of matches. Rename `matches' to `lines' for count of
18579 matching lines. Add `matches' for count of matches.
18580 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
18581 to `prev-line' for line number of prev match endpt.
18582 Increment `matches' for every match. Print the number of
18583 matching lines in the header.
18584 (occur-context-lines): Rename `lines' to `curr-line'.
18585 Rename `prev-lines' to `prev-line'. (Bug#14017)
18586
18587 2013-05-29 Juri Linkov <juri@jurta.org>
18588
18589 * replace.el (perform-replace): Add `skip-read-only-count',
18590 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
18591 Increment them for corresponding conditions and report the number
18592 of skipped occurrences in the final message. (Bug#11746)
18593 (query-replace, query-replace-regexp, query-replace-regexp-eval)
18594 (replace-string, replace-regexp): Doc fix.
18595
18596 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
18597
18598 * emacs-lisp/trace.el (trace--read-args): Provide a default.
18599
18600 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
18601 prog-mode-map (bug#14504).
18602
18603 2013-05-29 Leo Liu <sdl.web@gmail.com>
18604
18605 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
18606 (octave-help): Small simplification.
18607
18608 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
18609 off the highlight first.
18610
18611 2013-05-29 Glenn Morris <rgm@gnu.org>
18612
18613 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
18614 Handle idlwave-last-system-routine-info-cons-cell being nil.
18615
18616 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
18617 (idlwave-write-paths): Simplify via with-temp-buffer.
18618
18619 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
18620 * emulation/cua-rect.el: Also load cua-base at run time.
18621
18622 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
18623 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
18624 (cperl-imenu-on-info): Require imenu.
18625
18626 2013-05-28 Alan Mackenzie <acm@muc.de>
18627
18628 Handle "capitalised keywords" correctly.
18629 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
18630
18631 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
18632
18633 * eshell/em-unix.el: Add -r option to cp.
18634
18635 2013-05-28 Glenn Morris <rgm@gnu.org>
18636
18637 * vc/vc-arch.el (vc-exec-after): Declare.
18638 (vc-switches): Autoload.
18639 * vc/vc-bzr.el: No need to require vc when compiling.
18640 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
18641 (vc-resynch-buffer, vc-dir-refresh): Declare.
18642 (vc-setup-buffer, vc-switches): Autoload.
18643 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
18644 (vc-resynch-buffer): Declare.
18645 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
18646 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
18647 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
18648 (grep-read-regexp, grep-read-files, grep-expand-template)
18649 (vc-dir-refresh): Declare.
18650 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
18651 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
18652 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
18653 * vc/vc-mtn.el (vc-exec-after): Declare.
18654 (vc-switches): Autoload.
18655 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
18656 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
18657 (vc-file-tree-walk): Declare.
18658 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
18659 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
18660 (vc-tag-precondition, vc-rename-master): Autoload.
18661 * vc/vc-svn.el (vc-exec-after): Declare.
18662 (vc-switches, vc-setup-buffer): Autoload.
18663 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
18664 Autoload.
18665 (vc-resynch-buffer): Declare.
18666
18667 * obsolete/fast-lock.el (byte-compile-warnings):
18668 Don't warn about obsolete features in this obsolete file.
18669
18670 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
18671 Move definition before use.
18672
18673 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
18674 (dun-unix-verbs): Remove dun-zippy.
18675 (dun-zippy): Remove function.
18676
18677 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
18678
18679 2013-05-27 Juri Linkov <juri@jurta.org>
18680
18681 * replace.el (replace-search): New function with code moved out
18682 from `perform-replace'.
18683 (replace-highlight, replace-dehighlight): Move function definitions
18684 up closer to `replace-search'. (Bug#11746)
18685
18686 2013-05-27 Juri Linkov <juri@jurta.org>
18687
18688 * replace.el (perform-replace): Ignore invisible matches.
18689 In addition to checking `query-replace-skip-read-only', also
18690 filter out matches by calling `run-hook-with-args-until-failure'
18691 on `isearch-filter-predicates', and also check `search-invisible'
18692 for t or call `isearch-range-invisible'.
18693 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
18694
18695 2013-05-27 Juri Linkov <juri@jurta.org>
18696
18697 * isearch.el (isearch-filter-predicates): Rename from
18698 `isearch-filter-predicate'. Doc fix. (Bug#11378)
18699 (isearch-message-prefix): Display text from the property
18700 `isearch-message-prefix' of the currently active filters.
18701 (isearch-search): Don't compare `isearch-filter-predicate' with
18702 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
18703 on `isearch-filter-predicates'. Also check `search-invisible' for t
18704 or call `isearch-range-invisible'.
18705 (isearch-filter-visible): Make obsolete.
18706 (isearch-lazy-highlight-search):
18707 Call `run-hook-with-args-until-failure' on
18708 `isearch-filter-predicates' and use `isearch-range-invisible'.
18709
18710 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
18711 `isearch-filter-predicates' instead of `funcall'ing
18712 `isearch-filter-predicate'.
18713 (Info-mode): Set `Info-isearch-filter' to
18714 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
18715
18716 * dired-aux.el (dired-isearch-filter-predicate-orig):
18717 Remove variable.
18718 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
18719 (dired-isearch-filenames-end): Add and remove
18720 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
18721 instead of changing the value of `isearch-filter-predicate'.
18722 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
18723 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
18724 Put property `isearch-message-prefix' to "filename " on
18725 `dired-isearch-filter-filenames'.
18726
18727 * wdired.el (wdired-change-to-wdired-mode):
18728 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
18729 locally instead of changing `isearch-filter-predicate'.
18730 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
18731
18732 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
18733
18734 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
18735 return the commit hash (Bug#14459). Also set the
18736 `vc-git-detached' property.
18737 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
18738 (vc-git-mode-line-string): Use the same help-echo format whether
18739 in detached mode or not, because we know the actual revision now.
18740 When in detached mode, shorten the revision to 7 chars.
18741
18742 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
18743
18744 * emacs-lisp/easy-mmode.el (define-minor-mode):
18745 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
18746 mode hook and provide a docstring.
18747
18748 2013-05-27 Alan Mackenzie <acm@muc.de>
18749
18750 Remove spurious syntax-table text properties inserted by C-y.
18751 * progmodes/cc-mode.el (c-after-change): Also clear hard
18752 syntax-table property with value nil.
18753
18754 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
18755
18756 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
18757 when reading the events; the buffer layout shall not be changed.
18758
18759 2013-05-27 Leo Liu <sdl.web@gmail.com>
18760
18761 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
18762 New variable.
18763 (inferior-octave-directory-tracker): Automatically re-sync
18764 default-directory.
18765 (octave-help): Improve handling of 'See also'.
18766
18767 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
18768
18769 * doc-view.el: Minor naming convention tweaks.
18770 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
18771
18772 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
18773 even if there's no `display' property yet (bug#14435).
18774
18775 2013-05-25 Eli Zaretskii <eliz@gnu.org>
18776
18777 * subr.el (unmsys--file-name): Rename from reveal-filename.
18778
18779 * Makefile.in (custom-deps, finder-data, autoloads)
18780 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
18781 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
18782 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
18783
18784 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
18785
18786 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
18787 error-completion on the first 2 args of condition-case (bug#14446).
18788 Don't burp at EOB.
18789
18790 2013-05-25 Leo Liu <sdl.web@gmail.com>
18791
18792 * comint.el (comint-previous-matching-input): Do not flood the
18793 *Messages* buffer with trivial messages.
18794
18795 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
18796
18797 * progmodes/flymake.el (flymake-nop): Don't return a string.
18798 (flymake-set-at): Fix typo.
18799
18800 * simple.el (read--expression): New function, extracted from
18801 eval-expression. Set completion-at-point-functions (bug#14465).
18802 (eval-expression, eval-minibuffer): Use it.
18803
18804 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
18805
18806 * progmodes/flymake.el (flymake-save-buffer-in-file)
18807 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
18808 (flymake-selected-frame, flymake-log, flymake-ins-after)
18809 (flymake-set-at, flymake-get-buildfile-from-cache)
18810 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
18811 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
18812 Refine the doc string.
18813 (flymake-get-file-name-mode-and-masks): Reformat.
18814 (flymake-get-real-file-name-function): Fix a minor bug.
18815
18816 2013-05-24 Juri Linkov <juri@jurta.org>
18817
18818 * progmodes/grep.el (grep-mode-font-lock-keywords):
18819 Support =linenumber= format used by git-grep for lines with
18820 function names. (Bug#13549)
18821
18822 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18823
18824 * progmodes/octave.el (octave-smie-rules): Return nil rather than
18825 0 after a semi-colon; it works better for smie-auto-fill.
18826 (octave--indent-new-comment-line): New function.
18827 (octave-indent-new-comment-line): Use it (indirectly).
18828 (octave-mode): Don't disable smie-auto-fill. Use add-function to
18829 modify comment-line-break-function.
18830
18831 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
18832 (smie-setup): Use add-function to set it.
18833
18834 2013-05-24 Sam Steingold <sds@gnu.org>
18835
18836 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
18837 argument (before the `interactive' argument).
18838
18839 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18840
18841 * image-mode.el (image-mode-winprops): Add winprops to
18842 image-mode-winprops-alist before running
18843 image-mode-new-window-functions.
18844 * doc-view.el (doc-view-new-window-function): Don't delay
18845 doc-view-goto-page via timers (bug#14435).
18846
18847 2013-05-24 Tassilo Horn <tsdh@gnu.org>
18848
18849 * doc-view.el: Integrate with desktop.el. (Bug#14435)
18850 (doc-view-desktop-save-buffer): New function.
18851 (doc-view-restore-desktop-buffer): New function.
18852 (desktop-buffer-mode-handlers):
18853 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
18854 handler.
18855 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
18856 `desktop-save-buffer' function.
18857
18858 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
18859
18860 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
18861 (tramp-gvfs-file-name-handler): Raise a user error when
18862 `tramp-gvfs-enabled' is nil.
18863 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
18864 Do not raise a user error when loading package. (Bug#14447)
18865
18866 * net/xesam.el: Move to obsolete/.
18867
18868 2013-05-24 Glenn Morris <rgm@gnu.org>
18869
18870 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
18871
18872 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
18873
18874 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
18875 (Info-find-node, Man-getpage-in-background): Declare.
18876
18877 * mail/unrmail.el (unrmail):
18878 Replace obsolete detect-coding-with-priority.
18879
18880 * net/socks.el (socks-split-string): Use this rather than split-string.
18881 (socks-nslookup-host): Update for above change.
18882 (dynamic-choice, s5-dynamic-choice-match)
18883 (s5-dynamic-choice-match-inline, s5-widget-value-create):
18884 Comment out unused code.
18885
18886 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
18887 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
18888 (gud-tooltip-echo-area): Make obsolete.
18889 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
18890
18891 * progmodes/js.el (js--optimize-arglist): Declare.
18892
18893 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
18894
18895 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
18896 (ediff-window-C): Declare.
18897
18898 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
18899 Tweak requires to silence compiler.
18900
18901 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
18902 (he-search-string, he-tried-table, he-expand-list)
18903 (he-init-string, he-string-member, he-substitute-string)
18904 (he-reset-string): Declare.
18905
18906 * obsolete/options.el (list-options): Use custom-variable-p,
18907 rather than obsolete alias.
18908
18909 2013-05-23 Sam Steingold <sds@gnu.org>
18910
18911 * simple.el (shell-command-on-region): Pass the `replace' argument
18912 down to `call-process-region' to comply with the doc as reported on
18913 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
18914
18915 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18916
18917 * emacs-lisp/smie.el (smie-indent-forward-token)
18918 (smie-indent-backward-token): Handle string tokens (bug#14381).
18919
18920 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18921
18922 * ielm.el (ielm-menu): New menu.
18923 (inferior-emacs-lisp-mode): Set comment-start.
18924
18925 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18926
18927 * textmodes/reftex.el (reftex-ref-style-toggle):
18928 Fix deactivate action.
18929
18930 * textmodes/reftex-vars.el (reftex-ref-style-alist):
18931 Add cleveref macros.
18932
18933 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
18934 Accept options for bibliography commands.
18935 * textmodes/reftex-vars.el (reftex-bibliography-commands):
18936 Add addbibresource. Basic Biblatex support.
18937
18938 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
18939
18940 * net/tramp-gvfs.el (top):
18941 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
18942 when loading package. (Bug#14447)
18943
18944 2013-05-23 Glenn Morris <rgm@gnu.org>
18945
18946 * progmodes/js.el: No need to load comint when compiling.
18947 (ring-insert, comint-send-string, comint-send-input)
18948 (comint-last-input-end, ido-chop): Declare.
18949
18950 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
18951 * vc/ediff-mult.el: Adjust requires.
18952 (ediff-directories-internal, ediff-directory-revisions-internal)
18953 (ediff-patch-file-internal): Declare.
18954 * vc/ediff-ptch.el: Adjust requires.
18955 (ediff-use-last-dir, ediff-buffers-internal): Declare.
18956 (ediff-find-file): Autoload.
18957 * vc/ediff-util.el: No need to load ediff when compiling.
18958 (ediff-regions-internal): Declare.
18959 * vc/ediff-wind.el: Adjust requires.
18960 (ediff-compute-toolbar-width): Define when compiling.
18961 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
18962 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
18963 (dired-get-filename, dired-get-marked-files)
18964 (ediff-last-dir-patch, ediff-patch-default-directory)
18965 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
18966 (ediff-patch-buffer-internal): Declare.
18967
18968 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
18969 (ispell-process, ispell-buffer-local-words, lm-summary)
18970 (lm-section-start, lm-section-end): Declare.
18971 (checkdoc-ispell-init): Simplify.
18972
18973 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
18974 (he-string-member, he-reset-string, he-substitute-string): Declare.
18975
18976 * eshell/em-ls.el: Adjust requires.
18977 (eshell-glob-regexp): Declare.
18978 * eshell/em-tramp.el: Adjust requires.
18979 (eshell-parse-command): Autoload.
18980 * eshell/em-xtra.el: Adjust requires.
18981 (eshell-parse-command): Autoload.
18982 * eshell/esh-ext.el: Adjust requires.
18983 (eshell-parse-command, eshell-close-handles): Autoload.
18984 * eshell/esh-io.el: Adjust requires.
18985 (eshell-output-filter): Autoload.
18986 * eshell/esh-util.el: No need to load tramp when compiling.
18987 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
18988 Declare.
18989 (eshell-parse-ange-ls): Require ange-ftp and tramp.
18990 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
18991 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
18992 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
18993 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
18994 * eshell/esh-opt.el, eshell/esh-proc.el:
18995 * eshell/esh-var.el: Adjust requires.
18996 * eshell/eshell.el: Do not require esh-util twice.
18997 (eshell-add-input-to-history): Declare.
18998 (eshell-command): Check history module is active before using it.
18999
19000 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
19001
19002 2013-05-22 Leo Liu <sdl.web@gmail.com>
19003
19004 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
19005
19006 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
19007
19008 * autorevert.el (auto-revert-notify-add-watch)
19009 (auto-revert-notify-handler): Add `attrib' for the inotify case,
19010 it indicates changes in file modification time.
19011
19012 2013-05-22 Glenn Morris <rgm@gnu.org>
19013
19014 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
19015 Always delete the autoloaded function from the noruntime and
19016 unresolved functions lists.
19017
19018 * allout.el: No need to load epa, epg, overlay when compiling.
19019 (epg-context-set-passphrase-callback, epg-list-keys)
19020 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
19021 (epg-key-user-id-list): Declare.
19022
19023 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19024 (viper-set-parsing-style-toggling-macro)
19025 (viper-set-emacs-state-searchstyle-macros):
19026 Use called-interactively-p on Emacs.
19027 (viper-looking-back): Make it an obsolete alias. Update callers.
19028 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
19029 Use looking-back rather than viper-looking-back.
19030 (viper-tmp-insert-at-eob, viper-enlarge-region)
19031 (viper-read-string-with-history, viper-register-to-point)
19032 (viper-append-to-register, viper-change-state-to-vi)
19033 (viper-backward-char-carefully, viper-forward-char-carefully)
19034 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
19035 (viper-change-state-to-emacs): Declare.
19036 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
19037 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
19038 * emulation/viper-mous.el: Do not load viper-cmd.
19039 (viper-backward-char-carefully, viper-forward-char-carefully)
19040 (viper-forward-word, viper-adjust-window): Declare.
19041
19042 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
19043
19044 * progmodes/idlw-help.el (idlwave-help-fontify):
19045 Use called-interactively-p.
19046
19047 * term/w32console.el (w32-get-console-codepage)
19048 (w32-get-console-output-codepage): Declare.
19049
19050 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
19051 Remove unnecessary declarations.
19052 (dframe-message): Doc fix.
19053
19054 * info.el (dframe-select-attached-frame, dframe-current-frame):
19055 Declare.
19056
19057 * speedbar.el (speedbar-message): Make it an obsolete alias.
19058 Update all callers.
19059 (speedbar-with-attached-buffer)
19060 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
19061 (speedbar-with-writable): Use backquote.
19062 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
19063 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
19064 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
19065 rather than speedbar- aliases.
19066 * mail/rmail.el: Load dframe rather than speedbar when compiling.
19067 (speedbar-make-specialized-keymap, speedbar-insert-button)
19068 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
19069 (speedbar-do-function-pointer): Declare.
19070 (rmail-speedbar-button, rmail-speedbar-find-file)
19071 (rmail-speedbar-move-message):
19072 Use dframe-with-attached-buffer rather than speedbar- alias.
19073 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
19074 (dframe-message, speedbar-make-specialized-keymap)
19075 (speedbar-add-expansion-list, speedbar-mode-functions-list)
19076 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
19077 (speedbar-insert-button, dframe-select-attached-frame)
19078 (dframe-maybee-jump-to-attached-frame)
19079 (speedbar-change-initial-expansion-list)
19080 (speedbar-previously-used-expansion-list-name): Declare.
19081 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
19082 Use dframe-message, dframe-with-attached-buffer rather than
19083 speedbar- aliases.
19084 (gud-sentinel): Silence compiler.
19085 * progmodes/vhdl-mode.el (speedbar-refresh)
19086 (speedbar-do-function-pointer, speedbar-add-supported-extension)
19087 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
19088 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
19089 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
19090 (speedbar-file-lists, speedbar-make-tag-line)
19091 (speedbar-line-directory, speedbar-goto-this-file)
19092 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
19093 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
19094 (speedbar-make-button, speedbar-reset-scanners)
19095 (speedbar-files-item-info, speedbar-line-text)
19096 (speedbar-find-file-in-frame, speedbar-set-timer)
19097 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
19098 (speedbar-with-writable): Do not (re)define it.
19099 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
19100 rather than speedbar- alias.
19101
19102 2013-05-21 Leo Liu <sdl.web@gmail.com>
19103
19104 * progmodes/octave.el (octave-mode-menu): Update and re-organize
19105 menu items.
19106 (octave-mode): Tweak fill-nobreak-predicate.
19107 (inferior-octave-startup): Check process to avoid infinite loop.
19108 (inferior-octave): Pop to buffer first to show abornmal process
19109 exit information.
19110
19111 2013-05-21 Glenn Morris <rgm@gnu.org>
19112
19113 * printing.el (pr-menu-bar): Define when compiling.
19114
19115 2013-05-21 Leo Liu <sdl.web@gmail.com>
19116
19117 * progmodes/octave.el (octave-auto-fill): Remove.
19118 (octave-indent-new-comment-line): Improve.
19119 (octave-mode): Use auto fill mode through
19120 comment-line-break-function and fill-nobreak-predicate.
19121 (octave-goto-function-definition): Support DEFUN_DLD.
19122 (octave-beginning-of-defun): Small tweak.
19123 (octave-help): Show parent directory.
19124
19125 2013-05-21 Glenn Morris <rgm@gnu.org>
19126
19127 * files.el (dired-unmark):
19128 * progmodes/gud.el (gdb-input): Update declarations.
19129
19130 * calculator.el (electric, ehelp): No need to load when compiling.
19131 (Electric-command-loop, electric-describe-mode): Declare.
19132
19133 * doc-view.el (doc-view-current-converter-processes): Move before use.
19134
19135 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19136 Move MODE-set-explicitly definition before use.
19137
19138 * international/mule-diag.el (mule-diag):
19139 Don't use obsolete window-system-version.
19140
19141 * mail/feedmail.el (smtpmail): No need to load when compiling.
19142 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
19143
19144 * mail/mail-utils.el (rfc822): No need to load when compiling.
19145 (rfc822-addresses): Autoload it.
19146 (mail-strip-quoted-names): Trivial simplification.
19147
19148 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
19149 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
19150
19151 * net/snmp-mode.el (tempo): Don't duplicate requires.
19152
19153 * progmodes/prolog.el (info): No need to load when compiling.
19154 (comint): Require before shell requires it.
19155 (Info-goto-node): Autoload it.
19156 (Info-follow-nearest-node): Declare.
19157 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
19158
19159 * textmodes/artist.el (picture-mode-exit): Declare.
19160
19161 * textmodes/reftex-parse.el (reftex-parse-from-file):
19162 Trivial rewrite so the compiler can parse it better.
19163
19164 2013-05-20 Leo Liu <sdl.web@gmail.com>
19165
19166 * progmodes/octave.el (octave-help-mode-map)
19167 (octave-help-mode-finish-hook): New variables.
19168 (octave-help-mode, octave-help-mode-finish): New functions.
19169 (octave-help): Use octave-help-mode.
19170
19171 2013-05-20 Glenn Morris <rgm@gnu.org>
19172
19173 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
19174
19175 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
19176
19177 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
19178 start at point, so that expansion starting right after opening
19179 slash in a regexp is recognized.
19180 (ruby-syntax-before-regexp-re): New defvar, extracted from
19181 ruby-syntax-propertize-function. Since the value of this regexp
19182 is looked up at runtime now, we should be able to turn
19183 `ruby-syntax-methods-before-regexp' into a defcustom later.
19184 (ruby-syntax-propertize-function): Split regexp matching into two
19185 parts, for opening and closing slashes. That allows us to skip
19186 over string interpolations and support multiline regexps.
19187 Don't call `ruby-syntax-propertize-expansions', instead use another rule
19188 for them, which calls `ruby-syntax-propertize-expansion'.
19189 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
19190 call to `ruby-syntax-propertize-function'.
19191 (ruby-syntax-propertize-expansion): Extracted from
19192 `ruby-syntax-propertize-expansions'. Handles one expansion.
19193 (ruby-syntax-propertize-percent-literal): Leave point right after
19194 the percent symbol, so that the expression expansion rule can
19195 propertize the contents.
19196 (ruby-syntax-propertize-heredoc): Leave point at bol following the
19197 heredoc openers.
19198 (ruby-syntax-propertize-expansions): Remove.
19199
19200 2013-05-18 Juri Linkov <juri@jurta.org>
19201
19202 * man.el (Man-default-man-entry): Remove `-' from the end
19203 of the default value. (Bug#14400)
19204
19205 2013-05-18 Glenn Morris <rgm@gnu.org>
19206
19207 * comint.el (comint-password-prompt-regexp):
19208 Allow "password for XXX" where XXX contains colons (eg https://...).
19209
19210 2013-05-18 Leo Liu <sdl.web@gmail.com>
19211
19212 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
19213 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
19214 (octave-source-directories): Don't check process.
19215 (octave-source-directories, octave-find-definition): Doc fix.
19216
19217 2013-05-18 Glenn Morris <rgm@gnu.org>
19218
19219 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
19220 Remove backspace/delete bindings. (Bug#14392)
19221
19222 * cus-dep.el (custom-make-dependencies): Sort the output.
19223 (custom-versions-load-alist): Convert comment to doc.
19224
19225 2013-05-17 Leo Liu <sdl.web@gmail.com>
19226
19227 * newcomment.el (comment-search-backward): Stricter in finding
19228 comment start. (Bug#14303)
19229
19230 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
19231 (octave-comment-start-skip): Properly anchored.
19232
19233 2013-05-17 Leo Liu <sdl.web@gmail.com>
19234
19235 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
19236 Clean up when turned off. (Bug#14395)
19237 (smie--highlight-matching-block-overlay): No longer buffer-local.
19238 (smie-highlight-matching-block): Adjust.
19239
19240 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
19241
19242 Doc string fix for "nanoseconds" (Bug#14406).
19243 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
19244 Fix doc string typo that had "nanoseconds" instead of "microseconds".
19245
19246 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
19247
19248 * calc/calc-units.el (math-extract-units): Preserve powers
19249 of units.
19250
19251 2013-05-17 Leo Liu <sdl.web@gmail.com>
19252
19253 * subr.el (delete-consecutive-dups): New function.
19254 * ido.el (ido-set-matches-1): Use it.
19255 * progmodes/octave.el (inferior-octave-completion-table): Use it.
19256 * ido.el (ido-remove-consecutive-dups): Remove.
19257
19258 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19259
19260 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19261 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
19262 regexp-opt's `words'.
19263
19264 2013-05-16 Leo Liu <sdl.web@gmail.com>
19265
19266 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
19267 (smie--highlight-matching-block-overlay)
19268 (smie--highlight-matching-block-lastpos)
19269 (smie--highlight-matching-block-timer): New variables.
19270 (smie-highlight-matching-block): New function.
19271 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
19272 (smie-setup): Conditionally enable smie-blink-matching-open.
19273
19274 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
19275
19276 Sync with upstream verilog-mode r840.
19277 * progmodes/verilog-mode.el (verilog-mode-version)
19278 (verilog-mode-release-date): Update.
19279 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
19280 (verilog-sig-tieoff): Fix string error on
19281 AUTORESET with colon define, bug594. Reported by Andrew Hou.
19282 (verilog-read-decls): Fix parameters confusing
19283 AUTOINST interfaces, bug565. Reported by Leith Johnson.
19284
19285 2013-05-16 Eli Zaretskii <eliz@gnu.org>
19286
19287 * subr.el (reveal-filename): New function.
19288
19289 * loadup.el: Compute Emacs executable versions on MS-Windows,
19290 where executables have the .exe extension. Add a hard link
19291 emacs-XX.YY.ZZ.exe on MS-Windows.
19292
19293 * Makefile.in (XARGS_LIMIT): New variable.
19294 (custom-deps, finder-data, autoloads)
19295 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19296 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19297 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
19298 (compile-main): Limit xargs according to $(XARGS_LIMIT).
19299
19300 2013-05-16 Leo Liu <sdl.web@gmail.com>
19301
19302 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
19303 (octave-mode-menu, octave-mode-map): Remove its uses.
19304
19305 2013-05-16 Reto Zimmermann <reto@gnu.org>
19306
19307 Sync with upstream vhdl mode v3.34.2.
19308 * progmodes/vhdl-mode.el: Use `push' throughout.
19309 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
19310 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
19311 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
19312 (vhdl-actual-generic-name): New option to derive actual generic name.
19313 (vhdl-port-paste-signals): Replace formal by actual generics.
19314 (vhdl-beautify): New name for old group vhdl-align. Update users.
19315 (vhdl-beautify-options): New option.
19316 (vhdl-last-input-event): New compat alias. Use throughout.
19317 (vhdl-goto-line): Replace user level function `goto-line'.
19318 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
19319 vhdl-fix-statement-buffer.
19320 (vhdl-create-mode-menu): Add some entries.
19321 (vhdl-align-region-groups): Respect vhdl-beautify-options.
19322 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
19323 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
19324 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
19325 to force statements on one line.
19326 (vhdl-remove-trailing-spaces-region):
19327 New, split from vhdl-remove-trailing-spaces.
19328 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
19329 Respect vhdl-beautify-options.
19330 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
19331 (vhdl-update-sensitivity-list): Not add with index if exists without.
19332 Not include array index with signal. Ignore keywords in comments.
19333 (vhdl-get-visible-signals): Regexp tweaks.
19334 (vhdl-template-component-inst): Handle empty library.
19335 (vhdl-template-type): Add template for 'enum' type.
19336 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
19337 Use vhdl-replace-string.
19338 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
19339 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
19340 (vhdl-speedbar-initialize): Update for above name change.
19341 (vhdl-compose-wire-components): Fix in handling of constants.
19342 (vhdl-error-regexp-emacs-alist): New variable.
19343 (vhdl-error-regexp-add-emacs): New function;
19344 adds support for new compile.el (Emacs 22+)
19345 (vhdl-generate-makefile-1): Change target order for single lib. units.
19346 Allow use of absolute file names.
19347
19348 2013-05-16 Leo Liu <sdl.web@gmail.com>
19349
19350 * simple.el (prog-indent-sexp): Indent enclosing defun.
19351
19352 2013-05-15 Glenn Morris <rgm@gnu.org>
19353
19354 * cus-start.el (show-trailing-whitespace): Move to editing basics.
19355 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
19356 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
19357 (whitespace-highlight): Move to whitespace group.
19358
19359 * comint.el (comint-source):
19360 * pcmpl-linux.el (pcmpl-linux):
19361 * shell.el (shell-faces):
19362 * eshell/esh-opt.el (eshell-opt):
19363 * international/ccl.el (ccl): Remove empty custom groups.
19364
19365 * completion.el (dynamic-completion-mode):
19366 * jit-lock.el (jit-lock-debug-mode):
19367 * minibuffer.el (completion-in-region-mode):
19368 * type-break.el (type-break-mode-line-message-mode)
19369 (type-break-query-mode):
19370 * emulation/tpu-edt.el (tpu-edt-mode):
19371 * progmodes/subword.el (global-subword-mode, global-superword-mode):
19372 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19373 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
19374
19375 * term/xterm.el (xterm): Change parent group to terminals.
19376
19377 * master.el (master): Remove empty custom group.
19378 (master-mode): Remove unused :group argument.
19379 * textmodes/refill.el (refill): Remove empty custom group.
19380 (refill-mode): Remove unused :group argument.
19381
19382 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
19383
19384 * cus-dep.el: Provide a feature.
19385 (custom-make-dependencies): Ignore dotfiles (dir-locals).
19386 Don't mistakenly ignore files whose basenames match a basename
19387 from preloaded-file-list (eg cedet/ede/simple.el).
19388 Add a fallback method for getting :group.
19389
19390 2013-05-15 Juri Linkov <juri@jurta.org>
19391
19392 * isearch.el (isearch-char-by-name): Rename from
19393 `isearch-insert-char-by-name'. Doc fix.
19394 (isearch-forward): Mention `isearch-char-by-name' in
19395 the docstring. (Bug#13348)
19396
19397 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
19398 `exit-minibuffer' instead of
19399 `isearch-nonincremental-exit-minibuffer'.
19400 (isearch-edit-string): Remove mention of
19401 `isearch-nonincremental-exit-minibuffer' from docstring.
19402 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
19403 (isearch-forward-exit-minibuffer)
19404 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
19405
19406 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19407
19408 * loadup.el: Just use unversioned DOC.
19409
19410 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
19411 literals as extending to EOB.
19412 (nxml-last-fontify-end): Remove unused variable.
19413 (nxml-after-change1): Use with-silent-modifications.
19414 (nxml-extend-after-change-region): Simplify.
19415 (nxml-extend-after-change-region1): Remove function.
19416 (nxml-after-change1): Don't adjust for dependent regions.
19417 (nxml-fontify-matcher): Simplify.
19418 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
19419 (xmltok-add-dependent): Remove function.
19420 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
19421 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
19422 (xmltok-scan-prolog-after-processing-instruction-open): Treat
19423 unclosed <[[, <?, comment, and other literals as extending to EOB.
19424 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
19425 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
19426 Remove functions.
19427 (rng-do-some-validation-1): Don't mark dependent regions.
19428 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
19429 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
19430 (nxml-clear-dependent-regions): Remove functions.
19431 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
19432 (nxml-ensure-scan-up-to-date):
19433 Don't clear&mark dependent regions.
19434
19435 2013-05-15 Leo Liu <sdl.web@gmail.com>
19436
19437 * progmodes/octave.el (octave-goto-function-definition):
19438 Improve and fix callers.
19439
19440 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19441
19442 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
19443 the setter (bug#14387).
19444
19445 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
19446 surrounding group (bug#14402).
19447
19448 2013-05-14 Juri Linkov <juri@jurta.org>
19449
19450 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
19451 (Bug#14390)
19452
19453 2013-05-14 Glenn Morris <rgm@gnu.org>
19454
19455 * progmodes/f90.el (f90-imenu-generic-expression):
19456 Fix typo in 2013-05-08 change. (Bug#14402)
19457
19458 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19459
19460 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
19461 Remove signals for which replies are never received.
19462
19463 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19464
19465 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
19466 (gdb-handler-alist, gdb-handler-number): Remove variables.
19467 (gdb-handler-list): New variable.
19468 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
19469 (gdb-pending-handler-p, gdb-handle-reply)
19470 (gdb-remove-all-pending-triggers): New functions.
19471 (gdb-discard-unordered-replies): New defcustom.
19472 (gdb-handler): New defstruct.
19473 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
19474 instead of gdb-pending-triggers. Update docstring.
19475 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
19476 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
19477 (gdb-var-update-handler, def-gdb-auto-update-trigger)
19478 (def-gdb-auto-update-handler, gdb-get-changed-registers)
19479 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
19480 (gdb-frame-handler): Pending triggers are now automatically managed.
19481 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
19482 Remove argument.
19483 (gdb-input): Automatically handles pending triggers. Update docstring.
19484 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
19485 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
19486 Update comments.
19487 (gdb-done-or-error): Now use gdb-handle-reply.
19488
19489 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19490
19491 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
19492 gdb-debug-log.
19493
19494 2013-05-14 Glenn Morris <rgm@gnu.org>
19495
19496 * subr.el (user-emacs-directory-warning): New option.
19497 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
19498
19499 2013-05-14 Leo Liu <sdl.web@gmail.com>
19500
19501 * progmodes/octave.el (octave-font-lock-keywords): Fix error
19502 during redisplay.
19503 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
19504 (octave-font-lock-texinfo-comment): Fix invalid search bound
19505 error: wrong side of point.
19506
19507 2013-05-14 Glenn Morris <rgm@gnu.org>
19508
19509 * progmodes/flymake.el (flymake-xml-program): New option.
19510 (flymake-xml-init): Use it.
19511
19512 * term/xterm.el: Provide a feature.
19513
19514 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
19515
19516 2013-05-13 Glenn Morris <rgm@gnu.org>
19517
19518 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
19519 Add compat aliases as a hack workaround. (Bug#14384)
19520
19521 2013-05-13 Leo Liu <sdl.web@gmail.com>
19522
19523 * progmodes/octave.el (octave-indent-comment): Fix indentation for
19524 ###, and %!.
19525 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
19526 C-M-q.
19527 (octave-comment-start-skip): Include %!.
19528 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
19529
19530 2013-05-12 Leo Liu <sdl.web@gmail.com>
19531
19532 * progmodes/octave.el (inferior-octave-startup): Store the value
19533 of __octave_srcdir__ for octave-source-directories.
19534 (inferior-octave-check-process): New function refactored out of
19535 inferior-octave-send-list-and-digest.
19536 (octave-source-directories)
19537 (octave-find-definition-filename-function): New variables.
19538 (octave-source-directories)
19539 (octave-find-definition-default-filename): New functions.
19540 (octave-find-definition): Improve to find functions implemented in C++.
19541
19542 2013-05-12 Glenn Morris <rgm@gnu.org>
19543
19544 * calendar/diary-lib.el (diary-outlook-format-1):
19545 Don't include dayname in the output. (Bug#14349)
19546
19547 2013-05-11 Glenn Morris <rgm@gnu.org>
19548
19549 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
19550
19551 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
19552 Treat cc-provide like provide.
19553
19554 2013-05-11 Kevin Ryde <user42@zip.com.au>
19555
19556 * cus-dep.el (custom-make-dependencies):
19557 Use generated-autoload-load-name for the sake of files such
19558 such cedet/semantic/bovine/c.el, where the base file name
19559 is not in load-path. (Bug#5277)
19560
19561 2013-05-11 Glenn Morris <rgm@gnu.org>
19562
19563 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
19564 Provide features.
19565
19566 2013-05-11 Leo Liu <sdl.web@gmail.com>
19567
19568 * progmodes/octave.el (octave-indent-comment): Improve.
19569 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
19570 (octave-eldoc-function-signatures, octave-eldoc-function):
19571 New functions.
19572 (octave-mode, inferior-octave-mode): Add eldoc support.
19573
19574 2013-05-11 Richard Stallman <rms@gnu.org>
19575
19576 * epa.el (epa-decrypt-file): Take output file name as argument
19577 and read it using `interactive'.
19578
19579 2013-05-11 Leo Liu <sdl.web@gmail.com>
19580
19581 * progmodes/octave.el (octave-beginning-of-line)
19582 (octave-end-of-line): Check before using up-list because it jumps
19583 out of more syntactic contructs since moving to smie.
19584 (octave-indent-comment): New function.
19585 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
19586 (octave-begin-keywords, octave-end-keywords)
19587 (octave-reserved-words, octave-smie-bnf-table)
19588 (octave-smie-rules): Add new keywords from Octave 3.6.4.
19589
19590 2013-05-11 Glenn Morris <rgm@gnu.org>
19591
19592 * faces.el (internal-face-x-get-resource):
19593 * frame.el (ns-display-monitor-attributes-list):
19594 * calc/calc-aent.el (math-to-radians-2):
19595 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
19596 Fix declarations.
19597
19598 * calc/calc-menu.el: Make it loadable in isolation.
19599
19600 * net/eudcb-bbdb.el: Make it loadable without bbdb.
19601 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
19602 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
19603 (eudc-bbdb-query-internal): Require 'bbdb.
19604
19605 * lpr.el (lpr-headers-switches):
19606 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
19607
19608 * progmodes/sql.el (sql-login-params): Fix and improve :type.
19609
19610 * emulation/edt-mapper.el: In batch mode, error rather than hang.
19611
19612 * term.el (term-set-escape-char): Make it idempotent.
19613
19614 2013-05-10 Leo Liu <sdl.web@gmail.com>
19615
19616 * progmodes/octave.el (inferior-octave-completion-table):
19617 No longer a function and all uses changed. Use cache to speed up
19618 completion due to bug#11906.
19619 (octave-beginning-of-defun): Re-write to be more general.
19620
19621 2013-05-10 Glenn Morris <rgm@gnu.org>
19622
19623 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
19624
19625 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
19626
19627 * comint.el (comint-redirect-send-command-to-process): Use :around
19628 rather than :override for comint-redirect-filter.
19629 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
19630 Call it instead of comint-redirect-original-filter-function (which
19631 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
19632
19633 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
19634
19635 * frame.el (display-monitor-attributes-list): Add NS case.
19636 (ns-display-monitor-attributes-list): Declare.
19637
19638 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
19639
19640 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
19641
19642 2013-05-09 Glenn Morris <rgm@gnu.org>
19643
19644 * international/fontset.el (vertical-centering-font-regexp):
19645 Set standard-value.
19646
19647 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
19648
19649 * bookmark.el (bookmark-search-delay):
19650 * cus-start.el (vertical-centering-font-regexp):
19651 * ps-mule.el (ps-mule-font-info-database-default):
19652 * ps-print.el (ps-default-fg, ps-default-bg):
19653 * type-break.el (type-break-good-break-interval):
19654 * whitespace.el (whitespace-indentation-regexp)
19655 (whitespace-space-after-tab-regexp):
19656 * emacs-lisp/testcover.el (testcover-1value-functions)
19657 (testcover-noreturn-functions, testcover-progn-functions)
19658 (testcover-prog1-functions):
19659 * emulation/viper-init.el (viper-emacs-state-cursor-color):
19660 * eshell/em-glob.el (eshell-glob-translate-alist):
19661 * play/tetris.el (tetris-tty-colors):
19662 * progmodes/cpp.el (cpp-face-default-list):
19663 * progmodes/flymake.el (flymake-allowed-file-name-masks):
19664 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
19665 (idlwave-help-browser-generic-args):
19666 * progmodes/make-mode.el (makefile-special-targets-list):
19667 * progmodes/python.el (python-shell-virtualenv-path):
19668 * progmodes/verilog-mode.el (verilog-active-low-regexp)
19669 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
19670 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
19671 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
19672 * textmodes/reftex-vars.el (reftex-format-label-function):
19673 * textmodes/remember.el (remember-diary-file): Fix custom types.
19674
19675 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
19676 Add :version.
19677
19678 2013-05-09 Leo Liu <sdl.web@gmail.com>
19679
19680 * progmodes/octave.el (inferior-octave-completion-at-point):
19681 Restore file completion. (Bug#14300)
19682 (inferior-octave-startup): Fix incorrect highlighting for the
19683 first prompt.
19684
19685 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19686
19687 * progmodes/ruby-mode.el: First cut at SMIE support.
19688 (ruby-use-smie): New var.
19689 (ruby-smie-grammar): New constant.
19690 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
19691 (ruby-smie--forward-token, ruby-smie--backward-token)
19692 (ruby-smie-rules): New functions.
19693 (ruby-mode-variables): Setup SMIE if applicable.
19694
19695 2013-05-08 Eli Zaretskii <eliz@gnu.org>
19696
19697 * simple.el (line-move-visual): Signal beginning/end of buffer
19698 only if vertical-motion moved less than it was requested. Avoids
19699 silly incorrect error messages when there are display strings with
19700 multiple newlines at EOL.
19701
19702 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19703
19704 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
19705 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
19706 (prolog-char-quote-workaround):
19707 * progmodes/cperl-mode.el (cperl-under-as-char):
19708 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
19709 Mark as obsolete.
19710 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
19711 their declaration.
19712 (vhdl-mode-syntax-table-init): Remove.
19713
19714 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
19715 last change.
19716
19717 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
19718 syntax for "_".
19719 (ld-script-font-lock-keywords):
19720 Change regexps to use things like \_< and \_>.
19721
19722 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
19723 Change all regexps to use things like \_< and \_>.
19724
19725 * progmodes/autoconf.el (autoconf-definition-regexp)
19726 (autoconf-font-lock-keywords, autoconf-current-defun-function):
19727 Handle a _ with symbol syntax.
19728 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
19729
19730 * progmodes/ada-mode.el (ada-mode-abbrev-table):
19731 Consolidate declaration.
19732 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
19733 the declaration.
19734 (ada-create-syntax-table): Remove.
19735 (ada-capitalize-word): Don't mess with the syntax of "_" since it
19736 already has the right syntax nowadays.
19737 (ada-goto-next-word): Don't change the syntax of "_".
19738
19739 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
19740 with-wrapper-hook.
19741
19742 2013-05-08 Sam Steingold <sds@gnu.org>
19743
19744 * thingatpt.el (thing-at-point): Accept optional second argument
19745 NO-PROPERTIES to strip the text properties from the return value.
19746 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
19747 to `thing-at-point' instead of stripping the properties ourselves.
19748 Also, when `thing-at-point' fails to find a url, prepend "http://"
19749 to the filename at point on the assumption that the user is
19750 pointing at something like gnu.org/gnu.
19751
19752 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
19753
19754 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
19755 * faces.el (crm-separator):
19756 Silence byte-compiler.
19757
19758 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
19759 (tool-bar-map): Remove unneeded defvars.
19760
19761 2013-05-08 Leo Liu <sdl.web@gmail.com>
19762
19763 Re-work a fix for bug#10994 based on Le Wang's patch.
19764 * ido.el (ido-remove-consecutive-dups): New helper.
19765 (ido-completing-read): Use it.
19766 (ido-chop): Revert fix for bug#10994.
19767
19768 2013-05-08 Adam Spiers <emacs@adamspiers.org>
19769
19770 * cus-edit.el (custom-save-variables):
19771 Pretty-print long values. (Bug#14187)
19772
19773 2013-05-08 Glenn Morris <rgm@gnu.org>
19774
19775 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
19776 (m4-mode-syntax-table): Init in the defvar.
19777 (m4-mode-abbrev-table): Let define-derived-mode define it.
19778
19779 2013-05-08 Tom Tromey <tromey@redhat.com>
19780
19781 * progmodes/m4-mode.el (m4-mode-syntax-table):
19782 Do not treat "_" as word constituent. (Bug#14167)
19783
19784 2013-05-07 Glenn Morris <rgm@gnu.org>
19785
19786 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
19787 Remove explicit eshell-isearch-cancel-map.
19788
19789 * progmodes/f90.el (f90-smart-end-names): New option.
19790 (f90-smart-end): Doc fix.
19791 (f90-end-block-optional-name): New constant.
19792 (f90-block-match): Respect f90-smart-end-names.
19793
19794 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19795
19796 * progmodes/octave.el (octave-smie-forward-token): Be more careful
19797 about implicit semi-colons (bug#14218).
19798
19799 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19800
19801 * frame.el (display-monitor-attributes-list)
19802 (frame-monitor-attributes): New functions.
19803
19804 2013-05-06 Leo Liu <sdl.web@gmail.com>
19805
19806 * progmodes/octave.el (octave-syntax-propertize-function): Change
19807 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
19808 (octave-font-lock-keywords): Use octave-operator-regexp.
19809 (octave-completion-at-point): Rename from
19810 octave-completion-at-point-function.
19811 (inferior-octave-directory-tracker): Robustify.
19812 (octave-text-functions): Remove and fix its uses. No such things
19813 any more.
19814
19815 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19816
19817 * emacs-lisp/trace.el (trace--display-buffer): New function.
19818 (trace-make-advice): Use it.
19819
19820 2013-05-06 Juri Linkov <juri@jurta.org>
19821
19822 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
19823 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
19824 Doc fix.
19825 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
19826 in the help string. (Bug#12985)
19827
19828 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
19829
19830 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
19831
19832 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19833
19834 * progmodes/perl-mode.el: Add support for here documents.
19835 (perl-syntax-propertize-function): Match here-doc markers.
19836 (perl-syntax-propertize-special-constructs): Find their end.
19837 (perl-imenu-generic-expression): Use [:alnum:].
19838
19839 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
19840 (advice--add-function): Refresh the advice if already present
19841 (bug#14317).
19842
19843 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
19844
19845 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
19846
19847 2013-05-06 Glenn Morris <rgm@gnu.org>
19848
19849 * w32-fns.el (w32-charset-info-alist): Declare.
19850
19851 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
19852 of its defcustom properties.
19853 (eshell-cmpl-initialize): No need to load pcomplete.
19854
19855 * generic-x.el: No need to require comint when compiling.
19856
19857 * net/eudc-export.el: Make it loadable without bbdb.
19858 (top-level): Use require rather than load-library.
19859 (eudc-create-bbdb-record, eudc-bbdbify-phone)
19860 (eudc-batch-export-records-to-bbdb)
19861 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
19862 Require bbdb.
19863
19864 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19865
19866 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
19867 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
19868 some tweaks, instead.
19869
19870 2013-05-05 Leo Liu <sdl.web@gmail.com>
19871
19872 * progmodes/octave.el (octave-font-lock-keywords)
19873 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
19874 (inferior-octave-send-list-and-digest): Improve error message.
19875 (octave-mode, inferior-octave-mode): Use setq-local.
19876 (octave-help): Set info-lookup-mode.
19877
19878 2013-05-05 Richard Stallman <rms@gnu.org>
19879
19880 * vc/compare-w.el (compare-windows-whitespace):
19881 Treat no-break space as whitespace.
19882
19883 * mail/rmailsum.el (rmail-summary-rmail-update):
19884 Detect empty summary and don't change selected message.
19885 (rmail-summary-goto-msg): Likewise.
19886
19887 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
19888 Doc fixes, rename args.
19889
19890 2013-05-05 Alan Mackenzie <acm@muc.de>
19891
19892 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
19893
19894 2013-05-05 Juri Linkov <juri@jurta.org>
19895
19896 * info.el (Info-read-subfile): Use (point-min) instead of (point)
19897 to not add the length of the summary segment to the return value.
19898 (Bug#14125)
19899
19900 2013-05-05 Leo Liu <sdl.web@gmail.com>
19901
19902 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
19903 (inferior-octave-output-filter): Remove.
19904 (octave-send-region, inferior-octave-startup): Fix callers.
19905 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
19906 (octave-binary-file-extensions): New user variable.
19907 (octave-find-definition): Confirm if opening binary files.
19908 (octave-help-file): Use octave-find-definition to get the binary
19909 confirmation.
19910 (octave-help): Adjust for octave-help-file change.
19911
19912 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19913
19914 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
19915 Merge the two entries that handle function definitions.
19916 (pascal--syntax-propertize): New const.
19917 (pascal-mode): Use it. Use setq-local.
19918
19919 2013-05-04 Glenn Morris <rgm@gnu.org>
19920
19921 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
19922 (diary-from-outlook): Respect diary-from-outlook-function.
19923
19924 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19925
19926 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
19927 Move the declaration from C.
19928 (read-minibuffer, eval-minibuffer): Move from C.
19929 (completion-setup-function): Avoid minibuffer-completion-contents.
19930
19931 2013-05-03 Leo Liu <sdl.web@gmail.com>
19932
19933 * progmodes/octave.el (octave-font-lock-keywords): Do not
19934 dehighlight 'end' in comments or strings.
19935 (octave-completing-read, octave-goto-function-definition):
19936 New helpers.
19937 (octave-help-buffer): New user variable.
19938 (octave-help-file, octave-help-function): New button types.
19939 (octave-help): New command and bind it to C-h ;.
19940 (octave-find-definition): New command and bind it to M-.
19941 (user-error): Alias to error if not defined.
19942
19943 2013-05-02 Leo Liu <sdl.web@gmail.com>
19944
19945 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
19946 for \. (bug#14332)
19947 (octave-font-lock-keywords): Include [ and {.
19948
19949 2013-05-02 Leo Liu <sdl.web@gmail.com>
19950
19951 * progmodes/octave.el (inferior-octave-startup-file): Change default.
19952 (inferior-octave): Remove calling comint-mode and return the buffer.
19953 (inferior-octave-startup): Cosmetic changes.
19954
19955 2013-05-02 Leo Liu <sdl.web@gmail.com>
19956
19957 * progmodes/octave.el (octave-syntax-propertize-function):
19958 Include the case when ' is at line beginning. (Bug#14336)
19959
19960 2013-05-02 Glenn Morris <rgm@gnu.org>
19961
19962 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
19963 * desktop.el (vc-dir-mode): Just autoload it here.
19964
19965 2013-05-02 Alan Mackenzie <acm@muc.de>
19966
19967 Eliminate variable c-standard-font-lock-fontify-region-function.
19968 * progmodes/cc-mode.el
19969 (c-standard-font-lock-fontify-region-function): Remove.
19970 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
19971
19972 2013-05-01 Leo Liu <sdl.web@gmail.com>
19973
19974 * progmodes/octave.el: Compatible with older emacs-24 releases.
19975 (inferior-octave-has-built-in-variables): Remove. Built-in
19976 variables were removed from Octave in 2007.
19977 (inferior-octave-startup): Fix uses.
19978 (comint-line-beginning-position): Remove compatibility code for
19979 emacs 21.
19980
19981 2013-05-01 Juri Linkov <juri@jurta.org>
19982
19983 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
19984
19985 2013-05-01 Juri Linkov <juri@jurta.org>
19986
19987 * comint.el (comint-previous-matching-input): Don't print message
19988 "History item: %d" when `isearch-mode' is active.
19989 (comint-history-isearch-message): Print message "History item: %d"
19990 when `comint-input-ring-index' is not empty and this function is
19991 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
19992
19993 2013-05-01 Leo Liu <sdl.web@gmail.com>
19994
19995 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
19996 definitions. Use completion-at-point to insert keywords.
19997 (octave-abbrev-start): Remove.
19998 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
19999
20000 2013-04-30 Leo Liu <sdl.web@gmail.com>
20001
20002 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
20003 change.
20004
20005 2013-04-30 Alan Mackenzie <acm@muc.de>
20006
20007 Handle arbitrarily long C++ member initialisation lists.
20008 * progmodes/cc-engine.el (c-back-over-member-initializers):
20009 new function.
20010 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
20011 (most) member init lists.
20012
20013 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20014
20015 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
20016 variable.
20017
20018 2013-04-30 Leo Liu <sdl.web@gmail.com>
20019
20020 * progmodes/octave.el (octave-variables): Remove. No builtin
20021 variables any more. All converted to functions.
20022 (octave-font-lock-keywords, octave-completion-at-point-function):
20023 Fix uses.
20024 (octave-font-lock-texinfo-comment): New user variable.
20025 (octave-texinfo-font-lock-keywords): New variable for texinfo
20026 comment block.
20027 (octave-function-comment-block): New face.
20028 (octave-font-lock-texinfo-comment): New function.
20029 (octave-mode): Font lock texinfo comment block.
20030
20031 2013-04-29 Leo Liu <sdl.web@gmail.com>
20032
20033 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
20034 indexing expression.
20035 (octave-continuation-string): Do not use \.
20036 (inferior-octave-complete-impossible): Remove.
20037 (inferior-octave-completion-table)
20038 (inferior-octave-completion-at-point): Remove its uses.
20039 (inferior-octave-startup): completion_matches was introduced to
20040 Octave in 1996 so safe to assume it.
20041 (octave-function-file-comment): Improve to follow how Octave does it.
20042 (octave-update-function-file-comment): Tweak.
20043
20044 2013-04-29 Leo Liu <sdl.web@gmail.com>
20045
20046 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
20047 (inferior-octave-startup): Remove inferior-octave-startup-hook.
20048 (octave-function-file-comment): Fix typo.
20049 (octave-sync-function-file-names): Use read-char-choice.
20050
20051 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
20052
20053 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
20054 to t for the less important warnings.
20055
20056 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
20057
20058 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
20059
20060 2013-04-27 Glenn Morris <rgm@gnu.org>
20061
20062 * vc/log-view.el (log-view-current-entry):
20063 Treat "---" separator lines as part of the following rev. (Bug#14169)
20064
20065 2013-04-27 Juri Linkov <juri@jurta.org>
20066
20067 * subr.el (read-number): Doc fix about using it by interactive
20068 code letter `n'. (Bug#14254)
20069
20070 2013-04-27 Juri Linkov <juri@jurta.org>
20071
20072 * desktop.el (desktop-auto-save-timeout): New option.
20073 (desktop-file-checksum): New variable.
20074 (desktop-save): Add optional arg `auto-save' and don't auto-save
20075 if nothing changed.
20076 (desktop-auto-save-timer): New variable.
20077 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
20078 (after-init-hook): Call `desktop-auto-save-set-timer'.
20079 Suggested by Reuben Thomas <rrt@sc3d.org> in
20080 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
20081
20082 2013-04-27 Leo Liu <sdl.web@gmail.com>
20083
20084 * progmodes/octave.el (octave-function-file-p)
20085 (octave-skip-comment-forward, octave-function-file-comment)
20086 (octave-update-function-file-comment): New functions.
20087 (octave-mode-map): Bind C-c ; to
20088 octave-update-function-file-comment.
20089 (octave-mode-menu): Add octave-update-function-file-comment.
20090 (octave-mode, inferior-octave-mode): Fix doc-string.
20091 (octave-insert-defun): Conform to Octave's coding convention.
20092 (Bug#14285)
20093
20094 * files.el (basic-save-buffer): Don't let errors in
20095 before-save-hook prevent saving buffer.
20096
20097 2013-04-20 Roland Winkler <winkler@gnu.org>
20098
20099 * faces.el (read-face-name): Use completing-read if arg multiple
20100 is nil.
20101
20102 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
20103
20104 * ls-lisp.el (ls-lisp-insert-directory): If no files are
20105 displayed, move point to after the totals line.
20106 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
20107 for the details.
20108
20109 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
20110
20111 * emacs-lisp/package.el (package-autoload-ensure-default-file):
20112 Add current dir to the load-path.
20113 (package-generate-autoloads): Don't rely on
20114 autoload-ensure-default-file.
20115
20116 2013-04-26 Reuben Thomas <rrt@sc3d.org>
20117
20118 * textmodes/remember.el (remember-store-in-files): Document that
20119 the file name format is passed to `format-time-string'.
20120
20121 2013-04-26 Leo Liu <sdl.web@gmail.com>
20122
20123 * progmodes/octave.el (octave-sync-function-file-names): New function.
20124 (octave-mode): Use it in before-save-hook.
20125
20126 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
20127
20128 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
20129 (bug#14274).
20130
20131 * progmodes/octave.el (octave-smie-forward-token): Properly skip
20132 \n and comment, even if it's not an implicit ; (bug#14218).
20133
20134 2013-04-26 Glenn Morris <rgm@gnu.org>
20135
20136 * subr.el (read-number): Once more use `read' rather than
20137 `string-to-number', to trap non-numeric input. (Bug#14254)
20138
20139 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
20140
20141 * emacs-lisp/syntax.el (syntax-propertize-multiline):
20142 Use `syntax-multiline' text property consistently instead of
20143 `font-lock-multiline'. (Bug#14237)
20144
20145 2013-04-26 Glenn Morris <rgm@gnu.org>
20146
20147 * emacs-lisp/shadow.el (list-load-path-shadows):
20148 No longer necessary to check for duplicate simple.el, since
20149 2012-07-07 change to init_lread to not include installation lisp
20150 directories in load-path when running uninstalled. (Bug#14270)
20151
20152 2013-04-26 Leo Liu <sdl.web@gmail.com>
20153
20154 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
20155 (octave-mode, inferior-octave-mode): Use setq-local.
20156 (octave-not-in-string-or-comment-p): Rename to
20157 octave-in-string-or-comment-p.
20158 (octave-in-comment-p, octave-in-string-p)
20159 (octave-in-string-or-comment-p): Replace defsubst with defun.
20160
20161 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
20162
20163 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
20164
20165 2013-04-25 Bastien Guerry <bzg@gnu.org>
20166
20167 * textmodes/remember.el (remember-data-directory)
20168 (remember-directory-file-name-format): Fix custom types.
20169
20170 2013-04-25 Leo Liu <sdl.web@gmail.com>
20171
20172 * progmodes/octave.el (octave-completion-at-point-function):
20173 Make use of inferior octave process.
20174 (octave-initialize-completions): Remove.
20175 (inferior-octave-completion-table): New function.
20176 (inferior-octave-completion-at-point): Use it.
20177 (octave-completion-alist): Remove.
20178
20179 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20180
20181 * progmodes/opascal.el: Use font-lock and syntax-propertize.
20182 (opascal-mode-syntax-table): New var.
20183 (opascal-literal-kind, opascal-is-literal-end)
20184 (opascal-literal-token-at): Rewrite.
20185 (opascal--literal-start-re, opascal-font-lock-keywords)
20186 (opascal--syntax-propertize): New constants.
20187 (opascal-font-lock-defaults): Adjust.
20188 (opascal-mode): Use them. Set comment-<foo> variables as well.
20189 (delphi-comment-face, opascal-comment-face, delphi-string-face)
20190 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
20191 (delphi-other-face, opascal-other-face): Remove face variables.
20192 (opascal-save-state): Remove macro.
20193 (opascal-fontifying-progress-step): Remove constant.
20194 (opascal--ignore-changes): Remove var.
20195 (opascal-set-token-property, opascal-parse-next-literal)
20196 (opascal-is-stable-literal, opascal-complete-literal)
20197 (opascal-is-literal-start, opascal-face-of)
20198 (opascal-parse-region, opascal-parse-region-until-stable)
20199 (opascal-fontify-region, opascal-after-change)
20200 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
20201 (opascal-debug-parse-region, opascal-debug-parse-window)
20202 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
20203 (opascal-debug-fontify-buffer): Remove.
20204 (opascal-debug-mode-map): Adjust accordingly.
20205
20206 2013-04-25 Leo Liu <sdl.web@gmail.com>
20207
20208 Merge octave-mod.el and octave-inf.el into octave.el with some
20209 cleanups.
20210 * progmodes/octave.el: New file renamed from octave-mod.el.
20211 * progmodes/octave-inf.el: Merged into octave.el.
20212 * progmodes/octave-mod.el: Renamed to octave.el.
20213
20214 2013-04-25 Tassilo Horn <tsdh@gnu.org>
20215
20216 * textmodes/reftex-vars.el
20217 (reftex-label-ignored-macros-and-environments): New defcustom.
20218
20219 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
20220
20221 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20222
20223 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
20224 (smie-indent-keyword): Improve the check to ensure that the next
20225 comment is really on the same line.
20226 (smie-indent-comment): Don't align with a subsequent closer (or eob).
20227
20228 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
20229 semi-colons if the line is not otherwise empty (bug#14218).
20230
20231 2013-04-25 Glenn Morris <rgm@gnu.org>
20232
20233 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
20234
20235 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
20236
20237 * progmodes/opascal.el (opascal-set-token-property): Rename from
20238 opascal-set-text-properties and only set `token' (bug#14134).
20239 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
20240 (opascal-literal-text-properties): Remove.
20241 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
20242 Adjust callers.
20243
20244 2013-04-24 Reuben Thomas <rrt@sc3d.org>
20245
20246 * textmodes/remember.el (remember-handler-functions): Add an
20247 option for a new handler `remember-store-in-files'.
20248 (remember-data-directory, remember-directory-file-name-format):
20249 New options.
20250 (remember-store-in-files): New function to store remember notes
20251 as separate files within a directory.
20252
20253 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
20254
20255 * progmodes/compile.el (compilation-next-error-function):
20256 Pass "formats" to compilation-find-file (bug#11777).
20257
20258 2013-04-24 Glenn Morris <rgm@gnu.org>
20259
20260 * vc/vc-bzr.el (vc-bzr-print-log):
20261 * vc/vc-hg.el (vc-hg-print-log):
20262 * vc/vc-svn.el (vc-svn-print-log):
20263 Fix START-REVISION with LIMIT != 1. (Bug#14168)
20264
20265 * vc/vc-bzr.el (vc-bzr-print-log):
20266 * vc/vc-cvs.el (vc-cvs-print-log):
20267 * vc/vc-git.el (vc-git-print-log):
20268 * vc/vc-hg.el (vc-hg-print-log):
20269 * vc/vc-mtn.el (vc-mtn-print-log):
20270 * vc/vc-rcs.el (vc-rcs-print-log):
20271 * vc/vc-sccs.el (vc-sccs-print-log):
20272 * vc/vc-svn.el (vc-svn-print-log):
20273 * vc/vc.el (vc-print-log-internal): Doc fixes.
20274
20275 2013-04-23 Glenn Morris <rgm@gnu.org>
20276
20277 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
20278 Remove venerable code attempting to avoid substitute-command-keys.
20279
20280 2013-04-23 Tassilo Horn <tsdh@gnu.org>
20281
20282 * textmodes/reftex-vars.el (reftex-label-regexps):
20283 Call `reftex-compile-variables' after changes to this variable.
20284
20285 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
20286
20287 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
20288 Use lexical-binding.
20289 (jit-lock-force-redisplay): Use markers, check buffer's continued
20290 existence and beware narrowed buffers.
20291 (jit-lock-fontify-now): Adjust call accordingly.
20292
20293 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
20294
20295 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
20296 to avoid misleading the user.
20297
20298 2013-04-22 Leo Liu <sdl.web@gmail.com>
20299
20300 * info-look.el: Prefer latex2e.info. (Bug#14240)
20301
20302 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
20303
20304 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
20305
20306 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
20307 * net/tramp.el (tramp-call-process): ... here.
20308 (tramp-set-completion-function, tramp-parse-putty):
20309 * net/tramp-adb.el (tramp-adb-execute-adb-command):
20310 * net/tramp-gvfs.el (tramp-gvfs-send-command):
20311 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
20312 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
20313 (tramp-call-local-coding-command): Use `tramp-call-process'
20314 instead of `tramp-compat-call-process'.
20315
20316 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
20317 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
20318 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
20319 (tramp-find-inline-compress): Improve traces.
20320 (tramp-maybe-send-script): Check for Perl binary.
20321 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
20322
20323 2013-04-22 Daiki Ueno <ueno@gnu.org>
20324
20325 * epg.el (epg-context-pinentry-mode): New function.
20326 (epg-context-set-pinentry-mode): New function.
20327 (epg--start): Pass --pinentry-mode option to gpg command.
20328
20329 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
20330
20331 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
20332 `comint-dynamic-complete' is obsolete since 24.1, replaced by
20333 `completion-at-point'. (Bug#13774)
20334
20335 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
20336 default key binding for `describe-distribution' has been moved to
20337 `C-h C-o'. (Bug#13970)
20338
20339 2013-04-21 Glenn Morris <rgm@gnu.org>
20340
20341 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
20342 Add doc strings.
20343 (vc-print-log): Clarify interactive prompt.
20344
20345 2013-04-20 Glenn Morris <rgm@gnu.org>
20346
20347 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20348 No longer include timestamp etc information.
20349
20350 2013-04-20 Roland Winkler <winkler@gnu.org>
20351
20352 * faces.el (read-face-name): Bug fix, return just one face if arg
20353 multiple is nil. (Bug#14209)
20354
20355 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20356
20357 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
20358 (remove-function): Autoload.
20359
20360 * comint.el (comint-redirect-original-filter-function): Remove.
20361 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
20362 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
20363 (vc-cvs-annotate-command):
20364 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
20365 * progmodes/prolog.el (prolog-consult-compile):
20366 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
20367 Use add/remove-function instead.
20368 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
20369 (gud-tooltip-process-output, gud-tooltip-tips):
20370 Use add/remove-function instead.
20371 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
20372 (scheme-interaction-mode, exit-scheme-interaction-mode):
20373 Use add/remove-function instead.
20374
20375 * vc/vc-dispatcher.el: Use lexical-binding.
20376 (vc--process-sentinel): Rename from vc-process-sentinel.
20377 Change last arg to be the code to run. Don't use vc-previous-sentinel
20378 and vc-sentinel-commands any more.
20379 (vc-exec-after): Allow code to be a function. Use add/remove-function.
20380 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
20381
20382 2013-04-19 Masatake YAMATO <yamato@redhat.com>
20383
20384 * progmodes/sh-script.el (sh-imenu-generic-expression):
20385 Handle function names with a single character. (Bug#14111)
20386
20387 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
20388
20389 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
20390 for subroutines defined in an eval (bug#14182).
20391
20392 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20393
20394 * bookmark.el (bookmark-completing-read): Improve handling of empty
20395 string (bug#14176).
20396
20397 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20398
20399 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
20400
20401 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
20402
20403 New faster Imenu implementation (bug#14058).
20404 * progmodes/python.el (python-imenu-prev-index-position)
20405 (python-imenu-format-item-label-function)
20406 (python-imenu-format-parent-item-label-function)
20407 (python-imenu-format-parent-item-jump-label-function):
20408 New vars.
20409 (python-imenu-format-item-label)
20410 (python-imenu-format-parent-item-label)
20411 (python-imenu-format-parent-item-jump-label)
20412 (python-imenu--put-parent, python-imenu--build-tree)
20413 (python-imenu-create-index, python-imenu-create-flat-index)
20414 (python-util-popn): New functions.
20415 (python-mode): Set imenu-create-index-function to
20416 python-imenu-create-index.
20417
20418 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20419
20420 * winner.el (winner-active-region): Use region-active-p, activate-mark
20421 and deactivate-mark (bug#14225).
20422
20423 * simple.el (deactivate-mark): Don't inline it.
20424
20425 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
20426
20427 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
20428
20429 2013-04-18 Tassilo Horn <tsdh@gnu.org>
20430
20431 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
20432 file extensions from the archive-mode entry in order to prefer
20433 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
20434
20435 2013-04-18 Leo Liu <sdl.web@gmail.com>
20436
20437 * bindings.el (help-event-list): Add ?\?.
20438
20439 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20440
20441 * subr.el (with-wrapper-hook): Declare obsolete.
20442 * simple.el (filter-buffer-substring-function): New hook.
20443 (filter-buffer-substring): Use it.
20444 (filter-buffer-substring-functions): Mark obsolete.
20445 * minibuffer.el (completion-in-region-function): New hook.
20446 (completion-in-region): Use it.
20447 (completion-in-region-functions): Mark obsolete.
20448 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
20449 * abbrev.el (abbrev-expand-function): New hook.
20450 (expand-abbrev): Use it.
20451 (abbrev-expand-functions): Mark obsolete.
20452 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
20453 and :filter-return.
20454
20455 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20456
20457 * progmodes/python.el (python-nav--syntactically): Fix cornercases
20458 and do not care about match data.
20459
20460 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20461
20462 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
20463 completion tables when completing error conditions and
20464 `declare' arguments.
20465 (lisp-complete-symbol, field-complete): Mark as obsolete.
20466 (check-parens): Unmatched parens are user errors.
20467 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
20468
20469 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
20470
20471 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
20472 command changed buffer (ie. `flyspell-pre-buffer' is not current
20473 buffer), which prevents making decisions based on invalid value of
20474 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
20475 cause an error when `flyspell-pre-point' was nil after switching
20476 buffers.
20477 (flyspell-post-command-hook): No longer needs to change buffers when
20478 checking pre-word. While at it remove unnecessary progn.
20479
20480 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
20481
20482 * textmodes/ispell.el (ispell-add-per-file-word-list):
20483 Fix `flyspell-correct-word-before-point' error when accepting
20484 words and `coment-padding' is an integer by using
20485 `comment-normalize-vars' (Bug #14214).
20486
20487 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20488
20489 New defun movement commands.
20490 * progmodes/python.el (python-nav--syntactically)
20491 (python-nav--forward-defun, python-nav-backward-defun)
20492 (python-nav-forward-defun): New functions.
20493
20494 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20495
20496 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
20497 (python-syntax-context): Use named compiler-macro for backwards
20498 compatibility with Emacs 24.x.
20499
20500 2013-04-17 Leo Liu <sdl.web@gmail.com>
20501
20502 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
20503 octave-hide-process-buffer.
20504
20505 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20506
20507 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
20508 (bug#14216).
20509
20510 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
20511
20512 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
20513 Fix adjustment of offset when receiving incomplete responses from GDB
20514 (bug#14129).
20515
20516 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20517
20518 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
20519 python-mode-abbrev-table.
20520 (python-skeleton-define): Adjust accordingly.
20521 (python-mode-abbrev-table): New table that inherits from it so that
20522 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
20523
20524 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
20525 (abbrev-symbol): Use it.
20526 (abbrev--before-point): Use it since we already handle inheritance.
20527
20528 2013-04-16 Leo Liu <sdl.web@gmail.com>
20529
20530 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
20531 binding to info-lookup-symbol.
20532
20533 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
20534
20535 * minibuffer.el (completion--twq-all):
20536 * term/ns-win.el (ns-initialize-window-system):
20537 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
20538
20539 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20540
20541 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
20542 global bindings.
20543
20544 * doc-view.el (doc-view-start-process): Handle url-handler directories.
20545
20546 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
20547
20548 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
20549 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
20550 to nil.
20551 (ruby-end-of-defun): Remove the unused arg, change the docstring
20552 to reflect that this function is only used as the value of
20553 `end-of-defun-function'.
20554 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
20555 to reflect an earlier change that beginning/end-of-defun functions
20556 jump between methods in a class definition, as well as top-level
20557 functions.
20558
20559 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20560
20561 * minibuffer.el (minibuffer-complete): Don't just scroll
20562 a *Completions* that's been iconified.
20563 (minibuffer-force-complete): Make sure repetitions do cycle when going
20564 through completion-in-region -> minibuffer-complete.
20565
20566 2013-04-15 Alan Mackenzie <acm@muc.de>
20567
20568 Correct the placement of c-cpp-delimiters when there're #s not at
20569 col 0.
20570
20571 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
20572 place a submatch around the #.
20573 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
20574 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20575 on the #, not BOL.
20576
20577 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20578
20579 * emacs-lisp/nadvice.el: Properly test names when adding advice.
20580 (advice--member-p): New arg `name'.
20581 (advice--add-function, advice-member-p): Use it (bug#14202).
20582
20583 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
20584
20585 Reformulate java imenu-generic-expression.
20586 The old expression contained ill formed regexps.
20587
20588 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
20589 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
20590 (cc-imenu-java-method-arg-regexp): New defconsts.
20591 (cc-imenu-java-build-type-args-regex): New defun.
20592 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
20593 handling of spaces in the regexp.
20594
20595 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20596
20597 * textmodes/ispell.el (ispell-command-loop): Remove
20598 flyspell highlight of a word when ispell accepts it (bug #14178).
20599
20600 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
20601
20602 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
20603 uses code from the previous `ange-ftp-run-real-handler'.
20604 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
20605 only in case that function exist. This is needed for proper
20606 unloading of Tramp.
20607
20608 2013-04-15 Tassilo Horn <tsdh@gnu.org>
20609
20610 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
20611
20612 * textmodes/reftex.el (reftex-compile-variables): Use it.
20613
20614 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20615
20616 * files.el (normal-mode): Only use default major-mode if no other mode
20617 was specified.
20618
20619 * emacs-lisp/trace.el (trace-values): New function.
20620
20621 * files.el: Allow : in local variables (bug#14089).
20622 (hack-local-variable-regexp): New var.
20623 (hack-local-variables-prop-line, hack-local-variables): Use it.
20624
20625 2013-04-13 Roland Winkler <winkler@gnu.org>
20626
20627 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
20628 data before it gets modified by bibtex-beginning-of-entry.
20629
20630 2013-04-13 Roland Winkler <winkler@gnu.org>
20631
20632 * textmodes/bibtex.el (bibtex-url): Doc fix.
20633
20634 2013-04-13 Roland Winkler <winkler@gnu.org>
20635
20636 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
20637 does not visit a BibTeX file, exclude it from the list of buffers
20638 returned by bibtex-initialize.
20639
20640 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
20641
20642 * window.el (split-window): Remove interactive form, since as a
20643 command this function is a special case of split-window-below.
20644 Correct doc string.
20645
20646 2013-04-12 Roland Winkler <winkler@gnu.org>
20647
20648 * faces.el (read-face-name): Do not override value of arg default.
20649 Allow single faces and strings as default values. Remove those
20650 elements from return value that are not faces.
20651 (describe-face): Simplify.
20652 (face-at-point): New optional args thing and multiple so that this
20653 function can provide the same functionality previously provided by
20654 read-face-name.
20655 (make-face-bold, make-face-unbold, make-face-italic)
20656 (make-face-unitalic, make-face-bold-italic, invert-face)
20657 (modify-face, read-face-and-attribute): Use face-at-point.
20658
20659 * cus-edit.el (customize-face, customize-face-other-window)
20660 * cus-theme.el (custom-theme-add-face)
20661 * face-remap.el (buffer-face-set)
20662 * facemenu.el (facemenu-set-face): Use face-at-point.
20663
20664 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
20665
20666 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
20667
20668 2013-04-10 Tassilo Horn <tsdh@gnu.org>
20669
20670 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
20671 off leading { and trailing } from field values.
20672
20673 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
20674
20675 * emacs-lisp/timer.el (timer--check): New function.
20676 (timer--time, timer-set-function, timer-event-handler): Use it.
20677 (timer-set-idle-time): Simplify.
20678 (timer--activate): CSE.
20679 (timer-event-handler): Give more info in error message.
20680 (internal-timer-start-idle): New function, moved from C.
20681
20682 * mpc.el (mpc-proc): Add `restart' argument.
20683 (mpc-proc-cmd): Use it.
20684 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
20685 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
20686 less often.
20687
20688 2013-04-10 Masatake YAMATO <yamato@redhat.com>
20689
20690 * progmodes/sh-script.el: Implement `sh-mode' own
20691 `add-log-current-defun-function' (bug#14112).
20692 (sh-current-defun-name): New function.
20693 (sh-mode): Use the function.
20694
20695 2013-04-09 Bastien Guerry <bzg@gnu.org>
20696
20697 * simple.el (choose-completion-string): Fix docstring (bug#14163).
20698
20699 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
20700
20701 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
20702
20703 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
20704 timer (bug#14156).
20705
20706 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
20707
20708 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
20709 declaration.
20710
20711 2013-04-07 Leo Liu <sdl.web@gmail.com>
20712
20713 * pcmpl-x.el: New file.
20714
20715 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
20716
20717 Do not set x-display-name until X connection is established.
20718 This is needed to prevent from weird situation described at
20719 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
20720 * frame.el (make-frame): Set x-display-name after call to
20721 window system initialization function, not before.
20722 * term/x-win.el (x-initialize-window-system): Add optional
20723 display argument and use it.
20724 * term/w32-win.el (w32-initialize-window-system):
20725 * term/ns-win.el (ns-initialize-window-system):
20726 * term/pc-win.el (msdos-initialize-window-system):
20727 Add compatible optional display argument.
20728
20729 2013-04-06 Eli Zaretskii <eliz@gnu.org>
20730
20731 * files.el (normal-backup-enable-predicate): On MS-Windows and
20732 MS-DOS compare truenames of temporary-file-directory and of the
20733 file, so that 8+3 aliases (usually found in $TEMP on Windows)
20734 don't fail comparison by compare-strings. Also, compare file
20735 names case-insensitively on MS-Windows and MS-DOS.
20736
20737 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20738
20739 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
20740 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
20741
20742 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
20743
20744 * whitespace.el (whitespace-color-on, whitespace-color-off):
20745 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
20746
20747 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
20748
20749 * ispell.el (ispell-set-spellchecker-params):
20750 Really set `ispell-args' for all equivs.
20751
20752 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20753
20754 * ido.el (ido-completions): Use extra elements of ido-decorations
20755 (bug#14143).
20756 (ido-decorations): Update docstring.
20757
20758 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
20759
20760 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20761 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
20762 nil during initialization, in order not to miss changes since the
20763 file was opened. (Bug#14140)
20764
20765 2013-04-05 Leo Liu <sdl.web@gmail.com>
20766
20767 * kmacro.el (kmacro-call-macro): Fix bug#14135.
20768
20769 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
20770
20771 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
20772
20773 2013-04-04 Glenn Morris <rgm@gnu.org>
20774
20775 * electric.el (electric-pair-inhibit-predicate): Add :version.
20776
20777 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
20778
20779 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
20780 when a package is required several times (bug#14082).
20781
20782 2013-04-04 Roland Winkler <winkler@gnu.org>
20783
20784 * faces.el (read-face-name): Behave as promised by the docstring.
20785 Assume that arg default is a list of faces.
20786 (describe-face): Call read-face-name with list of default faces.
20787
20788 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20789
20790 * bookmark.el: Fix deletion of bookmarks (bug#13972).
20791 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
20792 (bookmark-bmenu-execute-deletions): Only skip first line if it's
20793 the header.
20794 (bookmark-exit-hook-internal): Save even if list is empty.
20795
20796 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
20797
20798 * emacs-lisp/package.el (package-pinned-packages): New var.
20799 (package--add-to-archive-contents): Obey it (bug#14118).
20800
20801 2013-04-03 Alan Mackenzie <acm@muc.de>
20802
20803 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
20804 Also adapt to the new values of element 7 of a parse state.
20805
20806 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
20807 parameter `not-in-delimiter'. Handle being inside comment opener.
20808 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
20809 character in case we're typing a '*' after a '/'.
20810 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
20811 instead by passing the parameter to c-state-pp-to-literal.
20812
20813 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
20814 for elt. 7 of a parse state.
20815
20816 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
20817
20818 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
20819 * international/latin1-disp.el, international/mule-util.el:
20820 * language/cyril-util.el, language/european.el, language/ind-util.el:
20821 * language/lao-util.el, language/thai.el, language/tibet-util.el:
20822 * language/tibetan.el, language/viet-util.el:
20823 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
20824
20825 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20826
20827 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
20828 (electric-pair-post-self-insert-function): Use it.
20829 (electric-pair-default-inhibit): New function, extracted from
20830 electric-pair-post-self-insert-function.
20831
20832 2013-03-31 Roland Winkler <winkler@gnu.org>
20833
20834 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
20835
20836 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20837
20838 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
20839
20840 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
20841
20842 Un-indent after "pass" and "return" statements (Bug#13888)
20843 * progmodes/python.el (python-indent-block-enders): New var.
20844 (python-indent-calculate-indentation): Use it.
20845
20846 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
20847
20848 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
20849 defun. Defining it as defalias could introduce too eager
20850 byte-compiler optimization. (Bug#14030)
20851
20852 2013-03-30 Chong Yidong <cyd@gnu.org>
20853
20854 * iswitchb.el (iswitchb-read-buffer): Fix typo.
20855
20856 2013-03-30 Leo Liu <sdl.web@gmail.com>
20857
20858 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
20859 (kmacro-execute-from-register): Pass the keyboard macro to
20860 kmacro-call-macro or repeating won't work correctly.
20861
20862 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
20863
20864 * progmodes/subword.el: Back to using `forward-symbol'.
20865
20866 * subr.el (forward-whitespace, forward-symbol)
20867 (forward-same-syntax): Move from thingatpt.el.
20868
20869 2013-03-29 Leo Liu <sdl.web@gmail.com>
20870
20871 * kmacro.el (kmacro-to-register): New command.
20872 (kmacro-execute-from-register): New function.
20873 (kmacro-keymap): Bind to 'x'. (Bug#14071)
20874
20875 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
20876
20877 * mpc.el: Use defvar-local and setq-local.
20878 (mpc--proc-connect): Connection failures are not bugs.
20879 (mpc-mode-map): `follow-link' only applies to the buffer's content.
20880 (mpc-volume-map): Bind to the up-events.
20881
20882 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
20883
20884 * progmodes/subword.el (superword-mode): Use `forward-sexp'
20885 instead of `forward-symbol'.
20886
20887 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
20888
20889 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
20890 (edebug--recursive-edit): Use it.
20891 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
20892 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
20893
20894 2013-03-28 Leo Liu <sdl.web@gmail.com>
20895
20896 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
20897
20898 2013-03-27 Eli Zaretskii <eliz@gnu.org>
20899
20900 * facemenu.el (list-colors-callback): New defvar.
20901 (list-colors-redisplay): New function.
20902 (list-colors-display): Install list-colors-redisplay as the
20903 revert-buffer-function. (Bug#14063)
20904
20905 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
20906
20907 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
20908 and suffixes don't overlap (bug#14061).
20909
20910 * case-table.el: Use lexical-binding.
20911 (case-table-get-table): New function.
20912 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
20913
20914 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
20915
20916 * progmodes/subword.el: Add `superword-mode' to do word motion
20917 over symbol_words (parallels and leverages `subword-mode' which
20918 does word motion inside MixedCaseWords).
20919
20920 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
20921
20922 * eshell/em-unix.el: Move su and sudo to...
20923 * eshell/em-tramp.el: ...Eshell tramp module.
20924
20925 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
20926
20927 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
20928 Change return value to be a sexp. Delay `get-buffer' to after
20929 restoring the desktop (bug#13951).
20930
20931 2013-03-26 Leo Liu <sdl.web@gmail.com>
20932
20933 * register.el: Move semantic tag handling back to
20934 cedet/semantic/senator.el. (Bug#14052)
20935
20936 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
20937
20938 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
20939 into the prompt either (bug#13963).
20940
20941 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
20942
20943 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
20944 part of "(error-foo)".
20945
20946 2013-03-24 Juri Linkov <juri@jurta.org>
20947
20948 * replace.el (list-matching-lines-prefix-face): New defcustom.
20949 (occur-1): Pass `list-matching-lines-prefix-face' to the function
20950 `occur-engine' if `face-differs-from-default-p' returns t.
20951 (occur-engine): Add `,' inside backquote construct to evaluate
20952 `prefix-face'. Propertize the prefix with the `prefix-face' face.
20953 Pass `prefix-face' to the functions `occur-context-lines' and
20954 `occur-engine-add-prefix'.
20955 (occur-engine-add-prefix, occur-context-lines): Add optional arg
20956 `prefix-face' and propertize the prefix with `prefix-face'.
20957 (Bug#14017)
20958
20959 2013-03-24 Leo Liu <sdl.web@gmail.com>
20960
20961 * nxml/rng-valid.el (rng-validate-while-idle)
20962 (rng-validate-quick-while-idle): Guard against deleted buffer.
20963 (Bug#13999)
20964
20965 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
20966 is the last entry in kill-buffer-hook.
20967
20968 * files.el (kill-buffer-hook): Doc fix.
20969
20970 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
20971
20972 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
20973 Make it safe-local.
20974
20975 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
20976
20977 2013-03-23 Leo Liu <sdl.web@gmail.com>
20978
20979 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
20980 Remove.
20981
20982 * nxml/rng-valid.el (rng-validate-mode)
20983 (rng-after-change-function, rng-do-some-validation):
20984 * nxml/rng-maint.el (rng-validate-buffer):
20985 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
20986 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
20987 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
20988 (nxml-extend-after-change-region): Use with-silent-modifications.
20989
20990 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
20991 timer-idle-list.
20992
20993 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
20994 (rng-next-error-1, rng-previous-error-1): Do not let-bind
20995 timer-idle-list. (Bug#13999)
20996
20997 2013-03-23 Juri Linkov <juri@jurta.org>
20998
20999 * info.el (info-index-match): New face.
21000 (Info-index, Info-apropos-matches): Add a nested subgroup to the
21001 main pattern and add text properties with the new face to matches
21002 in index entries relative to the beginning of the index entry.
21003 (Bug#14015)
21004
21005 2013-03-21 Eric Ludlam <zappo@gnu.org>
21006
21007 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
21008 Inhibit read only while inserting objects.
21009
21010 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
21011
21012 * progmodes/cfengine.el: Update docs to mention
21013 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
21014 symbol motion. Remove "_" from the word syntax.
21015
21016 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
21017
21018 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
21019 syntax for both `cfengine2-mode' and `cfengine3-mode'.
21020
21021 2013-03-20 Juri Linkov <juri@jurta.org>
21022
21023 * info.el (Info-next-reference-or-link)
21024 (Info-prev-reference-or-link): New functions.
21025 (Info-next-reference, Info-prev-reference): Use them.
21026 (Info-try-follow-nearest-node): Handle footnote navigation.
21027 (Info-fontify-node): Fontify footnotes. (Bug#13989)
21028
21029 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
21030
21031 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
21032 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
21033
21034 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
21035
21036 Suppress unnecessary non-ASCII chatter during build process.
21037 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
21038 (batch-skkdic-convert): Suppress most of the chatter.
21039 It's not needed so much now that machines are faster,
21040 and its non-ASCII component was confusing; see Dmitry Gutov in
21041 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
21042
21043 2013-03-20 Leo Liu <sdl.web@gmail.com>
21044
21045 * ido.el (ido-chop): Fix bug#10994.
21046
21047 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
21048
21049 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
21050 Remove vars.
21051 (whitespace-color-on, whitespace-color-off):
21052 Use `font-lock-fontify-buffer' (Bug#13817).
21053
21054 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
21055
21056 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
21057 remapping in mode-line.
21058 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
21059
21060 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
21061
21062 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
21063 value for `whitespace-line' face (Bug#13875).
21064 (whitespace-font-lock-keywords): Change description.
21065 (whitespace-color-on): Don't save `font-lock-keywords' value, save
21066 the constructed keywords instead.
21067 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
21068
21069 2013-03-19 Leo Liu <sdl.web@gmail.com>
21070
21071 * progmodes/compile.el (compilation-display-error): New command.
21072 (compilation-mode-map, compilation-minor-mode-map): Bind it to
21073 C-o. (Bug#13992)
21074
21075 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
21076
21077 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
21078
21079 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
21080
21081 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
21082
21083 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
21084
21085 * net/tramp-compat.el (tramp-compat-user-error): New defun.
21086
21087 * net/tramp-adb.el (tramp-adb-handle-shell-command):
21088 * net/tramp-gvfs.el (top):
21089 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
21090 (tramp-handle-shell-command): Use it.
21091 (tramp-dissect-file-name): Raise an error when hostname is a
21092 method name, and neither method nor user is specified.
21093
21094 * net/trampver.el: Update release number.
21095
21096 2013-03-18 Leo Liu <sdl.web@gmail.com>
21097
21098 Make sure eldoc can be turned off properly.
21099 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
21100 eldoc-mode.
21101 (eldoc-display-message-p): Revert last change.
21102 (eldoc-display-message-no-interference-p)
21103 (eldoc-print-current-symbol-info): Tweak.
21104
21105 2013-03-18 Tassilo Horn <tsdh@gnu.org>
21106
21107 * doc-view.el (doc-view-new-window-function): Check the new window
21108 overlay's display property instead the char property of the
21109 buffer's first char. Use `with-selected-window' instead of
21110 `save-window-excursion' with `select-window'.
21111 (doc-view-document->bitmap): Check the current doc-view overlay's
21112 display property instead the char property of the buffer's first char.
21113
21114 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
21115
21116 Automate the build of ja-dic.el (Bug#13984).
21117 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
21118 from the input, rather than assume that it's been done for us by the
21119 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
21120 the current date into a ja-dic.el comment, as that complicates
21121 regression testing.
21122
21123 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21124
21125 * whitespace.el: Fix double evaluation.
21126 (whitespace-space, whitespace-hspace, whitespace-tab)
21127 (whitespace-newline, whitespace-trailing, whitespace-line)
21128 (whitespace-space-before-tab, whitespace-indentation)
21129 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
21130 obsolete defvars.
21131 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
21132 (whitespace-color-on): Use a single font-lock-add-keywords call.
21133 Fix double-evaluation of face variables.
21134
21135 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
21136
21137 * net/tramp-adb.el (tramp-adb-parse-device-names):
21138 Use `start-process' instead of `call-process'. Otherwise, the
21139 function might be blocked under MS Windows. (Bug#13299)
21140
21141 2013-03-17 Leo Liu <sdl.web@gmail.com>
21142
21143 Extend eldoc to display info in the mode-line. (Bug#13978)
21144 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
21145 (eldoc-mode-line-string): New variable.
21146 (eldoc-minibuffer-message): New function.
21147 (eldoc-message-function): New variable.
21148 (eldoc-message): Use it.
21149 (eldoc-display-message-p)
21150 (eldoc-display-message-no-interference-p):
21151 Support eldoc-post-insert-mode.
21152
21153 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
21154 (eval-expression): Run it.
21155
21156 2013-03-17 Roland Winkler <winkler@gnu.org>
21157
21158 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
21159 strings in the list of return values.
21160
21161 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21162
21163 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
21164 radix before checking for HMS forms.
21165
21166 2013-03-16 Leo Liu <sdl.web@gmail.com>
21167
21168 * progmodes/scheme.el: Add indentation and font-locking for λ.
21169 (Bug#13975)
21170
21171 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
21172
21173 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
21174 token before point (bug#13942).
21175
21176 2013-03-16 Leo Liu <sdl.web@gmail.com>
21177
21178 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
21179
21180 2013-03-16 Eli Zaretskii <eliz@gnu.org>
21181
21182 * startup.el (command-line-normalize-file-name): Fix handling of
21183 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
21184 <xfq.free@gmail.com> in
21185 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
21186
21187 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
21188
21189 Sync with Tramp 2.2.7.
21190
21191 * net/trampver.el: Update release number.
21192
21193 2013-03-14 Tassilo Horn <tsdh@gnu.org>
21194
21195 * doc-view.el: Fix bug#13887.
21196 (doc-view-insert-image): Don't modify overlay associated to
21197 non-live windows, and implement horizontal centering of image in
21198 case it's smaller than the window.
21199 (doc-view-new-window-function): Force redisplay of new windows on
21200 doc-view buffers.
21201
21202 2013-03-13 Karl Fogel <kfogel@red-bean.com>
21203
21204 * saveplace.el (save-place-alist-to-file): Don't sort
21205 `save-place-alist', just pretty-print it (bug#13882).
21206
21207 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
21208
21209 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
21210 Check whether `default-file-name-coding-system' is bound.
21211 It isn't in XEmacs.
21212
21213 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
21214
21215 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
21216 backquotes for `obsolete' (bug#13929).
21217
21218 * international/mule.el (find-auto-coding): Include file name in
21219 obsolescence warning (bug#13922).
21220
21221 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
21222
21223 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
21224 for CFEngine 3-specific indentation.
21225 (cfengine3-indent-line): Use it. Fix up category regex.
21226 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
21227
21228 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21229
21230 * type-break.el (type-break-file-name):
21231 * textmodes/remember.el (remember-data-file):
21232 * strokes.el (strokes-file):
21233 * shadowfile.el (shadow-initialize):
21234 * saveplace.el (save-place-file):
21235 * ps-bdf.el (bdf-cache-file):
21236 * progmodes/idlwave.el (idlwave-config-directory):
21237 * net/quickurl.el (quickurl-url-file):
21238 * international/kkc.el (kkc-init-file-name):
21239 * ido.el (ido-save-directory-list-file):
21240 * emulation/viper.el (viper-custom-file-name):
21241 * emulation/vip.el (vip-startup-file):
21242 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
21243 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
21244
21245 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
21246
21247 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
21248 * language/thai-word.el: Switch to UTF-8.
21249
21250 See ChangeLog.16 for earlier changes.
21251
21252 ;; Local Variables:
21253 ;; coding: utf-8
21254 ;; End:
21255
21256 Copyright (C) 2011-2014 Free Software Foundation, Inc.
21257
21258 This file is part of GNU Emacs.
21259
21260 GNU Emacs is free software: you can redistribute it and/or modify
21261 it under the terms of the GNU General Public License as published by
21262 the Free Software Foundation, either version 3 of the License, or
21263 (at your option) any later version.
21264
21265 GNU Emacs is distributed in the hope that it will be useful,
21266 but WITHOUT ANY WARRANTY; without even the implied warranty of
21267 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21268 GNU General Public License for more details.
21269
21270 You should have received a copy of the GNU General Public License
21271 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.