]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Use `mouse-menu-bar-map' when no other menus are available.
[gnu-emacs] / lisp / ChangeLog
1 2014-11-27 Sam Steingold <sds@gnu.org>
2
3 * menu-bar.el (menu-bar-open): When everything else fails,
4 use (mouse-menu-bar-map).
5
6 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
7
8 * net/newst-treeview.el (newsticker-groups-filename): Change
9 default value to nil. Point out that variable is obsolete in doc
10 string.
11 (newsticker--treeview-load): Change wording of the questions the
12 user is asked when `newsticker-groups-filename' is found to be
13 used and we offer to read and remove the groups file. (bug#19165)
14
15 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16
17 * net/eww.el (eww): Record the new URL immediately, so that if the
18 HTTP fetch fails, we have the right URL in the buffer.
19 (eww-process-text-input): Don't shorten the input field if
20 deleting at the last character (bug#19085).
21 (eww-restore-history): Inhibit change functions while restoring
22 the history.
23 (eww-process-text-input): Fix deletion at the start of the field, too.
24 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
25
26 * dom.el (dom-pp): New function.
27
28 2014-11-17 Eli Zaretskii <eliz@gnu.org>
29
30 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
31 Don't assume --long is the default for "bzr log", always specify
32 it explicitly, in case the user defined an alias for 'log' that
33 uses some other format.
34
35 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
36
37 * progmodes/python.el (python-eldoc--get-doc-at-point): Strip
38 shell output before returning. (bug#18794)
39
40 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
41
42 Fix indentation before `!=' and after `+='. Originally reported
43 in https://github.com/mooz/js2-mode/issues/174.
44 * progmodes/js.el (js--indent-operator-re): Make assignments and
45 (in)equality operator a separate case.
46 (js--continued-expression-p): Escape the second `+' in the regexp.
47
48 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
51
52 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
53
54 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
55 when querying about new certificates.
56
57 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
58
59 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
60 can be strings.
61 (dom-elements): Protect against non-text nodes.
62 (dom-non-text-children): New function.
63
64 * net/eww.el (eww-tag-title): Use `dom-text'.
65
66 2014-11-26 Sam Steingold <sds@gnu.org>
67
68 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
69
70 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
71
72 * net/eww.el (eww-highest-readability): More dom.el fixes.
73
74 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
75
76 * net/newst-backend.el (newsticker--parse-generic-items): Take
77 care of UIDs when adding elements to cache.
78
79 2014-11-26 Alan Mackenzie <acm@muc.de>
80
81 Remove spurious reference to symbol category_properties.
82 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
83
84 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
85
86 * net/eww.el: Use the new dom.el accessors throughout.
87
88 * net/shr.el: Ditto.
89
90 * dom.el: New file.
91
92 2014-11-26 Glenn Morris <rgm@gnu.org>
93
94 * arc-mode.el (archive-visit-single-files): Add :version.
95
96 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
97
98 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
99 elements.
100 (nsm-warnings-ok-p): The new version of this function always
101 returned nil when everything was OK.
102
103 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
104
105 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
106
107 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
108 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
109
110 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
111
112 * emacs-lisp/byte-run.el (function-put): Match argument names to
113 docstring.
114
115 2014-11-24 Sam Steingold <sds@gnu.org>
116
117 * vc/vc-hooks.el (vc-directory-exclusion-list):
118 Fix a trivial typo (bug#19171).
119
120 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
121
122 * vc/vc-hooks.el (vc-state-base-face): Don't override
123 mode-line-inactive.
124
125 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
126
127 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
128 (eww-process-text-input): Inhibit read only so that input fields
129 don't get shortened (bug#19085).
130
131 2014-11-24 Leo Liu <sdl.web@gmail.com>
132
133 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
134
135 * window.el (with-temp-buffer-window)
136 (with-current-buffer-window, with-displayed-buffer-window):
137 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
138 * emacs-lisp/cl-lib.el (substring):
139 * emacs-lisp/cl-extra.el (cl-getf): Use it.
140
141 2014-11-24 Eli Zaretskii <eliz@gnu.org>
142
143 * isearch.el (isearch-update): Don't assume
144 pos-visible-in-window-p will return nil when point is hscrolled
145 out of view. (Bug#19157)
146
147 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
148
149 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
150 (eww-follow-link): Follow in new buffer in case of prefix
151 argument, open externally with double prefix (bug#19130).
152
153 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
154
155 * net/eww.el (eww-display-html): Decode the document-defined charset.
156 (eww): Pop to the *eww* buffer immediately after executing the
157 `M-x eww' command to avoid having buffers pop up later.
158 (eww-display-html): Don't pop the *eww* buffer.
159 (eww-display-raw): Ditto.
160 (eww-display-image): Ditto.
161 (eww-follow-link): Make going to #targets in the page work again.
162
163 2014-11-23 Ivan Shmakov <ivan@siamics.net>
164
165 * net/eww.el (eww-suggest-uris): New variable.
166 (eww-suggested-uris): New function.
167 (eww): Default to URL under point.
168 (eww-links-at-point): New function.
169
170 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
171
172 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
173
174 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
175
176 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
177
178 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
179
180 * net/eww.el (eww-set-character-encoding): New command and keystroke.
181 (eww-display-raw): Use it (bug#16225).
182
183 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
184
185 * net/nsm.el (network-security-level): Rename from
186 `nsm-security-level' and documented.
187
188 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
189 we're sending a password.
190
191 * net/nsm.el: New file that implements a Network Security Manager.
192
193 * net/network-stream.el (open-network-stream): Add a new
194 :warn-unless-encrypted parameter.
195 (network-stream-open-plain): Allow warning unless encrypted.
196 (network-stream-open-starttls): Call the Network Security Manager.
197 (network-stream-open-tls): Ditto.
198
199 2014-11-23 Leo Liu <sdl.web@gmail.com>
200
201 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
202 (calendar-chinese-to-absolute-for-diary)
203 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
204 Handle leap months in Chinese calendar. (Bug#18953)
205
206 2014-11-22 Alan Mackenzie <acm@muc.de>
207
208 Fix error with `mark-defun' and "protected:" in C++ Mode.
209 Fixes: debbugs:19134.
210
211 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
212 return code of (label) from c-beginning-of-decl-1.
213
214 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
215
216 * net/newst-backend.el (newsticker--sentinel-work): Tell
217 `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
218
219 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
220
221 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
222 (tramp-sh-handle-process-file): Propagate `process-environment'.
223
224 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
225 Tramp propagates environment variables now.
226
227 2014-11-22 Eric S. Raymond <esr@snark>
228
229 * vc/vc-filewise.el: New file to isolate code used only by the
230 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
231 live in vc.el and certainly not in vc-hooks.el.
232
233 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
234 This is preaparatory to isolating all the 'master' functions
235 used only by the file-oriented back ends. With this done first,
236 the substantive diffs will be easier to read.
237
238 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
239
240 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
241 that is recognized by `help-mode'.
242
243 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * desktop.el (desktop-create-buffer): Use activate-mark to set
246 `mark-active' (bug#19058).
247
248 2014-11-21 Eric S. Raymond <esr@snark>
249
250 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
251 nil state.
252
253 2014-11-21 Eli Zaretskii <eliz@gnu.org>
254
255 * vc/vc.el (vc-deduce-fileset): Support invocation from
256 *vc-change-log* buffer. (Bug#19084)
257
258 2014-11-13 Matthew Leach <matthew@mattleach.net>
259
260 * arc-mode.el (archive-visit-single-files): New.
261 (archive-mode): Visit file if archive contains a single file.
262 (Bug#1702)
263
264 2014-11-21 Ulrich Müller <ulm@gentoo.org>
265
266 * vc/vc.el: Fix a typo in the commentary.
267
268 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
269
270 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
271 testing and a real log-view mode.
272
273 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el,
274 vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el,
275 vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
276 checkout methods; where it matters (which is only in SCCS and RCS)
277 files are always checked out editable. This may actually have
278 been dynamically true already - it looks like the vc-next-action
279 code evolved past visiting the other case. Tested with RCS.
280
281 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el,
282 vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el,
283 vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
284 argument from the backend checkin methods. Only the RCS, SCCS,
285 and CVS back ends tried to do anything with it, and that code was
286 never exercised. Chiseling away the cruft of decades...
287
288 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
289
290 * net/eww.el (eww-render): Remove a no-op :title setting.
291
292 2014-11-19 Ivan Shmakov <ivan@siamics.net>
293
294 * net/eww.el (eww-history-limit): New variable.
295 (eww-save-history): Use it (bug#19105).
296 (eww-reload): Reload the page in the right buffer.
297
298 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
299
300 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
301
302 2014-11-19 Ivan Shmakov <ivan@siamics.net>
303
304 * net/eww.el (eww-desktop-remove-duplicates)
305 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
306 (eww-mode): Set up desktop mode (bug#18010).
307 (eww-desktop-data-save, eww-desktop-data-1)
308 (eww-desktop-history-duplicate, eww-desktop-misc-data)
309 (eww-restore-desktop): New functions.
310
311 2014-11-19 Eli Zaretskii <eliz@gnu.org>
312
313 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
314 correct buffer. (Bug#19101)
315
316 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
317
318 Fix bug#19099.
319 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
320 `diff-switches' if `vc-git-diff-switches' is nil.
321
322 2014-11-18 Juri Linkov <juri@linkov.net>
323
324 * simple.el (next-line-or-history-element): Wrap next-line
325 in with-no-warnings.
326 (previous-line-or-history-element): Wrap previous-line
327 in with-no-warnings.
328
329 2014-11-18 Juri Linkov <juri@linkov.net>
330
331 * progmodes/grep.el (grep-compute-defaults):
332 Compute grep-highlight-matches before its use.
333
334 2014-11-18 Juri Linkov <juri@linkov.net>
335
336 * replace.el (query-replace-from-to-separator): Turn defvar into
337 defcustom. Wrap char-displayable-p in ignore-errors because an
338 attempt to autoload char-displayable-p fails during pre-loading.
339 Move (propertize "\0" ... 'separator t) out of customizable part
340 to query-replace-read-from.
341 (query-replace-read-from): Call custom-reevaluate-setting on
342 query-replace-from-to-separator to reevaluate the separator
343 depending on the return value of char-displayable-p.
344 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
345
346 2014-11-18 Juri Linkov <juri@linkov.net>
347
348 * bindings.el (minibuffer-local-map): Rebind [down] from
349 next-history-element to next-line-or-history-element, and [up]
350 from previous-history-element to previous-line-or-history-element.
351
352 * simple.el (next-line-or-history-element)
353 (previous-line-or-history-element): New commands.
354 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
355
356 2014-11-18 Leo Liu <sdl.web@gmail.com>
357
358 * emacs-lisp/nadvice.el (define-advice): New macro.
359 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
360 Add define-advice.
361 (lisp-font-lock-keywords-1): Add define-advice.
362
363 2014-11-18 Daiki Ueno <ueno@gnu.org>
364
365 * epg.el (epg-context): New slot EDIT-CALLBACK.
366 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
367 (epg-reset): Reset EDIT-CALLBACK of the context.
368 (epg-start-edit-key): New function.
369 (epg-edit-key): New function.
370
371 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
372
373 Port new time stamp handling to Emacs 23.2.
374 This fix is for Gnus. Problem reported by Katsumi Yamaoka.
375 * calendar/time-date.el (time-add, time-subtract, time-less-p):
376 Use eval-and-compile, not eval-when-compile.
377
378 2014-11-18 Daiki Ueno <ueno@gnu.org>
379
380 * epg.el (epg-context-set-passphrase-callback)
381 (epg-context-set-progress-callback): Check if the CALLBACK
382 argument is a function, instead of a cons.
383
384 2014-11-18 Daiki Ueno <ueno@gnu.org>
385
386 * epa-file.el (epa-file-insert-file-contents)
387 (epa-file-write-region): Remove redundant check of
388 epa-pinentry-mode.
389 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
390 (epa-sign-region, epa-encrypt-region): Remove redundant check of
391 epa-pinentry-mode.
392
393 2014-11-18 Daiki Ueno <ueno@gnu.org>
394
395 * epa-file.el (epa-file-insert-file-contents): Don't show
396 "*Error*" buffer if input file does not exist.
397 Reported by Herbert J. Skuhra.
398
399 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
400 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
401
402 Fix bug#13871 (an alternative version of the patch).
403 * progmodes/cc-langs.el: Support some of the new keywords in
404 C++11.
405 (c-operators): Add "alignof".
406 (c-primitive-type-kwds): Add "char16_t", "char32_t".
407 (c-type-modifier-kwds): Add "constexpr", "noexcept".
408 (c-modifier-kwds): Add "thread_local".
409 (c-constant-kwds): Add "nullptr".
410
411 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
412
413 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
414 New variables for specifying tildify pattern and representation of
415 a hard space -- a no-break space by default -- respectively.
416 Being buffer-local they are much easier to handle than
417 `tildify-string-alist' and `tildify-pattern-alist' respectively
418 that have been used so far. They also works better with derived
419 modes.
420 (tildify-foreach-region-function): New variable specifying
421 a function determining portions of buffer that should be
422 tildified. It allows major modes to create a filtering function
423 more elaborate than a set of regular expressions. Initialised to
424 `tildify--deprecated-ignore-evironments' by default to handle now
425 deprecated `tildify-ignored-environments-alist' variable.
426 (tildify--foreach-region): A new function that takes
427 `tildify-foreach-region-function' into account and calls callback
428 for regions of the buffer that should be tildified.
429 (tildify-foreach-ignore-environments): A new function which can be
430 partially applied and used as `tildify-foreach-region-function'.
431 (tildify-ignored-environments-alist, tildify-pattern)
432 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
433 (tildify--find-env): Rename from `tildify-find-env' and mark as
434 obsolete.
435 (tildify--deprecated-ignore-evironments): New function,
436 immediately marked as obsolete, used to handle deprecated
437 `tildify-ignored-environments-alist'.
438
439 * textmodes/tex-mode.el (tex-common-initialization):
440 Set `tildify-space-string' and `tildify-foreach-region-function'
441 variables in all variants of TeX mode since `tildify-string-alist'
442 and `tildify-ignored-environments-alist' are now empty by default.
443
444 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
445 If encoding supports it use no-break space instead of character
446 entity; this changes previous default which used a numeric
447 reference.
448
449 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
450 If encoding does not support no-break space, use numeric reference;
451 this changes previous default which used named entity (“&nbsp;”)
452 in HTML mode.
453
454 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
455
456 Fix bug#5433.
457 * calendar/icalendar.el (icalendar-export-alarms):
458 New customizable variable.
459 (icalendar-export-region): Export alarms as specified in
460 `icalendar-export-alarms'.
461 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
462 New functions for exporting alarms.
463
464 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
465
466 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
467
468 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
469
470 Port new time stamp handling to old Emacs and to XEmacs.
471 This is needed for Gnus, which copies time-date.el and which
472 runs on older Emacs implementations.
473 * calendar/time-date.el (with-decoded-time-value):
474 Handle 'nil' and floating-point arg more compatibly with new Emacs.
475 (encode-time-value, with-decoded-time-value):
476 Obsolete only if new Emacs.
477 (time-add, time-subtract, time-less-p): Define if not new Emacs.
478
479 Improve time stamp handling, and be more consistent about it.
480 This implements a suggestion made in:
481 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
482 Among other things, this means timer.el no longer needs to
483 autoload the time-date module.
484 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
485 * arc-mode.el (archive-ar-summarize):
486 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
487 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
488 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
489 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
490 * proced.el (proced-time-lessp):
491 * timezone.el (timezone-time-from-absolute):
492 * type-break.el (type-break-schedule, type-break-time-sum):
493 Simplify by using new functionality.
494 * calendar/cal-dst.el (calendar-next-time-zone-transition):
495 Do not return time values in obsolete and undocumented (HI . LO)
496 format; use (HI LO) instead.
497 * calendar/time-date.el (with-decoded-time-value):
498 Treat 'nil' as current time. This is mostly for XEmacs.
499 (encode-time-value, with-decoded-time-value): Obsolete.
500 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
501 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
502 * ldefs-boot.el: Update to match new time-date.el
503 * proced.el: Do not require time-date.
504
505 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
506
507 * net/eww.el (eww-mode): Make the buffer read-only.
508 (eww-form-text): Inhibit read-only-ness in text input fields
509 (bug#16476).
510
511 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * simple.el (execute-extended-command--shorter): Cut search here.
514 (execute-extended-command): Instead of here.
515
516 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
517
518 * progmodes/python.el (python-mode): Avoid use of set-local to
519 keep Emacs 24.x compatibility.
520
521 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
522
523 * net/shr.el (shr): Move to the new defgroup `web'.
524
525 * net/eww.el (eww): Ditto.
526
527 * simple.el (execute-extended-command): Don't show the help
528 message if the binding isn't significantly shorter than the
529 M-x command the user typed (bug#19013).
530
531 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
532
533 * calendar/icalendar.el (icalendar--convert-tz-offset):
534 Return complete cons when offsets of standard time and daylight saving
535 time are equal.
536 (icalendar-export-region): Fix unbound variable warning.
537
538 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
539
540 * progmodes/python.el (run-python): Allow CMD to be optional and
541 default it to a safe command, even for Windows. (bug#18596)
542
543 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
544
545 * progmodes/python.el (python-shell-calculate-command):
546 Rename from python-shell-parse-command. Cleanup.
547 (run-python, run-python-internal): Use it.
548 (python-shell-calculate-pythonpath): Rename from
549 python-new-pythonpath.
550 (python-shell-calculate-process-environment): Use it.
551 (python-shell-calculate-exec-path): Add comment.
552
553 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
554
555 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
556 for date handling.
557
558 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
559
560 * version.el (emacs-repository-get-version): Use git rev-parse
561 instead of git log.
562
563 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
564
565 * progmodes/python.el (python-indent-calculate-levels):
566 Fix indentation behavior multiline dedenter statement. (Bug#18432)
567
568 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
569
570 * progmodes/python.el (python-indent-region):
571 Use python-indent-line and skip special cases. (Bug#18843)
572
573 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
574
575 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
576 envelope-from when reporting through sendmail (bug#19054).
577
578 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
579
580 Add faces for the VC modeline state indicator.
581 * lisp/vc/vc-hooks.el:
582 (vc-state-faces, vc-state-base-face)
583 (vc-up-to-date-state, vc-needs-update-state)
584 (vc-locked-state, vc-locally-added-state)
585 (vc-conflict-state, vc-removed-state)
586 (vc-missing-state, vc-edited-state):
587 New faces.
588 (vc-default-mode-line-string): Use them
589
590 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
593
594 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
595
596 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
597
598 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
599
600 * progmodes/python.el (python-eldoc-setup-code): Enhance string
601 type checks, simplify printing. (Bug#18962)
602
603 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
604
605 * progmodes/python.el (python-shell-font-lock-kill-buffer):
606 (python-shell-font-lock-with-font-lock-buffer)
607 (python-shell-get-buffer, python-ffap-module-path):
608 Use `derived-mode-p' instead of equality test on `major-mode'.
609
610 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
611
612 * progmodes/python.el (python-shell-virtualenv-root): Rename from
613 python-shell-virtualenv-path.
614 (python-shell-internal-get-process-name)
615 (python-shell-calculate-process-environment)
616 (python-shell-calculate-exec-path): Use it.
617
618 2014-11-14 Eli Zaretskii <eliz@gnu.org>
619
620 * bindings.el (search-map): Fix last change: don't use 'kbd' in
621 bindings.el, since it is not yet loaded when bindings.el is
622 preloaded.
623
624 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
625
626 * progmodes/python.el (python-shell-completion-get-completions):
627 Fix previous merge.
628
629 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
630
631 * net/eww.el (eww-render): Don't set the title to the URL.
632
633 2014-11-13 Ulrich Müller <ulm@gentoo.org>
634
635 * version.el (emacs-repository-get-version): Call `git log'
636 command with proper format argument (bug#19049).
637
638 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
639
640 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
641
642 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
643
644 * net/eww.el (eww-search-words): New command (bug#16258).
645
646 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
647
648 * net/shr.el (shr-inhibit-images): Add a doc string.
649
650 * net/eww.el (eww-after-render-hook): New variable.
651 (eww-render): Use it.
652
653 * net/shr.el (shr-descend): Don't descend further than
654 `max-specpdl-size' allows (bug#16587).
655 (shr-depth): New variable.
656 (shr-warning): New variable.
657
658 2014-11-13 Ivan Shmakov <ivan@siamics.net>
659
660 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
661 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
662
663 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
664
665 * net/eww.el (eww): Add comment to clarify.
666
667 * net/shr.el (shr-parse-image-data): Remove blocked bits from
668 external SVG images.
669 (shr-tag-object): Display images in <object> forms (bug#16244).
670 (shr-tag-table): Also insert <objects> after the tables.
671
672 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
673
674 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
675
676 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
677
678 * net/eww.el (eww-form-file): Fix version number.
679
680 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
681
682 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
683
684 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
685
686 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
687 (eww-submit-file): New key map of file upload.
688 (eww-form-file): New file upload button and file name context.
689 (eww-select-file): Select file and display selected file name.
690 (eww-tag-input): Handle input tag of file type.
691 (eww-update-field): Add point offset.
692 (eww-submit): Add submit with multipart/form-data.
693
694 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
695
696 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
697 Allow taking a buffer to render data in. This allows using several
698 eww buffers (bug#16211).
699
700 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
701
702 * net/eww.el (eww-download-callback): Save only the file contents,
703 not the headers.
704
705 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
706
707 * net/eww.el (eww-data): New plist to store all the data relevant
708 to a single page, used throughout the file instead of the
709 variables `eww-current-url', `eww-current-dom',
710 `eww-current-source', and `eww-current-title'.
711 (eww-readable): Copy over pertinent data from the parent page.
712 (eww-save-history): Don't let the history grow infinitely.
713
714 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
715 `eww-up-url', `eww-home-url', `eww-start-url' and
716 `eww-contents-url' and put the data into the `eww-data' plist.
717 This allow restoring these values after going back in the history.
718
719 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
720
721 Allow VTIMEZONE where daylight and standard time zones are equal.
722 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
723 * calendar/icalendar.el (icalendar--convert-tz-offset):
724 Support timezone without daylight saving time.
725
726 2014-11-10 Glenn Morris <rgm@gnu.org>
727
728 * startup.el (command-line): Handle nil elements in load-path.
729
730 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
731
732 * help.el (view-lossage): Include the actual commands run.
733
734 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
735
736 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
737 no state is specified. (Bug#18964)
738
739 2014-11-09 Eric Ludlam <zappo@gnu.org>
740
741 * emacs-lisp/eieio-custom.el (eieio-customize-object):
742 Set eieio-cog (current group) to g, which is an improved form of input
743 group.
744
745 2014-11-09 Juri Linkov <juri@jurta.org>
746
747 * isearch.el (isearch-message-prefix): Show "Multi-file" and
748 "Multi-buffer" instead of "Multi". (Bug#13592)
749
750 * misearch.el (multi-isearch-file-list):
751 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
752 (multi-isearch-end): Reset multi-isearch-buffer-list and
753 multi-isearch-file-list to nil.
754
755 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
758 Don't call byte-compile-preprocess since the result will go through
759 cconv.
760 (byte-compile-output-docform): Handle uninterned `name' correctly.
761 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
762 to circumvent byte-compiler bug.
763
764 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
765 (macroexp--compiler-macro): Remove left-over debug code.
766
767 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
768
769 2014-11-08 Juri Linkov <juri@jurta.org>
770
771 * simple.el (shell-command): Use buffer-name when output-buffer is
772 a buffer. (Bug#18096)
773
774 2014-11-08 Juri Linkov <juri@jurta.org>
775
776 * minibuffer.el (minibuffer-completion-help): Compare this-command
777 with completion-at-point. (Bug#17809)
778
779 2014-11-08 Glenn Morris <rgm@gnu.org>
780
781 * emacs-lisp/bytecomp.el (byte-compile-report-error):
782 Allow the argument to be a string. Due to the vague doc,
783 it was already being used this way.
784
785 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
786
787 * net/tramp.el (tramp-check-cached-permissions): Include hop in
788 the constructed Tramp file name. (Bug#18943)
789
790 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
793 (bug#18952).
794 (cua-set-mark, cua--post-command-handler-1):
795 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
796
797 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
798
799 * files.el (file-name-non-special): Wrap the call of
800 `insert-file-contents' by `unwind-protect', in order to set the
801 buffer's file name anyway. (Bug#18891)
802
803 2014-11-08 Alan Mackenzie <acm@muc.de>
804
805 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
806 * progmodes/cc-fonts.el (c-font-lock-declarations):
807 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
808 the buffer is sometimes narrowed to less than "limit" (e.g., in
809 the presence of macros).
810
811 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
812
813 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
814 only when message appeared in minibuffer. (Bug#18891)
815
816 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
817 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
818 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
819 case of errors.
820
821 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
824 Don't compile before eval in `eval-and-compile'.
825 (byte-compile-arglist-warn): Add check for defining macros after their
826 first use. Check call use even if the function is fboundp.
827
828 2014-11-08 Richard Stallman <rms@gnu.org>
829
830 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
831 Check more carefully for mime-part specified character set.
832 Check for mime-part Content Transfer Encoding.
833 Notify if no armor found.
834
835 2014-11-08 Martin Rudalics <rudalics@gmx.at>
836
837 * faces.el (face-set-after-frame-default): Enable running
838 `window-configuration-change-hook'.
839
840 2014-11-07 Juri Linkov <juri@jurta.org>
841
842 * replace.el: History for query replace pairs.
843 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
844 (query-replace-from-to-separator): New variable.
845 (query-replace-read-from): Let-bind query-replace-from-to-history
846 to a list of FROM-TO strings created from query-replace-defaults
847 and separated by query-replace-from-to-separator. Use it as
848 the history while reading from the minibuffer. Split the returned
849 string by the separator to get FROM and TO parts, and add them
850 to the history variables.
851 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
852 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
853 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
854
855 * isearch.el (isearch-text-char-description): Keep characters
856 intact and put formatted strings with the `display' property.
857
858 2014-11-07 Martin Rudalics <rudalics@gmx.at>
859
860 * cus-start.el (frame-resize-pixelwise): Fix group.
861 (frame-inhibit-implied-resize): Add entry.
862
863 2014-11-07 Daiki Ueno <ueno@gnu.org>
864
865 * epa.el (epa-pinentry-mode): New user option.
866 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
867 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
868 * epa-file.el (epa-file-insert-file-contents)
869 (epa-file-write-region): Respect epa-pinentry-mode.
870
871 2014-11-07 Daiki Ueno <ueno@gnu.org>
872
873 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
874 (bug#18979). Reported by Hideki Saito.
875
876 2014-11-06 Daiki Ueno <ueno@gnu.org>
877
878 * emacs-lisp/package.el (package--display-verify-error): New function.
879 (package--check-signature): Use it to display output sent to stderr.
880
881 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
882
883 * subr.el (pop): Don't call the getter twice (bug#18968).
884
885 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
886 uses of `funcall'.
887
888 2014-11-06 Daiki Ueno <ueno@gnu.org>
889
890 * epa.el (epa-error-buffer): New variable.
891 (epa-display-error): New function.
892 (epa-decrypt-file, epa-verify-file, epa-verify-region)
893 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
894 (epa-sign-file, epa-sign-region, epa-encrypt-region)
895 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
896 Use setf instead of epg-context-set-*.
897 * epa-file.el (epa-file-insert-file-contents):
898 Use epa-display-error instead of epa-display-info. Mimic the behavior
899 of jka-compr when decryption program is not found.
900 (epa-file-write-region): Use epa-display-error instead of
901 epa-display-info.
902
903 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * vc/vc.el (vc-region-history): New command.
906 (vc-print-log-internal): Use cl-some.
907
908 * vc/vc-git.el (vc-git-region-history): New function.
909 (vc-git-region-history-mode-map)
910 (vc-git--log-view-long-font-lock-keywords)
911 (vc-git-region-history-font-lock-keywords): New vars.
912 (vc-git-region-history-font-lock): New function.
913 (vc-git-region-history-mode): New major mode.
914
915 2014-11-05 Tassilo Horn <tsdh@gnu.org>
916
917 * net/eww.el (subr-x): Require subr-x at compile-time because eww
918 uses string-trim.
919
920 2014-11-05 Daiki Ueno <ueno@gnu.org>
921
922 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
923 (epg-error-output): New buffer-local variable.
924 (epg--start): Initialize epg-error-output.
925 (epg--process-filter): Record output lines sent to stderr, in
926 epg-error-output.
927 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
928 slot of context.
929 * epa-file.el (epa-file-insert-file-contents): On error, display
930 output sent to stderr.
931 (epa-file-write-region): Likewise.
932
933 2014-11-05 Eli Zaretskii <eliz@gnu.org>
934
935 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
936 returned by load-average.
937
938 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
939
940 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
941 a local copy; setting `inhibit-file-name-handlers' proper might be
942 more performant. (Bug#18751)
943
944 2014-11-05 Glenn Morris <rgm@gnu.org>
945
946 * mail/emacsbug.el (report-emacs-bug): No longer include
947 recent-keys in the report. (Bug#18900)
948
949 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
950
951 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
952
953 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
954
955 * net/eww.el (eww): Trim URL with `string-trim'.
956 Suggested by Vibhav Pant <vibhavp@gmail.com>.
957
958 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
959
960 * net/eww.el (eww-score-readability): Don't count comments positively.
961
962 * net/shr.el (shr-retransform-dom): Typo fix.
963
964 * net/eww.el (eww-score-readability): Parse SVC images correctly.
965 (eww-display-html): Don't leave point inside forms.
966
967 * net/shr.el: Ditto.
968
969 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
970
971 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
972 edebug-prin1-to-string already handles circularity.
973
974 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
975 autoloading when specified as a lambda.
976
977 * simple.el (execute-extended-command--last-typed): New var.
978 (read-extended-command): Set it.
979 Don't complete obsolete commands.
980 (execute-extended-command--shorter-1)
981 (execute-extended-command--shorter): New functions.
982 (execute-extended-command): Use them to suggest shorter names.
983 (indicate-copied-region, deactivate-mark): Use region-active-p.
984
985 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
986
987 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
988 local copy of FILENAME, when it is remote. (Bug#18751)
989
990 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
991 an error when the command fails; the return code must indicate.
992 (tramp-adb-send-command-and-check): Fix docstring.
993
994 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
995
996 * net/shr.el (shr-retransform-dom): Don't ignore elements that
997 have no children like <br />.
998
999 * net/eww.el (eww-display-html): Clear `url-queue'.
1000 (eww-display-pdf): New function.
1001 (eww-render): Display PDFs with `doc-view'.
1002 (url-queue): Require `url-queue' to avoid compilation warning.
1003 (eww-colorize-region): Remove duplicate function.
1004 (eww-tag-body): Use `shr-colorize-region'.
1005
1006 2014-11-03 Yoni Rabkin <yrk@gnu.org>
1007
1008 * net/eww.el (eww-list-bookmarks): Autoload.
1009
1010 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1011
1012 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
1013
1014 * net/eww.el (eww-display-html): The charset is called `utf-8',
1015 not `utf8'.
1016 (eww-readable): Decode the saved text correctly.
1017 (eww-readable): Save the history before displaying so that we can
1018 go back to the non-readable version.
1019 (eww-display-html): Don't try to decode the text if we've been
1020 passed in a pre-parsed DOM.
1021 (eww-tag-title): Remove newlines and extra whitespace from the
1022 displayed title.
1023
1024 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1025
1026 * net/eww.el (eww-readable): New command and keystroke.
1027
1028 * net/shr.el (shr-retransform-dom): New function.
1029
1030 * net/eww.el (eww-display-html): Set `eww-current-source' in the
1031 correct buffer.
1032 (eww-view-source): Use it.
1033
1034 2014-11-02 Ivan Shmakov <ivan@siamics.net>
1035
1036 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
1037 (Bug#18603).
1038
1039 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
1040
1041 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
1042
1043 2014-11-02 Ivan Shmakov <ivan@siamics.net>
1044
1045 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
1046
1047 2014-11-02 Ivan Shmakov <ivan@siamics.net>
1048
1049 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
1050 (Bug#18834).
1051
1052 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
1053
1054 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
1055 use as advice.
1056 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
1057
1058 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
1061 (bug#18821).
1062 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
1063
1064 2014-11-01 Michael R. Mauger <michael@mauger.com>
1065
1066 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
1067 syntax, add new keywords, and parse longer keywords first.
1068 (sql-redirect-one): Protect against empty command.
1069 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
1070 to SQL. (Bug#14759)
1071
1072 2014-11-01 Michael R. Mauger <michael@mauger.com>
1073
1074 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
1075 Bug#16814 with let-bind of comint-input-ring variables around read
1076 and save functions.
1077
1078 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * net/tramp-cache.el (tramp-get-file-property)
1081 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
1082 and `tramp-cache-set-count-*' are bound. Otherwise, there might
1083 be compiler warnings.
1084
1085 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
1086 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
1087
1088 2014-11-01 Eli Zaretskii <eliz@gnu.org>
1089
1090 * progmodes/compile.el (compilation-mode): Turn off deferred
1091 fontifications locally. (Bug#18856)
1092
1093 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
1094
1095 * net/tramp-sh.el (tramp-send-command): Fix the case where the
1096 remote-echo connection property is non-nil (bug#18858).
1097
1098 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * simple.el (newline): Add assertions to try and help catch bug#18913.
1101
1102 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
1103 (bug#18886).
1104 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
1105
1106 2014-11-01 Kim F. Storm <storm@cua.dk>
1107
1108 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
1109 * delsel.el (delete-selection-save-to-register)
1110 (delsel--replace-text-or-position): New vars.
1111 (delete-active-region): Use them.
1112 (delete-selection-repeat-replace-region): New command, moved from
1113 cua-base.el.
1114 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
1115 (cua-repeat-replace-region): Move command to delsel.el.
1116 (cua--init-keymaps): Update binding accordingly.
1117 (cua-mode): Set delete-selection-save-to-register.
1118
1119 2014-11-01 Alan Mackenzie <acm@muc.de>
1120
1121 Make blink-parens work with a closing template delimiter.
1122 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
1123 before calling blink-paren-function, so as to apply syntax-table
1124 properties to the ">".
1125
1126 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
1127
1128 * select.el (gui-get-selection): Comment: data-type ignored on NS.
1129
1130 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1131
1132 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
1133 (macroexp--expand-all): Unrelated tweaks.
1134
1135 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
1136
1137 2014-10-30 Glenn Morris <rgm@gnu.org>
1138
1139 * startup.el (command-line): Remove pointless attempt to avoid
1140 statting the file-system (which expand-file-name doesn't do).
1141
1142 2014-10-30 Daniel Colascione <dancol@dancol.org>
1143
1144 Add "enum class" support to C++ mode.
1145 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
1146 (c-after-brace-list-key): New language consts/variables.
1147 * progmodes/cc-engine.el (c-looking-at-decl-block):
1148 Exclude spurious match of "enum struct" from decl-block recognition.
1149 (c-backward-colon-prefixed-type): New function.
1150 (c-backward-over-enum-header): Call above function to extend
1151 recognition of enum structure.
1152
1153 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
1156 (c-lang-defconst):
1157 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
1158
1159 2014-10-30 Eli Zaretskii <eliz@gnu.org>
1160
1161 * progmodes/compile.el (compilation-start):
1162 If compilation-scroll-output is non-nil, don't force window-start of
1163 the compilation buffer to be at beginning of buffer. (Bug#18874)
1164
1165 * startup.el (fancy-about-text): Read the entire tutorial, not
1166 just its first 256 bytes. (Bug#18760)
1167
1168 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
1171 * emacs-lisp/cl-extra.el: Add missing provide.
1172
1173 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
1174 all args are copyable (bug#18767).
1175 (=, <, >, <=, >=): Re-enable the optimization.
1176
1177 2014-10-29 Glenn Morris <rgm@gnu.org>
1178
1179 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
1180
1181 * version.el (emacs-bzr-version, emacs-bzr-get-version):
1182 Revert 2014-10-26 change.
1183
1184 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
1185
1186 Simplify use of current-time and friends.
1187 * allout-widgets.el (allout-widgets-hook-error-handler):
1188 * calendar/appt.el (appt-display-message):
1189 * calendar/icalendar.el (icalendar--convert-float-to-ical):
1190 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
1191 (timeclock-last-period, timeclock-day-base):
1192 * eshell/em-ls.el (eshell-ls-file):
1193 * eshell/esh-util.el (eshell-parse-ange-ls):
1194 * generic-x.el (named-database-print-serial):
1195 * net/newst-backend.el (newsticker--get-news-by-url-callback)
1196 (newsticker-get-news, newsticker--sentinel-work)
1197 (newsticker--image-get, newsticker--image-sentinel):
1198 * net/tramp-sh.el (tramp-get-remote-touch):
1199 * progmodes/opascal.el (opascal-debug-log):
1200 * textmodes/remember.el (remember-mail-date)
1201 (remember-store-in-files):
1202 * vc/vc-annotate.el (vc-annotate-display-autoscale)
1203 (vc-default-annotate-current-time):
1204 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
1205 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
1206 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
1207 Omit unnecessary call to current-time.
1208 * calendar/time-date.el (time-to-seconds) [!float-time]:
1209 * vc/vc-annotate.el (vc-annotate-convert-time):
1210 Use current time if arg is nil, to be compatible with float-time.
1211 (time-date--day-in-year): New function, with most of the guts of
1212 the old time-to-day-in-year.
1213 (time-to-day-in-year): Use it.
1214 (time-to-days): Use it, to avoid decoding the same time stamp twice.
1215 * calendar/timeclock.el (timeclock-time-to-date):
1216 Arg is now optional, like current-time-string.
1217 (timeclock-update-mode-line):
1218 Don't call current-time twice to get the current time stamp,
1219 as this can lead to inconsistent results.
1220 * completion.el (cmpl-hours-since-origin):
1221 * ido.el (ido-time-stamp):
1222 * vc/vc-annotate.el (vc-annotate-convert-time):
1223 Simplify by using float-time.
1224 * completion.el (save-completions-to-file):
1225 Rename local var to avoid confusion.
1226 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
1227 time-to-seconds now behaves like float-time with respect to nil arg.
1228 * subr.el (progress-reporter-do-update):
1229 Don't call float-time unless needed.
1230
1231 2014-10-29 Leo Liu <sdl.web@gmail.com>
1232
1233 * net/rcirc.el (rcirc-fill-column): Use function.
1234 (rcirc-markup-fill): Remove adjustment.
1235
1236 2014-10-28 Christopher Schmidt <ch@ristopher.com>
1237
1238 * calc/calc.el (quick-calc):
1239 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
1240
1241 2014-10-28 Sam Steingold <sds@gnu.org>
1242
1243 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
1244 the sake of `window-body-width' (in addition to `frame-width').
1245
1246 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
1247
1248 * version.el: Fix some fallback values to conform to the actual
1249 release number.
1250
1251 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
1252
1253 * Makefile.in: Change some production names so they're neutral
1254 about the repository type.
1255
1256 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
1257
1258 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
1259 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
1260 during initialization. (Bug#18774)
1261
1262 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
1263
1264 * ses.el (macroexp): Add require for this package, so that
1265 function `ses--cell' gets macroexp-quote --- this change was
1266 supposed to be in my previous commit, but left out by mistake.
1267 (ses--cell): Do not make formula a macroexp-quote of value when
1268 value, not formula, is *skip*.
1269
1270 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1271
1272 * ses.el (macroexp): Add require for this package, so that function
1273 `ses--cell gets macroexp-quote.
1274 (ses--cell): Makes formula a macroexp-quote of value when formula
1275 is nil. The rationale of this changr is to allow in the future
1276 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
1277 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
1278 reference list REFLIST would be re-computed after load --- thus
1279 trading off load time against file size.
1280
1281 * emacs-lisp/package.el (package--alist-to-plist-args):
1282 Use macroexp-quote instead of a lambda expression which has the same
1283 content as macroexp-quote.
1284 (macroexp): Add require for this package, so that function
1285 `package--alist-to-plist-args' gets macroexp-quote.
1286
1287 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
1288
1289 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * term/ns-win.el (ns-store-cut-buffer-internal)
1292 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
1293
1294 2014-10-24 Martin Rudalics <rudalics@gmx.at>
1295
1296 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
1297 Calculate increment from last position instead of window edge.
1298 Add right- and bottom-divider bindings to transient map.
1299
1300 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
1303 even if :predicate was nil, for the benefit of typep.
1304 Record the name of the predicate for typep's use.
1305 (cl--make-type-test): Use pcase. Obey new
1306 cl-deftype-satisfies property.
1307
1308 * epg.el: Use cl-defstruct.
1309 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
1310 (epg-data-string): Define via cl-defstruct.
1311 (epg--gv-nreverse): New macro.
1312 (epg-context--make): New constructor (provided vi cl-defstruct).
1313 (epg-make-context): Rewrite using it.
1314 (epg-context-protocol, epg-context-program)
1315 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
1316 (epg-context-include-certs, epg-context-cipher-algorithm)
1317 (epg-context-digest-algorithm, epg-context-compress-algorithm)
1318 (epg-context-passphrase-callback, epg-context-progress-callback)
1319 (epg-context-signers, epg-context-sig-notations, epg-context-process)
1320 (epg-context-output-file, epg-context-result, epg-context-operation)
1321 (epg-context-pinentry-mode): Define using cl-defstruct.
1322 (epg-context-set-protocol, epg-context-set-program)
1323 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
1324 (epg-context-set-digest-algorithm)
1325 (epg-context-set-sig-notations, epg-context-set-process)
1326 (epg-context-set-output-file, epg-context-set-result)
1327 (epg-context-set-operation, epg-context-set-pinentry-mode)
1328 (epg-context-set-compress-algorithm): Remove. Use setf instead.
1329 (epg-context-set-armor, epg-context-set-textmode)
1330 (epg-context-set-signers): Redefine using setf
1331 and declare as obsolete.
1332 (epg-context-set-passphrase-callback)
1333 (epg-context-set-progress-callback): Use setf.
1334 (epg-signature-notations): Rename from epg-sig-notations.
1335 (epg-make-signature, epg-signature-status, epg-signature-key-id)
1336 (epg-signature-validity, epg-signature-fingerprint)
1337 (epg-signature-creation-time, epg-signature-expiration-time)
1338 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
1339 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
1340 (epg-signature-set-status, epg-signature-set-key-id)
1341 (epg-signature-set-validity, epg-signature-set-fingerprint)
1342 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
1343 (epg-signature-set-pubkey-algorithm)
1344 (epg-signature-set-digest-algorithm, epg-signature-set-class)
1345 (epg-signature-set-version, epg-signature-set-notations): Remove.
1346 Use setf instead.
1347 (epg-make-new-signature, epg-new-signature-type)
1348 (epg-new-signature-pubkey-algorithm)
1349 (epg-new-signature-digest-algorithm, epg-new-signature-class)
1350 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
1351 Define using cl-defstruct.
1352 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
1353 (epg-key-user-id-list): Define using cl-defstruct.
1354 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
1355 Use setf instead.
1356 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
1357 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
1358 (epg-sub-key-id, epg-sub-key-creation-time)
1359 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
1360 cl-defstruct.
1361 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
1362 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
1363 (epg-user-id-signature-list): Define using cl-defstruct.
1364 (epg-user-id-set-signature-list): Remove. Use setf instead.
1365 (epg-make-key-signature, epg-key-signature-validity)
1366 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
1367 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
1368 (epg-key-signature-user-id, epg-key-signature-class)
1369 (epg-key-signature-exportable-p): Define using cl-defstruct.
1370 (epg-make-sig-notation, epg-sig-notation-name)
1371 (epg-sig-notation-value, epg-sig-notation-human-readable)
1372 (epg-sig-notation-critical): Define using cl-defstruct.
1373 (epg-sig-notation-set-value): Remove. Use setf instead.
1374 (epg-make-import-status, epg-import-status-fingerprint)
1375 (epg-import-status-reason, epg-import-status-new)
1376 (epg-import-status-user-id, epg-import-status-signature)
1377 (epg-import-status-sub-key, epg-import-status-secret): Define using
1378 cl-defstruct.
1379 (epg-make-import-result, epg-import-result-considered)
1380 (epg-import-result-no-user-id, epg-import-result-imported)
1381 (epg-import-result-imported-rsa, epg-import-result-unchanged)
1382 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
1383 (epg-import-result-new-signatures, epg-import-result-new-revocations)
1384 (epg-import-result-secret-read, epg-import-result-secret-imported)
1385 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
1386 (epg-import-result-imports): Define using cl-defstruct.
1387
1388 * emacs-lisp/package.el: Require EPG during macroexpansion.
1389 (package--check-signature, package-import-keyring): Use setf instead of
1390 epg-context-set-home-directory.
1391
1392 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
1395
1396 2014-10-23 Leo Liu <sdl.web@gmail.com>
1397
1398 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
1399 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
1400 (cfengine3-current-defun): New function.
1401 (cfengine3-mode): Set add-log-current-defun-function.
1402
1403 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * select.el: Use lexical-binding.
1406 (gui-set-selection): Provide an implementation for non-GUI frames
1407 (bug#18791).
1408 * term/x-win.el: Use lexical-binding.
1409 (x-clipboard-yank): Fix up missed renamings.
1410 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
1411 (w32--set-selection): Fix up var names.
1412 * term/pc-win.el: Use lexical-binding.
1413 (w16-selection-exists-p): Silence compiler warning.
1414 (w16-selection-owner-p): Fix up missed renamings.
1415
1416 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
1417
1418 * frame.el (frame-notice-user-settings): Fix excessive quoting.
1419
1420 2014-10-22 Tassilo Horn <tsdh@gnu.org>
1421
1422 * doc-view.el (doc-view-open-text): View the document's plain text
1423 in the current buffer instead of a new one.
1424 (doc-view-toggle-display): Handle the case where the current
1425 buffer contains the plain text contents of the document.
1426 (doc-view-initiate-display): Don't switch to fallback mode if the
1427 user wants to view the doc's plain text.
1428 (doc-view-set-doc-type): Use assoc-string instead of
1429 assoc-ignore-case.
1430
1431 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1432
1433 * subr.el (read-key): Fix clicks on the mode-line.
1434 (set-transient-map): Return exit function.
1435
1436 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
1437 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
1438 (mouse-yank-secondary): Use gui-get-selection.
1439 (mouse--down-1-maybe-follows-link): Use read-key.
1440
1441 * xt-mouse.el: Add `event-kind' property on the fly from
1442 xterm-mouse-translate-1 rather than statically at the outset.
1443
1444 2014-10-21 Daniel Colascione <dancol@dancol.org>
1445
1446 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
1447 change window configuration when we turn it off.
1448
1449 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1450
1451 Get rid of backend-dependent selection-handling functions for kill/yank
1452 and make it generic instead by relying on the lower-level selection
1453 management functions.
1454
1455 * select.el (select-enable-clipboard): Rename from
1456 gui-select-enable-clipboard.
1457 (select-enable-primary): Move from x-win.el and rename from
1458 x-select-enable-primary.
1459 (gui-last-selected-text): Remove.
1460 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
1461 New vars.
1462 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
1463 (gui-select-text-alist, gui-selection-value-alist): Remove.
1464 (x-select-request-type): Move from x-win.el.
1465 (gui--selection-value-internal): New function, taken from x-win's
1466 x-selection-value-internal.
1467 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
1468 (gui-set-selection-alist): Rename from gui-own-selection-alist and
1469 extend it to handle a nil value as a "disown" request.
1470 (gui-disown-selection-alist): Remove.
1471 (xselect-convert-to-delete): Adjust accordingly.
1472 (gui-set-selection): Simplify accordingly as well. Use dotimes.
1473
1474 * term/x-win.el (x-last-selected-text-primary)
1475 (x-select-enable-primary): Remove (moved to select.el).
1476 (x-select-request-type): Move to select.el.
1477 (x-selection-value-internal, x--selection-value): Remove functions.
1478 (gui-selection-value, gui-select-text): Remove moethods.
1479 (gui-set-selection): Merge own and disown methods.
1480
1481 * term/w32-win.el (w32--select-text, w32--get-selection-value):
1482 Delete function (move functionality into w32--set-selection and
1483 w32--get-selection).
1484 (gui-select-text, gui-selection-value): Don't define methods.
1485 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
1486 New functions.
1487 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
1488 Use them.
1489 (gui-selection-exists-p): Adjust to new name of C primitive.
1490
1491 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
1492 test of gui-select-enable-clipboard, to make it usable as
1493 a gui-get-selection method.
1494 (gui-selection-exists-p): Adjust to new name of C primitive.
1495 (gui-set-selection): Merge own and disown methods.
1496 (gui-select-text, gui-selection-value): Delete methods.
1497 (w16--select-text): Delete function.
1498
1499 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
1500 (ns-selection-value): Remove functions.
1501 (gui-select-text, gui-selection-value): Don't define method any more.
1502 (gui-set-selection): Merge the old own and disown methods.
1503 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
1504 underlying C primitive.
1505
1506 * startup.el (command-line): Adjust now that `gui-method' expects nil
1507 for ttys.
1508
1509 * frame.el (gui-method): Use window-system rather than framep.
1510 (gui-method-declare): The tty case is now nil rather than t.
1511 (make-frame): Adjust accordingly.
1512
1513 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * net/newst-reader.el (newsticker--image-read): Simplify.
1516 (newsticker--icon-read): Use dolist and fix free var error.
1517
1518 * imenu.el (imenu--menubar-keymap): New var.
1519 (imenu-add-to-menubar): Set it to remember the keymap we used.
1520 (imenu-update-menubar): Use it instead of asking lookup-key.
1521
1522 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1523
1524 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1525
1526 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1527 case (bug#18767).
1528
1529 2014-10-21 Glenn Morris <rgm@gnu.org>
1530
1531 * Merge in all changes up to version 24.4 release.
1532
1533 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1536 case (bug#18767).
1537
1538 2014-10-20 Glenn Morris <rgm@gnu.org>
1539
1540 * Merge in all changes up to 24.4 release.
1541
1542 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
1543
1544 * net/newst-backend.el
1545 (newsticker--image-download-by-url-callback): Make this function
1546 actually work: Check status properly, then save image.
1547
1548 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
1551 `this-event'.
1552 (mouse-drag-line): Unless there's no actual mouse, use the event's
1553 position info.
1554
1555 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * textmodes/css-mode.el (scss-mode): New major-mode.
1558 (css-mode-syntax-table): Use d style comment, to ease the scss case.
1559 (css-ident-re): Allow things like @-moz-keyframes.
1560 (scss--hash-re): New const.
1561 (css--font-lock-keywords): New function, extracted from
1562 css-font-lock-keywords.
1563
1564 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
1565
1566 * net/newst-backend.el: Require url-parse.
1567 (newsticker--get-news-by-wget): Store feed name as process property.
1568 (newsticker--sentinel): Read feed name from process property.
1569 (newsticker--sentinel-work): Rename argument name to feed-name.
1570 Rename variable imageurl to image-url. Pick icon url from Atom
1571 1.0 data. Launch download of feed icon.
1572 (newsticker--get-icon-url-atom-1.0): New.
1573 (newsticker--unxml)
1574 (newsticker--unxml-node)
1575 (newsticker--unxml-attribute): Documentation.
1576 (newsticker--icons-dir): New.
1577 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
1578 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
1579 (newsticker--image-download-by-wget): New. Use process properties
1580 for storing informations.
1581 (newsticker--image-sentinel): Read informations from process properties.
1582 (newsticker--image-save)
1583 (newsticker--image-remove)
1584 (newsticker--image-download-by-url)
1585 (newsticker--image-download-by-url-callback): New.
1586 (newsticker-opml-export): Handle url list entries containing a
1587 function instead of an url string.
1588
1589 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
1590 (newsticker--print-extra-elements)
1591 (newsticker--do-print-extra-element):
1592 Documentation (newsticker--image-read): Optionally limit image height.
1593 Use imagemagick if possible.
1594 (newsticker--icon-read): New.
1595
1596 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
1597 (newsticker--treeview-tree-expand): Use feed icons in treeview.
1598 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
1599 (newsticker--tree-widget-leaf-icon): Use feed icon.
1600
1601 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
1604 Use help-function-arglist instead.
1605
1606 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
1607 (eieio--with-scoped-class): Use `declare'.
1608 (eieio-defclass): Remove compatibility code.
1609 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
1610 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
1611
1612 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
1613
1614 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
1615
1616 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
1617 replacements to stock names before stock names in a list.
1618 Cdr may be a list, each name is tried in turn until one is found.
1619
1620 2014-10-18 Alan Mackenzie <acm@muc.de>
1621
1622 Check that a "macro" found near point-min isn't a ## operator.
1623 Fixes bug #18749.
1624 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
1625 (c-beginning-of-macro): Use the above new function.
1626
1627 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
1628
1629 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
1630 correct data to `gnutls-boot' (Bug#18664).
1631 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
1632
1633 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
1634
1635 * whitespace.el (whitespace-style, whitespace-big-indent)
1636 (whitespace-big-indent-regexp, whitespace-style-value-list)
1637 (whitespace-toggle-option-alist, whitespace-interactive-char)
1638 (whitespace-toggle-options)
1639 (global-whitespace-toggle-options, whitespace-help-text)
1640 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
1641 style to `whitespace-mode' to indicate that the line indentation
1642 is too deep. By default, 32 SPACEs or four TABs are considered
1643 too many but `whitespace-big-indent-regexp' can be configured.
1644
1645 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
1646
1647 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
1648 tildify-mode-alist.
1649
1650 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1651
1652 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
1653 (defclass, defgeneric, defmethod): Add doc-string position.
1654 (with-slots): Require cl-lib.
1655
1656 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
1657 (list-of): New type.
1658 (eieio--typep): Remove.
1659 (eieio-perform-slot-validation): Use cl-typep instead.
1660
1661 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
1662
1663 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
1664
1665 2014-10-16 Alan Mackenzie <acm@muc.de>
1666
1667 Trigger showing when point is in the "periphery" of a line or just
1668 inside a paren.
1669 * paren.el (show-paren-style, show-paren-delay)
1670 (show-paren-priority, show-paren-ring-bell-on-mismatch):
1671 Remove superfluous :group specifications.
1672 (show-paren-when-point-inside-paren)
1673 (show-paren-when-point-in-periphery): New customizable variables.
1674 (show-paren-highlight-openparen): Make into a defcustom.
1675 (show-paren--unescaped-p, show-paren--categorize-paren)
1676 (show-paren--locate-near-paren): New defuns.
1677 (show-paren--default): Refaactor and trigger on more paren
1678 positions.
1679 (show-paren-function): Small consequential changes.
1680
1681 2014-10-16 Tom Tromey <tom@tromey.com>
1682
1683 * files.el (auto-mode-alist): Use javascript-mode for .jsm
1684 (bug #18719).
1685
1686 2014-10-16 Eli Zaretskii <eliz@gnu.org>
1687
1688 * international/characters.el (bracket-type): Force pre-loading of
1689 uni-brackets.el.
1690
1691 2014-10-16 Alan Mackenzie <acm@muc.de>
1692
1693 * cus-edit.el (custom-command-apply): Specify the return value in
1694 the doc string.
1695 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1696 custom-command-apply has returned non-nil.
1697
1698 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
1701 Remove incorrect handling of eldoc-print-after-edit.
1702 (eldoc-message-commands, eldoc-last-data): Use defvar.
1703 * loadup.el (emacs-lisp/eldoc): Load it.
1704
1705 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
1706 (m4-mode): Use it.
1707 (m4--quoted-p): New function.
1708 (m4-font-lock-keywords): Don't handle #..\n comments any more.
1709 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
1710 for most special characters.
1711
1712 * progmodes/compile.el (compilation--previous-directory): Simplify.
1713 (compilation-next-error): Ensure the parse before we look at
1714 compilation-message property.
1715
1716 2014-10-15 Eli Zaretskii <eliz@gnu.org>
1717
1718 * simple.el (what-cursor-position):
1719 * descr-text.el (describe-char): Update to support the new bidi
1720 characters.
1721
1722 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1723 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1724 buffer-menu display when the first buffer happens to start with
1725 R2L letter.
1726
1727 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * progmodes/elisp-mode.el (elisp--local-variables-1):
1730 Handle quoted expressions (bug#18688).
1731
1732 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
1733 Michael Albinus <michael.albinus@gmx.de>
1734
1735 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1736 Reduce the amount of set environment variable commands.
1737
1738 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1739
1740 Fix import completion. (Bug#18582)
1741 * progmodes/python.el (python-shell-completion-get-completions):
1742 Fix import case regexp.
1743
1744 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1747 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1748 * progmodes/prolog.el (prolog-electric--underscore): Same.
1749
1750 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
1751
1752 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
1753
1754 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1755
1756 * cus-start.el (all): Add missing ns and boolean to
1757 ns-use-fullscreen-animation.
1758
1759 2014-10-11 Leo Liu <sdl.web@gmail.com>
1760
1761 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
1762 Use strings.
1763 (cfengine3-create-imenu-index): New function.
1764 (cfengine3-mode): Use it for `imenu-create-index-function'.
1765 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
1766 buffer is empty.
1767
1768 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1769
1770 * cus-start.el (all): Add ns-use-fullscreen-animation.
1771
1772 2014-10-11 Glenn Morris <rgm@gnu.org>
1773
1774 * calendar/diary-lib.el (diary-display-function):
1775 Drop support for deprecated nil and list forms.
1776 (diary-list-entries): Update for the above.
1777 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
1778
1779 2014-10-10 Leo Liu <sdl.web@gmail.com>
1780
1781 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
1782 (Bug#18656)
1783
1784 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * select.el (gui-selection-exists-p-alist): New method.
1787 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
1788 * simple.el (deactivate-mark): Use it.
1789 * term/x-win.el (gui-selection-exists-p):
1790 * term/w32-win.el (gui-selection-exists-p):
1791 * term/pc-win.el (gui-selection-exists-p):
1792 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
1793
1794 2014-10-10 Glenn Morris <rgm@gnu.org>
1795
1796 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
1797 Fix :type. Allow t to mean no limit.
1798 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
1799
1800 2014-10-09 Glenn Morris <rgm@gnu.org>
1801
1802 * frame.el (display-monitor-attributes-list): Doc tweaks.
1803
1804 2014-10-09 Eli Zaretskii <eliz@gnu.org>
1805
1806 * faces.el (display-grayscale-p): Mention in the doc string that
1807 the argument can be either a display name or a frame.
1808
1809 * frame.el (display-pixel-height, display-pixel-width)
1810 (display-mm-height, display-mm-width, display-backing-store)
1811 (display-save-under, display-planes, display-color-cells)
1812 (display-visual-class, display-monitor-attributes-list)
1813 (display-screens): Mention in the doc string that the argument can
1814 be either a display name or a frame. Improve the docs of the
1815 monitor attributes. (Bug#18636)
1816
1817 2014-10-09 Martin Rudalics <rudalics@gmx.at>
1818
1819 * term.el (term-window-width): Subtract 1 from the width when
1820 any fringe has zero width, not just the right fringe. (Bug#18601)
1821
1822 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
1825
1826 2014-10-08 Leo Liu <sdl.web@gmail.com>
1827
1828 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
1829
1830 2014-10-08 Glenn Morris <rgm@gnu.org>
1831
1832 * calendar/cal-x.el (calendar-dedicate-diary):
1833 Drop support for recently deleted aliases.
1834
1835 2014-10-08 Leo Liu <sdl.web@gmail.com>
1836
1837 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
1838 Always return a syntax. Replace call-process-shell-command with
1839 process-file. Ensure cfengine-mode-syntax-functions-regex is
1840 always set. Ensure cache when cfengine-cf-promises fails.
1841 (Bug#18620)
1842
1843 2014-10-07 Glenn Morris <rgm@gnu.org>
1844
1845 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
1846
1847 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
1848
1849 Sync with upstream verilog-mode revision c075a492.
1850 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1851 (verilog-menu): Add AUTOINSERTLAST.
1852 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
1853 is nil, fix indenting initial/final to match always statements, bug825.
1854 Reported by Tim Clapp.
1855 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
1856 bug557. Reported by ZeDong Mao and Jason Forkey.
1857 (verilog-read-decls): Fix parsing typed interfaces.
1858 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
1859 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
1860 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
1861 Reported by Pierre-David Pfister.
1862 (verilog-auto-insert-lisp): Doc fix.
1863 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
1864 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
1865 (verilog-sk-ovm-class, verilog-sk-uvm-object)
1866 (verilog-sk-uvm-component): Fix missing string keyword in class
1867 skeletons, bug824. Reported by eldad faruhi.
1868
1869 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1870
1871 * term/w32-win.el: Move all code from 32-common-fns.el here.
1872 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
1873 console as well (bug#18629).
1874 * w32-common-fns.el: Remove.
1875 * loadup.el: Don't load w32-common-fns.el.
1876 * w32-fns.elc: Don't require w32-common-fns.
1877
1878 * icomplete.el: Move Iswitchb autoload here. Much simpler.
1879 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
1880 Remove redundant obsolescence thingy.
1881 * loadup.el: Don't load obsolete/loaddefs.el.
1882 * Makefile.in (obsolete-autoloads): Remove.
1883 (AUTOGENEL): Remove obsolete/loaddefs.el.
1884
1885 2014-10-06 Glenn Morris <rgm@gnu.org>
1886
1887 * Makefile.in (obsolete-autoloads): Write to a separate file,
1888 to workaround autoloads bug. (Bug#17407)
1889 (AUTOGENEL): Add obsolete/loaddefs.el.
1890 * loadup.el: Load obsolete/loaddefs.el if present.
1891 * subr.el (do-after-load-evaluation):
1892 Don't warn about obsolete/loaddefs.el.
1893
1894 * menu-bar.el (menu-bar-games-menu): Remove landmark.
1895 It has zero relationship to a game.
1896
1897 2014-10-06 Leo Liu <sdl.web@gmail.com>
1898
1899 * imenu.el (imenu): Re-write for clarity.
1900
1901 2014-10-06 Glenn Morris <rgm@gnu.org>
1902
1903 Remove calendar code obsolete since at least version 23.1.
1904 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
1905 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
1906 (calendar-goto-bahai-date, list-bahai-diary-entries)
1907 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
1908 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
1909 (insert-yearly-bahai-diary-entry):
1910 * calendar/cal-china.el (chinese-calendar-time-zone)
1911 (chinese-calendar-location-name)
1912 (chinese-calendar-daylight-time-offset)
1913 (chinese-calendar-standard-time-zone-name)
1914 (chinese-calendar-daylight-time-zone-name)
1915 (chinese-calendar-daylight-savings-starts)
1916 (chinese-calendar-daylight-savings-ends)
1917 (chinese-calendar-daylight-savings-starts-time)
1918 (chinese-calendar-daylight-savings-ends-time)
1919 (chinese-calendar-celestial-stem)
1920 (chinese-calendar-terrestrial-branch)
1921 (calendar-absolute-from-chinese, calendar-print-chinese-date)
1922 (calendar-goto-chinese-date):
1923 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
1924 (calendar-print-coptic-date, coptic-prompt-for-date)
1925 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
1926 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
1927 * calendar/cal-french.el (calendar-absolute-from-french)
1928 (calendar-print-french-date, calendar-goto-french-date):
1929 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
1930 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
1931 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
1932 (holiday-rosh-hashanah-etc, holiday-hanukkah)
1933 (holiday-passover-etc, holiday-tisha-b-av-etc)
1934 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
1935 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
1936 (insert-monthly-hebrew-diary-entry)
1937 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
1938 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
1939 (diary-sabbath-candles):
1940 * calendar/cal-islam.el (calendar-absolute-from-islamic)
1941 (calendar-print-islamic-date, calendar-goto-islamic-date)
1942 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
1943 (mark-islamic-diary-entries, insert-islamic-diary-entry)
1944 (insert-monthly-islamic-diary-entry)
1945 (insert-yearly-islamic-diary-entry):
1946 * calendar/cal-iso.el (calendar-absolute-from-iso)
1947 (calendar-print-iso-date, calendar-iso-read-args)
1948 (calendar-goto-iso-date, calendar-goto-iso-week):
1949 * calendar/cal-julian.el (calendar-absolute-from-julian)
1950 (calendar-print-julian-date, calendar-goto-julian-date)
1951 (calendar-absolute-from-astro, calendar-print-astro-day-number)
1952 (calendar-goto-astro-day-number):
1953 * calendar/cal-mayan.el (calendar-print-mayan-date)
1954 (calendar-next-haab-date, calendar-previous-haab-date)
1955 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
1956 (calendar-next-calendar-round-date)
1957 (calendar-previous-calendar-round-date)
1958 (calendar-absolute-from-mayan-long-count)
1959 (calendar-goto-mayan-long-count-date):
1960 * calendar/cal-move.el (scroll-calendar-left)
1961 (scroll-calendar-right, scroll-calendar-left-three-months)
1962 (scroll-calendar-right-three-months):
1963 * calendar/cal-persia.el (calendar-absolute-from-persian)
1964 (calendar-print-persian-date, persian-prompt-for-date)
1965 (calendar-goto-persian-date):
1966 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
1967 * calendar/calendar.el (view-diary-entries-initially)
1968 (mark-diary-entries-in-calendar, calendar-today-face)
1969 (diary-face, holiday-face, view-calendar-holidays-initially)
1970 (mark-holidays-in-calendar, initial-calendar-window-hook)
1971 (today-visible-calendar-hook, today-invisible-calendar-hook)
1972 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
1973 (bahai-diary-entry-symbol, american-date-diary-pattern)
1974 (european-date-diary-pattern, european-calendar-display-form)
1975 (american-calendar-display-form, holidays-in-diary-buffer)
1976 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
1977 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
1978 (fancy-diary-buffer, increment-calendar-month)
1979 (extract-calendar-month, extract-calendar-day)
1980 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
1981 (mark-visible-calendar-date, calendar-version):
1982 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
1983 (diary-display-hook, list-diary-entries-hook)
1984 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
1985 (nongregorian-diary-marking-hook, print-diary-entries-hook)
1986 (abbreviated-calendar-year, number-of-diary-entries)
1987 (view-other-diary-entries, add-to-diary-list)
1988 (include-other-diary-files, simple-diary-display)
1989 (fancy-diary-display, print-diary-entries, mark-diary-entries)
1990 (mark-sexp-diary-entries, mark-included-diary-files)
1991 (mark-calendar-days-named, mark-calendar-month)
1992 (mark-calendar-date-pattern, sort-diary-entries)
1993 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
1994 (insert-weekly-diary-entry, insert-monthly-diary-entry)
1995 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
1996 (insert-block-diary-entry, insert-cyclic-diary-entry)
1997 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
1998 * calendar/holidays.el (general-holidays, oriental-holidays)
1999 (local-holidays, other-holidays, hebrew-holidays)
2000 (christian-holidays, islamic-holidays, bahai-holidays)
2001 (solar-holidays, list-calendar-holidays)
2002 (check-calendar-holidays, mark-calendar-holidays)
2003 (filter-visible-calendar-holidays):
2004 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
2005 (diary-phases-of-moon): Remove obsolete aliases.
2006 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
2007 * calendar/cal-x.el (calendar-one-frame-setup)
2008 (calendar-only-one-frame-setup, calendar-two-frame-setup):
2009 Remove obsolete functions.
2010 (cal-x-load-hook): Remove obsolete hook.
2011 * calendar/calendar.el (european-calendar-style):
2012 Remove obsolete variable.
2013 (calendar-date-style): No longer consult european-calendar-style.
2014 * calendar/calendar.el (european-calendar, american-calendar):
2015 Remove obsolete commands.
2016 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
2017 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
2018 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
2019 Use the face `diary' instead of the variable `diary-face'.
2020 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
2021 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
2022 * calendar/icalendar.el (icalendar--date-style): Remove function.
2023 Replace all uses with calendar-date-style.
2024 * textmodes/remember.el (calendar-date-style): Declare.
2025 (remember-diary-convert-entry):
2026 No longer consult european-calendar-style.
2027
2028 2014-10-05 Leo Liu <sdl.web@gmail.com>
2029
2030 * imenu.el (imenu-default-goto-function): Fix typo.
2031
2032 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2033
2034 * net/ntlm.el (ntlm-build-auth-request):
2035 Add NTLM2 Session support. (Bug#15603)
2036
2037 2014-10-04 Glenn Morris <rgm@gnu.org>
2038
2039 * apropos.el (apropos-symbols-internal):
2040 Avoid error with non-symbol properties. (Bug#18337#16)
2041
2042 * startup.el (command-line):
2043 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
2044
2045 2014-10-04 Martin Rudalics <rudalics@gmx.at>
2046
2047 * window.el (window-full-height-p): Make it behave correctly for
2048 minibuffer window.
2049 (window-current-scroll-bars): Fix code.
2050 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
2051 window-scroll-bars.
2052 * frame.el (frame-current-scroll-bars): Fix doc-string.
2053 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
2054
2055 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
2056
2057 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
2058
2059 2014-10-04 Glenn Morris <rgm@gnu.org>
2060
2061 * frame.el (frame-monitor-attributes)
2062 (display-monitor-attributes-list): Doc fixes.
2063
2064 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2065
2066 Merge trivially safe differences from standalone CC-mode.
2067 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
2068 just to then pass it to `symbol-value'.
2069 (prog-mode): Provide fallback definition, if needed.
2070 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
2071 Remove "cl-" prefix accordingly.
2072 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
2073 characterp depending on the type of characters.
2074 (c-font-lock-enum-tail): Remove unused var `start'.
2075 * progmodes/cc-engine.el: Load CL at compile-time.
2076 (c-declare-lang-variables): Use mapcan.
2077 (c-append-to-state-cache): Remove unused var `ce+1'.
2078 (c-parse-state-state): Make buffer-local.
2079 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
2080 (c-just-after-func-arglist-p): Remove unused var `end'.
2081 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
2082 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
2083 (c-make-keywords-re): Use delete-dups.
2084 (c-get-current-file): Avoid file-name-base.
2085 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
2086 `close-paren-inserted'.
2087 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
2088
2089 * progmodes/python.el: Avoid building unneeded markers.
2090 (python-font-lock-keywords, python-indent-dedent-line)
2091 (python-fill-paren, python-shell-completion-complete-or-indent):
2092 Prefer point over point-marker.
2093 (inferior-python-mode): Remove redundant completion settings.
2094
2095 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
2096
2097 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
2098 (vc-svn-ignore): Use it. (Bug#18619)
2099
2100 2014-10-03 Martin Rudalics <rudalics@gmx.at>
2101
2102 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2103 In doc-string mention need to set `frame-resize-pixelwise'.
2104
2105 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
2108 similarly to Rogers's 2010-06-16 change for the remote case
2109 (bug#18605).
2110
2111 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 New gui-selection-value consolidating x-selection-value.
2114 * select.el (gui-selection-value-alist): New method.
2115 (gui-selection-value): New function.
2116 (x-selection-value): Make it an obsolete alias.
2117 * simple.el (interprogram-paste-function): Default to
2118 gui-selection-value.
2119 * w32-common-fns.el (w32-get-selection-value): Simplify.
2120 (x-selection-value): Remove alias.
2121 (interprogram-paste-function): Don't set.
2122 (gui-selection-value): Define for w32.
2123 * term/x-win.el (gui-selection-value): Define for x.
2124 (x--selection-value): Rename from x--selection-value.
2125 (interprogram-paste-function): Don't set.
2126 * term/pc-win.el (w16-get-selection-value): Simplify.
2127 (msdos-initialize-window-system): Don't set
2128 interprogram-paste-function.
2129 (gui-selection-value): Define for pc.
2130 * term/ns-win.el (x-selection-value): Remove.
2131 (gui-selection-value): Define for ns, instead.
2132 * term/common-win.el (x-setup-function-keys): Don't set
2133 interprogram-paste-function.
2134 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2135 Use gui-selection-value.
2136
2137 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
2138
2139 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
2140
2141 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * obsolete/lucid.el (read-number): Remove, redundant.
2144 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
2145 Remove, broken.
2146
2147 2014-10-02 Glenn Morris <rgm@gnu.org>
2148
2149 * emacs-lisp/package.el (package-import-keyring):
2150 Create gnupg directory private. (Bug#17625#155)
2151
2152 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * progmodes/python.el (python-shell-completion-get-completions):
2155 Use python-shell--prompt-calculated-input-regexp from the
2156 process buffer (bug#18582).
2157 Don't assume that `line' comes from the process buffer.
2158
2159 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2160
2161 * frame.el: Use lexical-binding (bug#18598).
2162 (make-frame): Use t rather than nil for tty's window-system.
2163 * startup.el (command-line): Use gui-method.
2164
2165 Consolidate management/ownership of selections.
2166 * select.el (gui-get-selection-alist): New method.
2167 (gui-get-selection): Use it. Rename from x-get-selection.
2168 (x-get-selection): Define as obsolete alias.
2169 (x-get-clipboard): Mark obsolete.
2170 (gui-get-primary-selection): New function.
2171 (x-get-selection-value): Mark obsolete.
2172 (gui-own-selection-alist, gui-disown-selection-alist)
2173 (gui-selection-owner-p-alist): New methods.
2174 (gui-set-selection): Use them. Rename from x-set-selection.
2175 (x-set-selection): Define as obsolete alias.
2176 (gui--valid-simple-selection-p): Rename from
2177 x-valid-simple-selection-p.
2178 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
2179 (gui-selection-owner-p, gui-get-selection): Define for w32.
2180 (w32-get-selection-value): Rename from x-get-selection-value.
2181 Use the new gui-last-selected-text.
2182 * term/x-win.el (x-get-selection-value): Remove.
2183 (x-clipboard-yank): Declare obsolete.
2184 (gui-own-selection, gui-disown-selection, gui-get-selection)
2185 (gui-selection-owner-p): Define for x.
2186 * term/w32-win.el (w32-win-suspend-error): Rename from
2187 x-win-suspend-error.
2188 * term/pc-win.el (w16-get-selection-value): Rename from
2189 x-get-selection-value.
2190 (w16-selection-owner-p): Rename from x-selection-owner-p.
2191 (gui-own-selection, gui-disown-selection, gui-get-selection)
2192 (gui-selection-owner-p): Define for pc.
2193 (w16--select-text): New function.
2194 * term/ns-win.el (gui-own-selection, gui-disown-selection)
2195 (gui-get-selection, gui-selection-owner-p): Define for ns.
2196 * term.el (term-mouse-paste):
2197 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
2198
2199 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
2200
2201 * calc/calc-help.el (calc-describe-thing): Quote strings
2202 which could look like regexps.
2203
2204 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2205
2206 Consolidate x-select-text.
2207 * frame.el (gui-method, gui-method-define, gui-method-declare)
2208 (gui-call): New macros.
2209 (gui-method--name): New function.
2210 (frame-creation-function-alist): Use gui-method-declare.
2211 (make-frame): Use gui-method.
2212 * select.el (gui-select-enable-clipboard): Rename from
2213 x-select-enable-clipboard and move here.
2214 (x-select-enable-clipboard): Define as obsolete alias.
2215 (gui-last-selected-text): New var, to replace x-last-selected-text.
2216 (gui-select-text): New GUI method.
2217 (gui-select-text): New function.
2218 (x-select-text): Define as obsolete alias.
2219 * term/common-win.el (x-select-enable-clipboard, x-select-text):
2220 Move to select.el.
2221 * simple.el (interprogram-cut-function): Change default to
2222 x-select-text.
2223 (interprogram-paste-function): Change default to `ignore'.
2224 * w32-common-fns.el (interprogram-cut-function): Don't modify.
2225 * term/x-win.el (interprogram-cut-function): Don't modify.
2226 (gui-select-text): Add method for x.
2227 * term/w32-win.el (gui-select-text): Add method for w32.
2228 * term/pc-win.el (x-last-selected-text): Remove, use
2229 gui-last-selected-text instead.
2230 (msdos-initialize-window-system): Don't set interprogram-cut-function.
2231 (gui-select-text): Add method for pc.
2232 * term/ns-win.el (ns-last-selected-text): Remove, use
2233 gui-last-selected-text instead.
2234 (gui-select-text): Add method for ns.
2235 (x-setup-function-keys): Don't change interprogram-cut-function.
2236 * loadup.el ("startup"): Load after "frame".
2237 * subr.el (package--builtin-versions, package--description-file):
2238 Move from startup.el.
2239 * startup.el (package--builtin-versions, package--description-file):
2240 Move to subr.el.
2241 (handle-args-function-alist, window-system-initialization-alist):
2242 Use gui-method-declare.
2243 (command-line): Use gui-method.
2244
2245 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * subr.el (alist-get): New accessor.
2248 * emacs-lisp/gv.el (alist-get): Provide expander.
2249 * winner.el (winner-remember):
2250 * tempo.el (tempo-use-tag-list):
2251 * progmodes/gud.el (minor-mode-map-alist):
2252 * international/mule-cmds.el (define-char-code-property):
2253 * frameset.el (frameset-filter-params):
2254 * files.el (dir-locals-set-class-variables):
2255 * register.el (get-register, set-register):
2256 * calc/calc-yank.el (calc-set-register): Use it.
2257 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
2258 * tooltip.el (tooltip-set-param): Mark as obsolete.
2259 (tooltip-show): Use alist-get instead.
2260 * ses.el (ses--alist-get): Remove. Use alist-get instead.
2261
2262 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
2263
2264 * net/newst-backend.el: Remove Time-stamp. Rename variable
2265 `newsticker--download-logos' to `newsticker-download-logos' and
2266 make it customizable.
2267 (newsticker--sentinel-work): Move xml-workarounds to function
2268 `newsticker--do-xml-workarounds', call unless libxml-parser is
2269 used. Allow single quote in regexp for encoding.
2270 Use libxml-parser if available, else fall back to `xml-parse-region'.
2271 Take care of possibly missing namespace prefixes (like "RDF"
2272 instead of "rdf:RDF") when checking xml nodes and attributes (as
2273 libxml correctly removes the prefixes). Always use Atom 1.0 as
2274 fallback feed type. Rename `newsticker--download-logos' to
2275 `newsticker-download-logos'
2276 (newsticker--unxml, newsticker--unxml-node)
2277 (newsticker--unxml-attribute): New.
2278 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
2279 HTML code has become part of the xml parse tree.
2280 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
2281 of possibly missing namespace prefixes.
2282 (newsticker--parse-generic-items): Code formatting. Typo.
2283 (newsticker--images-dir): Add trailing slash.
2284 (newsticker--image-get): Fix error message.
2285
2286 * net/newst-plainview.el: Remove Time-stamp.
2287
2288 * net/newst-reader.el: Remove Time-stamp.
2289 (newsticker-download-logos): Rename variable
2290 `newsticker--download-logos' to `newsticker-download-logos' and
2291 make it customizable.
2292 (newsticker--print-extra-elements): Add optional parameter
2293 'htmlish for using html markup. Amend list of ignored elements.
2294 (newsticker--do-print-extra-element): Add parameter 'htmlish for
2295 using html markup.
2296
2297 * net/newst-ticker.el: Remove Time-stamp.
2298
2299 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
2300 for formatting extra elements.
2301
2302 * net/newsticker.el: Remove Time-stamp, Version.
2303 (newsticker-version): Make obsolete.
2304
2305 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
2306
2307 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
2308 (bug#18462).
2309
2310 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2311
2312 * emacs-lisp/package.el (package-check-signature): Default to nil if
2313 GPG is not available.
2314 (package-refresh-contents): Don't mess with the keyring if we won't
2315 check the signatures anyway.
2316
2317 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
2320 (ses-center, ses-center-span): Use them.
2321 (ses-print-cell): Bind them while calling the printer.
2322 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
2323 (ses-dorange): Revert last change.
2324 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
2325 the formula.
2326 (ses-set-cell): Avoid `eval'.
2327 (ses--time-check): Rename it from ses-time-check and turn it into
2328 a macro.
2329
2330 * ses.el (ses-setup): Don't assume modifying the iteration var of
2331 dotimes affects the iteration (bug#18191).
2332
2333 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
2334
2335 * ses.el (ses-calculate-cell): Bind row and col dynamically to
2336 their values with 'cl-progv'.
2337 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
2338 their values with 'cl-progv', also use non-interned symbols for
2339 row, minrow, maxrow, mincol and maxcol.
2340 (maxrow maxcol): New defvar, to make the compiler happy.
2341
2342 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
2345 completion functions.
2346
2347 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * ses.el (ses--letref): Quote value before it gets re-evaluated.
2350
2351 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
2352
2353 Font-lock `cl-flet*', too.
2354 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
2355 Add "flet*" to intermediate var `cl-lib-kw'.
2356
2357 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * epg-config.el (epg-gpg-program): Use the plain program names rather
2360 than their absolute file name.
2361
2362 * subr.el (track-mouse): New macro.
2363 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2364 Remove track-mouse case.
2365 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
2366
2367 2014-09-27 Leo Liu <sdl.web@gmail.com>
2368
2369 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
2370
2371 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
2372
2373 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2374
2375 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
2376 Handle the case where `match' is :pcase--succeed or :pcase--fail
2377 (bug#18554).
2378
2379 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
2380 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
2381 (eldoc-schedule-timer): Obey it.
2382 (eldoc-documentation-function): Default to nil.
2383 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
2384 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
2385 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
2386 (eldoc-last-data-store, eldoc-docstring-first-line)
2387 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
2388 (eldoc-beginning-of-sexp, eldoc-current-symbol)
2389 (eldoc-function-argstring): Move to elisp-mode.el.
2390 (eldoc-symbol-function): Remove, unused.
2391 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
2392 (elisp-completion-at-point): Rename from lisp-completion-at-point.
2393 (elisp--preceding-sexp): Rename from preceding-sexp.
2394 * loadup.el: Load new file progmodes/elisp-mode.
2395 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
2396 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
2397 (lisp--local-variables-completion-table, lisp--expect-function-p)
2398 (lisp--form-quoted-p, lisp--company-doc-buffer)
2399 (lisp--company-doc-string, lisp--company-location)
2400 (lisp-completion-at-point): Move to elisp-mode.el.
2401 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
2402 extracted from emacs-lisp-mode-syntax-table.
2403 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
2404 elisp-mode.el.
2405 (lisp-imenu-generic-expression): Add comments to document what comes
2406 from which Lisp dialect.
2407 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
2408 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
2409 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
2410 (emacs-lisp-byte-code-comment)
2411 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
2412 (lisp-interaction-mode-map, lisp-interaction-mode)
2413 (eval-print-last-sexp, last-sexp-setup-props)
2414 (last-sexp-toggle-display, prin1-char, preceding-sexp)
2415 (eval-last-sexp-1, eval-last-sexp-print-value)
2416 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
2417 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
2418
2419 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
2420
2421 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
2422 Do not match file names that end in '/', as they cannot be 'grep'
2423 hits nowadays. This prevents confusion when 'grep -r' reports a
2424 match in a file whose basename is ':12345:'. Conversely, do not
2425 require exactly the same sequence of spaces and tabs after both
2426 colons, and allow spaces or tabs before the second colon, as per
2427 the POSIX spec for 'grep' output.
2428
2429 2014-09-26 Leo Liu <sdl.web@gmail.com>
2430
2431 Add cl-parse-integer based on parse-integer (Bug#18557)
2432 * calendar/parse-time.el (parse-time-digits): Remove.
2433 (digit-char-p, parse-integer) Moved to cl-lib.el.
2434 (parse-time-tokenize, parse-time-rules, parse-time-string):
2435 Use cl-parse-integer.
2436
2437 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
2438
2439 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
2440 (cl-digit-char-p): New function.
2441
2442 2014-09-25 Juri Linkov <juri@jurta.org>
2443
2444 * vc/add-log.el (change-log-next-buffer): Don't create an empty
2445 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
2446 Return the current buffer if no files match the default pattern
2447 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
2448
2449 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
2452 the global vc-handled-backends (bug#18535).
2453
2454 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
2457 Suggested by <lompik@voila.fr>.
2458
2459 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
2460
2461 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
2462 Rename from `newsticker--treeview-do-get-node'.
2463 (newsticker--treeview-get-node-by-id):
2464 Rename from `newsticker--treeview-get-node'.
2465 (newsticker--treeview-buffer-init)
2466 (newsticker--treeview-buffer-init): Disable buffer undo.
2467 (newsticker--treeview-unfold-node): Adapt to modified
2468 `newsticker--group-find-parent-group'.
2469 (newsticker--group-do-find-group):
2470 Rename from `newsticker--group-do-find-group-for-feed'.
2471 Now works for both, groups and feeds.
2472 (newsticker--group-find-parent-group):
2473 Rename from `newsticker--group-find-group-for-feed'.
2474 Now works for both, groups and feeds.
2475 (newsticker--group-do-get-parent-group)
2476 (newsticker--group-get-parent-group): Remove.
2477 (newsticker-group-add-group): Change interactive prompts.
2478 (newsticker-group-add-group): Finally jump to added group.
2479 (newsticker-group-delete-group): Finally jump to current feed.
2480 (newsticker--group-do-rename-group, newsticker-group-rename-group)
2481 (newsticker--get-group-names, newsticker--group-names): New.
2482 (newsticker-group-move-feed): Finally jump to moved feed.
2483 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
2484 (newsticker-group-shift-group-down)
2485 (newsticker-group-shift-group-up, newsticker--group-shift): New.
2486 (newsticker-treeview-mode-map): New keybindings for new shift commands.
2487
2488 * net/newst-backend.el (newsticker--item-list)
2489 (newsticker--item-position, newsticker--prev-message)
2490 (newsticker--scrollable-text): Move to newst-ticker.el.
2491
2492 * net/newst-ticker.el (newsticker--item-list)
2493 (newsticker--item-position, newsticker--prev-message)
2494 (newsticker--scrollable-text): Move from newst-backend.el.
2495
2496 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
2497
2498 * window.el (fit-window-to-buffer): When counting buffer width,
2499 count the whole visible buffer. Correctly convert the body-height
2500 to pixel size for window-text-pixel-size (Bug#18498).
2501
2502 2014-09-22 Sam Steingold <sds@gnu.org>
2503
2504 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
2505 (sql-execute): Use `special-mode'.
2506
2507 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 Add pcase-defmacro, as well as `quote' and `app' patterns.
2510 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
2511 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
2512 (pcase--funcall, pcase--eval): New functions.
2513 (pcase--u1): Use them for guard, pred, let, and app.
2514 (\`): Use the new feature to generate better code for vector patterns.
2515 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
2516 (pcase--upat): Remove.
2517 (pcase--macroexpand): Don't hardcode handling of `.
2518 (pcase--split-consp, pcase--split-vector): Remove.
2519 (pcase--split-equal): Disregard ` since it's expanded away.
2520 (pcase--split-member): Optimize for quote rather than for `.
2521 (pcase--split-pred): Optimize for quote rather than for `.
2522 (pcase--u1): Remove handling of ` (and of `or' and `and').
2523 Quote non-selfquoting values when passing them to `eq'.
2524 Drop `app's let-binding if the variable is not used.
2525 (pcase--q1): Remove.
2526 (`): Define as a pattern macro.
2527 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
2528 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
2529 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
2530 quote patterns.
2531 (pcase--split-match): Don't hoist or/and here any more.
2532 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
2533 (pcase--flip): New helper macro.
2534 (pcase--u1): Optimize the memq case directly.
2535 Don't handle neither self-quoting nor and/or patterns any more.
2536 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
2537 (pcase--macroexpand): New function.
2538 (pcase--expand): Use it.
2539 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
2540 New optimization functions.
2541 (pcase--u1): Add support for `quote' and `app'.
2542 (pcase): Document them in the docstring.
2543
2544 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 Use lexical-bindin in Ibuffer.
2547 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
2548 (ibuffer-compile-format): Simplify.
2549 (ibuffer-clear-summary-columns): Simplify.
2550 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
2551 elem of dotimes when we don't refer to the iteration var from it.
2552 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
2553 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
2554 Silence byte-compiler.
2555
2556 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
2559 expression for a list.
2560
2561 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
2562 for functions with no arguments.
2563
2564 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
2565 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
2566
2567 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
2568
2569 * simple.el (clone-indirect-buffer): Mention the return value
2570 (bug#18478).
2571
2572 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
2573 Text mode in docstring (bug#18464).
2574
2575 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2578 Accept underscores in identifiers after "sub" (bug#18502).
2579
2580 2014-09-21 Tassilo Horn <tsdh@gnu.org>
2581
2582 * textmodes/reftex-sel.el (reftex-select-label-mode)
2583 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
2584 from special-mode (instead of fundamental-mode) and propertize
2585 with font-lock-face instead of just face. (Bug#18496)
2586
2587 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
2588
2589 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2590
2591 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
2592 `table-etc' when `end' is non-nil.
2593 (lisp-completion-at-point): Move `end' back if it's after quote.
2594 If in comment or string, only complete when after backquote.
2595 (Bug#18265)
2596 (lisp-completion-at-point): Don't use
2597 `lisp--local-variables-completion-table' in the
2598 `lisp--form-quoted-p' case.
2599
2600 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2601
2602 * emacs-lisp/lisp.el (lisp--expect-function-p)
2603 (lisp--form-quoted-p): New functions.
2604 (lisp-completion-at-point): Use them to see if we're completing a
2605 variable reference, a function name, or just any symbol.
2606 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
2607
2608 2014-09-18 Ivan Kanis <ivan@kanis.fr>
2609
2610 * net/shr.el, net/eww.el: Don't override `shr-width', but
2611 introduce a new variable `shr-internal-width'. This allows users
2612 to specify a width themselves.
2613
2614 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2615
2616 * image-mode.el (image-toggle-display-image): If we have a
2617 `fit-width' or a `fit-height', don't limit the size of the image
2618 to the window size, because that doesn't preserve the aspect ratio.
2619 * image-mode.el: Move defvars earlier to avoid a byte-compilation
2620 warning.
2621
2622 2014-09-17 Reuben Thomas <rrt@sc3d.org>
2623
2624 * progmodes/js.el: Add interpreter-mode-alist support for various
2625 JavaScript interpreters.
2626
2627 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
2628
2629 Don't assume 'grep' supports GREP_OPTIONS.
2630 The GREP_OPTIONS environment variable is planned to be marked
2631 obsolescent in GNU grep, due to problems in its use, so stop
2632 relying on it.
2633 * progmodes/grep.el (grep-highlight-matches): Document this.
2634 (grep-process-setup): Do not set GREP_OPTIONS.
2635 (grep-compute-defaults): Use an explicit --color option if supported.
2636
2637 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2638
2639 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
2640 Don't add outdated key-shortcut cache (bug#18482).
2641
2642 2014-09-15 Glenn Morris <rgm@gnu.org>
2643
2644 * image.el (image-multi-frame-p): Fix thinko - do not force
2645 a delay if none was specified. (Bug#18334)
2646
2647 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
2648
2649 * window.el (fit-window-to-buffer): Doc fix.
2650
2651 2014-09-15 Ivan Shmakov <ivan@siamics.net>
2652
2653 * desktop.el (desktop-create-buffer): Check that buffers are still live
2654 before burying them (bug#18373).
2655
2656 2014-09-15 Glenn Morris <rgm@gnu.org>
2657
2658 * calendar/diary-lib.el (diary-list-entries):
2659 Restore 24.3 display behavior. (Bug#18381)
2660
2661 2014-09-15 Eli Zaretskii <eliz@gnu.org>
2662
2663 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
2664 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
2665 discrepancy between window-pixel-edges and mouse events, and
2666 avoids moving mode line up when the mouse click is on the modeline
2667 and no drag is attempted.
2668
2669 2014-09-14 Daniel Colascione <dancol@dancol.org>
2670
2671 * register.el (insert-register): Change default interactive
2672 insertion mode.
2673
2674 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
2675
2676 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
2677 Suppress debug messages.
2678
2679 * net/tramp.el (tramp-file-name-handler):
2680 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
2681 appropriate.
2682
2683 2014-09-13 Christopher Schmidt <ch@ristopher.com>
2684
2685 * calendar/calendar.el (calendar-update-mode-line):
2686 Do not overwrite mode-line-format if calendar-mode-line-format is
2687 nil. (Bug#18467)
2688
2689 2014-09-13 Leo Liu <sdl.web@gmail.com>
2690
2691 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
2692 (pcase--expand): Use it.
2693 (pcase-exhaustive): New macro. (Bug#16567)
2694
2695 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2696 Add pcase-exhaustive.
2697
2698 2014-09-13 Eli Zaretskii <eliz@gnu.org>
2699
2700 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
2701 using the specified transfer-encoding, if any, or 'undecided'.
2702 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
2703 broken at the window margin.
2704
2705 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
2706
2707 Support rendering of HTML parts in Rmail (bug#4258).
2708 * mail/rmailmm.el (rmail-mime-process): Handle text/html
2709 separately from other text/ types. Suppress tagline for
2710 multipart body.
2711 (rmail-mime-parse): Don't change visibility of tagline here.
2712 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
2713 Handle text/html specially.
2714 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
2715 (rmail-mime-insert-html, rmail-mime-render-html-shr)
2716 (rmail-mime-render-html-lynx): New functions.
2717 (rmail-mime-fix-inserted-faces): New function.
2718 (rmail-mime-process-multipart): Find the best part to show
2719 following rmail-mime-prefer-html if set.
2720 (rmail-mime-searching): New variable.
2721 (rmail-search-mime-message): Bind rmail-mime-searching to
2722 suppress rendering while searching.
2723
2724 2014-09-12 Sam Steingold <sds@gnu.org>
2725
2726 * progmodes/sql.el (sql-product-alist): Add vertica.
2727 (sql-vertica-program, sql-vertica-options)
2728 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
2729 New functions and variables to support Vertica.
2730 Inspired by code by Roman Scherer <roman@burningswell.com>.
2731
2732 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
2733
2734 * ses.el (ses-file-format-extend-parameter-list): Rename from
2735 ses-file-format-extend-paramter-list, to correct a misspelling.
2736 All uses changed.
2737
2738 2014-09-10 Alan Mackenzie <acm@muc.de>
2739
2740 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
2741 gets loaded at run-time).
2742 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
2743 c-lang-const to c-make-no-parens-syntax-table and correct the
2744 logic.
2745 (c-no-parens-syntax-table): Correct the logic of the
2746 c-lang-defvar.
2747
2748 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
2751 plus misc cleanup.
2752 * progmodes/cc-mode.el (c-basic-common-init):
2753 Set open-paren-in-column-0-is-defun-start.
2754 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
2755 Remove declarations, unused.
2756 (run-mode-hooks): Remove declaration.
2757 (font-lock-defaults): Use plain `defvar' to declare.
2758 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
2759 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
2760 (c-make-mode-syntax-table): Don't micro-optimize.
2761 (c-keywords, c-keyword-member-alist): Simplify.
2762 (c-kwds-lang-consts): Don't eval at compile-time.
2763 (c-primary-expr-regexp): Comment out unused vars.
2764 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
2765 (c-font-byte-compile): New var.
2766 (c--compile): New function. Use it instead of `byte-compile'.
2767 (c-cpp-matchers): Quote the value returned by
2768 `c-make-syntactic-matcher' in case it's not self-evaluating.
2769 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
2770 parentheses instead (in case MATCHER happens to be a list).
2771 (c-font-lock-enum-tail): Remove unused var `start'.
2772 (c-font-lock-objc-methods): Silence byte-compiler warnings.
2773 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
2774 test into an argument.
2775 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
2776 (c-get-char-property): Don't use `eval' just to unquote a constant.
2777 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
2778 more efficiently.
2779 (c-put-char-property-fun): Don't call `byte-compile' by hand.
2780 (c-clear-char-property, c-clear-char-properties): Check that `property'
2781 is a quoted constant.
2782 (c-emacs-features): Remove `infodock', `syntax-properties', and
2783 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
2784 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
2785 changing buffer, so we don't have to setq them again afterwards.
2786 (c-lang-const): Remove redundant symbolp assertions.
2787 (c-find-assignment-for-mode): Use `or'.
2788 * Makefile.in (compile-one-process): Remove cc-mode dependency.
2789
2790 2014-09-09 Sam Steingold <sds@gnu.org>
2791
2792 * progmodes/sql.el (sql-default-directory): Fix type annotation.
2793
2794 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
2797 Change doc comments into docstrings.
2798 * Makefile.in: Remove cc-awk dependency.
2799
2800 2014-09-08 Sam Steingold <sds@gnu.org>
2801
2802 * progmodes/sql.el (sql-send-line-and-next): New command,
2803 bound to C-c C-n.
2804 (sql-show-sqli-buffer): Display the buffer instead of its name and
2805 bind the command to C-c C-z.
2806 (sql-default-directory): New user option.
2807 (sql-product-interactive): Bind `default-directory' to it to
2808 enable remote connections using Tramp.
2809 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
2810 suitable buffer is available.
2811
2812 2014-09-08 Glenn Morris <rgm@gnu.org>
2813
2814 * calendar/calendar.el (calendar-basic-setup):
2815 Fix calendar-view-holidays-initially-flag and fancy display.
2816 * calendar/diary-lib.el (diary-live-p): Doc fix.
2817
2818 * calendar/calendar.el (calendar-basic-setup):
2819 Avoid clobbering calendar with diary. (Bug#18381)
2820
2821 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2822
2823 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
2824
2825 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
2826
2827 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
2828 as well (bug#18400).
2829
2830 2014-09-08 Eli Zaretskii <eliz@gnu.org>
2831
2832 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
2833
2834 2014-09-06 Leo Liu <sdl.web@gmail.com>
2835
2836 * emacs-lisp/pcase.el (pcase): Doc fix.
2837 (pcase--split-vector): New function.
2838 (pcase--q1): Support vector qpattern. (Bug#18327)
2839
2840 2014-09-05 Sam Steingold <sds@gnu.org>
2841
2842 * textmodes/tex-mode.el (tex-print-file-extension): New user
2843 option.
2844 (tex-print): Use it instead of the hard-coded string.
2845
2846 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
2847
2848 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2849 Expand `default-directory'.
2850
2851 2014-09-05 Martin Rudalics <rudalics@gmx.at>
2852
2853 * scroll-bar.el (horizontal-scroll-bars-available-p):
2854 New function.
2855 (horizontal-scroll-bar-mode): Rewrite using
2856 horizontal-scroll-bars-available-p.
2857 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
2858 horizontal-scroll-bars-available-p.
2859
2860 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * subr.el (call-process-shell-command, process-file-shell-command):
2863 Make the `args' obsolete (bug#18409).
2864 (start-process-shell-command, start-file-process-shell-command):
2865 Use `declare'.
2866
2867 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
2868
2869 * calc/calc-forms.el (math-normalize-hms): Do a better check for
2870 "negative" hms forms.
2871
2872 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
2873
2874 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
2875 returns nil (bug#18391).
2876
2877 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
2880 terminating paren (bug#18352).
2881 (eldoc-last-data-store): Return cached data.
2882 (eldoc-get-var-docstring): Avoid setq.
2883 (eldoc-get-fnsym-args-string): Clarify data flow.
2884
2885 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2886
2887 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
2888 case where we're currently providing part of the &rest arg after some
2889 &key args, as in define-ibuffer-op (bug#18048).
2890
2891 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
2894 buffer-local setting of which-func-mode.
2895 (which-func-mode): Use defvar-local.
2896 (which-function-mode): Don't reset which-func-mode in each buffer since
2897 it might have been set by someone else.
2898 (which-func-update-ediff-windows): Check which-function-mode.
2899
2900 2014-09-03 Martin Rudalics <rudalics@gmx.at>
2901
2902 * frame.el (frame-initialize): Remove horizontal-scroll-bars
2903 from frame-initial-frame-alist.
2904 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
2905 (horizontal-scroll-bar-mode-explicit)
2906 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
2907 (toggle-horizontal-scroll-bar): Remove.
2908 (horizontal-scroll-bar-mode): Remove defcustom.
2909 (horizontal-scroll-bar-mode): Fix doc-string.
2910 (scroll-bar-toolkit-scroll)
2911 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
2912
2913 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2914
2915 * emacs-lisp/package.el (package-generate-description-file):
2916 Properly quote the arguments (bug#18332). Change second arg.
2917 (package--alist-to-plist-args): Rename from package--alist-to-plist and
2918 quote the elements.
2919 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
2920 the *-pkg.el file. Adjust to new calling convention of
2921 package-generate-description-file.
2922
2923 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
2924 (gud-gdb-completions): Remove obsolete workaround.
2925
2926 2014-09-03 Eli Zaretskii <eliz@gnu.org>
2927
2928 * subr.el (posn-col-row): Revert the change from commit
2929 2010-11-13T21:07:58Z!eliz@gnu.org, which
2930 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
2931 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
2932 introduced an off-by-one error in the reported row when there is a
2933 header line. (Bug#18384)
2934
2935 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
2936
2937 * progmodes/python.el (python-indent-post-self-insert-function):
2938 Avoid electric colon at beginning-of-defun. (Bug#18228)
2939
2940 2014-09-03 Glenn Morris <rgm@gnu.org>
2941
2942 * tutorial.el (tutorial--display-changes):
2943 Fix 2014-08-01 change. (Bug#18382)
2944
2945 2014-09-03 Ken Brown <kbrown@cornell.edu>
2946
2947 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
2948 the Cygwin-w32 build. (Bug#18347)
2949
2950 2014-09-03 Glenn Morris <rgm@gnu.org>
2951
2952 * tar-mode.el (tar--extract, tar-extract):
2953 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
2954
2955 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
2958 handle multiline elements (bug#18380).
2959
2960 2014-09-01 Eli Zaretskii <eliz@gnu.org>
2961
2962 * ls-lisp.el (ls-lisp-use-string-collate)
2963 (ls-lisp-UCA-like-collation): New defcustoms.
2964 (ls-lisp-string-lessp): Use them to control sorting by file
2965 names. (Bug#18051)
2966 (ls-lisp-version-lessp): New function.
2967 (ls-lisp-handle-switches): Use it to implement the -v switch of
2968 GNU ls.
2969 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
2970
2971 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
2972
2973 * ibuffer.el: Replace mode-specific quit function with
2974 `quit-window' via `special-mode'.
2975 (ibuffer-mode-map): Use keybindings from special-mode-map instead
2976 of local overrides.
2977 (ibuffer): Don't store previous windows configuration.
2978 Let `quit-window' handle restoring.
2979 (ibuffer-quit): Remove function. Use `quit-window' instead.
2980 (ibuffer-restore-window-config-on-quit): Remove variable.
2981 (ibuffer-prev-window-config): Remove variable.
2982
2983 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
2984
2985 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
2986 name instead of variable name in hook docstring. (Bug#18349)
2987
2988 2014-08-29 Martin Rudalics <rudalics@gmx.at>
2989
2990 * window.el (display-buffer-at-bottom): Prefer bottom-left
2991 window to other bottom windows. Reuse a bottom window if it
2992 shows the buffer already. Suggested by Juri Linkov
2993 <juri@jurta.org> in discussion of (Bug#18181).
2994
2995 2014-08-29 Leo Liu <sdl.web@gmail.com>
2996
2997 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
2998 append to minibuffer-setup-hook. (Bug#18341)
2999
3000 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
3003 byte-compiler.
3004 (lookup-syntax-properties): Silence byte-compiler.
3005 (c-lang-defconst): Quote the code with `lambda' rather than with
3006 `quote'.
3007 (c-lang-const): Avoid unneeded setq.
3008 (c-lang-constants-under-evaluation): Add docstring.
3009 (c-lang--novalue): New constant.
3010 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
3011 (c-get-lang-constant): Same here.
3012 Get the mode's value using `funcall' now that the code is quoted
3013 with `lambda'.
3014
3015 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
3018 (Bug#18326)
3019
3020 2014-08-28 Martin Rudalics <rudalics@gmx.at>
3021
3022 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
3023 interpretation of `portion-whole'.
3024
3025 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
3026
3027 * net/tramp-adb.el: Spell author name correctly.
3028
3029 2014-08-28 João Távora <joaotavora@gmail.com>
3030
3031 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
3032 use url-expand-file-name. (Bug#18310)
3033
3034 2014-08-28 Glenn Morris <rgm@gnu.org>
3035
3036 * emulation/cua-rect.el (cua--highlight-rectangle):
3037 Avoid error at point-min. (Bug#18309)
3038
3039 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3041 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
3042 executable-find (bug#18244).
3043
3044 * simple.el (self-insert-uses-region-functions): Defvar.
3045
3046 2014-08-28 Glenn Morris <rgm@gnu.org>
3047
3048 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
3049
3050 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
3051
3052 * startup.el (normal-top-level): Now use internal--top-level-message.
3053
3054 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
3055
3056 * startup.el (normal-top-level): Use top-level-message.
3057
3058 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3059
3060 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
3061 URLs containing spaces and the like.
3062
3063 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
3064
3065 * subr.el (remq): Fix docstring (Bug#18253).
3066
3067 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
3068
3069 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
3070
3071 2014-08-24 Alan Mackenzie <acm@muc.de>
3072
3073 Handle C++11's "auto" and "decltype" constructions.
3074 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
3075 and return 'decltype.
3076 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
3077 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
3078 keyword.
3079 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
3080 "decltype" keyword.
3081 (c-font-lock-c++-new): Handle "decltype" constructions.
3082 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
3083 New c-lang-defconsts/defvars.
3084 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
3085 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
3086 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
3087 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
3088
3089 Make ">>" act as double template ender in C++ Mode.
3090 Fix bug#11386.
3091 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
3092 off from c->-op-cont-re.
3093 (c->-op-cont-tokens): Change to use the above.
3094 (c->-op-without->-cont-regexp): New lang-const.
3095 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
3096 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
3097
3098
3099 2014-08-23 Alan Mackenzie <acm@muc.de>
3100
3101 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
3102 loop, bug #18306. The bug was introduced on 2014-08-02.
3103
3104 2014-08-21 Eli Zaretskii <eliz@gnu.org>
3105
3106 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
3107 Don't recognize a Top node if there are other sectioning commands
3108 earlier in the Texinfo file. This fixes a bug in
3109 texinfo-make-menu and avoids inflooping in
3110 texinfo-all-menus-update when they are invoked on texinfo.texi.
3111
3112 2014-08-21 Martin Rudalics <rudalics@gmx.at>
3113
3114 * window.el (window--side-window-p): New function.
3115 (split-window, window-splittable-p): Use window--side-window-p to
3116 determine whether WINDOW can be split (Bug#18304).
3117 * calendar/calendar.el (calendar-basic-setup): Fix one call of
3118 `window-splittable-p' and add another (Bug#18304).
3119
3120 2014-08-20 Sam Steingold <sds@gnu.org>
3121
3122 * progmodes/python.el (python-new-pythonpath): Extract from
3123 `python-shell-calculate-process-environment'.
3124
3125 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3126
3127 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
3128 for &key args (bug#18048).
3129
3130 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
3133 (eldoc-function-argstring-format): Remove.
3134 (eldoc-function-argstring): Always return upcase args.
3135 Use help-make-usage. Don't add parens.
3136 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
3137 it's too late to do it right (bug#18048).
3138
3139 2014-08-18 Eli Zaretskii <eliz@gnu.org>
3140
3141 * scroll-bar.el (scroll-bar-horizontal-drag-1)
3142 (scroll-bar-toolkit-horizontal-scroll): When determining the
3143 paragraph direction, use the buffer of the window designated in
3144 the event.
3145
3146 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
3147
3148 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
3149 context of unified diff.
3150
3151 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
3152
3153 Add dependencies to fix loaddefs race during parallel builds.
3154 Without this, for example, 'make -j bootstrap' can fail and report
3155 "Opening input file: no such file or directory,
3156 .../lisp/calendar/diary-loaddefs.el ... recipe for target
3157 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
3158 got confused because diary-loaddefs.el was being built in parallel.
3159 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
3160 Depend on $(CAL_DIR)/cal-loaddefs.el.
3161 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
3162
3163 2014-08-16 Martin Rudalics <rudalics@gmx.at>
3164
3165 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
3166 portion-whole for scrolling right-to-left text.
3167
3168 2014-08-15 Leo Liu <sdl.web@gmail.com>
3169
3170 * speedbar.el (speedbar-generic-list-tag-p): Allow special
3171 elements from imenu.
3172
3173 2014-08-15 Glenn Morris <rgm@gnu.org>
3174
3175 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
3176
3177 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
3178
3179 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3180 Add Guile regexpses.
3181
3182 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
3183
3184 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
3185 add Guile debugger support for GUD.
3186
3187 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
3190 (mouse-sel--ignore): New function.
3191 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
3192 (mouse-sel-original-interprogram-cut-function)
3193 (mouse-sel-original-interprogram-paste-function): Remove.
3194
3195 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
3196
3197 * vc/vc-git.el (vc-git-resolve-when-done): New function.
3198 Call "git add" when there are no longer conflict markers.
3199
3200 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3201
3202 * vc/vc-git.el (vc-git-find-file-hook): New function.
3203 Adds support for calling smerge (and resolve) on a conflicted file.
3204 (vc-git-conflicted-files): New function.
3205 Useful in itself and a step towards better smerge support.
3206
3207 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
3210 to the first part if they're the same as the selection.
3211
3212 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3213
3214 * image-mode.el (image-transform-reset): New command and menu item.
3215 (image-mode-map): Rearrange the menu items to put presumably more
3216 obscure items at the end.
3217
3218 2014-08-12 Juri Linkov <juri@jurta.org>
3219
3220 * vc/vc-annotate.el (vc-annotate-background-mode):
3221 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
3222
3223 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * files.el (out-of-memory-warning-percentage): Turn it off by default.
3226
3227 2014-08-11 Sam Steingold <sds@gnu.org>
3228
3229 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
3230 the presence of known validators (tidy, (o)nsgmls).
3231
3232 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
3233
3234 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
3235
3236 * net/newst-treeview.el (newsticker-treeview-date-format): New.
3237 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
3238
3239 2014-08-11 Glenn Morris <rgm@gnu.org>
3240
3241 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
3242 chose coding system for writing before backing up, since it causes
3243 a more serious problem than the one it solves. (Closes Bug#18141,
3244 reopens Bug#13522.)
3245
3246 2014-08-11 Martin Rudalics <rudalics@gmx.at>
3247
3248 * window.el (window-total-size): Make doc-string more self-contained.
3249
3250 * window.el (display-buffer-below-selected): Restore original
3251 behavior if buffer is already displayed in the window below the
3252 selected one (Bug#18181).
3253
3254 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
3257 event (bug#18212).
3258
3259 2014-08-11 Eli Zaretskii <eliz@gnu.org>
3260
3261 * info.el (info): Doc fix.
3262
3263 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * info.el (Info-mode-map): Override a global down-mouse-2 binding
3266 (bug#18212).
3267
3268 2014-08-11 Eli Zaretskii <eliz@gnu.org>
3269
3270 * simple.el (default-line-height): A floating-point value of
3271 line-spacing means a fraction of the default frame font's height,
3272 not of the font currently used by the 'default' face.
3273 Truncate the pixel value, like the display engine does.
3274 (window-screen-lines): Use window-inside-pixel-edges for
3275 determining the window height in pixels. (Bug#18195)
3276
3277 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
3278
3279 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
3280
3281 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
3282
3283 Enumerate evaluated sexp diary entries (Bug#7911).
3284 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
3285 (icalendar-export-sexp-enumeration-days): New.
3286 (icalendar-export-region): Now `icalendar--convert-to-ical'
3287 returns a cons cell or a list of cons cells.
3288 (icalendar--convert-to-ical): Take care of
3289 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
3290 (icalendar--convert-ordinary-to-ical)
3291 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3292 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
3293 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
3294 (icalendar--convert-anniversary-to-ical): Return cons cell.
3295 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
3296 entries. Return (list of) cons cells.
3297
3298 2014-08-09 Juri Linkov <juri@jurta.org>
3299
3300 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
3301 to reevaluate `vc-annotate-color-map'. (Bug#18189)
3302
3303 2014-08-09 Alan Mackenzie <acm@muc.de>
3304
3305 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
3306 for top-level that can cause unacceptable slow-down in scrolling.
3307 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
3308 Antipov from 2013-10-14 in emacs-devel.
3309
3310 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3311
3312 * ibuffer.el (ibuffer-mode-map): Use toggle button for
3313 `ibuffer-auto-mode' menu entry.
3314 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
3315
3316 2014-08-08 Matthias Meulien <orontee@gmail.com>
3317
3318 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
3319 (Bug#16394)
3320
3321 2014-08-07 Martin Rudalics <rudalics@gmx.at>
3322
3323 * window.el (window--min-size-1): Explicitly set WINDOW arg in
3324 calls of window-min-pixel-height and window-min-pixel-width.
3325
3326 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3327
3328 * progmodes/ada-mode.el:
3329 * net/tramp.el (tramp-handle-file-symlink-p):
3330 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
3331 about VMS, which we no longer support.
3332 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
3333 and fix a FIXME, using convert-standard-filename in place of
3334 removed ada-convert-file-name.
3335
3336 2014-08-07 Eli Zaretskii <eliz@gnu.org>
3337
3338 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
3339
3340 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3341
3342 Refer to MS-DOS using the same name everywhere.
3343 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
3344 ``msdog'' become ``MS-DOS''.
3345
3346 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
3347
3348 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3349 Use cached "remote-copy-args" value, if available. (Bug#18199)
3350
3351 2014-08-07 Leo Liu <sdl.web@gmail.com>
3352
3353 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
3354 Revert change on 2014-03-22.
3355
3356 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
3357
3358 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
3359 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
3360 (Bug#13750).
3361
3362
3363 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3364
3365 * image-mode.el (image-toggle-display-image): Always rescale images
3366 to not be bigger than the current window.
3367
3368 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
3369
3370 * net/eww.el (eww-bookmarks-directory): New variable.
3371 (eww-write-bookmarks): Use it.
3372 (eww-read-bookmarks): Ditto.
3373
3374 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3375
3376 * net/shr.el (shr-copy-url): Also copy the image URL.
3377
3378 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
3379
3380 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
3381 also for Tramp working buffers.
3382
3383 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3384
3385 * progmodes/python.el: Fix completions inside (i)pdb.
3386 (python-shell-completion-pdb-string-code): Make obsolete.
3387 (python-shell-completion-get-completions):
3388 Use python-shell-completion-string-code resending setup code
3389 continuously for (i)pdb.
3390
3391 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
3392
3393 * rect.el (rectangle--default-line-number-format): Rename
3394 from misspelled rectange--default-line-number-format (Bug#18045).
3395 All uses changed.
3396
3397 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
3398
3399 Don't mishandle year-9999 dates (Bug#18176).
3400 * calendar/parse-time.el (parse-time-rules):
3401 Allow years up to most-positive-fixnum.
3402 * calendar/time-date.el (date-to-time):
3403 Pass "Specified time is not representable" errors through.
3404
3405 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3406
3407 * progmodes/python.el: Completion code cleanups.
3408 (python-shell-completion-get-completions): Detect and send import
3409 statements directly to completion function.
3410 (python-shell-completion-at-point): Simplify prompt calculation
3411 and import vs input completion logic.
3412
3413 2014-08-02 Alan Mackenzie <acm@muc.de>
3414
3415 Fix confusion in C++ file caused by comma in "= {1,2},".
3416 Bug #17756.
3417 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
3418 for a statement boundary marked by "}", check there's no "="
3419 before the "{".
3420 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
3421 non-nil `comma-delim' argument.
3422 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
3423 initializer expression more accurately.
3424
3425 Correct loop termination condition in c-syntactic-skip-backward.
3426 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
3427 the situation where, after moving back out of a literal,
3428 skip-chars-backward doesn't move further, yet checks have still to
3429 be done.
3430
3431 2014-08-01 Eli Zaretskii <eliz@gnu.org>
3432
3433 * tutorial.el (tutorial--display-changes): Accept punctuation
3434 characters before the key binding. (Bug#18146)
3435
3436 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
3437
3438 * progmodes/python.el: Shell output capture enhancements.
3439 (python-shell-accept-process-output): New function.
3440 (inferior-python-mode)
3441 (python-shell-send-setup-code): Use it.
3442
3443 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
3444
3445 * calendar/icalendar.el (icalendar--decode-isodatetime):
3446 Use actual current-time-zone when converting to local time. (Bug#15408)
3447
3448 2014-07-29 Martin Rudalics <rudalics@gmx.at>
3449
3450 * window.el (window--state-put-2): Handle horizontal scroll
3451 bars, if present.
3452
3453 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3454
3455 * menu-bar.el (menu-bar-update-buffers): Update item list format
3456 in `buffers-menu' to confirm with changes to `get_keyelt'
3457 (r117463). (Bug#18016)
3458
3459 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3460
3461 * progmodes/python.el (inferior-python-mode): Make input prompts
3462 read-only.
3463
3464 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
3465
3466 * net/tramp-sh.el (tramp-get-remote-python): Also search for
3467 executables named "python2" or "python3".
3468 (tramp-get-remote-uid-with-python): Use parentheses around
3469 arguments to `print' to make it compatible with Python 3.
3470 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
3471
3472 2014-07-28 Eli Zaretskii <eliz@gnu.org>
3473
3474 * window.el (window--pixel-to-total): Use FRAME's root window, not
3475 that of the selected frame. (Bug#18112, Bug#16674)
3476
3477 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
3478
3479 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
3480 (Bug#18117)
3481
3482 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3483
3484 * progmodes/python.el (inferior-python-mode): Doc fix.
3485
3486 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3487
3488 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
3489 not a character, ignore it instead of raising an error.
3490
3491 * calendar/todo-mode.el: Fix handling of marked items and make
3492 minor code improvements.
3493 (todo-edit-item): If there are marked items, ensure user can only
3494 invoke editing commands that work with marked items.
3495 (todo-edit-item--text): When there are marked items, make it a
3496 noop if invoked with point not on an item; otherwise, ensure it
3497 applies only to item at point.
3498 (todo-item-undone): If there are marked not-done items, return
3499 point to its original position before signaling user error.
3500 (todo--user-error-if-marked-done-item): New function.
3501 (todo-edit-item--header, todo-edit-item--diary-inclusion)
3502 (todo-item-done): Use it.
3503
3504 2014-07-28 Glenn Morris <rgm@gnu.org>
3505
3506 * files.el (toggle-read-only): Re-add basic doc-string.
3507 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
3508
3509 * progmodes/prolog.el (prolog-mode-keybindings-edit):
3510 Replace missing `switch-to-prolog' with `run-prolog'.
3511 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
3512
3513 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3514
3515 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
3516 of file-wide setting when changing category-wide setting.
3517
3518 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3519
3520 * doc-view.el (doc-view-open-text): Don't require that the
3521 document is saved in a file (e.g., email attachment).
3522
3523 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3524
3525 Parse completion input in a iPython friendly way. (Bug#18084)
3526 * progmodes/python.el
3527 (python-shell-completion-at-point): Rename from
3528 python-shell-completion-complete-at-point.
3529 (inferior-python-mode): Use it.
3530 (python-completion-at-point): Rename from
3531 python-completion-complete-at-point. Parse input up to first
3532 backward occurrence of whitespace, open-paren, close-paren or
3533 string delimiter.
3534 (python-mode): Use it.
3535
3536 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3537
3538 Prevent Python process shell buffer to pop twice.
3539 * progmodes/python.el (python-shell-switch-to-shell): Do not call
3540 pop-to-buffer.
3541
3542 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3543
3544 * progmodes/python.el
3545 (python-shell-with-shell-buffer): New macro.
3546 (python-shell-font-lock-get-or-create-buffer)
3547 (python-shell-font-lock-kill-buffer)
3548 (python-shell-font-lock-with-font-lock-buffer)
3549 (python-shell-font-lock-cleanup-buffer)
3550 (python-shell-font-lock-toggle): Use it.
3551 (python-shell-font-lock-turn-on)
3552 (python-shell-font-lock-turn-off): Use it. Make command.
3553
3554 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3555
3556 Grab all Python process output before inferior-python-mode hooks.
3557 * progmodes/python.el (inferior-python-mode):
3558 Call accept-process-output and sit-for to ensure all output for process
3559 has been received before running hooks.
3560 (python-shell-internal-get-or-create-process):
3561 Cleanup accept-process-output and sit-for calls.
3562
3563 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3564
3565 More robust shell startup and code setup.
3566 * progmodes/python.el (python-shell-make-comint):
3567 Remove accept-process-output call.
3568 (python-shell-get-buffer): Return current buffer if major-mode is
3569 inferior-python-mode.
3570 (python-shell-get-or-create-process): Use it.
3571 (python-shell-send-setup-code): Send all setup code in one string,
3572 output success message and accept-process-output.
3573
3574 2014-07-27 Eli Zaretskii <eliz@gnu.org>
3575
3576 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
3577 Add rudimentary support for bidirectional text.
3578
3579 2014-07-27 Martin Rudalics <rudalics@gmx.at>
3580
3581 * frame.el (frame-notice-user-settings): Rewrite using
3582 frame-initial-frame-tool-bar-height.
3583 * menu-bar.el (menu-bar-horizontal-scroll-bar)
3584 (menu-bar-no-horizontal-scroll-bar): New functions.
3585 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
3586 scroll bars.
3587 * scroll-bar.el (scroll-bar-lines)
3588 (set-horizontal-scroll-bar-mode)
3589 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
3590 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
3591 (scroll-bar-toolkit-horizontal-scroll): New functions.
3592 (horizontal-scroll-bar-mode)
3593 (previous-horizontal-scroll-bar-mode)
3594 (horizontal-scroll-bar-mode-explicit): New variables.
3595 (horizontal-scroll-bar-mode): New option.
3596 (toggle-horizontal-scroll-bar): Do something.
3597 (top-level): Bind horizontal-scroll-bar mouse-1.
3598 * startup.el (tool-bar-originally-present): Remove variable.
3599 (command-line): Don't set tool-bar-originally-present.
3600 * window.el (window-min-height): Update doc-string.
3601 (window--dump-frame): Dump horizontal scroll bar values.
3602 (window--min-size-1): Handle minibuffer window separately.
3603 Count in margins and horizontal scroll bar. Return safe value
3604 iff IGNORE equals 'safe.
3605 (frame-windows-min-size): New function (used by frame resizing
3606 routines).
3607 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
3608 scroll bars.
3609 (window--sanitize-window-sizes): New function.
3610 (window-split-min-size): Remove.
3611 (split-window): Count divider-width. Don't use
3612 `window-split-min-size' any more. Reword error messages.
3613 Sanitize windows sizes after splitting.
3614
3615 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
3616
3617 Use `defvar-local' more.
3618 * progmodes/hideshow.el
3619 (hs-c-start-regexp, hs-block-start-regexp)
3620 (hs-block-start-mdata-select, hs-block-end-regexp)
3621 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
3622 remove corresponding `make-variable-buffer-local' top-level calls.
3623
3624 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3625
3626 Cleanup error signals. (Bug#18067)
3627 * progmodes/python.el
3628 (python-indent-shift-left): Use user-error instead.
3629 (python-shell-prompt-detect): Use lwarn with python group.
3630 (python-completion-complete-at-point)
3631 (python-eldoc--get-doc-at-point): Don't signal error.
3632
3633 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3634
3635 Support for packages in Python shell. (Bug#13570)
3636 * progmodes/python.el (python-shell--package-depth): New var.
3637 (python-shell-package-enable): New command.
3638 (python-util-list-directories, python-util-list-files)
3639 (python-util-list-packages): New functions.
3640
3641 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3642
3643 Faster comint output. (Bug#16875)
3644 * progmodes/python.el:
3645 (python-comint-output-filter-function): Make obsolete.
3646 (python-comint-postoutput-scroll-to-bottom): New function.
3647 (inferior-python-mode): Set comint-output-filter-functions to a
3648 minimum.
3649
3650 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3651
3652 * progmodes/python.el (python-shell-font-lock-post-command-hook):
3653 Safeguard current point and undo history.
3654
3655 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3656
3657 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
3658 * progmodes/python.el:
3659 (python-shell-prompt-input-regexps): Add iPython block prompt.
3660 (python-shell-output-syntax-table): Delete var.
3661 (python-shell-font-lock-with-font-lock-buffer): New macro.
3662 (python-shell-font-lock-get-or-create-buffer)
3663 (python-shell-font-lock-kill-buffer)
3664 (python-shell-font-lock-cleanup-buffer)
3665 (python-shell-font-lock-post-command-hook)
3666 (python-shell-font-lock-turn-off): New functions.
3667 (python-shell-font-lock-turn-on): New function.
3668 (inferior-python-mode): Use it.
3669 (python-shell-font-lock-toggle): New command.
3670 (python-shell-font-lock-enable): Rename from
3671 python-shell-enable-font-lock.
3672 (run-python-internal): Use it.
3673 (python-shell-font-lock-comint-output-filter-function): New function.
3674 (python-shell-comint-end-of-output-p): New function.
3675 (python-shell-output-filter): Use it.
3676 (python-util-comint-last-prompt): New function.
3677 (python-util-text-properties-replace-name): New function.
3678
3679 2014-07-25 Glenn Morris <rgm@gnu.org>
3680
3681 * vc/ediff-init.el (ediff-toggle-read-only-function):
3682 * vc/ediff-util.el (ediff-toggle-read-only):
3683 Replace obsolete toggle-read-only with read-only-mode.
3684
3685 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
3686
3687 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
3688 with `save-match-data'. (Bug#18095)
3689
3690 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
3691
3692 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
3693 order to ensure that row and col are lexically bound inside the
3694 evaluated sexp.
3695
3696 2014-07-21 Glenn Morris <rgm@gnu.org>
3697
3698 * progmodes/hideif.el (hide-ifdef-mode-submap):
3699 Also substitute read-only-mode.
3700 * bindings.el (mode-line-toggle-read-only):
3701 * bs.el (bs-toggle-readonly):
3702 * buff-menu.el (Buffer-menu-toggle-read-only):
3703 * dired.el (dired-toggle-read-only):
3704 * files.el (view-read-only, find-file-read-only)
3705 (find-file-read-only-other-window)
3706 (find-file-read-only-other-frame):
3707 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
3708 Doc fixes re toggle-read-only.
3709
3710 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
3711
3712 * progmodes/python.el: Add comment about pipe buffering and
3713 solutions for missing/delayed output in inferior Python shells.
3714 (Bug#17304)
3715
3716 * progmodes/python.el (python-mode): Don't set
3717 mode-require-final-newline. (Bug#17990)
3718
3719 Make python.el work with IPython automatically. (Bug#15510)
3720 * progmodes/python.el:
3721 (python-shell-completion-setup-code): New value supporting iPython.
3722 (python-shell-completion-string-code): New value supporting iPython.
3723 (python-shell-completion-get-completions): Use them.
3724 (python-shell-completion-module-string-code): Make obsolete.
3725 (python-shell-prompt-input-regexps)
3726 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
3727 (python-shell-output-filter): Fix comment typo.
3728
3729 Fix Python shell prompts detection for remote hosts.
3730 * progmodes/python.el (python-shell-prompt-detect):
3731 Replace call-process with process-file and make it more robust.
3732
3733 Autodetect Python shell prompts. (Bug#17370)
3734 * progmodes/python.el:
3735 (python-shell-interpreter-interactive-arg)
3736 (python-shell-prompt-detect-enabled)
3737 (python-shell-prompt-detect-failure-warning)
3738 (python-shell-prompt-input-regexps)
3739 (python-shell-prompt-output-regexps): New vars.
3740 (python-shell-prompt-calculated-input-regexp)
3741 (python-shell-prompt-calculated-output-regexp): New vars.
3742 (python-shell-get-process-name)
3743 (python-shell-internal-get-process-name)
3744 (python-shell-output-filter)
3745 (python-shell-completion-get-completions): Use them.
3746 (python-shell-prompt-detect)
3747 (python-shell-prompt-validate-regexps): New functions.
3748 (python-shell-prompt-set-calculated-regexps): New function.
3749 (inferior-python-mode): Use it. Also honor overriden
3750 python-shell-interpreter and python-shell-interpreter-args.
3751 (python-shell-make-comint): Honor overriden
3752 python-shell-interpreter and python-shell-interpreter-args.
3753 (python-shell-get-or-create-process): Make it testable by allowing
3754 to call run-python non-interactively.
3755 (python-util-valid-regexp-p): New function.
3756 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
3757 (python-shell-prompt-output-regexp)
3758 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
3759
3760 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * emacs-lisp/smie.el (smie-config--guess-1): Split from
3763 smie-config--guess.
3764 (smie-config--guess): Use it.
3765
3766 * emacs-lisp/edebug.el: Use nadvice.
3767 (edebug-original-read): Remove.
3768 (edebug--read): Rename from edebug-read and add `orig' arg.
3769 (edebug-uninstall-read-eval-functions)
3770 (edebug-install-read-eval-functions): Use nadvice.
3771 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
3772 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
3773 (edebug-read-string, edebug-read-function): Use just `read'.
3774 (edebug-original-debug-on-entry): Remove.
3775 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
3776 `orig' arg.
3777 (debug-on-entry): Override with nadvice.
3778
3779 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
3780 it also makes sense to bind it to a non-mouse event.
3781
3782 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
3783
3784 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
3787 (bug#18015).
3788
3789 * rect.el (rectangle--string-preview): Don't assume there
3790 a non-nil default (bug#17984).
3791
3792 2014-07-16 Glenn Morris <rgm@gnu.org>
3793
3794 * desktop.el (after-init-hook): Disable startup frame restoration
3795 in non-graphical situations. (Bug#17693)
3796
3797 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
3798 if it was "empty", or used for a different set of files. (Bug#17884)
3799
3800 2014-07-16 Eli Zaretskii <eliz@gnu.org>
3801
3802 * bindings.el (mode-line-remote): If default-directory is not a
3803 string, don't call file-remote-p on it; instead state in the
3804 help-echo that it is nil. (Bug#17986)
3805
3806 2014-07-14 Daniel Colascione <dancol@dancol.org>
3807
3808 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
3809 to `macroexpand-all'
3810
3811 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
3812 Use `macroexpand-all' instead of `cl-macroexpand-all'.
3813
3814 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
3815
3816 Fix bug: C-x v v discarded existing log message (Bug#17884).
3817 * vc/vc-dispatcher.el (vc-log-edit):
3818 Don't clobber an already-existing log message.
3819
3820 2014-07-12 Glenn Morris <rgm@gnu.org>
3821
3822 * vc/log-edit.el (log-edit-changelog-entries):
3823 Check for a visited-but-never-saved ChangeLog.
3824
3825 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
3828 a non-existing file (bug#17970).
3829
3830 * faces.el (face-name): Undo last change.
3831 (x-resolve-font-name): Don't call face-name (bug#17956).
3832
3833 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3834
3835 Fix dedenters and electric colon handling. (Bug#15163)
3836 * progmodes/python.el
3837 (python-rx-constituents): Add dedenter and block-ender.
3838 (python-indent-dedenters, python-indent-block-enders): Delete.
3839 (python-indent-context): Return new case for dedenter-statement.
3840 (python-indent-calculate-indentation): Handle new case.
3841 (python-indent-calculate-levels): Fix levels calculation for
3842 dedenter statements.
3843 (python-indent-post-self-insert-function): Fix colon handling.
3844 (python-info-dedenter-opening-block-message): New function.
3845 (python-indent-line): Use it.
3846 (python-info-closing-block)
3847 (python-info-closing-block-message): Remove.
3848 (python-info-dedenter-opening-block-position)
3849 (python-info-dedenter-opening-block-positions)
3850 (python-info-dedenter-statement-p): New functions.
3851
3852 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
3853
3854 * files.el (out-of-memory-warning-percentage): New defcustom.
3855 (warn-maybe-out-of-memory): Use it.
3856
3857 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
3858
3859 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
3860 when calling `read-string'. (Bug#17839)
3861
3862 2014-07-10 Eli Zaretskii <eliz@gnu.org>
3863
3864 * files.el (warn-maybe-out-of-memory): Fix the wording of the
3865 warning.
3866
3867 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
3868
3869 * files.el (warn-maybe-out-of-memory): New function.
3870 (find-file-noselect): Use it.
3871
3872 2014-07-09 Sam Steingold <sds@gnu.org>
3873
3874 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
3875 `constant' like `bless', `return' &c
3876
3877 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3878
3879 * rect.el (apply-on-rectangle): Check forward-line really moved to the
3880 next line.
3881
3882 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
3885 the middle of a line (bug#17896).
3886
3887 2014-07-09 Juri Linkov <juri@jurta.org>
3888
3889 * startup.el (command-line): Append displaying the warning about
3890 the errors in the init file to the end of `after-init-hook'.
3891 (Bug#17927)
3892
3893 * faces.el (face-name): Return input arg `face' as-is
3894 when it's not a symbol.
3895 (x-resolve-font-name): Don't check if the face is a symbol.
3896 (Bug#17956)
3897
3898 * facemenu.el (list-colors-print): In help-echo format use %.2f
3899 instead of %d because now HSV values are floating-point components
3900 between 0.0 and 1.0.
3901
3902 2014-07-09 Glenn Morris <rgm@gnu.org>
3903
3904 * emulation/cua-rect.el (cua--activate-rectangle):
3905 Avoid setting cua--rectangle to nil. (Bug#17877)
3906
3907 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
3908
3909 * calendar/todo-mode.el: Fix wrong-type-argument error when
3910 marking multiple consecutive items.
3911 (todo-toggle-mark-item): Don't try to mark the empty lines at the
3912 end of the todo and done items sections. Note in doc string that
3913 items marked by passing a numeric prefix argument can include the
3914 last todo and first done items.
3915 (todo-mark-category): Don't try to mark the empty line between the
3916 todo and done items sections.
3917
3918 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
3921 proper Lisp quoting (bug#17934).
3922
3923 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
3924 require-final-newline since prog-mode already took care of it (bug#17947).
3925
3926 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
3927
3928 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
3929 refer to the Todo mode Info manual. Update the comment on
3930 requiring cl-lib.
3931 (todo-find-filtered-items-file): Add todo-prefix overlays.
3932 (todo-filter-items): Reorder a let-bound variable to avoid a
3933 wrong-type-argument error on canceling the file choice dialog.
3934
3935 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * progmodes/octave.el (inferior-octave-mode):
3938 Set comint-input-ring-size to a number (bug#17912).
3939
3940 2014-07-09 Juri Linkov <juri@jurta.org>
3941
3942 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
3943 and `isearch-mode' associated with nil. (Bug#17849)
3944
3945 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * linum.el (linum--face-height): New function (bug#17813).
3948 (linum-update-window): Use it to adjust margin to linum's width.
3949
3950 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
3951 * eshell/em-smart.el (eshell-smart-scroll-window):
3952 Use with-selected-window.
3953
3954 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
3955 Remove also pointless window&mark manipulation.
3956
3957 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
3958 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
3959 (perl-continuation-line-p): Don't skip over anything else than labels.
3960 Return the previous char.
3961 (perl-calculate-indent): Use syntax-ppss instead of parse-start
3962 and update callers accordingly. For continuation lines, check the
3963 the case of array hashes.
3964 (perl-backward-to-noncomment): Make it non-interactive.
3965 (perl-backward-to-start-of-continued-exp): Rewrite.
3966
3967 2014-07-08 Sam Steingold <sds@gnu.org>
3968
3969 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
3970 New user commands.
3971
3972 2014-07-08 Juri Linkov <juri@jurta.org>
3973
3974 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
3975 (vc-annotate-color-map): Use less saturated colors (20%) for
3976 background-mode.
3977 (vc-annotate-very-old-color): Add default value for background-mode.
3978 (vc-annotate-background): Set default value to nil since now text on
3979 the default backgrounds should be legible in light and dark modes.
3980 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
3981 (Bug#17808)
3982
3983 2014-07-08 Juri Linkov <juri@jurta.org>
3984
3985 * simple.el (transpose-chars): Don't move point into read-only area.
3986 (Bug#17829)
3987
3988 2014-07-08 Juri Linkov <juri@jurta.org>
3989
3990 * window.el (with-displayed-buffer-window): New macro.
3991 (with-temp-buffer-window, with-current-buffer-window):
3992 Use `macroexp-let2' to evaluate and bind variables
3993 in the same order as macro arguments.
3994 (display-buffer--action-function-custom-type):
3995 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
3996
3997 * minibuffer.el (minibuffer-completion-help): Replace
3998 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
3999 with actions that display *Completions* at-bottom when called
4000 from the minibuffer, or below-selected in a normal buffer.
4001 Associate `window-height' with `fit-window-to-buffer'.
4002 Let-bind `pop-up-windows' to nil.
4003
4004 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
4005 instead of `with-current-buffer-window'. (Bug#17809)
4006
4007 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
4008
4009 * progmodes/hideif.el (hide-ifdef-env): Change to global.
4010 (hide-ifdef-env-backup): New variable.
4011 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
4012 New customizable variables.
4013 (hif-clear-all-ifdef-defined): New defun.
4014 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
4015 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
4016 (hif-tokenize): Fix for MS-DOS/Win EOL style.
4017 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
4018 Fix bug to hide the correct #elif region(s).
4019 (hif-range-elif): New defun.
4020 (hif-recurse-level): New var.
4021 (hif-evaluate-region, hif-evaluate-macro): New defun.
4022 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
4023 fully hidden.
4024 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
4025 Better interaction.
4026
4027 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
4028
4029 * net/dbus.el (dbus-peer-handler): New defun.
4030 (dbus-register-service): Register it. (Bug#17858)
4031 (dbus-managed-objects-handler): Fix docstring.
4032
4033 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
4034
4035 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
4036 (narrow-to-defun): New arg include-comments, defaulting to it
4037 (bug#16328).
4038
4039 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
4042 different calling convention to rectangle--unhighlight-for-redisplay.
4043
4044 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
4045
4046 * net/tramp.el (tramp-call-process): Handle error strings.
4047
4048 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
4049
4050 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
4051 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
4052
4053 * net/trampver.el: Update release number.
4054
4055 2014-07-03 Juri Linkov <juri@jurta.org>
4056
4057 * desktop.el (desktop-save): Rename arg `auto-save' to
4058 `only-if-changed'. Doc fix. (Bug#17873)
4059
4060 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4063 Use insert-for-yank (bug#17271).
4064
4065 2014-07-03 Leo Liu <sdl.web@gmail.com>
4066
4067 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
4068 Support lexical-binding.
4069
4070 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * vc/log-edit.el (log-edit-goto-eoh): New function.
4073 (log-edit--match-first-line): Use it (bug#17861).
4074
4075 2014-07-03 Glenn Morris <rgm@gnu.org>
4076
4077 * vc/log-edit.el (log-edit-hook): Add missing :version.
4078
4079 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
4080
4081 * progmodes/python.el (python-indent-post-self-insert-function):
4082 Enhancements to electric indentation behavior inside
4083 parens. (Bug#17658)
4084
4085 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
4086
4087 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
4088 buffer-invisibility-spec (bug#17867).
4089
4090 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
4091
4092 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
4093 pass "-a".
4094
4095 2014-07-03 Glenn Morris <rgm@gnu.org>
4096
4097 * cus-edit.el (help):
4098 * finder.el (finder-known-keywords):
4099 * help.el (help-for-help-internal):
4100 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
4101 (ediff-redraw-registry-buffer):
4102 * vc/ediff-ptch.el (ediff-patch-file-internal):
4103 Doc fixes re "online" help. (Bug#17803)
4104
4105 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
4106 (idlwave-mode): Doc URL update.
4107
4108 2014-07-01 Juri Linkov <juri@jurta.org>
4109
4110 * man.el: Display man pages immediately and use process-filter
4111 to format them asynchronously.
4112 (Man-width): Doc fix.
4113 (man): Doc fix.
4114 (Man-start-calling): Use `with-selected-window' to get
4115 `frame-width' and `window-width'.
4116 (Man-getpage-in-background): Call `Man-notify-when-ready'
4117 immediately after creating a new buffer. Call `Man-mode' and set
4118 `mode-line-process' in the created buffer. Set process-filter to
4119 `Man-bgproc-filter' in start-process branch. In call-process branch
4120 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
4121 Use `Man-start-calling' inside `with-current-buffer'.
4122 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
4123 (Man-cleanup-manpage): Don't print messages.
4124 (Man-bgproc-filter): New function.
4125 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
4126 user moved it during asynchronous formatting. Move calls of
4127 `Man-fontify-manpage' and `Man-cleanup-manpage' to
4128 `Man-bgproc-filter'. Move the call of `Man-mode' to
4129 `Man-getpage-in-background'. Use `quit-restore-window'
4130 instead of `kill-buffer'. Use `message' instead of `error'
4131 because errors are caught by process sentinel.
4132 (Man-mode): Move calls of `Man-build-page-list',
4133 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
4134 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
4135
4136 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
4137 for the message about the man page cleaned up.
4138
4139 2014-07-01 Mario Lang <mlang@delysid.org>
4140
4141 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
4142 cosutomization option `gnutls-verify-error'.
4143
4144 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
4147 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
4148
4149 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
4150 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
4151 is suspended (bug#17857).
4152
4153 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
4154
4155 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4156 Prefer utf-8 coding. (Bug#17859)
4157
4158 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4159
4160 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
4161 for `reverse'.
4162
4163 2014-06-30 Glenn Morris <rgm@gnu.org>
4164
4165 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
4166 (autoload-ensure-default-file): Maybe make existing output writable.
4167 * Makefile.in (AUTOGEN_VCS): Remove.
4168 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
4169
4170 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4171
4172 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
4173
4174 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
4175
4176 New if-let, when-let, thread-first and thread-last macros.
4177
4178 * emacs-lisp/subr-x.el
4179 (internal--listify, internal--check-binding)
4180 (internal--build-binding-value-form, internal--build-binding)
4181 (internal--build-bindings): New functions.
4182 (internal--thread-argument, thread-first, thread-last)
4183 (if-let, when-let): New macros.
4184
4185 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
4186
4187 * net/rcirc.el (rcirc-buffer-process): Restore previous
4188 behaviour. (Bug#17772)
4189
4190 2014-06-29 Alan Mackenzie <acm@muc.de>
4191
4192 Don't call c-parse-state when c++-template-syntax-table is active.
4193 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
4194 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
4195 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
4196
4197 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
4198
4199 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
4200 account for file-wide setting of todo-top-priorities-overrides.
4201 Make code a bit cleaner.
4202
4203 2014-06-28 Glenn Morris <rgm@gnu.org>
4204
4205 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
4206
4207 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
4208
4209 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
4210 category-wide setting of todo-top-priorities-overrides, check for
4211 a file-wide setting and fontify accordingly.
4212
4213 2014-06-28 Glenn Morris <rgm@gnu.org>
4214
4215 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
4216
4217 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
4220
4221 2014-06-28 K. Handa <handa@gnu.org>
4222
4223 Fix Bug#17739.
4224
4225 * composite.el: Setup composition-function-table for dotted circle.
4226 (compose-gstring-for-dotted-circle): New function.
4227
4228 * international/characters.el: Add category "^" to all
4229 non-spacing characters.
4230
4231 2014-06-28 Glenn Morris <rgm@gnu.org>
4232
4233 * Makefile.in (doit): Remove force rule.
4234 (custom-deps, finder-data, autoloads, update-subdirs)
4235 (compile-one-process): PHONY targets do not need force rules.
4236
4237 * Makefile.in (compile-main, compile, compile-always):
4238 No need to explicitly pass variables to ourself in recursive calls.
4239
4240 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4241
4242 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
4243
4244 2014-06-26 Glenn Morris <rgm@gnu.org>
4245
4246 * Makefile.in (update-authors): Update for moved authors.el.
4247
4248 2014-06-26 Leo Liu <sdl.web@gmail.com>
4249
4250 * skeleton.el (skeleton-end-hook): Default to nil and move the
4251 work to skeleton-insert. (Bug#17850)
4252
4253 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
4254
4255 * calc/calc-alg.el (math-beforep):
4256 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
4257 Simplify because string-lessp can accept symbols as args.
4258
4259 2014-06-26 Daiki Ueno <ueno@gnu.org>
4260
4261 * emacs-lisp/package.el (package--check-signature):
4262 If package-check-signature is allow-unsigned, don't signal error when
4263 we can't verify signature because of missing public key
4264 (bug#17625).
4265
4266 2014-06-26 Glenn Morris <rgm@gnu.org>
4267
4268 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
4269 Remove outdated declaration.
4270
4271 * emacs-lisp/authors.el (authors-valid-file-names)
4272 (authors-renamed-files-alist): Additions.
4273
4274 2014-06-26 Leo Liu <sdl.web@gmail.com>
4275
4276 * textmodes/picture.el (picture-set-tab-stops):
4277 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
4278 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
4279
4280 * progmodes/asm-mode.el (asm-calculate-indentation):
4281 Use indent-next-tab-stop.
4282
4283 * indent.el (indent-accumulate-tab-stops): New function.
4284
4285 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
4288 (package-desc-status): Obey it.
4289
4290 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
4291
4292 * calendar/todo-mode.el: Fix two bugs.
4293 (todo-insert-item--basic): If user cancels item insertion to
4294 another category before setting priority, show original category
4295 whether it is in the same or a different file.
4296 (todo-set-item-priority): After selecting category, instead of
4297 moving point to top, which extends an active region, restore it.
4298
4299 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * help-fns.el (describe-function-1): Check file-name is a string before
4302 calling help-fns--autoloaded-p (bug#17564).
4303
4304 2014-06-26 Juri Linkov <juri@jurta.org>
4305
4306 * desktop.el (desktop-auto-save-enable)
4307 (desktop-auto-save-disable): New functions.
4308 (desktop-save-mode, desktop-auto-save-timeout): Use them.
4309 (desktop-read): Disable the autosave before loading the desktop,
4310 and enable afterwards. (Bug#17351)
4311
4312 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 Fix some indentation problem with \; and pipes (bug#17842).
4315 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
4316 (sh-smie--default-forward-token, sh-smie--default-backward-token):
4317 New functions.
4318 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
4319 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
4320 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
4321
4322 2014-06-26 Glenn Morris <rgm@gnu.org>
4323
4324 * emacs-lisp/find-func.el (find-function-C-source-directory):
4325 Use file-accessible-directory-p.
4326
4327 * ps-samp.el: Make it slightly less awful.
4328 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
4329 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
4330 Only set local values.
4331 (ps-article-subject, ps-article-author): Use standard functions
4332 like mail-fetch-field.
4333 (ps-info-file, ps-info-node): Use match-string.
4334 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
4335 (ps-samp-ps-setup): ... new function.
4336
4337 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
4338 Optimize away code unneeded on any modern Emacs.
4339
4340 * emacs-lisp/authors.el: Move to ../admin.
4341
4342 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
4343
4344 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
4345
4346 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
4347 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
4348 performance enhancements.
4349 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
4350 expansion.
4351 (hif-factor, hif-string-concatenation, intern-safe): Support string
4352 concatenation and argumented macro expansion.
4353 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
4354 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
4355 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
4356 (hif-canonicalize-tokens, hif-place-macro-invocation)
4357 (hif-parse-macro-arglist): Mostly new functions for supporting
4358 argumented macro expansion.
4359 (hif-string-concatenation, hif-stringify, hif-token-concat)
4360 (hif-token-stringification, hif-token-concatenation):
4361 Stringification and concatenation.
4362 (hif-find-next-relevant): Fix comments.
4363 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
4364 some cases involving #elif.
4365 (hif-find-define, hif-add-new-defines): New functions for automatically
4366 scanning of defined symbols.
4367 (hide-ifdef-guts): Fix for defined symbol auto scanning.
4368 (hide-ifdef-undef): Fix behavior to match CPP.
4369
4370 2014-06-25 Glenn Morris <rgm@gnu.org>
4371
4372 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
4373 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
4374 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
4375 files. They are not relevant to the original issue (bug#1004),
4376 and cause unnecessary recompilation (bug#2151).
4377
4378 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * play/landmark.el: Use lexical-binding and avoid `intangible'.
4381 (landmark--last-pos): New var.
4382 (landmark--intangible-chars): New const.
4383 (landmark--intangible): New function.
4384 (landmark-mode, landmark-move): Use it.
4385 (landmark-mode): Remove properties.
4386 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
4387 (landmark-cross-qtuple):
4388 Don't worry about `intangible' any more.
4389 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
4390 (landmark-init-display): Don't set `intangible' and `point-entered'.
4391 (square): Remove. Inline it instead.
4392 (landmark--distance): Rename from `distance'.
4393 (landmark-calc-distance-of-robot-from): Rename from
4394 calc-distance-of-robot-from.
4395 (landmark-calc-smell-internal): Rename from calc-smell-internal.
4396
4397 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
4398
4399 * files.el (dir-locals-find-file, file-relative-name):
4400 * info.el (Info-complete-menu-item):
4401 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
4402 to compare-strings to avoid out-of-range errors.
4403 * subr.el (string-prefix-p): Adjust to match strict range
4404 checking in compare-strings.
4405
4406 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
4407
4408 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
4409 for comment lines non-greedy and stopping at newlines to fix stack
4410 overflows with large files.
4411
4412 2014-06-24 Eli Barzilay <eli@barzilay.org>
4413
4414 * calculator.el (calculator-last-input): Drop 'ascii-character property
4415 lookup.
4416
4417 2014-06-24 Leo Liu <sdl.web@gmail.com>
4418
4419 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
4420 tab-stop-list to nil. (Bug#16381)
4421
4422 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
4423 (indent-rigidly-left-to-tab-stop)
4424 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
4425 (move-to-tab-stop): Change callers.
4426
4427 2014-06-24 Eli Zaretskii <eliz@gnu.org>
4428
4429 * skeleton.el (skeleton-insert): Yet another fix of the doc string
4430 wrt behavior of \n as the first/last element of a skeleton.
4431
4432 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
4433
4434 * net/tramp-adb.el (tramp-adb-handle-process-file):
4435 * net/tramp-sh.el (tramp-sh-handle-process-file):
4436 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
4437 the output buffer when DISPLAY is non-nil. (Bug#17815)
4438
4439 2014-06-24 Glenn Morris <rgm@gnu.org>
4440
4441 * play/landmark.el (landmark-move-down, landmark-move-up):
4442 Fix 2007-10-20 change - preserve horizontal position.
4443
4444 2014-06-23 Sam Steingold <sds@gnu.org>
4445
4446 * simple.el (kill-append): Remove undo boundary depending on ...
4447 (kill-append-merge-undo): New user option.
4448
4449 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * simple.el (handle-shift-selection, exchange-point-and-mark)
4452 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
4453 (transient-mark-mode): Use&set the global value.
4454 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
4455 * emulation/edt.el (edt-emulation-off): Save&restore the global
4456 transient-mark-mode setting.
4457 * obsolete/pc-select.el (pc-selection-mode): Use the
4458 transient-mark-mode function.
4459
4460 2014-06-23 Eli Zaretskii <eliz@gnu.org>
4461
4462 * international/fontset.el (script-representative-chars):
4463 Add representative characters for scripts added in Unicode 7.0.
4464 (otf-script-alist): Synchronize with the latest registry of OTF
4465 script tags.
4466
4467 * international/characters.el (char-script-table): Update for
4468 scripts added and codepoint ranges changed in Unicode 7.0.
4469
4470 2014-06-23 Eli Barzilay <eli@barzilay.org>
4471
4472 * calculator.el (calculator-standard-displayer): Fix bug in use of
4473 `calculator-groupize-number'.
4474 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
4475 `eval' code, so it works in v24.3.1 too.
4476 (calculator-last-input): Comment to clarify purpose.
4477
4478 2014-06-22 Mario Lang <mlang@delysid.org>
4479
4480 * textmodes/rst.el (rst-comment-region): From from -> from.
4481
4482 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
4483
4484 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
4485
4486 * electric.el (electric-layout-post-self-insert-function):
4487 * emacs-lisp/ert.el (ert--insert-infos):
4488 * obsolete/vi.el (vi-set-mark):
4489 * term.el (term-handle-scroll):
4490 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
4491 * wid-edit.el (widget-editable-list-value-create):
4492 Prefer point-marker to copy-marker of point.
4493
4494 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4495
4496 Fix completion retrieval parsing (bug#17209).
4497 * progmodes/python.el (python-mode):
4498 (python-util-strip-string): New function.
4499 (python-shell-completion-get-completions): Use it.
4500
4501 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4502
4503 * skeleton.el (skeleton-insert): Fix last change.
4504
4505 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4506
4507 Enhancements for outline integration (bug#17796).
4508 * progmodes/python.el (python-mode): Properly set
4509 outline-heading-end-regexp so that comments after colons for
4510 defuns are supported.
4511
4512 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4513
4514 * skeleton.el (skeleton-insert): Doc fix.
4515
4516 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
4519 (smie-config-guess): Use smie-config-local so the rules are obeyed
4520 (bug#17818).
4521
4522 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
4523 since it's already done inside the loop (bug#17819).
4524
4525 2014-06-21 Martin Rudalics <rudalics@gmx.at>
4526
4527 * mouse.el (mouse-drag-line): Re-remove code initially removed
4528 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
4529 (Bug#17819).
4530
4531 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4532
4533 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
4534 align with the surrounding parent (bug#17721).
4535
4536 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4537
4538 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
4539 locally to nil.
4540 (texinfo-insert-block, texinfo-insert-@end)
4541 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
4542 local setting of skeleton-end-newline by adding an explicit \n to
4543 the skeletons where appropriate. (Bug#17801)
4544
4545 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4546
4547 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
4548 (smie-indent--hanging-p): Use it.
4549 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
4550
4551 2014-06-21 Leo Liu <sdl.web@gmail.com>
4552
4553 * simple.el (read-quoted-char): Don't let help chars pop up help
4554 buffer. (Bug#16617)
4555
4556 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4557
4558 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
4559 for | (bug#17621).
4560
4561 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
4562 Drop unknown events instead of burping.
4563
4564 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4565
4566 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
4567 and later. (Bug#17790)
4568
4569 2014-06-21 Juri Linkov <juri@jurta.org>
4570
4571 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
4572 to `soft'. (Bug#17554)
4573
4574 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
4577 (bug#17737).
4578
4579 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
4580
4581 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
4582 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
4583
4584 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
4585
4586 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
4587 `unread-command-events'.
4588
4589 2014-06-19 William Xu <william.xwl@gmail.com>
4590
4591 * progmodes/hideif.el (hif-string-to-number): Don't return float for
4592 hex integer constants (bug#17807).
4593
4594 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * international/mule-util.el (truncate-string-ellipsis): New var.
4597 (truncate-string-to-width): Use it.
4598
4599 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
4600
4601 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
4602 (lisp-string-in-doc-position-p): New function, extracted from
4603 lisp-font-lock-syntactic-face-function.
4604 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
4605
4606 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
4607
4608 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
4609
4610 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
4613 (bubbles--game-over): Don't add `intangible' properties since they
4614 didn't work anyway.
4615
4616 2014-06-18 Juri Linkov <juri@jurta.org>
4617
4618 * vc/ediff-init.el (ediff-current-diff-Ancestor)
4619 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
4620 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
4621 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
4622 Add `min-colors 88' version with removed black/white foregrounds.
4623 (Bug#10181)
4624
4625 2014-06-18 Juri Linkov <juri@jurta.org>
4626
4627 * vc/diff-mode.el (diff-changed): Empty face definition to use
4628 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
4629 (diff-context): Use darker color on light background and
4630 lighter color on dark background.
4631
4632 2014-06-18 Juri Linkov <juri@jurta.org>
4633
4634 * vc/diff-mode.el (diff-refine-changed): Rename from
4635 `diff-refine-change' for consistency with `diff-changed'.
4636 (diff-refine-change): Add obsolete face alias. (Bug#10181)
4637
4638 * vc/smerge-mode.el (smerge-refined-changed): Rename from
4639 `smerge-refined-change'.
4640 (smerge-refined-change): Add obsolete face alias.
4641
4642 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4643
4644 * rect.el (rectangle-preview): New custom.
4645 (rectangle): New group.
4646 (rectangle--pos-cols): Add `window' argument.
4647 (rectangle--string-preview-state, rectangle--string-preview-window):
4648 New vars.
4649 (rectangle--string-flush-preview, rectangle--string-erase-preview)
4650 (rectangle--space-to, rectangle--string-preview): New functions.
4651 (string-rectangle): Use them.
4652 (rectangle--inhibit-region-highlight): New var.
4653 (rectangle--highlight-for-redisplay): Obey it. Make sure
4654 `apply-on-region' uses the point-crutches of the right window.
4655 Use :align-to rather than multiple spaces.
4656
4657 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
4658
4659 * ruler-mode.el (ruler-mode-window-col)
4660 (ruler-mode-mouse-set-left-margin)
4661 (ruler-mode-mouse-set-right-margin): Fix calculation of column
4662 from mouse position (Bug#17768).
4663
4664 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
4665
4666 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
4667 without varname or rhs causes crash.
4668 (dun-ftp): Fix bug where blank ftp password is allowed, making it
4669 impossible to win endgame.
4670 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
4671 rlogin is anymore.
4672 (dun-help): Bump version number; update contact info.
4673
4674 2014-06-15 Eli Barzilay <eli@barzilay.org>
4675
4676 * calculator.el (calculator-prompt, calculator-remove-zeros)
4677 (calculator-mode-hook, calculator-operators, calculator-stack)
4678 (calculator-mode): Tweak docstring.
4679 (calculator-user-operators): Tweak docstring, fix a bug in the last
4680 example.
4681 (calculator-displayer): `std' case has an optional boolean.
4682 (calculator-displayers): Use the new boolean to group in decimal mode.
4683 (calculator-mode-map, calculator, calculator-message)
4684 (calculator-op-arity, calculator-add-operators)
4685 (calculator-string-to-number, calculator-displayer-prev)
4686 (calculator-displayer-next, calculator-remove-zeros)
4687 (calculator-eng-display, calculator-number-to-string)
4688 (calculator-update-display, calculator-last-input)
4689 (calculator-clear-fragile, calculator-digit, calculator-decimal)
4690 (calculator-exp, calculator-saved-move, calculator-clear)
4691 (calculator-copy, calculator-put-value, calculator-help)
4692 (calculator-expt, calculator-truncate): Minor code improvements.
4693 (calculator-need-3-lines): New function pulling out code from
4694 `calculator'.
4695 (calculator-get-display): Rename from `calculator-get-prompt', and
4696 improved.
4697 (calculator-push-curnum): Rename from `calculator-curnum-value', and
4698 extended for all uses of it. All callers changed.
4699 (calculator-groupize-number): New utility for splitting a number into
4700 groups.
4701 (calculator-standard-displayer): Improve code, new optional argument to
4702 use comma-split groups, make second argument optional too to use with
4703 'left/'right inputs. All callers changed.
4704 (calculator-reduce-stack-once): New utility, doing the meat of what
4705 `calculator-reduce-stack' used to do, much improved (mostly using
4706 `pcase' for conciseness and clarity).
4707 (calculator-reduce-stack): Now doing just the reduction loop using
4708 `calculator-reduce-stack-once'.
4709 (calculator-funcall): Improve code, make it work in v24.3.1 too.
4710 (calculator-last-input): Improve code, remove some old cruft.
4711 (calculator-quit): Kill `calculator-buffer' in electric mode too.
4712 (calculator-integer-p): Remove.
4713 (calculator-fact): Improve code, make it work on non-integer values
4714 too (using truncated numbers).
4715
4716 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
4717
4718 Sync with Tramp 2.2.10.
4719
4720 * net/tramp.el (tramp-methods): Tweak docstring.
4721 (tramp-handle-file-accessible-directory-p): Check for
4722 `file-readable-p' instead of `file-executable-p'.
4723 (tramp-check-cached-permissions):
4724 Use `tramp-compat-file-attributes'.
4725 (tramp-call-process): Add new argument VEC. Adapt callees in all
4726 tramp*.el files.
4727
4728 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
4729 (tramp-adb-maybe-open-connection): Don't set
4730 `tramp-current-*' variables.
4731
4732 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
4733 file properties of temporary buffers.
4734
4735 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
4736
4737 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
4738 (tramp-gvfs-handle-delete-file): Flush file
4739 properties, not directory properties.
4740 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
4741 reading "unix::mode".
4742 (tramp-gvfs-handle-file-name-all-completions):
4743 Use "-h" option for "gvfs-ls".
4744 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
4745 (tramp-gvfs-send-command): Simplify traces.
4746
4747 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
4748 (vc-git-program, vc-hg-program): Declare.
4749 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
4750 (tramp-methods) <nc>: Add new method.
4751 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
4752 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
4753 `tramp-login-args'.
4754 (tramp-default-user-alist): Add "nc".
4755 (top): Remove completion function for "sftp". Add completion
4756 functions for "nc" and "psftp".
4757 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
4758 Implement support for "nc" method.
4759 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
4760 (tramp-remote-coding-commands, tramp-call-local-coding-command):
4761 Tweak docstring.
4762 (tramp-sh-handle-write-region): Tweak error message.
4763 (tramp-sh-handle-vc-registered): Remove backends when the remote
4764 binary does not exist.
4765 (tramp-find-inline-encoding): Do not raise an error.
4766 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
4767 the "nc" case. Quote result also locally.
4768
4769 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4770 (tramp-smb-handle-set-file-acl): Use `start-process'.
4771 (tramp-smb-handle-insert-directory): Use progress reporter.
4772 (tramp-smb-handle-rename-file): Flush also file properties of
4773 FILENAME.
4774
4775 * net/trampver.el: Update release number.
4776
4777 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
4780 add-to-list.
4781 (ses-localvars): Remove ses--local-printer-list, unused.
4782 (ses--metaprogramming): New macro. Use it to defvar variables.
4783 (ses-set-localvars): Simplify.
4784 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
4785 property-list into an alist.
4786 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4787 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
4788 Remove; use defstruct accessors/setters instead.
4789 (ses-cell-formula-aset, ses-cell-printer-aset)
4790 (ses-cell-references-aset): Remove, use setf instead.
4791 (ses--alist-get): New function.
4792 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
4793 Use an alist instead of a plist and don't do move-to-front since the
4794 list is always short.
4795 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
4796 (ses-cell-property-set-fun, ses-cell-property-set)
4797 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
4798 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
4799 (ses--letref): New macro.
4800 (ses-cell-property-pop): Rewrite.
4801 (ses--cell): Rename from ses-cell and make it into a function.
4802 Make `formula' fallback on `value' if nil.
4803 (ses--local-printer): Rename from ses-local-printer and make it into
4804 a function.
4805 (ses-set-cell): Turn it into a macro so finding the accessor from the
4806 field name is done at compile time.
4807 (ses-repair-cell-reference-all): Test presence of `sym' rather than
4808 `ref' before adding `sym' to :ses-repair-reference.
4809 (ses-calculate-cell): Use ses--letref rather than
4810 ses-cell-property-get-handle.
4811 (ses-write-cells): Use a single prin1-to-string.
4812 (ses-setter-with-undo): New function.
4813 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
4814 (ses-unset-with-undo): Remove.
4815 (ses-load): Prefer apply' over `eval'.
4816 (ses-read-printer, ses-set-column-width): Use standard "(default
4817 foo)" format.
4818
4819 2014-06-15 Glenn Morris <rgm@gnu.org>
4820
4821 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
4822
4823 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
4824 Replace delete-duplicates and mapcan by cl- versions throughout.
4825 And cl-macroexpand-all by macroexpand-all.
4826 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
4827
4828 2014-06-15 Eli Zaretskii <eliz@gnu.org>
4829
4830 * subr.el (posn-col-row): Doc fix. (Bug#17768)
4831
4832 2014-06-15 Juri Linkov <juri@jurta.org>
4833
4834 * bindings.el: Put `ascii-character' property on keypad keys
4835 mapped to characters. (Bug#17759)
4836
4837 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4838
4839 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
4840 bumping forward into a closing paren (bug#17761).
4841
4842 * term/xterm.el (xterm--version-handler): Work around for OSX
4843 Terminal.app (bug#17607).
4844
4845 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
4846
4847 * play/dunnet.el (dun-describe-room, dun-mode):
4848 If a lamp is in the room, you won't be eaten by a grue.
4849
4850 2014-06-13 Glenn Morris <rgm@gnu.org>
4851
4852 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
4853 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
4854 (compile-always): GNU make automatically passes
4855 command-line arguments to sub-makes.
4856
4857 * calendar/calendar.el (calendar-generate-window):
4858 Remove pointless call to font-lock-fontify-buffer.
4859
4860 2014-06-13 Matthias Meulien <orontee@gmail.com>
4861
4862 * simple.el (completion-list-mode-map): Navigate with tab and backtab
4863 (bug#17767).
4864
4865 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * simple.el (set-mark-command): Simplify a bit.
4868
4869 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4870
4871 * help.el (help--key-binding-keymap): New function.
4872 (help--binding-locus): New function.
4873 (describe-key): Mention the keymap in which the binding was
4874 found. (bug#13948)
4875
4876 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * hippie-exp.el (he--all-buffers): New function.
4879 (try-expand-line-all-buffers, try-expand-list-all-buffers)
4880 (try-expand-dabbrev-all-buffers): Use it.
4881
4882 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
4883
4884 * hippie-exp.el (try-expand-line-all-buffers)
4885 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
4886 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
4887 original buffer, in case they're buffer-local.
4888
4889 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
4890
4891 * ses.el (ses-initial-global-parameters-re): New defconst, a
4892 specific regexp is needed now that ses.el can handle both
4893 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
4894 local printers.
4895 (ses-localvars): Add local variables needed for local printer handling.
4896 (ses-set-localvars): Handle hashmap initialisation.
4897 (ses-paramlines-plist): Add param-line for number of local printers.
4898 (ses-paramfmt-plist): New defconst, needed for code factorization
4899 between functions `ses-set-parameter' and
4900 `ses-file-format-extend-paramter-list'
4901 (ses-make-local-printer-info): New defsubst.
4902 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4903 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
4904 (ses-cell-printer-aset): New defmacro.
4905 (ses-local-printer-compile): New defun.
4906 (ses-local-printer): New defmacro.
4907 (ses-printer-validate, ses-call-printer): Add support for local
4908 printer functions.
4909 (ses-file-format-extend-paramter-list): New defun.
4910 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
4911 factorization.
4912 (ses-load): Add support for local printer functions.
4913 (ses-read-printer): Update docstring and add support for local printer
4914 functions.
4915 (ses-refresh-local-printer, ses-define-local-printer): New defun.
4916 (ses-safe-printer): Add support for local printer functions.
4917
4918 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
4919
4920 * ffap.el (ffap-lax-url): New var (bug#17723).
4921 (ffap-url-at-point): Use it.
4922 (ffap-file-at-point): Avoid returning just "/".
4923
4924 2014-06-12 Matthias Meulien <orontee@gmail.com>
4925
4926 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
4927 (python-mode-map): Bind it.
4928
4929 * progmodes/python.el (class skeleton): Don't erase last char of class
4930 name (bug#17683).
4931
4932 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
4933
4934 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
4935
4936 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
4937
4938 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
4939 (bug#17745).
4940
4941 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * international/mule-cmds.el: Use lexical-binding.
4944 (ucs-names): Simplify.
4945
4946 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
4947
4948 * progmodes/python.el (run-python): Use read-shell-command.
4949
4950 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * rect.el: Make it possible to move bounds past EOL or into TABs.
4953 (operate-on-rectangle): Use apply-on-rectangle.
4954 (rectangle--mark-crutches): New var.
4955 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
4956 (rectangle--crutches, rectangle--reset-crutches): New functions.
4957 (apply-on-rectangle): Obey crutches. Avoid setq.
4958 Fix missing final iteration if end is at EOB&BOL.
4959 (rectangle-mark-mode-map): Add remap bindings for
4960 exchange-point-and-mark and char/line movements.
4961 (rectangle--*-char): New function.
4962 (rectangle-exchange-point-and-mark, rectangle-right-char)
4963 (rectangle-left-char, rectangle-forward-char)
4964 (rectangle-backward-char, rectangle-next-line)
4965 (rectangle-previous-line): New commands.
4966 (rectangle--place-cursor): New function.
4967 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
4968
4969 2014-06-08 Glenn Morris <rgm@gnu.org>
4970
4971 * startup.el (initial-buffer-choice): Doc fix.
4972 Reset :version (adding an option does not merit a :version bump).
4973
4974 * bookmark.el (bookmark-load):
4975 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
4976
4977 2014-06-08 Juri Linkov <juri@jurta.org>
4978
4979 * desktop.el: Activate auto-saving on window configuration changes.
4980 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
4981 `desktop-auto-save-set-timer' to/from
4982 `window-configuration-change-hook'.
4983 (desktop-auto-save-set-timer): Change REPEAT arg of
4984 `run-with-idle-timer' from t to nil.
4985 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
4986
4987 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
4988
4989 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
4990 vc-hg-command (bug#17570).
4991
4992 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * international/mule-cmds.el (ucs-names): Add special entry for BEL
4995 (bug#17702).
4996
4997 2014-06-08 Glenn Morris <rgm@gnu.org>
4998
4999 * startup.el (window-setup-hook): Doc fix.
5000
5001 * emacs-lisp/package.el (package-check-signature)
5002 (package-unsigned-archives): Doc fixes.
5003
5004 2014-06-08 Martin Rudalics <rudalics@gmx.at>
5005
5006 * window.el (display-buffer-use-some-window): Don't make window
5007 used smaller than it was before (Bug#17671).
5008
5009 2014-06-08 Eli Zaretskii <eliz@gnu.org>
5010
5011 * menu-bar.el (menu-bar-open): Fix last change: use the PC
5012 'redisplay' instead of '(sit-for 0)'.
5013
5014 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
5015
5016 * net/tramp.el (tramp-ssh-controlmaster-options):
5017 Improve search regexp. (Bug#17653)
5018
5019 2014-06-08 Glenn Morris <rgm@gnu.org>
5020
5021 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
5022
5023 2014-06-08 Eli Zaretskii <eliz@gnu.org>
5024
5025 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
5026
5027 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
5028
5029 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
5030 (bug#17586).
5031
5032 * vc/vc-hg.el (vc-hg-log-graph): New var.
5033 (vc-hg-print-log): Use it.
5034 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
5035 graph output (bug#17515).
5036
5037 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * mouse.el (mouse-posn-property): Ignore buffer position info when the
5040 even happened elsewhere.
5041
5042 2014-06-06 Mario Lang <mlang@delysid.org>
5043
5044 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
5045 `recenter' if `current-buffer' is equal to `window-buffer'.
5046
5047 2014-06-05 Leo Liu <sdl.web@gmail.com>
5048
5049 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
5050
5051 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
5052
5053 * textmodes/tildify.el (tildify-foreach-region-outside-env):
5054 New function which calls a callback on portions of the buffer that are
5055 outside of ignored environments.
5056 (tildify-build-regexp): Remove function since it is now
5057 incorporated in `tildify-foreach-region-outside-env' where it is
5058 optimized and simplified by the use of `mapconcat'.
5059 (tildify-tildify): Return number of substitutions made so that…
5060 (tildify-count): …can be removed.
5061 (tildify-find-env): Accept a new PAIRS argument which was
5062 previously looked up in `tildify-ignored-environments-alist' each
5063 time the function was called. With this change, the lookup is
5064 performed only once in `tildify-foreach-region-outside-env'.
5065 (tildify-region): Greatly simplify the function since now most of
5066 the work is done by `tildify-foreach-region-outside-env'.
5067 (tildify-mode-alist): Simplify slightly by avoiding if and setq
5068 and instead using or.
5069
5070 * textmodes/tildify.el (tildify-ignored-environments-alist):
5071 Optimize environments regexes
5072
5073 Each time beginning of an environment to ignore is found,
5074 `tildify-find-env' needs to identify regexp for the ending
5075 of the environment. This is done by trying all the opening
5076 regexes on matched text in a loop, so to speed that up, this
5077 loop should have fewer things to match, which can be done by
5078 using alternatives in the opening regexes.
5079
5080 Coincidentally, this should make matching of the opening
5081 regexp faster as well thanks to the use of `regexp-opt' and
5082 having common prefix pulled from many regexes.
5083
5084 * textmodes/tildify.el (tildify-string-alist)
5085 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
5086 of supported modes since `xml-mode' is no longer a thing but just
5087 an alias to the former. Also include comments and insides of tags
5088 in `tildify-ignored-environments-alist' for XML modes. Finally,
5089 since XML does not define “&nbsp;”[1], use a numeric reference for
5090 a no-break space (namely “&#160;”)
5091
5092 [1] XML specification defines only a handful of predefined entities.
5093 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
5094 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
5095 >, &, ' and " respectively). This is in contrast to HTML and even
5096 XHTML which defined a whole bunch of entities including “&nbsp;”.
5097
5098 * textmodes/tildify.el (tildify-pattern-alist)
5099 (tildify-string-alist, tildify-ignored-environments-alist):
5100 Improve defcustom's types by adding more tags explaining what each
5101 value means and replace “sexp” used in
5102 `tildify-ignored-environments-alist' with a full type declaration.
5103
5104 * textmodes/tildify.el (tildify-find-env): Fix matched group
5105 indexes in end-regex building
5106
5107 When looking for a start of an ignore-environment, the regex is built
5108 by concatenating regexes of all the environments configured in
5109 `tildify-ignored-environments-alist'. So for example, the following
5110 list could be used to match TeX's \verb and \verb* commands:
5111
5112 (("\\\\verb\\(.\\)" . (1))
5113 ("\\\\verb\\*\\(.\\)" . (1)))
5114
5115 This would result in the following regex being used to find the start
5116 of any of the variants of the \verb command:
5117
5118 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
5119
5120 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
5121 won't match anything, and thus (match-string 1) will be nil, which
5122 will cause building of the end-matching regex to fail.
5123
5124 Fix this by using capture groups from the time when the opening
5125 regexes are matched individually.
5126
5127 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
5128 in `tildify-find-env'
5129
5130 The `tildify-ignored-environments-alist' allows the end-regex to
5131 be provided not as a static string but mix of strings and indexes
5132 of groups matched the begin-regex. For example, the “\verb!…!”
5133 TeX-command (where “!” is an arbitrary character) is handled
5134 using:
5135
5136 ("\\\\verb\\*?\\(.\\)" . (1))
5137
5138 In the same way, the following should be supported as well:
5139
5140 ("open-\\(.\\)" . ("end-" 1))
5141
5142 However the tildify-find-env function fails at
5143
5144 (concat result
5145 (if (stringp (setq aux (car expression)))
5146 expression ; BUG: expression is a list
5147 (regexp-quote (match-string aux))))
5148
5149 where the string part is handled incorrectly.
5150
5151 The most trivial fix would be to replace `expression' in the
5152 true-part of the if-statement with `aux', but instead, this commit
5153 optimizes `tildify-find-env' by changing it to use `mapconcat'
5154 rather than open-coded while-loop.
5155
5156 2014-06-05 Mario Lang <mlang@delysid.org>
5157
5158 * woman.el (woman-mapcan): Remove.
5159 (woman-parse-colon-path): Use cl-mapcan instead.
5160
5161 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5162
5163 * register.el: Add link to Emacs manual in Commentary.
5164
5165 2014-06-02 Sam Steingold <sds@gnu.org>
5166
5167 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
5168 (popup-menu): ...here.
5169 (menu-bar-open): Use it to avoid an error when `lookup-key'
5170 returns a number.
5171
5172 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
5173
5174 * net/tramp.el (tramp-call-process): Add traces.
5175 (tramp-handle-unhandled-file-name-directory): Return "/".
5176
5177 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
5178
5179 Sync with upstream verilog-mode revision 3cd8144.
5180 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5181 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
5182 (verilog-type-font-keywords): Add nor.
5183 (verilog-batch-execute-func): Force reading of Local Variables.
5184 Fix printing "no changes to be saved" with verilog-batch.
5185 (verilog-auto-arg-ports): Doc fix.
5186 Add verilog-auto-arg-format to support newlines in AUTOARG.
5187 (verilog-auto-arg): Doc fix.
5188
5189 2014-06-02 Glenn Morris <rgm@gnu.org>
5190
5191 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
5192 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5193 * emulation/ws-mode.el: Move to obsolete/.
5194 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
5195
5196 2014-06-02 Eli Zaretskii <eliz@gnu.org>
5197
5198 * simple.el (keyboard-quit): Force update of mode lines, to remove
5199 the "Def" indicator, if we were defining a macro. (Bug#17615)
5200
5201 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * minibuffer.el (minibuffer-force-complete-and-exit):
5204 Obey minibuffer-default (bug#17545).
5205
5206 * progmodes/js.el (js-indent-line): Don't mix columns and chars
5207 (bug#17619).
5208
5209 * subr.el (set-transient-map): Don't wait for some "nested"
5210 transient-map to finish if we're only supposed to be active for
5211 the next command (bug#17642).
5212
5213 2014-06-02 Leo Liu <sdl.web@gmail.com>
5214
5215 * emacs-lisp/gv.el (window-buffer, window-display-table)
5216 (window-dedicated-p, window-hscroll, window-point, window-start):
5217 Fix gv-expander. (Bug#17630)
5218
5219 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
5222 clicks (bug#17633).
5223
5224 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
5225 for the single comma, since ", " is *very* common in normal French text
5226 (bug#17643).
5227
5228 2014-06-02 Glenn Morris <rgm@gnu.org>
5229
5230 * emacs-lisp/package.el (package-check-signature)
5231 (package-unsigned-archives): Fix :version.
5232
5233 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * subr.el (sit-for): Don't run input-methods (bug#15614).
5236
5237 2014-06-02 Glenn Morris <rgm@gnu.org>
5238
5239 * cus-start.el: Fix some :version numbers.
5240
5241 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * simple.el (deactivate-mark): Set mark-active to nil even if
5244 deactivation is done via setting transient-mark-mode to nil,
5245 since one is buffer-local and the other is global.
5246
5247 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
5248 there can't be more than 2 arguments (bug#17584).
5249
5250 2014-06-02 Glenn Morris <rgm@gnu.org>
5251
5252 * simple.el (filter-buffer-substring-functions)
5253 (filter-buffer-substring-function, buffer-substring-filters)
5254 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
5255
5256 * minibuffer.el (completion-in-region-functions, completion-in-region)
5257 (completion--in-region): Doc fixes.
5258
5259 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
5260 (expand-abbrev, abbrev--default-expand): Doc fixes.
5261
5262 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
5263
5264 Include sources used to create macuvs.h.
5265 * international/README: Refer to the Unicode Terms of Use rather
5266 than copying it bodily here, as that simplifies maintenance.
5267
5268 2014-06-01 Glenn Morris <rgm@gnu.org>
5269
5270 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
5271
5272 2014-05-31 Glenn Morris <rgm@gnu.org>
5273
5274 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
5275
5276 2014-05-30 Glenn Morris <rgm@gnu.org>
5277
5278 * loadup.el: Treat `command-line-args' more flexibly.
5279
5280 2014-05-30 Alan Mackenzie <acm@muc.de>
5281
5282 Guard (looking-at "\\s!") from XEmacs.
5283 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
5284
5285 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
5286
5287 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
5288 The argument COUNT is now optional, to be more backward-compatible.
5289 Doc fix. (Bug#17560)
5290
5291 2014-05-29 Reuben Thomas <rrt@sc3d.org>
5292
5293 * whitespace.el (whitespace-report-region):
5294 Simplify documentation.
5295 (whitespace-report-region): Allow report-if-bogus to take the
5296 value `never', for non-interactive use.
5297 (whitespace-report): Refer to whitespace-report-region's
5298 documentation.
5299
5300 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5301
5302 * whitespace.el: Use font-lock-flush. Minimize refontifications.
5303 Side benefit: it works without jit-lock.
5304 (whitespace-point--used): New buffer-local var.
5305 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
5306 (whitespace-color-off): Use font-lock-flush.
5307 (whitespace-point--used, whitespace-point--flush-used): New functions.
5308 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5309 (whitespace-empty-at-eob-regexp): Use them.
5310 (whitespace-post-command-hook): Rewrite.
5311
5312 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
5313 (font-lock-fontify-buffer): Mark interactive-only.
5314 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5315 Make buffer-local.
5316 (font-lock-specified-p): Remove redundant boundp check.
5317 (font-lock-flush-function, font-lock-ensure-function): New vars.
5318 (font-lock-turn-on-thing-lock): Set them.
5319 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
5320 (font-lock-after-change-function): Make `old-len' optional.
5321 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
5322 Call font-lock-flush, just in case.
5323 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
5324 recent Emacsen.
5325 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
5326 (vera-mode-map, vera-mode-menu): Remove bindings to it.
5327 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
5328 and with-syntax-table.
5329 * textmodes/conf-mode.el (conf-quote-normal):
5330 * progmodes/sh-script.el (sh-set-shell):
5331 * progmodes/prog-mode.el (prettify-symbols-mode):
5332 * progmodes/f90.el (f90-font-lock-n):
5333 * progmodes/cwarn.el (cwarn-mode):
5334 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
5335 * progmodes/compile.el (compilation-setup, compilation--unsetup):
5336 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
5337 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
5338 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
5339 font-lock-fontify-buffer-function and
5340 font-lock-unfontify-buffer-function.
5341 (rmail-unfontify-buffer-function, rmail-fontify-message):
5342 Use with-silent-modifications.
5343 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
5344 and font-lock-ensure.
5345 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
5346
5347 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
5348
5349 * emacs-lisp/package.el (package-generate-autoloads):
5350 Inhibit backup files.
5351
5352 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
5355 (bug#17608).
5356
5357 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
5358
5359 * textmodes/tildify.el (tildify-buffer, tildify-region):
5360 Add dont-ask option.
5361
5362 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
5365 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
5366
5367 * subr.el (internal--funcall-interactively): New.
5368 (internal--call-interactively): Remove.
5369 (called-interactively-p): Detect funcall-interactively instead of
5370 call-interactively.
5371 * simple.el (repeat-complex-command): Use funcall-interactively.
5372 (repeat-complex-command--called-interactively-skip): Remove.
5373
5374 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * register.el (register-read-with-preview): Don't burp on
5377 frame switches (e.g. due to the frame we just popped).
5378
5379 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
5380 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
5381
5382 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
5383
5384 * cus-face.el (custom-face-attributes): Add :distant-foreground.
5385
5386 2014-05-26 Martin Rudalics <rudalics@gmx.at>
5387
5388 * window.el (window--dump-frame): Remove interactive specification.
5389
5390 2014-05-26 Glenn Morris <rgm@gnu.org>
5391
5392 * hippie-exp.el (he-line-search-regexp):
5393 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
5394
5395 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5396
5397 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
5398 to avoid errors when trying to create or visit a file foo.todo
5399 located outside to todo-directory, and to allow having such files
5400 without them being tied to Todo mode (bug#17482).
5401 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
5402 (todo-archive-done-item, todo-find-filtered-items-file)
5403 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
5404 (todo-category-completions, todo-read-category): When visiting a
5405 Todo file, make sure we're in the right mode and the buffer local
5406 variables are set.
5407 (todo-make-categories-list, todo-reset-nondiary-marker)
5408 (todo-reset-done-string, todo-reset-comment-string):
5409 After processing all Todo files, kill the buffers of those files that
5410 weren't being visited before the processing.
5411 (todo-display-as-todo-file, todo-add-to-buffer-list)
5412 (todo-visit-files-commands): Comment out.
5413 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
5414 (auto-mode-alist): Remove add-to-list calls making Todo file
5415 extensions unrestrictedly tied to Todo modes.
5416
5417 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
5420 (advice-function-member-p): Tell it to check both names and functions
5421 (bug#17531).
5422 (advice--add-function): Adjust call accordingly.
5423
5424 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5425
5426 * calendar/todo-mode.el: Miscellaneous bug fixes.
5427 (todo-delete-file): When deleting an archive but not its todo
5428 file, make sure to update the todo file's category sexp.
5429 (todo-move-category): Keep the moved category's name unless the
5430 file moved to already has a category with that name. If the
5431 numerically last category of the source file was moved, make the
5432 first category current to avoid selecting a nonexisting category.
5433 (todo-merge-category): Fix implementation to make merging to a
5434 category in another file work as documented. Eliminate now
5435 insufficient and unnecessary renaming of archive category, correct
5436 document string accordingly, and clarify it. If the numerically
5437 last category of the source file was merged, make the first
5438 category current to avoid selecting a nonexisting category.
5439 (todo-archive-done-item): When there are marked items and point
5440 happens to be on an unmarked item, ignore the latter. Don't leave
5441 point below last item after archiving marked items.
5442 (todo-unarchive-items): Fix logic to ensure unarchiving an item
5443 from an archive with only one category deletes the archive only
5444 when the category is empty after unarchiving. Make sure the todo
5445 file's category sexp is updated.
5446 (todo-read-file-name): Allow an existing file name even when it is
5447 not required (todo-move-category needs this to work as documented).
5448 (todo-add-file): Call todo-validate-name to reject the name of an
5449 existing todo file (needed due to fix in todo-read-file-name).
5450 (todo-reset-nondiary-marker): Also reset in filtered items files.
5451 (todo-reset-done-string, todo-reset-comment-string): Also reset in
5452 regexp filtered items files.
5453 (todo-reset-highlight-item): Also reset in filtered items files.
5454 Fix incorrect variable reference in document string.
5455
5456 2014-05-26 Glenn Morris <rgm@gnu.org>
5457
5458 * window.el (window--dump-frame): Avoid error in --without-x builds.
5459
5460 2014-05-26 Glenn Morris <rgm@gnu.org>
5461
5462 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
5463
5464 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5465
5466 * frame.el (set-frame-font): Doc fix.
5467
5468 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
5469
5470 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
5471
5472 * emacs-lisp/package.el (package--download-one-archive):
5473 Use `write-region' instead of `save-buffer' to avoid running various
5474 hooks. (Bug#17155)
5475 (describe-package-1): Same. Insert newline at the end of the
5476 buffer if appropriate.
5477
5478 2014-05-26 Juri Linkov <juri@jurta.org>
5479
5480 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
5481 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
5482 Add more modifiers: meta, control, shift, hyper, super, alt.
5483 (Bug#17439)
5484
5485 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
5486 to allow changing its value with `set-variable'.
5487
5488 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
5491 #; comments.
5492 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
5493 New functions.
5494 (scheme-mode-variables): Set syntax-propertize-function instead of
5495 font-lock-syntactic-face-function.
5496 (scheme-font-lock-syntactic-face-function): Delete.
5497
5498 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
5499
5500 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
5501 (bug#17392).
5502
5503 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5504
5505 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
5506 for a temporary file name.
5507
5508 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5509
5510 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
5511
5512 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5513
5514 * net/dbus.el (dbus-init-bus, dbus-call-method)
5515 (dbus-call-method-asynchronously, dbus-send-signal)
5516 (dbus-method-return-internal, dbus-method-error-internal):
5517 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
5518
5519 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5520
5521 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
5522 methods which do not have a doc string. (Bug#17490)
5523
5524 2014-05-25 Tassilo Horn <tsdh@gnu.org>
5525
5526 * textmodes/reftex-ref.el (reftex-format-special): Make it work
5527 also for AMS Math's \eqref macro.
5528
5529 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5530
5531 Arrange to never byte-compile the generated -pkg.el file.
5532
5533 * emacs-lisp/package.el (package-generate-description-file):
5534 Output first-line comment to set buffer-local var `no-byte-compile'.
5535 Suggested by Dmitry Gutov:
5536 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
5537
5538 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5539
5540 Fix bug: Properly quote args to generated -pkg.el `define-package'.
5541
5542 * emacs-lisp/package.el (package-generate-description-file):
5543 Inline `package--alist-to-plist'; rewrite to selectively
5544 quote alist values that are not self-quoting.
5545 (package--alist-to-plist): Delete func.
5546
5547 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
5548
5549 * term/xterm.el (xterm-function-map): Add mapping for shifted
5550 keypad keys.
5551
5552 2014-05-24 Daniel Colascione <dancol@dancol.org>
5553
5554 * progmodes/subword.el (subword-find-word-boundary): Move point to
5555 correct spot before search. (Bug#17580)
5556
5557 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
5558 breaking the build.
5559
5560 2014-05-24 Leo Liu <sdl.web@gmail.com>
5561
5562 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
5563
5564 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * minibuffer.el (completion--sreverse): Remove.
5567 (completion--common-suffix): Use `reverse' instead.
5568 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
5569
5570 2014-05-22 Glenn Morris <rgm@gnu.org>
5571
5572 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
5573
5574 2014-05-21 Daniel Colascione <dancol@dancol.org>
5575
5576 * files.el (interpreter-mode-alist): Add mksh.
5577
5578 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
5579 derivative.
5580 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
5581 mksh. Improve custom spec; allow regular expressions.
5582 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
5583 (sh-after-hack-local-variables): New function.
5584 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
5585 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
5586 the normalization.
5587 (sh-canonicalize-shell): Rewrite to support regexes.
5588
5589 2014-05-21 Leo Liu <sdl.web@gmail.com>
5590
5591 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
5592
5593 2014-05-19 Leo Liu <sdl.web@gmail.com>
5594
5595 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
5596
5597 2014-05-18 Glenn Morris <rgm@gnu.org>
5598
5599 * loadup.el:
5600 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
5601
5602 2014-05-14 Sam Steingold <sds@gnu.org>
5603
5604 * progmodes/python.el (python-shell-get-or-create-process):
5605 Do not bind `current-prefix-arg' so that C-c C-z does not talk
5606 back unless requested.
5607
5608 2014-05-14 Glenn Morris <rgm@gnu.org>
5609
5610 * subr.el (with-file-modes): New macro.
5611 * printing.el (pr-save-file-modes): Make obsolete.
5612 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
5613 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5614 Add with-file-modes.
5615 * doc-view.el (doc-view-make-safe-dir):
5616 * epg.el (epg--start):
5617 * files.el (locate-user-emacs-file, make-temp-file)
5618 (backup-buffer-copy, move-file-to-trash):
5619 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
5620 * eshell/esh-util.el (eshell-with-private-file-modes)
5621 (eshell-make-private-directory):
5622 * net/browse-url.el (browse-url-mosaic):
5623 * obsolete/mailpost.el (post-mail-send-it):
5624 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
5625 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
5626 Use with-file-modes.
5627
5628 * vc/emerge.el (emerge-make-temp-file): Simplify.
5629
5630 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
5631 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
5634 suffix (bug#15419).
5635
5636 2014-05-14 Glenn Morris <rgm@gnu.org>
5637
5638 * vc/emerge.el (emerge-temp-file-prefix):
5639 Make pointless option obsolete.
5640 (emerge-temp-file-mode): Make non-functional option obsolete.
5641
5642 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
5643
5644 * net/browse-url.el (browse-url):
5645 Use `unhandled-file-name-directory' when setting `default-directory',
5646 in order to circumvent stalled remote connections. (Bug#17425)
5647
5648 2014-05-14 Glenn Morris <rgm@gnu.org>
5649
5650 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
5651 Optimize on Emacs, which has the relevant functions for ages.
5652
5653 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5654
5655 * simple.el (undo-make-selective-list): Obey undo-no-redo.
5656
5657 2014-05-12 Sam Steingold <sds@gnu.org>
5658
5659 * calendar/time-date.el (seconds-to-string): New function to
5660 pretty print time delay in seconds.
5661
5662 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * mpc.el (mpc-format): Trim Date to the year.
5665 (mpc-songs-hashcons): Shorten the Date field.
5666
5667 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
5668 into autoloading just because of a silly indirection.
5669
5670 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
5671
5672 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
5673
5674 2014-05-12 Glenn Morris <rgm@gnu.org>
5675
5676 * emacs-lisp/find-gc.el: Move to ../admin.
5677
5678 * printing.el (pr-version):
5679 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
5680
5681 * net/browse-url.el (browse-url-mosaic):
5682 Create /tmp/Mosaic.PID as a private file.
5683
5684 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
5687 (advice--member-p): If name is given, only compare the name.
5688 (advice--remove-function): Don't stop at the first match.
5689 (advice--normalize-place): New function.
5690 (add-function, remove-function): Use it.
5691 (advice--add-function): Pass the name, if any, to
5692 advice--remove-function.
5693
5694 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
5695
5696 * electric.el (electric-indent-post-self-insert-function): Don't use
5697 `pos' after modifying the buffer (bug#17449).
5698
5699 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
5700
5701 * calendar/todo-mode.el (todo-insert-item-from-calendar):
5702 Correct argument list to conform to todo-insert-item--basic.
5703
5704 2014-05-12 Glenn Morris <rgm@gnu.org>
5705
5706 * files.el (cd-absolute): Test if directory is accessible
5707 rather than executable. (Bug#17330)
5708
5709 * progmodes/compile.el (recompile):
5710 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
5711
5712 * net/browse-url.el (browse-url-mosaic):
5713 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
5714 This is CVE-2014-3423.
5715
5716 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * mouse.el: Use the normal toplevel loop while dragging.
5719 (mouse-set-point): Handle multi-clicks.
5720 (mouse-set-region): Handle multi-clicks for drags.
5721 (mouse-drag-region): Update call accordingly.
5722 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
5723 Use the normal event loop instead of a local while/read-event loop.
5724 (global-map): Remove redundant bindings for double/triple-mouse-1.
5725 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
5726 Generate synthetic down events when the protocol only sends up events.
5727 (xterm-mouse-last): Remove.
5728 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
5729 terminal parameter instead.
5730 (xterm-mouse--set-click-count): New function.
5731 (xterm-mouse-event): Detect/generate double/triple clicks.
5732 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
5733
5734 * info.el (Info-quoted): New face.
5735 (Info-mode-font-lock-keywords): New var.
5736 (Info-mode): Use it.
5737
5738 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
5739 are a hindrance for C-x C-e.
5740
5741 2014-05-11 Leo Liu <sdl.web@gmail.com>
5742
5743 * net/rcirc.el (rcirc-sentinel): Fix last change.
5744
5745 2014-05-08 Sam Steingold <sds@gnu.org>
5746
5747 * net/rcirc.el (rcirc-reconnect-delay): New user option.
5748 (rcirc-sentinel): Auto-reconnect to the server if
5749 `rcirc-reconnect-delay' is non-0 (but not more often than its
5750 value in case the host is off-line).
5751
5752 2014-05-09 Eli Zaretskii <eliz@gnu.org>
5753
5754 * progmodes/grep.el (lgrep): Fix a typo in last commit.
5755
5756 2014-05-09 Glenn Morris <rgm@gnu.org>
5757
5758 * files.el (file-expand-wildcards):
5759 * man.el (Man-support-local-filenames):
5760 * printing.el (pr-i-directory, pr-interface-directory):
5761 * progmodes/grep.el (lgrep, rgrep):
5762 * textmodes/ispell.el (ispell-call-process)
5763 (ispell-call-process-region, ispell-start-process)
5764 (ispell-init-process): Use file-accessible-directory-p.
5765
5766 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
5769 (xterm-mouse--read-event-sequence-1000): Return nil if something
5770 looks fishy.
5771 (xterm-mouse-event): Propagate it.
5772 (xterm-mouse-translate-1): Handle it.
5773
5774 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
5775
5776 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
5777 four slots of the parameter list are filled, make sure to pass it
5778 to the argument list of todo-insert-item--basic.
5779
5780 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5781
5782 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
5783 Add optional `seen' argument to detect and break infinite loops.
5784
5785 2014-05-08 Eli Zaretskii <eliz@gnu.org>
5786
5787 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
5788 (trace-unsafe, trace-use-tree): Make parentheses style be
5789 according to Emacs style.
5790
5791 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
5792
5793 * net/tramp-sh.el (tramp-remote-process-environment):
5794 Remove HISTFILE and HISTSIZE; it's too late to set them here.
5795 Add :version entry.
5796 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
5797 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
5798 extra "PSx=..." commands.
5799 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
5800 (Bug#17295)
5801
5802 (tramp-uudecode): Replace the hard-coded temporary file name by a
5803 format specifier.
5804 (tramp-remote-coding-commands): Enhance docstring.
5805 (tramp-find-inline-encoding): Replace "%t" by a temporary file
5806 name. (Bug#17415)
5807 This is CVE-2014-3424.
5808
5809 2014-05-08 Glenn Morris <rgm@gnu.org>
5810
5811 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
5812 (find-gc-source-files): Update some names.
5813 (trace-call-tree): Simplify and update.
5814 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
5815 This is CVE-2014-3422.
5816
5817 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * minibuffer.el (completion--try-word-completion): Revert fix for
5820 Bug#15980 (bug#17375).
5821
5822 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
5823 Always store button numbers in the same way in xterm-mouse-last;
5824 Don't burp is xterm-mouse-last is not set as expected.
5825 Never return negative indices.
5826
5827 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
5828
5829 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5830 Backtrack one char if the global/char-literal var matcher hits
5831 inside a string. The next char could be the beginning of an
5832 expression expansion.
5833
5834 2014-05-08 Glenn Morris <rgm@gnu.org>
5835
5836 * help-fns.el (describe-function-1): Test for an autoload before a
5837 macro, since `macrop' works on autoloads. (Bug#17410)
5838
5839 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * electric.el (electric-indent-functions-without-reindent): Add yaml.
5842
5843 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
5844 Make sure the new point we return is within the new string (bug#17239).
5845
5846 2014-05-05 Daniel Colascione <dancol@dancol.org>
5847
5848 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5849 Port `gnu' pattern to rx.
5850
5851 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
5852
5853 Remove unneeded prompt when closing a buffer with active
5854 emacsclient ("Buffer ... still has clients"), #16548.
5855 * server.el (server-start): Remove the only call to:
5856 (server-kill-buffer-query-function): Remove.
5857
5858 2014-05-04 Leo Liu <sdl.web@gmail.com>
5859
5860 * calendar/diary-lib.el (calendar-chinese-month-name-array):
5861 Defvar to pacify compiler.
5862
5863 2014-05-04 Eli Zaretskii <eliz@gnu.org>
5864
5865 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
5866
5867 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
5870 Use nil rather than `default' for the "default" appearance (bug#17388).
5871 * vc/ediff-util.el (ediff-inferior-compare-regions)
5872 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
5873 a misleading `default' value when it's really a boolean.
5874 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
5875 overlay is not visible.
5876
5877 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
5878
5879 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
5880 (todo-menu): Uncomment and update.
5881
5882 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
5883
5884 * calendar/todo-mode.el: Reimplement item editing to have the same
5885 basic user interface as item insertion, and make small UI and
5886 larger internal improvements to the latter.
5887 (todo-insert-item): Add reference to the Todo mode user manual to
5888 the documentation string.
5889 (todo-insert-item--basic): Rename from todo-basic-insert-item and
5890 adjust all callers. Change signature to combine diary and
5891 nonmarking arguments. Incorporate functionality of deleted item
5892 copying command and add error checking. Remove detailed
5893 descriptions of the arguments from the documentation string, since
5894 this is treated in the Todo mode user manual.
5895 (todo-copy-item, todo-edit-multiline-item)
5896 (todo-edit-done-item-comment, todo-edit-item-header)
5897 (todo-edit-item-time, todo-edit-item-date-from-calendar)
5898 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
5899 (todo-edit-item-date-year, todo-edit-item-date-month)
5900 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
5901 Remove.
5902 (todo-edit-item): Reimplement as wrapper command for
5903 todo-edit-item--next-key and make it distinguish done and not done
5904 todo items.
5905 (todo-edit-item--text): New function, replacing old command
5906 todo-edit-item and incorporating deleted commands
5907 todo-edit-multiline-item and todo-edit-done-item-comment.
5908 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
5909 Use only numeric value of prefix argument. Remove detailed
5910 descriptions of the arguments from the documentation string, since
5911 this is treated in the Todo mode user manual.
5912 (todo-edit-item--diary-inclusion): New function, replacing old
5913 command todo-edit-item-diary-inclusion and incorporating and fixing
5914 functionality of deleted command todo-edit-item-diary-nonmarking,
5915 making sure to remove todo-nondiary-marker when adding
5916 diary-nonmarking-symbol.
5917 (todo-edit-category-diary-inclusion): Make sure to delete
5918 diary-nonmarking-symbol when adding todo-nondiary-marker.
5919 (todo-edit-category-diary-nonmarking): Fix indentation.
5920 (todo-insert-item--parameters): Group diary and nonmarking
5921 parameters together.
5922 (todo-insert-item--apply-args): Adjust to signature of
5923 todo-insert-item--basic and incorporate copy parameter.
5924 Make small code improvements.
5925 (todo-insert-item--next-param): Improve prompt and adjust it to
5926 new parameter grouping. Remove obsolete code.
5927 (todo-edit-item--param-key-alist)
5928 (todo-edit-item--date-param-key-alist)
5929 (todo-edit-done-item--param-key-alist): New defconsts.
5930 (todo-edit-item--prompt): New variable.
5931 (todo-edit-item--next-key): New function.
5932 (todo-key-bindings-t): Bind "e" to todo-edit-item.
5933 Remove bindings of deleted commands.
5934
5935 2014-05-04 Leo Liu <sdl.web@gmail.com>
5936
5937 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
5938
5939 2014-05-04 Glenn Morris <rgm@gnu.org>
5940
5941 * allout-widgets.el (allout-widgets-tally)
5942 (allout-decorate-item-guides):
5943 * menu-bar.el (menu-bar-positive-p):
5944 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5945 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
5946 * progmodes/js.el (js--inside-param-list-p)
5947 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
5948 * progmodes/prolog.el (region-exists-p):
5949 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
5950 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
5951 Doc fixes (replace `iff').
5952
5953 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
5956
5957 2014-05-04 Leo Liu <sdl.web@gmail.com>
5958
5959 Support Chinese diary entries in calendar and diary. (Bug#17393)
5960 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
5961 (calendar-chinese-from-absolute-for-diary)
5962 (calendar-chinese-to-absolute-for-diary)
5963 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
5964 (diary-chinese-list-entries): New functions to list and mark
5965 Chinese diary entries in the calendar window.
5966 (diary-chinese-anniversary)
5967 (diary-chinese-insert-anniversary-entry)
5968 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
5969 (diary-chinese-insert-yearly-entry): New commands to insert
5970 Chinese diary entries.
5971
5972 * calendar/diary-lib.el (diary-font-lock-keywords):
5973 Support font-locking Chinese dates.
5974
5975 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
5976 inserting Chinese diary entries.
5977
5978 * calendar/calendar.el (diary-chinese-entry-symbol):
5979 New customizable variable.
5980 (calendar-mode-map): Add bindings for inserting Chinese diary
5981 entries.
5982
5983 2014-05-03 Juri Linkov <juri@jurta.org>
5984
5985 * dired.el (dired-check-switches, dired-switches-recursive-p):
5986 New functions. (Bug#17218)
5987 (dired-switches-escape-p, dired-move-to-end-of-filename):
5988 Use `dired-check-switches'.
5989 (dired-insert-old-subdirs, dired-build-subdir-alist)
5990 (dired-sort-R-check): Use `dired-switches-recursive-p'.
5991
5992 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
5993
5994 * simple.el (undo-make-selective-list): New algorithm fixes
5995 incorrectness of position adjustments when undoing in region.
5996 (Bug#17235)
5997 (undo-elt-crosses-region): Make obsolete.
5998 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
5999 New functions to adjust positions using undo-deltas.
6000
6001 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6002
6003 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
6004 the last consecutive closing paren (bug#17345).
6005
6006 2014-04-30 Reuben Thomas <rrt@sc3d.org>
6007
6008 * dired.el (dired-mode): make terminology for eXpunge command
6009 consistent. (Bug#17276)
6010
6011 2014-04-30 Eli Zaretskii <eliz@gnu.org>
6012
6013 * dired.el (dired-initial-position-hook, dired-initial-position):
6014 Doc string fixes.
6015
6016 2014-04-30 Glenn Morris <rgm@gnu.org>
6017
6018 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
6019
6020 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
6021
6022 * faces.el (face-spec-recalc): Apply X resources only after the
6023 defface spec has been applied. Thus, X resources are no longer
6024 overriden by the defface spec which also fixes issues on win32 where
6025 the toolbar coloring was wrong because it is set through X resources
6026 and was (wrongfully) overriden. (Bug#16694)
6027
6028 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * textmodes/rst.el (electric-pair-pairs): Declare.
6031 (rst-mode): Set it (bug#17131).
6032
6033 2014-04-30 Juri Linkov <juri@jurta.org>
6034
6035 * desktop.el (desktop-value-to-string): Let-bind `print-length'
6036 and `print-level' to nil. (Bug#17351)
6037
6038 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6039
6040 * battery.el (battery-update): Handle the case where battery
6041 status is "N/A" (bug#17319).
6042
6043 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
6046 to syntax-propertize.
6047 (ps-mode-auto-indent): Mark as obsolete.
6048 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
6049 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
6050 word regexp operators.
6051 (ps-mode-map): Move initialization into declaration. Remove binding
6052 for TAB, RET, >, ], and }.
6053 (ps-mode-syntax-table): Move initialization into declaration.
6054 Don't give word syntax to non-word chars.
6055 (ps-run-mode-map): Move initialization into declaration.
6056 (ps-mode-menu-main): Remove auto-indent entry.
6057 (ps-mode-smie-rules): New function.
6058 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
6059 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
6060 (ps-mode--string-syntax-table): New const.
6061 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
6062 New functions.
6063 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
6064 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
6065
6066 2014-04-27 Daniel Colascione <dancol@dancol.org>
6067
6068 * term/xterm.el (xterm-paste): Use large finite timeout when
6069 reading event to avoid putting keys in this-command-keys.
6070
6071 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
6074 (perl-syntax-propertize-function): Use it. Extend handling of
6075 here-docs to the unquoted case.
6076
6077 2014-04-25 Eli Zaretskii <eliz@gnu.org>
6078
6079 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
6080 Use equal-including-properties to compare help-echo strings (bug#17331).
6081
6082 2014-04-25 Leo Liu <sdl.web@gmail.com>
6083
6084 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6085 Fix syntax for @. (Bug#17325)
6086
6087 2014-04-25 Daniel Colascione <dancol@dancol.org>
6088
6089 * emacs-lisp/cl.el (gv): Require gv early to break eager
6090 macro-expansion cycles.
6091
6092 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 * simple.el (region-active-p): Check there's a mark (bug#17324).
6095
6096 * simple.el (completion-list-mode-map): Use choose-completion for the
6097 mouse binding as well (bug#17302).
6098 (completion-list-mode, completion-setup-function): Adjust docstring and
6099 echo area message accordingly.
6100 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
6101 calling convention of choose-completion.
6102 * comint.el (comint-dynamic-list-completions):
6103 * term.el (term-dynamic-list-completions): Accept choose-completion.
6104
6105 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
6106 &, |, +, - and * can't be a division (bug#17317).
6107
6108 * term/xterm.el (xterm--version-handler): Don't use modern xterm
6109 features on gnome-terminal (bug#16988).
6110
6111 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
6112
6113 Improve Scheme font-locking for (define ((foo ...) ...) ...).
6114
6115 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
6116 the declared object, ignore zero or more parens, not zero or one.
6117
6118 2014-04-24 Leo Liu <sdl.web@gmail.com>
6119
6120 * progmodes/xscheme.el (xscheme-expressions-ring)
6121 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
6122 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
6123 (xscheme-allow-output-p, xscheme-prompt)
6124 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
6125
6126 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
6127 Comment out unused functions.
6128
6129 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * info.el: Use lexical-binding and cl-lib.
6132 Use defvar-local and setq-local instead of make-local-variable.
6133 (Info-apropos-matches): Avoid add-to-list.
6134 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
6135
6136 2014-04-24 Daniel Colascione <dancol@dancol.org>
6137
6138 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
6139
6140 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
6143
6144 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
6145
6146 * dired.el (dired-insert-set-properties): Do not consider
6147 subdirectory headings and empty lines to be information that
6148 `dired-hide-details-mode' should hide. (Bug#17228)
6149
6150 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6151
6152 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6153 Remove test messages.
6154 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
6155 and `target' twice.
6156
6157 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6158
6159 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
6160 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
6161
6162 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
6163
6164 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6165
6166 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6167 Set "IFS=" when using read builtin, in order to preserve spaces in
6168 the file name. Add test messages for hunting a bug on hydra.
6169 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
6170
6171 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
6174 Don't prettify a word within a symbol.
6175
6176 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
6177
6178 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
6179 possible.
6180
6181 2014-04-22 Daniel Colascione <dancol@dancol.org>
6182
6183 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
6184 use defun to define `function-put'.
6185
6186 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
6189 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
6190 (lisp-mode-variables): Set font-lock-extra-managed-props.
6191
6192 * emacs-lisp/byte-run.el (function-put): New function.
6193 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
6194 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
6195 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
6196 Use them.
6197
6198 2014-04-22 Daniel Colascione <dancol@dancol.org>
6199
6200 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
6201 Add `full-p' parameter; when nil, call `macroexpand' instead of
6202 `macroexpand-all'.
6203
6204 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
6205 Improve docstrings.
6206
6207 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6208 Use lambda function values, not quoted lambdas.
6209 (byte-compile-recurse-toplevel): Remove extraneous &optional.
6210
6211 * emacs-lisp/cl-macs.el
6212 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
6213 (cl-struct-slot-value): Conditionally use aref or nth so that the
6214 compiler produces optimal code.
6215
6216 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
6219 (inline): Don't inline cl--set-elt.
6220 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
6221 Define as inlinable instead.
6222 (cl-struct-set-slot-value): Remove.
6223
6224 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
6225 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
6226 Use setf instead.
6227
6228 2014-04-21 Daniel Colascione <dancol@dancol.org>
6229
6230 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
6231 last two parameters after all.
6232 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
6233 (cl--compiler-macro-assoc,cl-struct-slot-value)
6234 (cl-struct-set-slot-value): Stop using them.
6235
6236 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6237
6238 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
6239 entry in image-mode-winprops-alist.
6240
6241 2014-04-21 Daniel Colascione <dancol@dancol.org>
6242
6243 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
6244 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
6245 (byte-compile-toplevel-file-form): Use it.
6246
6247 * emacs-lisp/cl-macs.el:
6248 (cl--loop-let): Properly destructure `while' clauses.
6249
6250 2014-04-20 Daniel Colascione <dancol@dancol.org>
6251
6252 * vc/vc.el (vc-root-dir): New public autoloaded function for
6253 generically finding the current VC root.
6254 * vc/vc-hooks.el (vc-not-supported): New error.
6255 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
6256
6257 2014-04-20 Daniel Colascione <dancol@dancol.org>
6258
6259 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
6260 argument.
6261 (cl--const-expr-val): cl--const-expr-val should macroexpand its
6262 argument in case we're inside a symbol-macrolet.
6263 (cl--do-arglist, cl--compiler-macro-typep)
6264 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
6265 environment to `cl--const-expr-val'.
6266 (cl-struct-sequence-type,cl-struct-slot-info)
6267 (cl-struct-slot-offset, cl-struct-slot-value)
6268 (cl-struct-set-slot-value): New functions.
6269
6270 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
6273 assignments such as "case=hello" (bug#17297).
6274
6275 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
6276
6277 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
6278 Do not autoload.
6279 (tramp-file-name-handler, tramp-completion-file-name-handler):
6280 Revert patch from 2014-04-10, it isn't necessary anymore.
6281 (tramp-autoload-file-name-handler)
6282 (tramp-register-autoload-file-name-handlers): New defuns.
6283 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
6284 (tramp-register-file-name-handlers): Remove also
6285 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
6286 Do not autoload its invocation, but eval it after loading of 'tramp.
6287
6288 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
6289
6290 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
6291
6292 2014-04-17 Daniel Colascione <dancol@dancol.org>
6293
6294 Add support for bracketed paste mode; add infrastructure for
6295 managing terminal mode enabling and disabling automatically.
6296
6297 * xt-mouse.el:
6298 (xterm-mouse-mode): Simplify.
6299 (xterm-mouse-tracking-enable-sequence)
6300 (xterm-mouse-tracking-disable-sequence): New constants.
6301 (turn-on-xterm-mouse-tracking-on-terminal)
6302 (turn-off-xterm-mouse-tracking-on-terminal):
6303 Use tty-mode-set-strings and tty-mode-reset-strings terminal
6304 parameters instead of random hooks.
6305 (turn-on-xterm-mouse-tracking)
6306 (turn-off-xterm-mouse-tracking): Delete.
6307
6308 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
6309 (xterm-paste-ending-sequence): New constant.
6310 (xterm-paste): New command used for bracketed paste support.
6311
6312 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
6313 (terminal-init-xterm-bracketed-paste-mode): New function.
6314 (terminal-init-xterm): Call it.
6315 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
6316 and tty-mode-reset-strings instead of random hooks.
6317 (xterm-turn-on-modify-other-keys)
6318 (xterm-turn-off-modify-other-keys)
6319 (xterm-remove-modify-other-keys): Delete obsolete functions.
6320
6321 * term/screen.el: Rewrite to just use the xterm code.
6322 Add copyright notice. Mention tmux.
6323
6324 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
6325
6326 * image-mode.el (image-mode-window-put): Also update the property of
6327 the "default window".
6328 * doc-view.el (doc-view-new-window-function): If no window
6329 exists, move to the last known page.
6330
6331 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
6334 here-documents (bug#17262).
6335
6336 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6337
6338 * term/pc-win.el (x-list-fonts, x-get-selection-value):
6339 Provide doc strings, as required by snarf-documentation.
6340
6341 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
6344 arg of overlays-at. Use `invisible-p'.
6345
6346 * obsolete/lucid.el (extent-at):
6347 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
6348 overlays-at.
6349 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
6350
6351 2014-04-16 João Távora <joaotavora@gmail.com>
6352
6353 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
6354 links. (Bug#17217).
6355
6356 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6357
6358 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6359 Use mapc to loop over a vector. (Bug#17257).
6360
6361 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
6362
6363 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
6364 patch, there are new problems with file names containing spaces.
6365 Get rid of backticks. (Bug#17238)
6366
6367 2014-04-16 João Távora <joaotavora@gmail.com>
6368
6369 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
6370 possible bug.
6371
6372 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6373
6374 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
6375 (blink-cursor-mode): Mention customization variables and the
6376 effect of 'blink-cursor-blinks'.
6377
6378 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
6379
6380 * simple.el (undo): Prevent insertion of identity mapping into
6381 undo-equiv-table so as undo-only does not inf loop in the presence
6382 of consecutive nils in undo list.
6383
6384 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
6385
6386 * faces.el (make-face): Deprecate optional argument as it is no
6387 longer needed/used since the conditional X resources handling
6388 has been pushed down to make-face-x-resource-internal itself.
6389 (make-empty-face): Don't pass optional argument to make-face.
6390
6391 2014-04-16 Karl Fogel <kfogel@red-bean.com>
6392
6393 * savehist.el (savehist-save): Remove workaround for a read-passwd
6394 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
6395 noticing that the shim was still present.
6396
6397 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
6400
6401 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
6402
6403 * faces.el (face-set-after-frame-default): Remove unused local variable.
6404
6405 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6406
6407 * progmodes/grep.el: Use lexical-binding.
6408 (grep-expand-template): Pass explicit lexical env to `eval'.
6409 (zrgrep): Let-bind grep-find-template explicitly.
6410
6411 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
6412 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
6413
6414 2014-04-12 Eli Zaretskii <eliz@gnu.org>
6415
6416 * international/characters.el <standard-case-table>: Add entries
6417 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
6418 Set category of Coptic characters be 'g' (Greek).
6419
6420 2014-04-12 Leo Liu <sdl.web@gmail.com>
6421
6422 * progmodes/octave.el (completion-table-with-cache):
6423 Define if not available.
6424 (octave-goto-function-definition, octave-sync-function-file-names)
6425 (octave-find-definition-default-filename):
6426 Backquote upattern for compatibility.
6427
6428 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
6429
6430 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
6431 name twice due to backticks. (Bug#17238)
6432
6433 2014-04-12 Glenn Morris <rgm@gnu.org>
6434
6435 * term/w32-win.el (x-win-suspend-error):
6436 * term/x-win.el (x-win-suspend-error): Sync docs.
6437
6438 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
6439
6440 * faces.el (make-face): Remove deprecated optional argument.
6441 The conditional application of X resources is handled directly by
6442 make-face-x-resource-internal since Emacs 24.4.
6443 (make-empty-face): Don't pass optional argument to make-face.
6444
6445 2014-04-11 Glenn Morris <rgm@gnu.org>
6446
6447 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
6448
6449 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 Ediff's overlay priorities cause more trouble than they solve.
6452 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
6453 (ediff-highest-priority): Remove function (bug#17234).
6454 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
6455 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
6456 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
6457 overlay priorities.
6458
6459 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
6460
6461 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
6462 entry; use symbol boundaries to avoid mis-matches.
6463
6464 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
6465
6466 * net/tramp.el (tramp-file-name-handler)
6467 (tramp-completion-file-name-handler): Avoid recursive loading.
6468
6469 * net/tramp-sh.el (tramp-make-copy-program-file-name):
6470 Quote result also locally.
6471
6472 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
6475 Remove left-over code.
6476
6477 * newcomment.el (comment-indent-new-line): Sink code where it's used.
6478 Reuse the previous comment's indentation unconditionally if it's on its
6479 own line.
6480
6481 2014-04-09 Daniel Colascione <dancol@dancol.org>
6482
6483 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
6484 `no-syntax-crossing' arguments. Forward to `up-list'.
6485 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
6486 Implement logic for escaping from strings. Use narrowing to deal
6487 with corner cases.
6488
6489 2014-04-09 Leo Liu <sdl.web@gmail.com>
6490
6491 * net/rcirc.el (rcirc-connection-info): New variable.
6492 (rcirc-connect): Use it to store connection info.
6493 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
6494 for killed process.
6495 (rcirc-cmd-reconnect): New command. (Bug#17045)
6496 (rcirc-mode, set-rcirc-encode-coding-system)
6497 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
6498
6499 2014-04-09 Daniel Colascione <dancol@dancol.org>
6500
6501 * emacs-lisp/cl-indent.el: Add comment claiming
6502 facility is also good for elisp.
6503 (lisp-indent-find-method): New function.
6504 (common-lisp-indent-function): Recognize cl-loop.
6505 (common-lisp-indent-function-1): Recognize cl constructs; use
6506 `lisp-indent-find-method' instead of `get' directly.
6507 (if): Use else-body style for elisp.
6508
6509 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
6510
6511 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6512 Module methods. (Bug#17216)
6513
6514 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6515
6516 * help.el (describe-bindings): Fix buffer handling (bug#17210).
6517 (describe-bindings-internal): Mark obsolete.
6518
6519 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
6522 buffer-file-name, and buffer-file-truename any more.
6523
6524 2014-04-08 Leo Liu <sdl.web@gmail.com>
6525
6526 Use lexical-binding and require cl-lib.
6527 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
6528 (rcirc-handler-generic, rcirc-fill-paragraph)
6529 (rcirc-format-response-string, rcirc-target-buffer)
6530 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
6531 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
6532 (rcirc-ctcp-sender-PING, rcirc-browse-url)
6533 (rcirc-markup-timestamp, rcirc-markup-attributes)
6534 (rcirc-markup-my-nick, rcirc-markup-urls)
6535 (rcirc-markup-bright-nicks, rcirc-markup-fill)
6536 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
6537 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
6538 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
6539 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
6540 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
6541 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
6542 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
6543 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
6544 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
6545 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
6546 use cl-lib.
6547
6548 2014-04-07 João Távora <joaotavora@gmail.com>
6549
6550 * elec-pair.el (electric-pair--syntax-ppss):
6551 When inside comments parse from comment beginning.
6552 (electric-pair--balance-info): Fix typo in comment.
6553 (electric-pair--in-unterminated-string-p): Delete.
6554 (electric-pair--unbalanced-strings-p): New function.
6555 (electric-pair-string-bound-function): New var.
6556 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6557 according to `electric-pair--in-unterminated-string-p'
6558
6559 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6560 Inhibit quote pairing if point-max is inside an unterminated string.
6561 (electric-pair--looking-at-unterminated-string-p): Delete.
6562 (electric-pair--in-unterminated-string-p): New function.
6563
6564 2014-04-07 Glenn Morris <rgm@gnu.org>
6565
6566 * shell.el (shell-directory-tracker):
6567 Go back to just ignoring failures. (Bug#17159)
6568
6569 2014-04-07 João Távora <joaotavora@gmail.com>
6570
6571 Fix `electric-pair-delete-adjacent-pairs' in modes binding
6572 backspace. (bug#16981)
6573 * elec-pair.el (electric-pair-backward-delete-char): Delete.
6574 (electric-pair-backward-delete-char-untabify): Delete.
6575 (electric-pair-mode-map): Bind backspace to a menu item filtering
6576 a new `electric-pair-delete-pair' command.
6577 (electric-pair-delete-pair): New command.
6578
6579 * progmodes/python.el (python-electric-pair-string-delimiter):
6580 Fix triple-quoting electricity. (Bug#17192)
6581
6582 * elec-pair.el (electric-pair-post-self-insert-function):
6583 Don't skip whitespace when `electric-pair-text-pairs' and
6584 `electric-pair-pairs' were used. syntax to
6585 electric-pair--skip-whitespace. (Bug#17183)
6586
6587 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6588
6589 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
6590 "<F>". (Bug#17199)
6591
6592 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
6595 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
6596
6597 2014-04-07 Glenn Morris <rgm@gnu.org>
6598
6599 * help.el (view-lossage): Doc tweak.
6600
6601 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
6602
6603 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
6604 only when inhibit-x-resources is nil, and do that earlier in the
6605 function. Doc fix. (Bug#16694)
6606 (face-spec-choose): Accept additional optional argument, whose
6607 value is returned if no matching attributes are found.
6608 (face-spec-recalc): Use the new optional argument when calling
6609 face-spec-choose. (Bug#16378)
6610 (make-face-x-resource-internal): Do nothing when
6611 inhibit-x-resources is non-nil. Don't touch the default face if
6612 reversed video is given--as was done in previous versions of Emacs.
6613 (face-set-after-frame-default): Don't call
6614 make-face-x-resource-internal here. (Bug#16434)
6615
6616 2014-04-07 Tassilo Horn <tsdh@gnu.org>
6617
6618 * doc-view.el (doc-view-bookmark-jump):
6619 Use `bookmark-after-jump-hook' to jump to the right page after the
6620 buffer is shown in a window. (bug#16090)
6621
6622 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6623
6624 * international/characters.el (mirroring): Fix last change:
6625 instead of loading uni-mirrored.el explicitly, do that implicitly
6626 by creating the 'mirroring' uniprop table. This avoids announcing
6627 the loading of uni-mirrored.el.
6628
6629 2014-04-07 Glenn Morris <rgm@gnu.org>
6630
6631 * files.el (buffer-stale--default-function)
6632 (buffer-stale-function, revert-buffer--default):
6633 * autorevert.el (auto-revert-buffers): Doc tweaks.
6634
6635 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6636
6637 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
6638
6639 2014-04-07 Glenn Morris <rgm@gnu.org>
6640
6641 * files.el (make-backup-file-name-function)
6642 (make-backup-file-name, make-backup-file-name--default-function)
6643 (make-backup-file-name-1, find-backup-file-name)
6644 (revert-buffer-function, revert-buffer-insert-file-contents-function)
6645 (buffer-stale--default-function, buffer-stale-function)
6646 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
6647 (revert-buffer, revert-buffer--default)
6648 (revert-buffer-insert-file-contents--default-function):
6649 Doc fixes related to defaults no longer being nil.
6650 (make-backup-file-name-function): Bump :version.
6651 Restore nil as a valid but deprecated custom type.
6652
6653 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6656 Handle $' used as a variable (bug#17174).
6657
6658 * progmodes/perl-mode.el (perl-indent-new-calculate):
6659 Handle forward-sexp failure (bug#16985).
6660 (perl-syntax-propertize-function): Add "foreach" and "for" statement
6661 modifiers introducing expressions (bug#17116).
6662
6663 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
6666
6667 2014-04-05 Leo Liu <sdl.web@gmail.com>
6668
6669 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6670 Add define-compilation-mode.
6671
6672 2014-04-04 João Távora <joaotavora@gmail.com>
6673
6674 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
6675 parse from comment beginning.
6676 (electric-pair--balance-info): Fix typo in comment.
6677 (electric-pair--in-unterminated-string-p): Delete.
6678 (electric-pair--unbalanced-strings-p): New function.
6679 (electric-pair-string-bound-function): New var.
6680 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6681 according to `electric-pair--in-unterminated-string-p'.
6682
6683 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
6686 Move declaration before first use.
6687 (reftex-move-to-next-arg): Silence compiler warning.
6688
6689 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
6690
6691 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
6692 Use `window-total-width' instead of `window-width'.
6693
6694 2014-04-03 Daniel Colascione <dancol@dancol.org>
6695
6696 * subr.el (set-transient-map): Remove rms's workaround entirely;
6697 use new `suspicious-object' subr to mark our lambda for closer
6698 scrutiny during gc.
6699
6700 2014-04-02 Richard Stallman <rms@gnu.org>
6701
6702 * subr.el (set-transient-map): Comment out previous change.
6703
6704 2014-04-02 Glenn Morris <rgm@gnu.org>
6705
6706 * menu-bar.el (menu-bar-file-menu):
6707 * vc/ediff.el (ediff-current-file):
6708 Update for revert-buffer-function no longer being nil by default.
6709
6710 * simple.el (command-execute): Respect nil disabled-command-function.
6711
6712 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6713
6714 * simple.el (command-execute): Do not execute the command when it
6715 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
6716
6717 2014-04-02 Juri Linkov <juri@jurta.org>
6718
6719 * dired-aux.el (dired-compress-file): Don't use string-match-p
6720 because its match data is used afterwards.
6721
6722 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
6723
6724 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
6725 0 like nil.
6726
6727 2014-04-02 João Távora <joaotavora@gmail.com>
6728
6729 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6730 Inhibit quote pairing if point-max is inside an unterminated string.
6731 (electric-pair--looking-at-unterminated-string-p):
6732 Delete.
6733 (electric-pair--in-unterminated-string-p): New function.
6734
6735 2014-04-01 Daniel Colascione <dancol@dancol.org>
6736
6737 * minibuffer.el (minibuffer-complete): Prevent assertion failure
6738 when trying to complete the prompt.
6739
6740 2014-03-31 Leo Liu <sdl.web@gmail.com>
6741
6742 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6743 Refactor out eldoc-documentation-function-default.
6744 (eldoc-documentation-function-default): New function.
6745 (eldoc-documentation-function): Change value.
6746
6747 2014-03-31 Glenn Morris <rgm@gnu.org>
6748
6749 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
6750
6751 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
6752 (vhdl-compose-components-package, vhdl-compose-configuration):
6753 Abbreviate default-directory (missing from some previous upstream sync).
6754
6755 2014-03-31 Reto Zimmermann <reto@gnu.org>
6756
6757 Sync with upstream vhdl mode v3.35.2.
6758 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6759 (top-level): No longer require assoc.
6760 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
6761 New functions. Use throughout to replace aget etc.
6762 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
6763 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
6764 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
6765 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
6766 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
6767 except `vhdl-compiler'.
6768 (vhdl-error-regexp-add-emacs): Remove all other compilers,
6769 when appropriate.
6770
6771 2014-03-31 Glenn Morris <rgm@gnu.org>
6772
6773 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
6774 Revert 2014-03-26 merge goof; go back to using defalias.
6775
6776 2014-03-30 Daniel Colascione <dancol@dancol.org>
6777
6778 * comint.el (comint-send-input):
6779 Deactivate completion-in-region-mode before we send comint input.
6780 (Bug#17139).
6781
6782 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
6783 on keyboard-quit.
6784
6785 2014-03-29 Glenn Morris <rgm@gnu.org>
6786
6787 * textmodes/reftex.el: Manage most autoloads automatically.
6788 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
6789 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
6790 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
6791 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
6792 * textmodes/reftex-toc.el: Set generated-autoload-file,
6793 and add autoload cookies for reftex.el.
6794 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
6795
6796 2014-03-28 Glenn Morris <rgm@gnu.org>
6797
6798 * cus-start.el (report-emacs-bug-address): Set custom properties.
6799 * mail/emacsbug.el (report-emacs-bug-address):
6800 Variable is now defined in emacs.c.
6801
6802 * mail/emacsbug.el (report-emacs-bug):
6803 Include system-configuration-features.
6804
6805 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
6806
6807 * simple.el (cycle-spacing): Never delete spaces on first run by
6808 default, but do so in a new 'fast mode and if there are already
6809 N spaces (the previous behavior).
6810 Compare N with its value in previous invocation so that changing
6811 prefix argument restarts `cycle-spacing' sequence.
6812 The idea is that with this change, binding M-SPC to
6813 `cycle-spacing' should not introduce any changes in behavior of
6814 the binding so long as users do not type M-SPC twice in a raw with
6815 the same prefix argument or lack thereof.
6816
6817 2014-03-28 Glenn Morris <rgm@gnu.org>
6818
6819 * faces.el (term-file-aliases): New variable.
6820 (tty-run-terminal-initialization): Respect term-file-aliases.
6821 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
6822 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
6823 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
6824
6825 2014-03-27 Glenn Morris <rgm@gnu.org>
6826
6827 * startup.el (inhibit-startup-hooks): Doc tweak.
6828 (normal-top-level): Simplify running of hooks.
6829 For window-setup-hook, respect inhibit-startup-hooks.
6830 (command-line-1): Don't set window-setup-hook to nil.
6831
6832 Allow selective autoloading from obsolete/ directory.
6833 * Makefile.in (obsolete-autoloads): New rule.
6834 (autoloads): Run obsolete-autoloads.
6835 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
6836 * simple.el (iswitchb-mode): Remove hand-written autoloads.
6837
6838 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
6839
6840 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6841 Highlight special globals with font-lock-builtin-face. (Bug#17057)
6842
6843 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6844 Don't propertize `?' or `!' as symbol constituent when after
6845 colon. (Bug#17097)
6846
6847 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
6848
6849 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
6850 which is no longer needed and causes trouble in GTK builds (bug#17046).
6851
6852 * emacs-lisp/package-x.el (package--archive-contents-from-url):
6853 Use url-insert-file-contents; package-handle-response no longer exists.
6854
6855 2014-03-26 Daniel Colascione <dancol@dancol.org>
6856
6857 * simple.el (process-menu-mode-map): New variable.
6858 (process-menu-delete-process): New command.
6859
6860 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
6861
6862 * emacs-lisp/package.el: Fix bug#16733 (again).
6863 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
6864 (url-http-target-url): Remove unused declarations.
6865 (package-handle-response): Remove.
6866 (package--with-work-buffer): Use url-insert-file-contents and simplify.
6867 (package--download-one-archive): Use current-buffer instead of
6868 dynamic binding of `buffer'.
6869 (describe-package-1): Do not decode readme-string.
6870
6871 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
6872
6873 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
6874
6875 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
6876 from 2014-03-07, it decreases performance unnecessarily. Let-bind
6877 `remote-file-name-inhibit-cache' to nil in the second pass.
6878 (tramp-find-executable): Do not call "which" on SunOS.
6879 (tramp-send-command-and-check): Fix docstring.
6880 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
6881 check whether source directory has set the sticky bit.
6882
6883 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
6884
6885 * simple.el (primitive-undo): Only process marker adjustments
6886 validated against their corresponding (TEXT . POS). Issue warning
6887 for lone marker adjustments in undo history. (Bug#16818)
6888 (undo-make-selective-list): Add marker adjustments to selective
6889 undo list based on whether their corresponding (TEXT . POS) is in
6890 the region. Remove variable adjusted-markers, which was unused
6891 and only non nil during undo-make-selective-list.
6892 (undo-elt-in-region): Return nil when passed a marker adjustment
6893 and explain in function doc.
6894
6895 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6896
6897 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
6898
6899 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
6900
6901 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
6902 Match special global variables without curlies, too.
6903 (ruby-font-lock-keywords): Simplify the matcher for special global
6904 variables. Don't require a non-word character after the variable.
6905 (Bug#17057)
6906
6907 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * simple.el (redisplay-highlight-region-function): Increase priority of
6910 overlay to make sure boundaries are visible (bug#15899).
6911
6912 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
6913
6914 * frameset.el (frameset--initial-params): Fix typo in parameter name.
6915 (frameset-restore): Compare display strings with equal.
6916
6917 * frame.el (make-frame): Don't quote display name in error message,
6918 it is already a string.
6919
6920 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6921
6922 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
6923 the password.
6924
6925 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
6926
6927 * emacs-lisp/package.el (package--add-to-archive-contents):
6928 Include already installed and built-in packages in
6929 `package-archive-contents'.
6930 (package-install): Don't include already installed packages in the
6931 options during interactive invocation. (Bug#16762)
6932 (package-show-package-list): If the buffer is already displayed in
6933 another window, switch to that window.
6934
6935 2014-03-26 Reto Zimmermann <reto@gnu.org>
6936
6937 Sync with upstream vhdl mode v3.35.1.
6938 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6939 (vhdl-compiler-alist): Doc fix.
6940 (vhdl-goto-line): Remove.
6941 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
6942 (vhdl-mode) <paragraph-start>: Fix value.
6943 (vhdl-fix-statement-region): Not `for' in wait-statement.
6944 (vhdl-beautify-region): Also (un)tabify.
6945 (vhdl-get-visible-signals):
6946 Scan declarative part of generate statements.
6947 (vhdl-template-record): Fix indentation for record type declaration.
6948 (vhdl-expand-abbrev, vhdl-expand-paren):
6949 Revert to using fset again rather than defalias.
6950 (vhdl-scan-directory-contents): Tweak.
6951 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
6952 (vhdl-compose-components-package):
6953 Replace vhdl-goto-line with forward-line.
6954 (top-level): Tweak speedbar frame selection.
6955 (vhdl-generate-makefile-1): Support for compilers with no
6956 unit-to-file name mapping (create directory with dummy files).
6957
6958 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
6959
6960 Sync with upstream verilog-mode revision 702457d.
6961 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6962 (create-lockfiles): Declare.
6963 (verilog-read-decls): Fix module header imports, bug709.
6964 Reported by Victor Lau.
6965 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
6966 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
6967 interface-only modules, bug721. Reported by Dean Hoyt.
6968
6969 2014-03-26 Glenn Morris <rgm@gnu.org>
6970
6971 * obsolete/gulp.el: Move here from emacs-lisp/.
6972
6973 * files.el (lock-buffer, unlock-buffer, file-locked-p):
6974 Remove fallback aliases, since they are always defined now.
6975
6976 2014-03-24 Daniel Colascione <dancol@dancol.org>
6977
6978 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
6979 instead of cl-loop search function.
6980
6981 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
6982
6983 * calendar/parse-time.el (parse-time-iso8601-regexp)
6984 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
6985 it more generally.
6986
6987 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
6988
6989 * net/dns.el (network-interface-list): Define for XEmacs.
6990
6991 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
6992
6993 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
6994 the network interfaces changed.
6995 (dns-query): Use it to flush the data.
6996
6997 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
6998
6999 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
7000
7001 2014-03-23 Daniel Colascione <dancol@dancol.org>
7002
7003 Change subword-mode to use `find-word-boundary-function-table' and
7004 replace `capitalized-words-mode'. Also, convert to lexical binding.
7005 * progmodes/cap-words.el: Delete now-obsolete file.
7006 * progmodes/subword.el: Reimplement using
7007 `find-word-boundary-function-table'.
7008 (subword-mode-map): Hollow out.
7009 (capitalized-words-mode): Define as obsolete alias for
7010 `subword-mode'.
7011 (subword-mode, superword-mode): Tweak documentation to reflect new
7012 implementation; call `subword-setup-buffer'.
7013 (subword-forward, subword-capitalize): Add underscore to indicate
7014 unused variable.
7015 (subword-find-word-boundary-function-table): New constant.
7016 (subword-empty-char-table): New constant.
7017 (subword-setup-buffer): New function.
7018 (subword-find-word-boundary): New function.
7019
7020 2014-03-23 Daniel Colascione <dancol@dancol.org>
7021
7022 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
7023 list to look for keyword arguments instead of `memq', fixing
7024 (Bug#3647) --- unfortunately, only for freshly-compiled code.
7025 Please make bootstrap.
7026
7027 2014-03-22 Glenn Morris <rgm@gnu.org>
7028
7029 * dired.el (dired-read-regexp): Make obsolete.
7030 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
7031 (dired-flag-files-regexp):
7032 * dired-aux.el (dired-mark-read-regexp):
7033 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
7034
7035 * startup.el (fancy-startup-text):
7036 * help.el (describe-gnu-project): Visit online info about GNU project.
7037
7038 * help-fns.el (help-fns--interactive-only): New function.
7039 (help-fns-describe-function-functions): Add the above function.
7040 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
7041 (next-line, previous-line): Remove hand-written interactive-only
7042 information from doc strings, it is auto-generated now.
7043 * bookmark.el (bookmark-write):
7044 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
7045 (epa-mail-import-keys): Mark interactive-only,
7046 and remove hand-written interactive-only information from doc strings.
7047 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
7048 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
7049 * files.el (not-modified):
7050 * simple.el (mark-whole-buffer): Mark interactive-only.
7051
7052 * emacs-lisp/byte-run.el (defun-declarations-alist):
7053 Add interactive-only. Doc tweak.
7054 (macro-declarations-alist): Doc tweak.
7055 * subr.el (declare): Doc tweak (add xref to manual).
7056 * comint.el (comint-run):
7057 * files.el (insert-file-literally, insert-file):
7058 * replace.el (replace-string, replace-regexp):
7059 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
7060 (delete-forward-char, goto-line, insert-buffer, next-line)
7061 (previous-line): Set interactive-only via declare.
7062
7063 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
7064
7065 * emacs-lisp/package.el (package-desc): Use the contents of the
7066 quoted form, not its cdr. (Bug#16873)
7067
7068 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
7069
7070 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
7071 benefit of doc.c; change parameter profile to match the X function.
7072
7073 2014-03-22 Leo Liu <sdl.web@gmail.com>
7074
7075 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
7076 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
7077
7078 2014-03-21 Richard Stallman <rms@gnu.org>
7079
7080 * battery.el (battery-linux-sysfs): Search for each field
7081 from the beginning of the buffer.
7082
7083 * subr.el (set-transient-map): Clear out function and value
7084 of the temporary symbol when we're done with it.
7085
7086 * mail/rmailsum.el (rmail-summary-delete-forward):
7087 Optimize case of reaching end and handling count.
7088 (rmail-summary-mark-deleted): Optimize when N is current msg.
7089 Don't create new summary line.
7090 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
7091 (rmail-summary-undelete-many): Rewrite for speed.
7092 (rmail-summary-msg-number): New function.
7093
7094 * mail/rmail.el (rmail-delete-message): Update summary.
7095 (rmail-undelete-previous-message): Handle repeat count arg.
7096 (rmail-delete-backward, rmail-delete-forward): Likewise.
7097
7098 2014-03-21 Daniel Colascione <dancol@dancol.org>
7099
7100 * mail/emacsbug.el (report-emacs-bug): Include memory usage
7101 information in bug reports.
7102
7103 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
7104
7105 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
7106 and `tramp-copy-env'.
7107
7108 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
7109 (tramp-maybe-open-connection): Handle `tramp-login-env'.
7110
7111 2014-03-21 Glenn Morris <rgm@gnu.org>
7112
7113 * electric.el (electric-indent-post-self-insert-function): Add doc.
7114
7115 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
7116
7117 * emacs-lisp/package.el (package-compute-transaction):
7118 Use `version-list-<=' to compare the requirement version against
7119 the version of package already to be installed. Update the error
7120 message. (Bug#16826)
7121
7122 * progmodes/ruby-mode.el (ruby-smie-rules):
7123 Add indentation rule for ` @ '. (Bug#17050)
7124
7125 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
7126
7127 * align.el (align-regexp): Remove superfluous backslash.
7128
7129 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
7130 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
7131 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
7132 Fix docstring typos.
7133 (ffap-next): Use C-u in docstring.
7134 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
7135 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
7136 Remove superfluous backslashes.
7137 (ffap-string-at-point): Reflow docstring.
7138
7139 * server.el (server-host): Reflow docstring.
7140 (server-unload-function): Fix docstring typo.
7141 (server-eval-at): Remove superfluous backslash.
7142
7143 * skeleton.el (skeleton-insert): Remove superfluous backslash.
7144 (skeleton-insert): Doc fix.
7145 (skeleton-insert): Reflow docstring.
7146
7147 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
7148 (tty-color-approximate, tty-color-by-index, tty-color-values)
7149 (tty-color-desc): Remove superfluous backslashes.
7150
7151 2014-03-21 Glenn Morris <rgm@gnu.org>
7152
7153 * cus-start.el (history-length): Bump :version.
7154
7155 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7156 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7157 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7158 Don't set `make-backup-files'.
7159
7160 * info.el (info--prettify-description): New function,
7161 to give info-finder descriptions consistent case, punctuation.
7162 (Info-finder-find-node): Use it. Sort packages.
7163 Refer to "description" rather than "commentary".
7164
7165 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * frameset.el (frameset--print-register): New function.
7168 (frameset-to-register): Use it.
7169
7170 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
7171
7172 * progmodes/hideif.el (hif-string-to-number): New function.
7173 (hif-tokenize): Use it to understand non-decimal floats.
7174
7175 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
7176
7177 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
7178
7179 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * electric.el (electric-newline-and-maybe-indent): New command.
7182 Bind it globally to C-j.
7183 (electric-indent-mode): Don't mess with the global map any more.
7184 Don't drop the post-self-insert-hook is some buffer is still using it
7185 (bug#16770).
7186
7187 * bindings.el (global-map): Remove C-j binding.
7188
7189 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
7190 the docstring of functions advised before dumping (bug#16993).
7191
7192 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
7193
7194 * ps-print.el (ps-generate-postscript-with-faces):
7195 Explicitly deactivate the mark (bug#16866).
7196 * simple.el (deactivate-mark): Update region highlight.
7197
7198 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
7199
7200 * emacs-lisp/package.el (describe-package-1):
7201 Decode commentary (bug#16733).
7202
7203 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
7204
7205 * custom.el (defcustom): Doc fix: recommend avoiding destructive
7206 modification of the value argument of :set (bug#16755).
7207
7208 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * simple.el (newline-and-indent): Do autofill (bug#17031).
7211
7212 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
7213
7214 * newcomment.el (comment-normalize-vars): Only add escaping check
7215 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
7216 (comment-beginning): Use `narrow-to-region' instead of moving back
7217 one character.
7218 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
7219 (comment-start-skip): Update the docstring.
7220
7221 2014-03-18 Richard Stallman <rms@gnu.org>
7222
7223 * dired.el (dired-display-file): Force use of other window.
7224
7225 2014-03-18 Daniel Colascione <dancol@dancol.org>
7226
7227 * startup.el (tty-handle-args): Remove debug message from 2007.
7228
7229 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
7232 (advice--make-interactive-form): Use it to avoid (auto)loading function.
7233 (advice--make-1, advice-add, advice-remove):
7234 Remove braindead :advice-pending hack.
7235
7236 2014-03-17 Glenn Morris <rgm@gnu.org>
7237
7238 * calendar/calendar.el (calendar-generate-month): Apply weekend
7239 face to the right days; fixes 2013-08-06 change. (Bug#17028)
7240
7241 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
7242
7243 * net/tramp.el (tramp-action-out-of-band): Read pending output.
7244 (tramp-call-process): Trace also DESTINATION.
7245
7246 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7247 Quote file names when they are local. Remove superfluous trace.
7248
7249 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
7250
7251 * newcomment.el (comment-beginning): If `comment-start-skip'
7252 doesn't match, move back one char and try again. (Bug#16971)
7253
7254 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7255 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
7256 Set `comment-start-skip' to a simpler value that doesn't try to
7257 check if the semicolon is escaped (this is handled by
7258 `syntax-ppss' now). (Bug#16971)
7259
7260 * progmodes/scheme.el (scheme-mode-variables): Same.
7261
7262 2014-03-16 Martin Rudalics <rudalics@gmx.at>
7263
7264 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
7265 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
7266 current (Bug#16816, Bug#17007).
7267 (with-current-buffer-window): New macro doing the same as
7268 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
7269 * help.el (help-print-return-message): Warn in doc-string to not
7270 use this in `with-help-window'.
7271 (describe-bindings-internal): Call `describe-buffer-bindings'
7272 from within help buffer. See Juanma's scenario in (Bug#16816).
7273 (with-help-window): Update doc-string.
7274 * dired.el (dired-mark-pop-up):
7275 * files.el (save-buffers-kill-emacs):
7276 * register.el (register-preview): Use `with-current-buffer-window'
7277 instead of `with-temp-buffer-window'.
7278
7279 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
7280
7281 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
7282 Implement inserting into current buffer, documented in their docstrings.
7283 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
7284 (rst-section-tree-point, rst-forward-section, rst-indent)
7285 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
7286 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
7287 (rst-font-lock-handle-adornment-pre-match-form)
7288 (rst-repeat-last-character): Reflow docstrings.
7289 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
7290 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
7291 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
7292 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
7293 Fix docstring typos.
7294 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
7295 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
7296 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
7297
7298 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
7299
7300 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
7301 for compatibility with other ports.
7302 (ns-initialize-window-system): Use it. It is set in term/common-win.el
7303 from the -xrm command line argument, but in the Nextstep port its value
7304 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
7305
7306 * progmodes/python.el (defconst, python-syntax-count-quotes)
7307 (python-indent-region, python-indent-shift-right)
7308 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
7309 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
7310 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
7311 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
7312 (inferior-python-mode, python-shell-make-comint, run-python-internal)
7313 (python-shell-buffer-substring, python-shell-send-buffer)
7314 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
7315 (python-completion-complete-at-point, python-fill-docstring-style)
7316 (python-eldoc-function, python-imenu-format-item-label)
7317 (python-imenu-format-parent-item-label)
7318 (python-imenu-format-parent-item-jump-label)
7319 (python-imenu--build-tree, python-imenu-create-index)
7320 (python-imenu-create-flat-index): Fix docstring typos.
7321 (python-indent-context, python-shell-prompt-regexp, run-python):
7322 Remove superfluous backslashes.
7323 (python-indent-line, python-nav-beginning-of-defun)
7324 (python-shell-get-buffer, python-shell-get-process)
7325 (python-info-current-defun, python-info-current-line-comment-p)
7326 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
7327 (python-indent-post-self-insert-function, python-shell-send-file)
7328 (python-shell-completion-get-completions)
7329 (python-shell-completion-complete-or-indent)
7330 (python-eldoc--get-doc-at-point): Reflow docstrings.
7331
7332 2014-03-14 Glenn Morris <rgm@gnu.org>
7333
7334 * emacs-lisp/package.el (package-menu-mode-map):
7335 Replace use of obsolete function alias. Tweak menu item text.
7336
7337 * info.el (Info-finder-find-node):
7338 Ignore the `emacs' metapackage. (Bug#10813)
7339
7340 * finder.el (finder-list-matches): Include unversioned packages
7341 in the result of a keyword search.
7342
7343 * finder.el (finder--builtins-descriptions): New constant.
7344 (finder-compile-keywords): Use finder--builtins-descriptions.
7345
7346 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
7347
7348 * simple.el (blink-matching-paren): Describe the new value,
7349 `jump', enabling the old behavior.
7350 (blink-matching-open): Use that value. (Bug#17008)
7351
7352 2014-03-14 Glenn Morris <rgm@gnu.org>
7353
7354 * finder.el (finder-no-scan-regexp): Add leim-list.
7355 (finder-compile-keywords):
7356 Don't skip files with same basename. (Bug#14010)
7357 * Makefile.in (setwins_finder): New, excluding leim.
7358 (finder-data): Use setwins_finder.
7359
7360 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
7361 (help-function-arglist, help-make-usage): Move from here...
7362 * help.el (help-split-fundoc, help-add-fundoc-usage)
7363 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
7364 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
7365
7366 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
7367
7368 * net/socks.el (socks, socks-override-functions)
7369 (socks-find-services-entry):
7370 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
7371 (hif-find-ifdef-block):
7372 * progmodes/modula2.el (m2-indent): Fix docstring typos.
7373
7374 * net/tls.el (tls-program): Reflow docstring.
7375
7376 * progmodes/pascal.el (pascal-mode-abbrev-table)
7377 (pascal-imenu-generic-expression, pascal-auto-endcomments)
7378 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
7379 (pascal-outline-mode): Fix docstring typos.
7380 (pascal-mode): Let define-derived-mode document mode hook.
7381 (pascal-uncomment-area): Reflow.
7382 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
7383
7384 * progmodes/opascal.el (opascal-compound-block-indent)
7385 (opascal-case-label-indent): Fix docstring typos.
7386 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
7387
7388 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
7389
7390 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7391 Fontify multiple adjacent negation chars. (Bug#17004)
7392
7393 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
7394
7395 * emacs-lisp/package.el (package--prepare-dependencies):
7396 Accept requirements without explicit version (bug#14941).
7397
7398 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7399
7400 * register.el (register-separator, copy-to-register): Doc fixes.
7401 (register-preview-default): Remove unnecessary call to concat.
7402
7403 * frameset.el (frameset-restore): When checking for a visible frame,
7404 use the action map instead of calling visible-frame-list.
7405
7406 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
7407
7408 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
7409
7410 2014-03-12 Martin Rudalics <rudalics@gmx.at>
7411
7412 * window.el (fit-frame-to-buffer): Get maximum width from
7413 display's width instead of height.
7414
7415 2014-03-12 Glenn Morris <rgm@gnu.org>
7416
7417 * desktop.el (desktop-restore-frames)
7418 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
7419 (desktop-restore-reuses-frames): Doc tweaks.
7420
7421 * electric.el (electric-indent-mode): Doc fix.
7422
7423 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7424
7425 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
7426 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
7427 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
7428 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
7429 (cvs-dired-use-hook): Fix docstring typos.
7430 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
7431 Doc fixes.
7432
7433 * vc/pcvs-defs.el (cvs-auto-remove-handled)
7434 (cvs-auto-remove-directories, cvs-default-ignore-marks)
7435 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
7436 (cvs-execute-single-dir): Fix docstring typos.
7437
7438 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
7439 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
7440
7441 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
7442
7443 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
7444 Fix docstring typos.
7445
7446 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7447
7448 * frameset.el (frameset--jump-to-register): Add autoload; it could be
7449 called from jump-to-register after unloading the frameset package.
7450
7451 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
7454 (bug#16975). Deactivate the mark before setting it to nil.
7455 (activate-mark): Do nothing if region is already active.
7456
7457 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7458
7459 * frameset.el (frameset--target-display): Remove definition; declare.
7460 (frameset-save, frameset-restore): Let-bind frameset--target-display.
7461
7462 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
7465 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
7466 when the advice is pending.
7467 (advice-remove): Remove this marker when not needed any more.
7468
7469 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7470
7471 * frameset.el: Separate options for reusing frames and cleaning up.
7472 (frameset--reuse-list): Remove definition; declare.
7473 (frameset--action-map): Declare.
7474 (frameset--find-frame-if): Doc fix.
7475 (frameset--restore-frame): Cache frame action.
7476 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
7477 how to clean up the frame list after restoring. Remove cleaning
7478 options from REUSE-FRAMES. Change all keyword values to symbols.
7479 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
7480
7481 * desktop.el (desktop-restore-forces-onscreen)
7482 (desktop-restore-reuses-frames): Use non-keyword values.
7483 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
7484
7485 2014-03-10 Glenn Morris <rgm@gnu.org>
7486
7487 * files.el (find-file): Doc fix: update info node name.
7488
7489 * emacs-lisp/advice.el (ad-add-advice, defadvice):
7490 Doc fix: remove references to deleted info nodes.
7491
7492 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
7493
7494 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7495 Do not add nil to the environment, when there's no remote `locale'.
7496 (tramp-find-inline-encoding): Check, that the remote host has
7497 installed perl, before sending scripts.
7498
7499 2014-03-10 Leo Liu <sdl.web@gmail.com>
7500
7501 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7502 Clear eldoc-last-message. (Bug#16920)
7503
7504 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7505
7506 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
7507 (bug#14430).
7508
7509 2014-03-09 Juri Linkov <juri@jurta.org>
7510
7511 * ansi-color.el (ansi-color-names-vector): Copy default colors
7512 from `xterm-standard-colors' that look well on the default white
7513 background (and also on the black background) to avoid illegible
7514 color combinations like yellow-on-white and white-on-white.
7515 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
7516
7517 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
7518
7519 * frameset.el (frameset-restore): When no frame is visible, do not
7520 generate a list of frames, just make visible the selected one.
7521
7522 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
7523
7524 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
7525 it only contains the repository root. (Bug#16897)
7526
7527 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
7528
7529 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
7530 only when `remote-file-name-inhibit-cache' is nil.
7531 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
7532
7533 2014-03-06 Martin Rudalics <rudalics@gmx.at>
7534
7535 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
7536 Fix doc-strings.
7537 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
7538 fit-frame-to-buffer variable. Fix doc-string.
7539 (fit-window-to-buffer): Set ONLY argument in call of
7540 fit-frame-to-buffer. Fix doc-string.
7541
7542 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
7543
7544 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
7545 (tramp-action-password): Clear password cache if needed.
7546 (tramp-read-passwd): Do not clear password cache.
7547
7548 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
7549 cache unless it is the first password request.
7550
7551 2014-03-06 Glenn Morris <rgm@gnu.org>
7552
7553 * simple.el (newline): Doc tweak.
7554
7555 * emacs-lisp/shadow.el (load-path-shadows-find):
7556 Ignore dir-locals. (Bug#12357)
7557
7558 2014-03-05 Glenn Morris <rgm@gnu.org>
7559
7560 * files.el (interpreter-mode-alist):
7561 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
7562
7563 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7564
7565 * frameset.el (frameset--initial-params): Filter out null entries.
7566
7567 2014-03-05 Martin Rudalics <rudalics@gmx.at>
7568
7569 * window.el (window-min-height, window-min-width):
7570 Rewrite doc-strings.
7571 (window-body-size): Add PIXELWISE argument to make it consistent
7572 with its callees.
7573
7574 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7575
7576 * finder.el (finder-mode-map, finder-mode-syntax-table):
7577 Revert part of 2014-02-28 change.
7578
7579 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
7580
7581 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
7582 (eww-setup-buffer): Clear next/prev/etc more reliably.
7583 (eww-textarea-map): [tab] doesn't work on tty.
7584 Reported by Mario Lang.
7585
7586 * net/shr.el (shr-map): Ditto.
7587
7588 2014-03-04 Glenn Morris <rgm@gnu.org>
7589
7590 * minibuffer.el (completion-hilit-commonality):
7591 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
7592
7593 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7594
7595 * hilit-chg.el (hilit-chg-unload-function): New function.
7596 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
7597 (hilit-chg-map-changes): Prefer cardinal number to digit.
7598 (hilit-chg-display-changes): Reflow docstring.
7599 (highlight-changes-rotate-faces): Remove superfluous backslash.
7600
7601 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
7602
7603 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
7604 `tramp-send-command-and-check'.
7605
7606 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7607
7608 * hexl.el (hexl-address-region, hexl-ascii-region)
7609 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
7610 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
7611 (hexl-forward-word, hexl-previous-line, hexl-next-line):
7612 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
7613 (hexl-mode): Doc fix.
7614 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
7615 (hexl-mode-ruler): Fix typos in docstrings.
7616
7617 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
7618 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
7619 Remove superfluous backslashes.
7620 (strokes-last-stroke, strokes-global-map, strokes-mode):
7621 Reflow docstrings.
7622 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
7623 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
7624 (strokes-distance-squared, strokes-global-set-stroke)
7625 (strokes-global-set-stroke-string): Doc fixes.
7626 (strokes-help): Fix typos; reflow docstring.
7627
7628 2014-03-04 Martin Rudalics <rudalics@gmx.at>
7629
7630 * window.el (window-in-direction): Fix doc-string.
7631
7632 2014-03-04 Glenn Morris <rgm@gnu.org>
7633
7634 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
7635 Explicit error if no grammar.
7636 (smie-config-save): Doc fix. Fix quote typo.
7637
7638 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
7641 electric-indent-mode-hook if we obey electric-indent-mode.
7642 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
7643 decide whether we obey electric-indent-mode.
7644 (c-change-set-fl-decl-start, c-extend-after-change-region):
7645 Silence warnings.
7646 (c-electric-indent-mode-hook): Assume we do want to obey
7647 electric-indent-mode.
7648
7649 * electric.el (electric-indent-mode-has-been-called): Remove.
7650 (electric-indent-mode): Fix accordingly.
7651
7652 * files.el (hack-local-variables): Mention file name in warning.
7653
7654 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
7655
7656 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
7657
7658 * bindings.el: Add comment describing why C-d binds to `delete-char'.
7659 * simple.el (delete-forward-char): Mark as interactive-only.
7660
7661 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
7662
7663 * icomplete.el (icomplete-completions):
7664 Follow-up to 2014-03-01 change.
7665
7666 * icomplete.el: Miscellaneous doc fixes.
7667 Use Icomplete everywhere instead of icomplete for consistency.
7668 (icomplete-max-delay-chars): Fix typo.
7669 (icomplete-mode): Use \[].
7670 (icomplete-tidy, icomplete-exhibit): Reflow.
7671 (icomplete-minibuffer-setup-hook, icomplete-completions):
7672 Remove superfluous backlashes.
7673
7674 * ido.el: Miscellaneous doc fixes.
7675 Use Ido everywhere instead of ido or `ido' for consistency.
7676 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
7677 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
7678 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
7679 (ido-separator): Extract obsolescence info from docstring and declare
7680 with make-obsolete-variable.
7681 (ido-minibuffer-setup-hook): Simplify example.
7682 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
7683 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
7684 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
7685 (ido-everywhere): Reflow docstring.
7686 (ido-toggle-vc): Doc fix.
7687 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
7688 of long list of keybindings.
7689
7690 2014-03-03 Glenn Morris <rgm@gnu.org>
7691
7692 * frame.el (display-pixel-height, display-pixel-width)
7693 (display-mm-dimensions-alist, display-mm-height)
7694 (display-mm-width): Doc tweaks.
7695
7696 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
7697
7698 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
7699 case of undo in region.
7700
7701 2014-03-02 Martin Rudalics <rudalics@gmx.at>
7702
7703 * window.el (fit-window-to-buffer): Fix argument in window-size
7704 call when window is horizontally combined.
7705
7706 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
7707
7708 * icomplete.el (icomplete-completions): Use string-width.
7709 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7710
7711 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
7712
7713 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7714 Highlight regexp options. (Bug#16914)
7715
7716 2014-03-01 Martin Rudalics <rudalics@gmx.at>
7717
7718 * window.el (window--max-delta-1): Round down when calculating
7719 how many lines/columns we can get from a window.
7720
7721 2014-03-01 Glenn Morris <rgm@gnu.org>
7722
7723 * isearch.el (search-invisible): Doc fix.
7724
7725 * minibuffer.el (completion-hilit-commonality):
7726 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
7727 * comint.el (comint-dynamic-list-completions): Doc fix.
7728 * comint.el (comint-dynamic-list-completions):
7729 * filecache.el (file-cache-minibuffer-complete):
7730 * tempo.el (tempo-display-completions):
7731 * eshell/em-hist.el (eshell-list-history):
7732 Replace use of obsolete argument of display-completion-list.
7733
7734 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
7735
7736 * icomplete.el (icomplete-completions):
7737 Revert back to using "..." when ?… cannot be displayed.
7738
7739 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * finder.el (finder-unload-function): New function.
7742
7743 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7744
7745 * dframe.el (dframe-detach):
7746 * find-dired.el (find-dired, find-name-dired):
7747 * finder.el (finder-mode-map, finder-mode-syntax-table)
7748 (finder-headmark, finder-select, finder-mouse-select):
7749 Fix docstring typos.
7750
7751 2014-02-28 Martin Rudalics <rudalics@gmx.at>
7752
7753 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
7754 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
7755 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7756 Fix doc-string based on a suggestion by Nicolas Richard
7757 <theonewiththeevillook@yahoo.fr>.
7758 * help.el (with-help-window): Fix doc-string.
7759
7760 2014-02-28 Ivan Kanis <ivan@kanis.fr>
7761
7762 * net/shr.el (shr-image-animate): New option.
7763 (shr-put-image): Respect shr-image-animate.
7764
7765 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
7766
7767 * net/tramp-adb.el (tramp-adb-parse-device-names):
7768 Use `accept-process-output'.
7769 (tramp-adb-handle-file-truename): Cache the localname only.
7770 (tramp-adb-handle-make-directory)
7771 (tramp-adb-handle-delete-directory): Flush file properties correctly.
7772 (tramp-adb-handle-set-file-modes): Do not raise an error when file
7773 modes cannot be changed.
7774
7775 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
7776 file properties of symlinks.
7777
7778 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
7779
7780 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
7781 required/optional fields to match development biblatex. (Bug#16781)
7782
7783 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
7784
7785 * saveplace.el (toggle-save-place):
7786 Fix argument handling. (Bug#16673)
7787
7788 2014-02-28 Glenn Morris <rgm@gnu.org>
7789
7790 * minibuffer.el (completions-first-difference)
7791 (completions-common-part, completion-hilit-commonality): Doc fixes.
7792
7793 2014-02-28 Karl Berry <karl@gnu.org>
7794
7795 * info.el (Info-mode-map): Add H for describe-mode,
7796 to synchronize with standalone Info.
7797
7798 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
7799
7800 * progmodes/sql.el (sql-interactive-mode):
7801 Avoid setting global comint-input-ring-separator. (Bug#16814)
7802
7803 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7804
7805 * net/dbus.el (dbus--init-bus): Declare function.
7806 (dbus-path-local, dbus-interface-local): New defconst.
7807 (dbus-init-bus): Use them.
7808 (dbus-return-values-table): Extend doc.
7809 (dbus-handle-bus-disconnect): Extend error message.
7810
7811 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
7812
7813 * subr.el (y-or-n-p): Fix double space issue in message.
7814
7815 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7816
7817 * net/tramp.el (tramp-call-process): Improve trace message.
7818 (tramp-handle-insert-file-contents): Trace error case.
7819
7820 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7821 <insert-directory>: Use `tramp-handle-insert-directory'.
7822 (tramp-adb-handle-insert-directory): Remove function.
7823 (tramp-adb-send-command-and-check): New defun, replacing
7824 `tramp-adb-command-exit-status'. Change all callees.
7825 (tramp-adb-handle-file-attributes)
7826 (tramp-adb-handle-directory-files-and-attributes): Use it.
7827 (tramp-adb-ls-output-name-less-p):
7828 Use `directory-listing-before-filename-regexp'.
7829 (tramp-adb-handle-delete-directory): Flush also file properties of
7830 the truename of directory.
7831 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
7832 (tramp-adb-handle-file-local-copy): Make the local copy readable.
7833 (tramp-adb-handle-write-region): Implement APPEND.
7834 (tramp-adb-handle-rename-file): Make it more robust. Flush file
7835 properties correctly.
7836 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
7837 variables. Check for connected devices only when needed.
7838
7839 2014-02-27 Glenn Morris <rgm@gnu.org>
7840
7841 * minibuffer.el (completion-table-dynamic)
7842 (completion-table-with-cache): Doc fixes.
7843
7844 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
7845 (completing-read-multiple): Doc fixes.
7846
7847 2014-02-27 Daniel Colascione <dancol@dancol.org>
7848
7849 * minibuffer.el (completion--nth-completion): Fix indentation.
7850
7851 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
7852 explicit tramp path is empty.
7853
7854 2014-02-27 Glenn Morris <rgm@gnu.org>
7855
7856 * emacs-lisp/crm.el (completing-read-multiple):
7857 Empower help-enable-auto-load.
7858
7859 2014-02-26 Glenn Morris <rgm@gnu.org>
7860
7861 * startup.el (command-line): Don't init the tty in daemon mode.
7862
7863 Avoid calling tty-setup-hook twice, eg if a term file
7864 explicitly calls tty-run-terminal-initialization. (Bug#16859)
7865 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
7866 (tty-create-frame-with-faces): Use it.
7867 * startup.el (command-line): Pass run-hook argument
7868 to tty-run-terminal-initialization.
7869
7870 * dired.el (dired-restore-desktop-buffer): Demote errors;
7871 eg in case a glob match fails. (Bug#16884)
7872
7873 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
7874
7875 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
7876 error from `read-from-string'. (Bug#16850)
7877
7878 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
7879 result of `completing-read' in the interactive form. (Bug#16854)
7880
7881 2014-02-25 Glenn Morris <rgm@gnu.org>
7882
7883 * image.el (image-animate, image-animate-timeout):
7884 Stop animating images in dead buffers. (Bug#16878)
7885
7886 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
7887
7888 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
7889 Doc fixes.
7890 * startup.el (term-setup-hook): Doc fix. Make obsolete.
7891 * term/sun.el (sun-raw-prefix-hooks):
7892 Use tty-setup-hook instead of term-setup-hook.
7893 (terminal-init-sun): Construct message from bytecomp plist.
7894 * term/wyse50.el (enable-arrow-keys): Doc fix.
7895
7896 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
7897
7898 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
7899 Fix docstring typos.
7900
7901 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
7902
7903 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
7904
7905 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7906
7907 * minibuffer.el (completion--try-word-completion):
7908 Fix error when completing M-x commands (bug#16808).
7909
7910 2014-02-24 Leo Liu <sdl.web@gmail.com>
7911
7912 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
7913
7914 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
7915
7916 * apropos.el (apropos-print): Avoid formatting error when
7917 apropos-do-all and apropos-compact-layout are both t.
7918
7919 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
7920
7921 * apropos.el (apropos-property, apropos-all-words-regexp)
7922 (apropos-true-hit, apropos-variable, apropos-print):
7923 Fix docstring typos, and remove obsolete comment.
7924
7925 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
7926
7927 * net/tramp-sh.el (tramp-sh-handle-file-truename):
7928 Preserve trailing "/". (Bug#16851)
7929
7930 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
7931
7932 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
7933 after `=>' (bug#16811).
7934 (ruby-smie-rules): Handle the inconsistent second element of the
7935 list returned by `smie-indent--parent'.
7936 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
7937 method call.
7938
7939 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
7940
7941 * elec-pair.el (electric-pair-text-syntax-table)
7942 (electric-pair-syntax-info, electric-pair--syntax-ppss)
7943 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
7944 (electric-pair--looking-at-unterminated-string-p): Doc fix.
7945 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
7946
7947 2014-02-22 Glenn Morris <rgm@gnu.org>
7948
7949 * imenu.el (imenu--generic-function): Doc fix.
7950
7951 * register.el (frame-configuration-to-register): Make obsolete.
7952
7953 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
7954
7955 * desktop.el (desktop-save-buffer-p): Do not fail when
7956 desktop-files-not-to-save is nil. Return t for true result
7957 as the doc says.
7958
7959 2014-02-22 Daniel Colascione <dancol@dancol.org>
7960
7961 * net/secrets.el (secrets-create-item, secrets-search-items):
7962 Check that attribute values are strings, avoiding the construction
7963 of invalid dbus messages.
7964
7965 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7966
7967 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
7968 defun-declarations-alist.
7969
7970 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
7973 (bug#16829).
7974
7975 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7976
7977 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
7978 (whitespace-newline, whitespace-trailing, whitespace-line)
7979 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
7980 (whitespace-space-after-tab): Fix typo in docstrings.
7981
7982 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
7983
7984 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
7985
7986 * electric.el (electric-indent-functions-without-reindent):
7987 Add `yaml-indent-line'.
7988
7989 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7990
7991 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
7992 It has done nothing for years; should be removed after the release.
7993
7994 * simple.el (choose-completion): Fix docstring typo.
7995 (read-quoted-char-radix): Remove unneeded * in docstring.
7996 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
7997 Don't escape parentheses unnecessarily in docstrings.
7998
7999 2014-02-21 Martin Rudalics <rudalics@gmx.at>
8000
8001 Fix handling of window-min-height/-width (Bug#16738).
8002 * window.el (window--dump-window, window--dump-frame):
8003 New functions.
8004 (window--min-size-1): Account for window dividers.
8005 When window-resize-pixelwise is nil, delay rounding till after the
8006 sum of the window components has been calculated.
8007 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
8008 nil make sure at least one text line and two text columns remain
8009 fully visible.
8010 (window-resize): Signal an error when window-resize-apply fails.
8011 (window--resize-child-windows): Fix calculation of by how many
8012 pixels a window can still be shrunk via window-new-normal.
8013 (adjust-window-trailing-edge): Call window--resizable with
8014 correct TRAIL argument.
8015
8016 (with-temp-buffer-window): Don't evaluate BODY within
8017 with-current-buffer (Bug#16816).
8018
8019 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
8020
8021 * net/tramp.el (tramp-check-cached-permissions):
8022 Call `file-attributes' with `suffix' being a symbol but a string.
8023
8024 2014-02-21 Daniel Colascione <dancol@dancol.org>
8025
8026 * net/dbus.el (dbus-init-bus-1): Declare new subr.
8027 (dbus-init-bus): New function: call into dbus-init-bus-1
8028 and installs a handler for the disconnect signal.
8029 (dbus-call-method): Rewrite to look for result in cons.
8030 (dbus-call-method-handler): Store result in cons.
8031 (dbus-check-event): Recognize events with nil sender as valid.
8032 (dbus-handle-bus-disconnect): New function. React to bus
8033 disconnection signal by synthesizing dbus error for each
8034 pending synchronous or asynchronous call.
8035 (dbus-notice-synchronous-call-errors): New function.
8036 (dbus-handle-event): Raise errors directly only when `dbus-debug'
8037 is true, not all the time.
8038
8039 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
8040
8041 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
8042 Remove obsolescence declarations, these variables do not exist anymore.
8043
8044 * savehist.el (savehist-save-minibuffer-history)
8045 (savehist-additional-variables, savehist-file, savehist-mode-hook)
8046 (savehist-save-hook, savehist-coding-system, savehist-loaded)
8047 (savehist-load, savehist-install, savehist-autosave): Fix typos;
8048 mostly, refer to "Savehist mode" when talking about the mode,
8049 and not the function.
8050
8051 * saveplace.el (save-place): Remove redundant info in docstring.
8052 (save-place-forget-unreadable-files, toggle-save-place)
8053 (save-place-forget-unreadable-files, save-place-dired-hook):
8054 Fix typos and remove unneeded backslashes.
8055
8056 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
8057
8058 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
8059 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
8060
8061 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8062 <insert-directory>: Use `tramp-handle-insert-directory'.
8063 (tramp-gvfs-handle-insert-directory): Remove function.
8064
8065 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8066 Call `tramp-handle-insert-directory'.
8067
8068 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
8069
8070 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
8071 before the start of buffer/region (bug#16799).
8072
8073 2014-02-20 Glenn Morris <rgm@gnu.org>
8074
8075 * isearch.el (search-invisible): Doc fix.
8076
8077 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
8078
8079 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
8080 (bug#16657).
8081
8082 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
8083
8084 * frameset.el (frameset-restore): Delay removing an old frame's
8085 duplicate id until the new frame has been correctly created.
8086
8087 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
8088
8089 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
8090 (tramp-check-cached-permissions): Call `file-attributes' if the
8091 cache is empty.
8092
8093 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
8094 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8095
8096 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8097 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
8098 (tramp-gvfs-maybe-open-connection): Set always connection
8099 properties, even if target is mounted already.
8100
8101 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
8102 Set tramp-autoload cookie.
8103 (tramp-get-remote-touch): New defun.
8104 (tramp-sh-handle-set-file-times): Use it.
8105 (tramp-sh-handle-directory-files-and-attributes):
8106 Use `tramp-handle-directory-files-and-attributes' if neither stat
8107 nor perl are available on the remote host.
8108
8109 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
8110 "/". Write long listing only when "l" belongs to the switches.
8111
8112 * net/trampver.el: Update release number.
8113
8114 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
8115
8116 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
8117
8118 2014-02-19 Martin Rudalics <rudalics@gmx.at>
8119
8120 * window.el (window-state-put): Allow WINDOW to refer to an
8121 internal window (Bug#16793).
8122
8123 2014-02-19 Glenn Morris <rgm@gnu.org>
8124
8125 * textmodes/remember.el: Move provide statement to end.
8126 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
8127 (remember-notes): Doc fixes.
8128
8129 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * delsel.el (delete-char): Restore incorrectly erased property
8132 (bug#16795).
8133
8134 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
8135
8136 * frameset.el (frameset--restore-frame): When a frame is being reused
8137 and its root window is not alive, delete all the frame's windows before
8138 restoring the window state. This works around the issue in bug#16793.
8139
8140 2014-02-18 Glenn Morris <rgm@gnu.org>
8141
8142 * textmodes/remember.el (remember-data-directory)
8143 (remember-directory-file-name-format, remember-store-in-files)
8144 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
8145 (remember-notes-save-and-bury-buffer)
8146 (remember-notes--kill-buffer-query): Doc fixes.
8147
8148 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
8149
8150 2014-02-17 Alan Mackenzie <acm@muc.de>
8151
8152 Connect electric-indent-mode up with CC Mode. Bug #15478.
8153 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
8154 to electric-indent-{,local-}-mode.
8155 (c-basic-common-init): Set electric-indent-inhibit.
8156 Initialise c-electric-flag from electric-indent-mode.
8157 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
8158 New hook functions which propagate electric-indent-mode to CC mode.
8159
8160 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
8161 hit, toggle electric-indent-local-mode.
8162
8163 * electric.el (electric-indent-mode-has-been-called):
8164 New variable.
8165
8166 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
8167
8168 * frameset.el (frameset-cfg-id): New function.
8169 (frameset--reuse-frame, frameset-restore): Use it.
8170 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
8171
8172 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * ido.el (ido-file-internal): Remove unused var `d'.
8175 Use \` for to match BoS. Fit within 80n columns.
8176
8177 2014-02-17 Daniel Colascione <dancol@dancol.org>
8178
8179 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
8180 dbus-call-method check for completion using a busy-wait loop with
8181 gradual backoff.
8182
8183 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
8184
8185 Sync with Tramp 2.2.9.
8186
8187 * net/trampver.el: Update release number.
8188
8189 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
8190
8191 * ido.el (ido-file-internal): Don't add the name of an existing
8192 directory twice. (Bug#16747)
8193
8194 2014-02-16 Glenn Morris <rgm@gnu.org>
8195
8196 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
8197 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
8198
8199 2014-02-15 Michael R. Mauger <michael@mauger.com>
8200
8201 * progmodes/sql.el: Version 3.4
8202 (sql-oracle-options): New default value ("-L").
8203 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
8204 (sql-placeholders-filter): Correct placeholder pattern.
8205 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
8206 (sql-login-delay): New variable.
8207 (sql-product-interactive): Use it.
8208
8209 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
8210
8211 * frameset.el (frameset--jump-to-register): Check that buffer is live
8212 (bug#16749).
8213
8214 2014-02-15 Glenn Morris <rgm@gnu.org>
8215
8216 * info.el (info-initialize): Revert 2014-01-10 change.
8217
8218 2014-02-14 Glenn Morris <rgm@gnu.org>
8219
8220 * replace.el (map-query-replace-regexp)
8221 (read-regexp-defaults-function, read-regexp): Doc fixes.
8222
8223 * dired.el (dired-read-regexp):
8224 * faces.el (list-faces-display):
8225 * misearch.el (multi-isearch-read-matching-buffers)
8226 (multi-isearch-read-matching-files):
8227 * play/cookie1.el (cookie-apropos):
8228 * progmodes/grep.el (grep-read-regexp): Doc fixes.
8229
8230 * textmodes/remember.el (remember): Use frameset-to-register
8231 rather than frame-configuration-to-register.
8232
8233 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
8234
8235 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
8236 incorrect keybinding.
8237
8238 2014-02-13 Daniel Colascione <dancol@dancol.org>
8239
8240 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
8241 when adding overlays so that line numbers from compiler match line
8242 numbers we use.
8243
8244 2014-02-13 Glenn Morris <rgm@gnu.org>
8245
8246 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
8247
8248 * jit-lock.el (jit-lock-mode): Doc fix.
8249
8250 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
8251
8252 * apropos.el (apropos-read-pattern): When the user passes an empty
8253 string, give a more helpful error message than "Wrong type
8254 argument: stringp, nil".
8255
8256 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
8259
8260 2014-02-13 Glenn Morris <rgm@gnu.org>
8261
8262 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
8263
8264 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
8267 shift-select commands.
8268
8269 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
8270
8271 * progmodes/js.el (js-indent-line): Don't widen.
8272 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
8273
8274 2014-02-12 Glenn Morris <rgm@gnu.org>
8275
8276 * icomplete.el (icomplete): Add info-link to defgroup.
8277 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
8278 (icomplete-minibuffer-map, icomplete-mode)
8279 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
8280
8281 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
8282 (package-menu-filter): Rename from package-menu-filter-interactive.
8283 Doc fix.
8284
8285 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
8286
8287 * frameset.el (frameset--jump-to-register): Select the required
8288 window and buffer before restoring position (bug#16696).
8289
8290 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
8291
8292 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
8293
8294 2014-02-10 Glenn Morris <rgm@gnu.org>
8295
8296 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
8297
8298 2014-02-10 Eli Zaretskii <eliz@gnu.org>
8299
8300 * w32-common-fns.el (x-get-selection): Doc fix.
8301 * select.el (x-get-selection): Doc fix. (Bug#15109)
8302
8303 * face-remap.el (face-remap-add-relative)
8304 (face-remap-remove-relative, face-remap-reset-base)
8305 (face-remap-set-base): Call force-mode-line-update to redisplay
8306 the current buffer due to potential change in faces. (Bug#16709)
8307
8308 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
8309
8310 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
8311 script more robustly.
8312
8313 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8314
8315 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
8316
8317 * simple.el (choose-completion): Doc fix (bug#14160).
8318
8319 * subr.el (event-start): Say what a nil EVENT value means.
8320
8321 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
8322 (bug#14197).
8323
8324 * progmodes/grep.el (find-program): Doc fix (bug#14289).
8325
8326 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
8327
8328 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
8329
8330 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8331 predicate function (bug#15455).
8332
8333 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
8334
8335 * ielm.el (inferior-emacs-lisp-mode): Instead of
8336 `comment-use-global-state', set `comment-use-syntax'.
8337
8338 2014-02-10 Glenn Morris <rgm@gnu.org>
8339
8340 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
8341
8342 2014-02-09 Alan Mackenzie <acm@muc.de>
8343
8344 Fix c-invalidate-state-cache on narrowed buffers.
8345 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
8346 Widen when setting and clearing the CPP delimiter properties.
8347
8348 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
8349
8350 * help.el (describe-bindings): Doc fix (bug#9888).
8351
8352 * files.el (save-buffer): Use ARG as the parameter name for
8353 consistency (bug#10346).
8354 (save-buffer): Clarify the 0 argument (bug#10346).
8355
8356 * cus-edit.el (customize-apropos): Fix error string.
8357 (custom-buffer-create): Doc fix (bug#11122).
8358 (custom-sort-items): Doc fix (bug#11121).
8359
8360 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
8361
8362 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
8363 (icomplete-simple-completing-p): Mention the previous variable.
8364
8365 * font-lock.el (font-lock-value-in-major-mode): Clarify the
8366 meaning of the parameter (bug#12282).
8367
8368 * files.el (find-file-noselect): Clarify prompt when changing
8369 readedness (bug#13261).
8370 (locate-file): Suffixes aren't returned, so don't say that they
8371 are (bug#12674).
8372 (backup-inhibited): Doc clarification (bug#12525).
8373
8374 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
8375 before we actually start to delete things (bug#16331).
8376
8377 * subr.el (event-start): Doc fix (bug#14228).
8378 (event-end): Ditto.
8379
8380 2014-02-09 Glenn Morris <rgm@gnu.org>
8381
8382 * emacs-lisp/warnings.el (lwarn):
8383 Empower help-enable-auto-load. (Bug#15940)
8384
8385 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8386
8387 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
8388 (Bug#16690)
8389
8390 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
8391
8392 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8393 Insert output at end of buffer. (Bug#16120)
8394
8395 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8396
8397 * simple.el (choose-completion-string-functions): Document new
8398 calling convention (bug#14153).
8399 (execute-extended-command): Clarify doc string (bug#13373).
8400
8401 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
8402
8403 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8404 (find-grep-dired): Doc fix (bug#14288).
8405
8406 2014-02-08 Juri Linkov <juri@jurta.org>
8407
8408 * isearch.el (isearch-quote-char): Check character validity
8409 like in `quoted-insert' (bug#16677).
8410
8411 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8412
8413 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
8414
8415 * isearch.el (isearch-hide-immediately): Doc clarification
8416 (bug#14723).
8417
8418 * simple.el (line-move): Document utility function used many
8419 places in the Emacs sources (bug#14843).
8420
8421 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8422 (dired-prev-marked-file): Doc fix (bug#14855).
8423 (dired-up-directory): Doc fix (bug#14848).
8424
8425 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
8426
8427 * files.el (file-relative-name): Doc fix (bug#15159).
8428
8429 * fringe.el (fringe-styles): Doc fix (bug#15239).
8430
8431 * isearch.el (isearch-filter-predicate): Documentation typo fix
8432 (bug#15474).
8433
8434 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
8435
8436 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
8437
8438 * replace.el (replace-match-maybe-edit): Doc clarification
8439 (bug#15632).
8440
8441 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
8442
8443 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
8444
8445 2014-02-08 Glenn Morris <rgm@gnu.org>
8446
8447 * help-fns.el (describe-variable):
8448 Check {file,dir}-local-variables-alist, and buffer-file-name,
8449 in the correct buffer.
8450
8451 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
8452
8453 * help-fns.el (describe-variable): Fix the case where
8454 a value is directory-local with no dir-locals file. (Bug#16635)
8455
8456 2014-02-08 Glenn Morris <rgm@gnu.org>
8457
8458 * abbrev.el (edit-abbrevs-mode):
8459 Derive from fundamental-mode. (Bug#16682)
8460
8461 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
8462
8463 * simple.el (quoted-insert): Check character validity (bug#16677).
8464
8465 2014-02-07 Juri Linkov <juri@jurta.org>
8466
8467 * desktop.el (desktop-read): Claim the lock when the owner is not
8468 the current process. (Bug#16157)
8469
8470 2014-02-07 Juri Linkov <juri@jurta.org>
8471
8472 * desktop.el (desktop-buffers-not-to-save): Change default from nil
8473 to "\\` ". (Bug#16651)
8474
8475 2014-02-07 Juri Linkov <juri@jurta.org>
8476
8477 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
8478 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
8479 (desktop-auto-save-cancel-timer): New function with some code from
8480 `desktop-auto-save-set-timer'.
8481 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
8482 Instead of setting `desktop-save-mode' to nil, call
8483 `desktop-save-mode' with arg 0. (Bug#16630)
8484
8485 2014-02-07 Glenn Morris <rgm@gnu.org>
8486
8487 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
8488 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
8489 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
8490
8491 * obsolete/iswitchb.el: Move to obsolete/.
8492 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
8493 since obsolete/ is not scanned for autoloads.
8494 * emacs-lisp/authors.el (authors-valid-file-names):
8495 Add iswitchb.el.
8496
8497 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
8498 Disable now non-functional find-file-hook.
8499
8500 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
8501
8502 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
8503 instead of ";" in order to avoid additional prompts. Let heredoc
8504 scripts read from tty. (Bug#16582)
8505 (tramp-send-command): No special handling of heredocs, it isn't
8506 necessary anymore.
8507
8508 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
8511 with a space (bug#16664). Limit the symbols considered to the ones
8512 that are bound or fbound (bug#16646).
8513
8514 2014-02-06 Glenn Morris <rgm@gnu.org>
8515
8516 * epa.el (epa-mail-aliases): Doc fix.
8517
8518 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
8519
8520 * emacs-lisp/lisp.el (lisp-completion-at-point):
8521 Use `completion-table-merge' instead of `completion-table-in-turn'
8522 (bug#16604).
8523
8524 * minibuffer.el (completion-table-merge): New function.
8525
8526 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
8527
8528 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
8529 (tramp-sh-handle-set-file-acl)
8530 (tramp-sh-handle-start-file-process)
8531 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
8532 (tramp-find-executable, tramp-send-command): Use it.
8533
8534 2014-02-05 Glenn Morris <rgm@gnu.org>
8535
8536 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
8537
8538 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
8539
8540 * progmodes/python.el (python-shell-send-string)
8541 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
8542
8543 2014-02-04 Anders Lindgren <andlind@gmail.com>
8544
8545 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
8546 the names (bug#16620).
8547
8548 2014-02-03 Martin Rudalics <rudalics@gmx.at>
8549
8550 * faces.el (window-divider): New default value. Rewrite doc-string.
8551 (window-divider-first-pixel, window-divider-last-pixel): New faces.
8552
8553 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
8554
8555 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
8556 `protected' and `public' can also be called without arguments.
8557
8558 2014-02-03 Glenn Morris <rgm@gnu.org>
8559
8560 * register.el (window-configuration-to-register)
8561 (frame-configuration-to-register): Unadvertise unused argument.
8562 * frameset.el (frameset-to-register): Remove unused argument.
8563
8564 * frameset.el (frameset-to-register):
8565 * kmacro.el (kmacro-to-register):
8566 * register.el (increment-register):
8567 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
8568 (calc-append-to-register, calc-prepend-to-register):
8569 * play/gametree.el (gametree-layout-to-register)
8570 (gametree-apply-register-layout):
8571 * textmodes/picture.el (picture-clear-rectangle-to-register)
8572 (picture-yank-rectangle-from-register):
8573 * vc/emerge.el (emerge-combine-versions-register):
8574 Use register-read-with-preview to read registers.
8575
8576 2014-02-03 João Távora <joaotavora@gmail.com>
8577
8578 * elec-pair.el (electric-pair-backward-delete-char): Don't error
8579 when at beginning of (possibly narrowed) buffer.
8580
8581 2014-02-02 Daniel Colascione <dancol@dancol.org>
8582
8583 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
8584 Also try to display local help from just before point.
8585
8586 2014-02-02 Alan Mackenzie <acm@muc.de>
8587
8588 c-parse-state. Don't "append-lower-brace-pair" in certain
8589 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
8590 recognised as a comment.
8591
8592 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
8593 as well as normal comment starter.
8594 (c-parse-state-get-strategy): Extra return possibility
8595 'back-and-forward.
8596 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
8597 return value list to indicate replacement of a brace-pair cons
8598 with its car.
8599 (c-parse-state-1): With 'back-and-forward, only call
8600 c-append-lower-brace-pair-to state-cache when cons-separated.
8601
8602 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
8603
8604 * term/ns-win.el (ns-suspend-error): New function.
8605 (ns-initialize-window-system): Add ns-suspend-error to
8606 suspend-hook (Bug#16612).
8607
8608 2014-02-02 Daniel Colascione <dancol@dancol.org>
8609
8610 * progmodes/cc-defs.el (c-find-assignment-for-mode):
8611 Make loading cc-mode silent.
8612
8613 2014-02-02 Daniel Colascione <dancol@dancol.org>
8614
8615 * comint.el (comint-prompt-read-only): Change doc to suggest
8616 remap keybinding.
8617
8618 2014-02-02 Glenn Morris <rgm@gnu.org>
8619
8620 * register.el (register-read-with-preview, point-to-register)
8621 (window-configuration-to-register, frame-configuration-to-register)
8622 (jump-to-register, number-to-register, view-register, insert-register)
8623 (copy-to-register, append-to-register, prepend-to-register)
8624 (copy-rectangle-to-register): Doc fixes.
8625
8626 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
8629 * emacs-lisp/find-func.el (find-function-C-source): Idem.
8630 * emacs-lisp/nadvice.el (advice--cd*r): New function.
8631 * help-fns.el (describe-function-1): Use it.
8632
8633 2014-02-02 Glenn Morris <rgm@gnu.org>
8634
8635 * register.el (register-preview-default): New function,
8636 split from register-preview.
8637 (register-preview-function): Rename from register-preview-functions,
8638 make it not a hook.
8639 (register-preview): Use register-preview-function.
8640 (register-read-with-preview): Error on non-character event. (Bug#16595)
8641
8642 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
8643
8644 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
8645 `:' before binary operators (bug#16609). Don't check for `:'
8646 before `[' and `(', or their syntax status. A percent literal
8647 can't end with either.
8648 (ruby-font-lock-keywords): For built-ins that require arguments,
8649 check that they're followed by something that looks like argument
8650 (bug#16610).
8651
8652 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
8653
8654 * subr.el (butlast): Document what an omitted N means (bug#13437).
8655 (nbutlast): Ditto.
8656
8657 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
8658
8659 * net/shr.el (shr-generic): Make into a defsubst to make the stack
8660 depth shallower (bug#16587).
8661 (shr-tag-svg): Respect `shr-inhibit-images'.
8662 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
8663
8664 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
8665
8666 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
8667 (ruby-smie-grammar): Make "." right-associative. Make its priority
8668 lower than the ternary and all binary operators.
8669 (ruby-smie-rules): Indent "(" relative to the first non-"."
8670 parent, or the first "." parent at indentation.
8671 Use `ruby-align-chained-calls' for indentation of "." tokens.
8672 (Bug#16593)
8673
8674 2014-01-31 Juri Linkov <juri@jurta.org>
8675
8676 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
8677 from `make-hash-table'.
8678
8679 * textmodes/ispell.el (ispell-init-process): Change message format
8680 to be consistent with other messages.
8681
8682 2014-01-31 Glenn Morris <rgm@gnu.org>
8683
8684 * delsel.el (delete-selection-mode): Doc fix.
8685
8686 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
8687 (trace-function-background): Doc fixes.
8688
8689 * ido.el (ido-use-virtual-buffers): Doc fix.
8690 Reset :version, since the default value has not changed.
8691
8692 * register.el (register-preview-delay, register-read-with-preview):
8693 Doc fixes.
8694
8695 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
8696 do not mess with mail-buffer position (fixes 2009-11-03 change).
8697 * progmodes/cc-mode.el (c-submit-bug-report):
8698 Check auto-fill-mode is bound. (Bug#16592)
8699
8700 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
8701
8702 * startup.el (fancy-splash-image-file): New function,
8703 split from fancy-splash-head.
8704 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
8705 so that we are both using the same image. (Bug#16574)
8706
8707 2014-01-30 Glenn Morris <rgm@gnu.org>
8708
8709 * simple.el (eval-expression): Doc fix.
8710
8711 * hexl.el (hexl-mode-hook):
8712 * ielm.el (ielm-mode-hook):
8713 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
8714 (lisp-interaction-mode-hook):
8715 * progmodes/cfengine.el (cfengine3-documentation-function):
8716 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
8717
8718 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
8721 is a symbol (bug#16584).
8722
8723 2014-01-30 Glenn Morris <rgm@gnu.org>
8724
8725 * help.el (help-for-help-internal): Add "P" to text.
8726
8727 2014-01-29 Glenn Morris <rgm@gnu.org>
8728
8729 * simple.el (just-one-space, cycle-spacing): Doc fixes.
8730
8731 2014-01-28 Martin Rudalics <rudalics@gmx.at>
8732
8733 * window.el (fit-frame-to-buffer): Fix calculations for margins and
8734 height constraints.
8735
8736 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
8737
8738 * progmodes/hideif.el: Extend to full CPP expression syntax.
8739 (hif-token-alist): Add missing tokens.
8740 (hif-token-regexp): Add support for float/octal/hex immediates.
8741 (hif-string-literal-regexp): New const.
8742 (hif-tokenize): Recognize strings and float/octal/hex immediates.
8743 (hif-exprlist): New function.
8744 (hif-parse-if-exp): Use it.
8745 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
8746 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
8747 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
8748 (hif-logxor, hif-comma): New functions.
8749
8750 2014-01-28 Glenn Morris <rgm@gnu.org>
8751
8752 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
8753
8754 * indent.el (tab-stop-list): Doc fix. Add :version.
8755
8756 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
8757 (cvs-append-to-ignore): Add compatibility alias.
8758
8759 2014-01-27 Glenn Morris <rgm@gnu.org>
8760
8761 * dired.el (dired-hide-details-mode): Don't autoload it,
8762 since it cannot be used outside Dired buffers anyway.
8763
8764 * emulation/cua-base.el (cua-mode): Doc fix.
8765
8766 * dired.el (dired-hide-details-hide-symlink-targets)
8767 (dired-hide-details-hide-information-lines)
8768 (dired-hide-details-mode): Doc fixes.
8769
8770 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
8771 * strokes.el (strokes-file): Doc fix. Bump :version.
8772 (strokes-help): Doc fix.
8773 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
8774 * emulation/viper.el (viper): Doc fix for custom group.
8775 (top-level): Remove oh-so-no-longer-relevant text about vip.
8776 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
8777
8778 * ido.el (ido-save-directory-list-file):
8779 * saveplace.el (save-place-file):
8780 * calendar/timeclock.el (timeclock-file):
8781 * net/quickurl.el (quickurl-url-file):
8782 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8783 * progmodes/idlwave.el (idlwave-config-directory):
8784 * textmodes/remember.el (remember-data-file):
8785 Bump :version.
8786
8787 2014-01-26 Glenn Morris <rgm@gnu.org>
8788
8789 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
8790 Doc fix. Make obsolete.
8791 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
8792
8793 * sort.el (delete-duplicate-lines): Doc fix.
8794
8795 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8796
8797 * progmodes/ada-mode.el (ada):
8798 * woman.el (woman): Link to info manual and Commentary section.
8799
8800 * progmodes/flymake.el (flymake):
8801 * nxml/nxml-mode.el (nxml):
8802 * net/eww.el (eww):
8803 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
8804 * htmlfontify.el (htmlfontify):
8805 * ses.el (ses):
8806 * epa.el (epa):
8807 * ido.el (ido): Link to info manual.
8808
8809 2014-01-25 Leo Liu <sdl.web@gmail.com>
8810
8811 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
8812
8813 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
8814
8815 * net/shr.el (shr-tag-img): Prefer the title over the alt text
8816 (bug#16537).
8817
8818 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
8819
8820 * net/eww.el (eww-download-callback):
8821 Fix reference to eww-download-directory.
8822
8823 * emacs-lisp/bytecomp.el (byte-compile-file):
8824 Remove unused local variable `file-name'.
8825
8826 2014-01-24 Glenn Morris <rgm@gnu.org>
8827
8828 * woman.el (woman-default-faces, woman-monochrome-faces):
8829 Fix obsolescence specification.
8830
8831 * subr.el (with-demoted-errors): Doc fix.
8832
8833 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
8836 (cl--macroexp-fboundp): New function.
8837 (cl--make-type-test): Use it.
8838
8839 2014-01-23 Glenn Morris <rgm@gnu.org>
8840
8841 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
8842 * simple.el (eval-expression): Doc fixes.
8843
8844 2014-01-22 Glenn Morris <rgm@gnu.org>
8845
8846 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
8847
8848 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * emacs-lisp/package.el: Write files silently.
8851 (package-autoload-ensure-default-file, package--write-file-no-coding)
8852 (package-generate-description-file, package--download-one-archive)
8853 (package-install-from-archive): Tell `write-region' to stay quiet.
8854 (package-menu-mode, package-menu--print-info): Omit the Archive column
8855 if there's only one archive.
8856 (package-all-keywords, package--has-keyword-p): Remove dead code.
8857
8858 2014-01-22 Glenn Morris <rgm@gnu.org>
8859
8860 * version.el (emacs-bzr-version-bzr): Fix typo.
8861
8862 * version.el (emacs-repository-get-version):
8863 Check either .bzr or .git, but not both.
8864 Make the git case actually use the DIR argument, and return nil
8865 rather than the empty string.
8866 Avoid error if .git exists but the git executable is not found.
8867
8868 2014-01-22 Martin Rudalics <rudalics@gmx.at>
8869
8870 Fixes in window size functions around Bug#16430 and Bug#16470.
8871 * window.el (window-total-size, window-size): New argument ROUND.
8872 (window--min-delta-1, window-min-delta, window--max-delta-1):
8873 Be more conservative when calculating the numbers of lines or
8874 columns a window can shrink (Bug#16430).
8875 (fit-window-to-buffer): Simplify code.
8876 * term.el (term-window-width): Call window-body-width again.
8877
8878 2014-01-22 Glenn Morris <rgm@gnu.org>
8879
8880 * image.el (image-format-suffixes): Doc fix.
8881
8882 * international/quail.el (quail-define-package): Doc fix.
8883
8884 * emacs-lisp/authors.el (authors-valid-file-names)
8885 (authors-renamed-files-alist): Additions.
8886
8887 * vc/vc-git.el (vc-git-print-log): Remove --follow;
8888 reverts 2014-01-09 change. (Bug#16422)
8889
8890 * calc/calc-embed.el (thing-at-point-looking-at):
8891 * emacs-lisp/map-ynp.el (x-popup-dialog):
8892 * obsolete/lmenu.el (x-popup-dialog):
8893 * emacs-lisp/package.el (url-recreate-url):
8894 * mail/mailclient.el (clipboard-kill-ring-save):
8895 * subr.el (x-popup-dialog): Update declaration.
8896 * mail/rmail.el (rmail-mime-message-p):
8897 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
8898
8899 2014-01-21 Daniel Colascione <dancol@dancol.org>
8900
8901 * progmodes/sh-script.el (sh--inside-noncommand-expression):
8902 Correctly detect when we're inside an arithmetic expansion form
8903 containing nested parenthesis.
8904 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
8905 to detect cases where we shouldn't expand "<<" to a heredoc
8906 skeleton.
8907
8908 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
8911 (eldoc--message-command-p): New function.
8912 (eldoc-display-message-p): Use it.
8913 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
8914 message is not automatically erased for us.
8915 (eldoc-print-current-symbol-info): Erase previous message, if any.
8916
8917 2014-01-21 Tassilo Horn <tsdh@gnu.org>
8918
8919 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
8920 specify it's an interactive function.
8921
8922 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
8923 Fix regex used for scanning for citation keys which failed for
8924 citations with optional arguments.
8925
8926 2014-01-21 Leo Liu <sdl.web@gmail.com>
8927
8928 * simple.el (read--expression): Don't enable eldoc-mode.
8929
8930 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
8931
8932 * simple.el (move-beginning-of-line): Make sure we don't move forward
8933 (bug#16497).
8934
8935 2014-01-20 Juri Linkov <juri@jurta.org>
8936
8937 * saveplace.el (toggle-save-place, save-place-to-alist)
8938 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
8939 'dired-mode) before checking for dired-directory. (Bug#16477)
8940
8941 2014-01-20 Juri Linkov <juri@jurta.org>
8942
8943 * indent.el (indent-line-to): Use backward-to-indentation
8944 instead of back-to-indentation. (Bug#16461)
8945
8946 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
8947
8948 Revert some of the CANNOT_DUMP fix (Bug#16494).
8949 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
8950 but fixing this can wait until after the next release.
8951 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
8952
8953 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
8954
8955 * eshell/esh-mode.el (eshell-password-prompt-regexp):
8956 Use `password-word-equivalents'.
8957 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
8958 to t. (Bug#5664, Bug#13124)
8959
8960 2014-01-19 Alan Mackenzie <acm@muc.de>
8961
8962 Bind open-paren-in-column-0-is-defun-start to nil at some entry
8963 points.
8964 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
8965 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
8966 * progmodes/cc-mode.el (c-before-change, c-after-change)
8967 (c-font-lock-fontify-region): Bind it here.
8968
8969 2014-01-19 Martin Rudalics <rudalics@gmx.at>
8970
8971 * term.el (term-window-width): Call window-text-width instead of
8972 window-width (Bug#16470).
8973
8974 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
8975
8976 * simple.el (password-word-equivalents): Remove duplicates.
8977 Sort, to make this easier next time.
8978 Downcase. Omit ": " after "jelszó".
8979
8980 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
8981
8982 * term/common-win.el (saved-region-selection): Defvar it.
8983 (x-select-text): Set saved-region-selection (Bug#16382).
8984
8985 2014-01-18 Glenn Morris <rgm@gnu.org>
8986
8987 * emacs-lisp/authors.el (authors-aliases)
8988 (authors-renamed-files-alist): Add some entries.
8989
8990 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
8991
8992 * net/tramp.el (tramp-password-prompt-regexp):
8993 Use `password-word-equivalents' if available.
8994 (tramp-action-password, tramp-process-one-action)
8995 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
8996
8997 2014-01-17 Chong Yidong <cyd@gnu.org>
8998
8999 * simple.el (password-word-equivalents): New defcustom.
9000 * comint.el (comint-password-prompt-regexp): Use it. Bump version
9001 to 24.4.
9002 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
9003 to t. (Bug#13124)
9004
9005 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
9006
9007 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
9008 (ruby-align-to-stmt-keywords): Change the default value.
9009 Use `ruby-alignable-keywords' to generate the possible customization
9010 choices.
9011 (ruby-smie-rules): Instead of using a hardcoded list of alignable
9012 keywords, check against the value of `ruby-alignable-keywords'
9013 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
9014
9015 2014-01-17 Glenn Morris <rgm@gnu.org>
9016
9017 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
9018
9019 Make M-x authors return zero *Authors Errors* from current logs.
9020 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
9021 (authors-ignored-files): Add some entries, remove others.
9022 (authors-ambiguous-files, authors-valid-file-names):
9023 Add some entries.
9024 (authors-renamed-files-alist): Add, remove, and adjust entries.
9025 (authors-renamed-files-regexps): Add some entries.
9026 Remove some very broad ones. Make some entries `lax'.
9027 (authors-lax-changelogs): New constant.
9028 (authors-disambiguate-file-name): Treat top-level specially.
9029 (authors-lax-changelog-p): New function.
9030 (authors-canonical-file-name): Check file as written against
9031 authors-valid-file-names. Do not special-case etc/.
9032 Handle `lax' logs and authors-renamed-files-regexps elements.
9033
9034 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
9035
9036 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
9037 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
9038 callers.
9039
9040 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
9043 Assume we're already in the proper buffer.
9044 Inspired by Anders Lindgren <andlind@gmail.com>.
9045 (follow-post-command-hook): Call it from the right buffer.
9046 (follow-comint-scroll-to-bottom): Adjust call.
9047 (follow-all-followers): Use get-buffer-window-list.
9048
9049 2014-01-15 Daniel Colascione <dancol@dancol.org>
9050
9051 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
9052 `buffer-file-name' in interactive-form so that we don't leave
9053 pathless file names in `file-name-history'.
9054
9055 2014-01-15 Juri Linkov <juri@jurta.org>
9056
9057 * indent.el (indent-rigidly): Set deactivate-mark to nil
9058 in transient indentation mode. (Bug#16438)
9059
9060 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
9061
9062 * emacs-lisp/package.el (package-desc-keywords): New function
9063 (Bug#16222).
9064 (describe-package-1, package-all-keywords)
9065 (package--has-keyword-p): Use it.
9066
9067 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9068
9069 * simple.el (define-alternatives): When creating the
9070 COMMAND-alternatives variable, assign COMMAND as its definition
9071 name so that `describe-variable' can relocate it.
9072
9073 2014-01-14 Matthew Leach <matthew@mattleach.net>
9074
9075 * font-lock.el (font-lock-keywords): Fix typo in docstring
9076 (bug#16307).
9077
9078 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9079
9080 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
9081 line instead of wrongly reset `add-coment' (bug#13577).
9082
9083 2014-01-14 Daiki Ueno <ueno@gnu.org>
9084
9085 * epa-file.el (epa-file-write-region): Encode the region according
9086 to `buffer-file-format'. Problem reported at:
9087 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
9088
9089 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
9092 so it applies in the right buffer (bug#16410).
9093
9094 2014-01-13 Daniel Colascione <dancol@dancol.org>
9095
9096 * textmodes/rst.el (rst-define-key): Provide deprecated
9097 keybindings through named functions instead of anonymous ones so
9098 that "??" doesn't appear in describe-mode output.
9099
9100 2014-01-13 Bastien Guerry <bzg@gnu.org>
9101
9102 * simple.el (define-alternatives): Call the selected command
9103 interactively. When setting `COMMAND--implementation' for the
9104 first time, tell the user how to chose another implementation.
9105 Enhance the docstring.
9106
9107 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
9110 (log-edit--match-first-line): New function.
9111 (log-edit-font-lock-keywords): Use it.
9112 (log-edit-mode): Make jit-lock-defer-multiline work.
9113
9114 2014-01-13 Bastien Guerry <bzg@gnu.org>
9115
9116 * rect.el (rectangle-mark-mode): When the region is not active,
9117 display a message saying that the mark as been set and that
9118 rectangle mode is in use.
9119 (rectangle--highlight-for-redisplay): Only put an overlay with a
9120 visible vertical bar when (display-graphic-p) is non-nil.
9121 This partially fixes Bug#16403.
9122
9123 2014-01-13 Juri Linkov <juri@jurta.org>
9124
9125 * info.el (Info-find-file): Go to DIR before displaying the error
9126 about a nonexistent file if no previous Info file is visited.
9127 Use `user-error' instead of `error' for "Info file %s does not exist".
9128 (Info-find-node-2): In case of a nonexistent node in unwind forms
9129 go to the Top node if there is no previous node to revert to.
9130 (Bug#16405)
9131
9132 2014-01-13 Martin Rudalics <rudalics@gmx.at>
9133
9134 fit-frame/window-to-buffer code fixes including one for Bug#14096.
9135 * window.el (fit-frame-to-buffer): Fix doc-string.
9136 Respect window-min-height/-width. Fit pixelwise when
9137 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
9138 when avoiding that frame goes partially off-screen.
9139 (fit-window-to-buffer): Respect window-min-height/-width
9140 (Bug#14096).
9141
9142 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
9143
9144 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
9145 after an empty line.
9146
9147 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
9148
9149 * net/shr.el (shr-render-region): Autoload.
9150
9151 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
9152
9153 * net/eww.el (eww-download-directory): Rename from
9154 `eww-download-path' (Bug#16419).
9155
9156 2014-01-12 Leo Liu <sdl.web@gmail.com>
9157
9158 * dired-x.el (dired-mode-map): Fix last change.
9159
9160 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
9161
9162 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
9163
9164 Spelling fixes.
9165 * emacs-lisp/generic.el (generic--normalize-comments):
9166 Rename from generic--normalise-comments. All uses changed.
9167 * play/bubbles.el (bubbles--neighborhood-score)
9168 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
9169 (bubbles--neighborhood-available)
9170 (bubbles--update-neighborhood-score):
9171 Rename from names with 'neighbourhood'. All uses changed.
9172
9173 2014-01-12 Leo Liu <sdl.web@gmail.com>
9174
9175 Re-implement the feature of showing eldoc info after editing.
9176 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
9177 (eldoc-edit-message-commands): New function.
9178 (eldoc-print-after-edit): New variable.
9179 (eldoc-pre-command-refresh-echo-area): Emit message only by
9180 eldoc-message-commands.
9181 (eldoc-mode): Restrict eldoc-message-commands to editing commands
9182 if eldoc-print-after-edit is set. (Bug#16346)
9183 * simple.el (read--expression): Enable eldoc-mode.
9184 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9185
9186 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
9187 Eric S. Raymond <esr@thyrsus.com>
9188
9189 * version.el (emacs-repository-get-version): Enhance so the
9190 function works correctly in either a Bazaar or Git repo.
9191
9192 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
9193
9194 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
9195 Goes with removal of the joke manpages from /etc.
9196
9197 2014-01-10 Kenichi Handa <handa@gnu.org>
9198
9199 * mail/rmail.el (rmail-get-coding-system):
9200 Check rmail-get-coding-function before "funcall"ing it.
9201
9202 2014-01-10 Glenn Morris <rgm@gnu.org>
9203
9204 * emacs-lisp/authors.el (authors-fixed-entries):
9205 Update for files that no longer exist.
9206
9207 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
9208
9209 * version.el (emacs-bzr-get-version): Restore compatibilty with
9210 24.3 (Tested).
9211
9212 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
9213
9214 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
9215 and Podfile.
9216
9217 2014-01-10 Eli Zaretskii <eliz@gnu.org>
9218
9219 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
9220
9221 2014-01-10 Chong Yidong <cyd@gnu.org>
9222
9223 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
9224
9225 2014-01-10 Anders Lindgren <andlind@gmail.com>
9226
9227 * follow.el (follow-cache-command-list): Include right-char and
9228 left-char.
9229
9230 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
9231
9232 Spelling fixes.
9233 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
9234 * woman.el (woman-mark-horizontal-position):
9235 Rename from woman-mark-horizonal-position. Use changed.
9236
9237 2014-01-10 Glenn Morris <rgm@gnu.org>
9238
9239 * info.el (info-initialize): If running uninstalled, ensure our
9240 own info files are always found first, even if INFOPATH is set.
9241
9242 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
9243
9244 2014-01-09 David Engster <deng@randomsample.de>
9245
9246 * emacs-lisp/eieio-custom.el:
9247 * emacs-lisp/eieio-opt.el: Set generated autoload file to
9248 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
9249 * emacs-lisp/eieio.el: Regenerate autoloads.
9250
9251 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
9252
9253 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
9254 following renames. (Bug#8756)
9255
9256 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
9259 (bug#16382).
9260 (activate-mark): Add `no-tmm' argument.
9261 (set-mark, push-mark-command): Use it instead of running
9262 activate-mark-hook by hand.
9263
9264 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
9265
9266 In preparation for the move to git, sanitize out some
9267 Bazaar-specific names.
9268
9269 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
9270
9271 * version.el (emacs-bzr-version): Name changed to
9272 emacs-repository-version. Obsolete-variable alias made.
9273 * loadup.el: Follow through on this name change.
9274 * mail/emacsbug.el (report-emacs-bug): Factor out any
9275 assumption about the version control system in use.
9276
9277 2014-01-08 David Engster <deng@randomsample.de>
9278
9279 * help-fns.el (help-fns-describe-function-functions):
9280 New variable to call functions for augmenting help buffers.
9281 (describe-function-1): Remove explicit calls to
9282 `help-fns--compiler-macro', `help-fns--parent-mode' and
9283 `help-fns--obsolete'. Put them in above new variable instead, and
9284 call them through `run-hook-with-args'.
9285 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
9286 `eieio-describe-class'. Not meant for interactive use anymore,
9287 but to augment existing help buffers. Remove optional second
9288 argument. Create proper button for file location.
9289 Rewrite function to use `insert' instead of `princ' and `prin1' where
9290 possible.
9291 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
9292 (eieio-method-def, eieio-class-def): Move further up.
9293 (describe-method, describe-generic, eieio-describe-method):
9294 Remove aliases.
9295 (eieio-help-constructor, eieio-help-generic): Rename from
9296 `eieio-describe-constructor' and `eieio-describe-generic', resp.
9297 Rewrite to use `insert' in the current buffer and use proper help
9298 buttons.
9299 (eieio-help-find-method-definition)
9300 (eieio-help-find-class-definition): Also accept symbols as
9301 arguments.
9302 (eieio-help-mode-augmentation-maybee): Remove.
9303 (eieio-describe-class-sb): Use `describe-function'.
9304 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
9305 Add `eieio-help-generic' and `eieio-help-constructor'.
9306
9307 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
9308
9309 Spelling fixes.
9310 * language/china-util.el (hz-ascii-designation):
9311 Rename from hz-ascii-designnation.
9312 (hz-ascii-designation): Rename from hz-ascii-designnation.
9313 All uses changed.
9314
9315 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
9318 package-alist.
9319
9320 2014-01-08 Bastien Guerry <bzg@gnu.org>
9321
9322 * emacs-lisp/package.el (package-delete):
9323 Correctly delete the package from package-alist.
9324
9325 2014-01-08 Daiki Ueno <ueno@gnu.org>
9326
9327 * emacs-lisp/package.el (url-recreate-url): Declare.
9328 (url-http-target-url): Declare.
9329 (package-handle-response): Include requested URL in the error message.
9330 (package--check-signature): Don't re-signal errors from
9331 package--with-work-buffer. Suggested by Stefan Monnier.
9332
9333 2014-01-07 Bastien Guerry <bzg@gnu.org>
9334
9335 * minibuffer.el (completion--try-word-completion): When both a
9336 hyphen and a space are possible candidates for the character
9337 following a word, display both candidates. (Bug#15980)
9338
9339 2014-01-07 Martin Rudalics <rudalics@gmx.at>
9340
9341 * window.el (balance-windows-2): While rounding don't give a
9342 window more than the remainder. Bug#16351, bug#16383.
9343
9344 2014-01-07 Glenn Morris <rgm@gnu.org>
9345
9346 * menu-bar.el (menu-bar-help-extra-packages): Remove.
9347 (menu-bar-help-menu): Use view-external-packages instead.
9348
9349 2014-01-07 Bastien Guerry <bzg@gnu.org>
9350
9351 * emacs-lisp/package.el (package-delete): Also delete the package
9352 name from `package-alist', not its description only.
9353
9354 2014-01-07 Glenn Morris <rgm@gnu.org>
9355
9356 * help.el (view-external-packages):
9357 * menu-bar.el (menu-bar-help-extra-packages):
9358 Visit efaq.info rather than etc/MORE.STUFF.
9359
9360 2014-01-07 Juri Linkov <juri@jurta.org>
9361
9362 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
9363 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
9364
9365 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
9366 that shadows RET. (Bug#16342)
9367
9368 2014-01-07 Chong Yidong <cyd@gnu.org>
9369
9370 * isearch.el (isearch-yank-char, isearch-yank-word)
9371 (isearch-yank-line): Doc fix.
9372
9373 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9374
9375 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
9376 * emacs-lisp/elint.el (elint-find-builtins):
9377 * emacs-lisp/eldoc.el (eldoc-symbol-function):
9378 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
9379 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
9380 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9381 * apropos.el (apropos-safe-documentation):
9382 * subr.el (symbol-file): Remove redundant fboundp.
9383 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
9384
9385 2014-01-06 Bastien Guerry <bzg@gnu.org>
9386
9387 * hl-line.el (global-hl-line-overlay): Make a local variable.
9388 (global-hl-line-overlays): New variable to store all overlays.
9389 (global-hl-line-mode): Don't delete overlays from the current
9390 buffer when `global-hl-line-sticky-flag' is non-nil.
9391 (global-hl-line-highlight): Add new overlays to
9392 `global-hl-line-overlays'.
9393 (global-hl-line-unhighlight-all): New function to delete all
9394 overlays when turning off `global-hl-line-mode'.
9395 This fixes Bug#16183.
9396
9397 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 * subr.el (set-transient-map): Fix nested case and docstring.
9400
9401 2014-01-06 Tassilo Horn <tsdh@gnu.org>
9402
9403 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
9404 `Texinfo' entry.
9405
9406 2014-01-06 Daniel Colascione <dancol@dancol.org>
9407
9408 Fix defun navigation in vc log view.
9409
9410 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
9411 like `beginning-of-defun'.
9412 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
9413 log-view-end-of-defun to log-view-end-of-defun-1. Replace
9414 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
9415 (log-view-extract-comment): Call `log-view-current-entry' directly
9416 instead of relying on broken `log-view-beginning-of-defun' behavior.
9417
9418 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
9419
9420 Spelling fixes.
9421 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
9422 * emacs-lisp/debug.el (cancel-debug-on-entry):
9423 * epg.el (epg-error-to-string):
9424 * files.el (recover-file):
9425 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
9426 * mail/emacsbug.el (report-emacs-bug-hook):
9427 * mail/sendmail.el (mail-recover):
9428 * ses.el (ses-yank-resize):
9429 * term/ns-win.el (ns-print-buffer):
9430 Spelling fixes in diagnostics, mostly for "canceled" with one L.
9431 * epg.el (epg-key-capability-alist): Rename from misspelled version.
9432 All uses changed.
9433 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
9434
9435 2014-01-06 Leo Liu <sdl.web@gmail.com>
9436
9437 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
9438 to avoid shadowing global key. (Bug#16354)
9439
9440 2014-01-06 Daniel Colascione <dancol@dancol.org>
9441
9442 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
9443 rst-mode.
9444
9445 2014-01-05 Martin Rudalics <rudalics@gmx.at>
9446
9447 * window.el (balance-windows): Add mising t to fix Bug#16351.
9448
9449 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9450
9451 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
9452 (bug#16285).
9453 (shr-insert): If we have a word that's longer than `shr-width',
9454 break after it anyway. Otherwise we'll do no breaking once we get
9455 such a long word.
9456
9457 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9458
9459 * net/eww.el (eww): Support single/double quote for search.
9460 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
9461 (eww-history-quit): Delete and use quit-window.
9462 (eww-history-kill): Delete, because it doesn't work well and
9463 not necessary.
9464 (eww-history-mode-map): Delete some keys and add easy-menu.
9465
9466 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
9467
9468 Fix misspelling of 'chinese' in rx (Bug#16237).
9469 * emacs-lisp/rx.el (rx-categories): Correct spelling of
9470 chinese-two-byte.
9471
9472 Change subword regexps back to vars (Bug#16296).
9473 * progmodes/subword.el (subword-forward-regexp)
9474 (subword-backward-regexp): Change these back to variables.
9475
9476 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9477
9478 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
9479 syntax-begin-function (bug#16247).
9480
9481 2014-01-03 Chong Yidong <cyd@gnu.org>
9482
9483 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
9484 (advice--docstring): Delete variable.
9485 (advice--make-1): Leave the docstring empty.
9486 (advice-add): Use function-documentation for advised docstring.
9487
9488 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
9489 Ignore function-documentation property when getting documentation.
9490 (ad-activate-advised-definition): Use function-documentation
9491 generate the docstring.
9492 (ad-make-advised-definition): Don't call
9493 ad-make-advised-definition-docstring.
9494 (ad-make-advised-definition-docstring, ad-advised-definition-p):
9495 Delete functions.
9496
9497 * progmodes/sql.el (sql-help): Use function-documentation instead
9498 of dynamic-docstring-function property. No need to autoload now.
9499 (sql--help-docstring): New variable.
9500 (sql--make-help-docstring): Use it.
9501
9502 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * ielm.el (ielm-tab): Retarget.
9505 (ielm-map): Use ielm-tab for tab.
9506 (ielm-complete-filename): Use comint-filename-completion.
9507 (ielm-complete-symbol): Remove.
9508 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
9509 remove ielm-tab from completion-at-point-functions (bug#16224).
9510
9511 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
9512 Beware signals raised by predicates (bug#16201).
9513
9514 2014-01-02 Richard Stallman <rms@gnu.org>
9515
9516 * dired-aux.el (dired-do-print): Handle printer-name.
9517
9518 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
9519 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
9520 (rmail-epa-decrypt): Turn off mime processing.
9521
9522 * mail/rmail.el (rmail-make-in-reply-to-field):
9523 Add parens in message-id.
9524
9525 * mail/rmail.el (rmail-get-coding-function): Variable.
9526 (rmail-get-coding-system): Use it.
9527
9528 2013-12-31 Eli Zaretskii <eliz@gnu.org>
9529
9530 * international/mule-conf.el: Unify the charset indian-is13194.
9531 (indian-is13194): Specify unify-map.
9532
9533 2013-12-31 Leo Liu <sdl.web@gmail.com>
9534
9535 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
9536
9537 2013-12-30 Daniel Colascione <dancol@dancol.org>
9538
9539 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
9540 of printing a useless when we resume from sleep.
9541
9542 * progmodes/sh-script.el
9543 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
9544 in indentation code. (Bug#16233)
9545
9546 2013-12-28 João Távora <joaotavora@gmail.com>
9547
9548 * elec-pair.el (electric-pair-post-self-insert-function):
9549 Don't open extra newlines at beginning of buffer. (Bug#16272)
9550
9551 2013-12-28 Eli Zaretskii <eliz@gnu.org>
9552
9553 * frame.el (window-system-for-display): Don't allow to create a
9554 GUI frame from a -nw session on MS-Windows. (Bug#14739)
9555
9556 2013-12-28 Glenn Morris <rgm@gnu.org>
9557
9558 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
9559 Update callers.
9560
9561 * apropos.el (apropos-match-face):
9562 * calculator.el (calculator-displayer):
9563 * dabbrev.el (dabbrev-search-these-buffers-only):
9564 * face-remap.el (buffer-face-mode-face):
9565 * simple.el (yank-handled-properties):
9566 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
9567 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
9568 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
9569 (hashcash-double-spend-database):
9570 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
9571 (ruby-deep-indent-paren-style):
9572 * textmodes/flyspell.el (flyspell-auto-correct-binding):
9573 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
9574 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
9575 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
9576 Specify custom types.
9577
9578 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
9579 * bookmark.el (bookmark-bmenu-use-header-line):
9580 * doc-view.el (doc-view-scale-internally):
9581 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
9582 * register.el (register-preview-delay):
9583 * net/shr.el (shr-bullet):
9584 * progmodes/cfengine.el (cfengine-cf-promises)
9585 (cfengine-parameters-indent):
9586 * progmodes/octave.el (inferior-octave-error-regexp-alist):
9587 * textmodes/reftex-vars.el (reftex-label-regexps):
9588 * vc/log-edit.el (log-edit-setup-add-author): Add version.
9589
9590 * net/tls.el (tls-certtool-program): Fix default value.
9591
9592 * desktop.el (desktop-restore-in-current-display):
9593 * newcomment.el (comment-empty-lines):
9594 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
9595 (idlwave-pad-keyword):
9596 * progmodes/tcl.el (tcl-tab-always-indent):
9597 * textmodes/reftex-vars.el (reftex-index-default-tag):
9598 * elec-pair.el (electric-pair-skip-whitespace):
9599 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
9600
9601 * emacs-lisp/authors.el (authors-ignored-files)
9602 (authors-valid-file-names, authors-renamed-files-alist): Additions.
9603
9604 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
9605
9606 * shell.el (shell-dynamic-complete-command): Doc fix.
9607 (shell--command-completion-data): Shell completion now matches
9608 executable filenames from the current buffer's directory, on
9609 systems in which this behavior is the default (windows-nt, ms-dos).
9610
9611 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9612
9613 * net/shr.el (shr-insert): Don't infloop if the width is zero.
9614
9615 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
9618 (bug#16251).
9619
9620 * electric.el: Move all electric-pair-* to elec-pair.el.
9621 * elec-pair.el: New file, split from electric.el.
9622
9623 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9624
9625 * net/shr.el (shr-find-fill-point): Don't try to fill if the
9626 indentation level is larger than the width, because that will
9627 infloop.
9628 (shr-insert): Fill repeatedly long texts, so that Japanese is
9629 formatted correctly (bug#16263).
9630 (shr-find-fill-point): Off by one error in comparison with the
9631 indentation.
9632
9633 2013-12-26 João Távora <joaotavora@gmail.com>
9634
9635 * electric.el (electric-pair-mode): More flexible engine for skip-
9636 and inhibit predicates, new options for pairing-related functionality.
9637 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
9638 if that keeps or improves their balance in buffers.
9639 (electric-pair-delete-adjacent-pairs): Delete the pair when
9640 backspacing over adjacent matched delimiters.
9641 (electric-pair-open-extra-newline): Open extra newline when
9642 inserting newlines between adjacent matched delimiters.
9643 (electric--sort-post-self-insertion-hook):
9644 Sort post-self-insert-hook according to priority values when
9645 minor-modes are activated.
9646 * simple.el (newline-and-indent): Call newline with interactive
9647 set to t.
9648 (blink-paren-post-self-insert-function): Set priority to 100.
9649 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9650 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
9651 comments. Locally set electric-pair-skip-whitespace to 'chomp and
9652 electric-pair-open-newline-between-pairs to nil.
9653
9654 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
9655
9656 * progmodes/python.el: Use lexical-binding.
9657 (python-nav-beginning-of-defun): Stop searching ASAP.
9658
9659 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
9660
9661 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
9662 Fix interactive spec. Doc fix. (Bug#15754)
9663
9664 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
9665
9666 * emacs-lisp/byte-run.el (eval-when-compile):
9667 * progmodes/cc-defs.el (cc-eval-when-compile):
9668 Fix edebug spec (bug#16184).
9669
9670 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9671
9672 * net/shr.el (shr-visit-file): Remove debugging function.
9673 (shr-insert): Don't infloop if we can't find a good place to break
9674 the line (bug#16256).
9675
9676 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
9677
9678 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
9679 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
9680 python-nav-lisp-forward-sexp-safe.
9681 (python-nav--forward-sexp): New argument SAFE allows switching
9682 forward sexp movement behavior for parens.
9683 (python-nav-forward-sexp): Throw errors on unterminated parens
9684 (Bug#16191).
9685 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
9686 (python-nav-backward-sexp-safe): New functions.
9687 (python-shell-buffer-substring):
9688 Use `python-nav-forward-sexp-safe'.
9689
9690 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9691
9692 * net/shr.el (shr-find-fill-point): Don't break lines before a
9693 quotation mark.
9694 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
9695 (shr-find-fill-point): Remove the special checks for the quotation
9696 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
9697
9698 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9699
9700 * net/eww.el (eww-form-textarea): Use a different face for
9701 textareas than text input since they have different keymaps
9702 (bug#16142).
9703
9704 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
9705
9706 * progmodes/python.el (python-nav-beginning-of-statement):
9707 Speed up (Bug#15295).
9708
9709 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9710
9711 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
9712 the window configuration.
9713
9714 2013-12-24 Eli Zaretskii <eliz@gnu.org>
9715
9716 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
9717 we run on MS-Windows or MS-DOS.
9718
9719 2013-12-24 Martin Rudalics <rudalics@gmx.at>
9720
9721 * window.el (balance-windows-area): Call window-size instead of
9722 window-height and window-width. Bug#16241.
9723
9724 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9725
9726 * net/eww.el (eww-bookmark-quit): Remove.
9727 (eww-bookmark-browse): Restore the window configuration when you
9728 choose a bookmark (bug#16144).
9729
9730 2013-12-24 Daniel Colascione <dancol@dancol.org>
9731
9732 * icomplete.el: Remove redundant :group arguments to `defcustom'
9733 throughout.
9734 (icomplete-show-matches-on-no-input): New customizable variable.
9735 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
9736 we have something to show.
9737 (icomplete-exhibit): Compute completions even if we have no user input.
9738
9739 2013-12-23 Daniel Colascione <dancol@dancol.org>
9740
9741 * icomplete.el: Move `provide' to end of file.
9742
9743 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
9744
9745 * net/gnutls.el (gnutls-verify-error): Add version tag.
9746
9747 2013-12-23 Chong Yidong <cyd@gnu.org>
9748
9749 * subr.el (set-transient-map): Rename from
9750 set-temporary-overlay-map. Doc fix.
9751
9752 * face-remap.el (text-scale-adjust):
9753 * indent.el (indent-rigidly):
9754 * kmacro.el (kmacro-call-macro):
9755 * minibuffer.el (minibuffer-force-complete):
9756 * repeat.el (repeat):
9757 * simple.el (universal-argument--mode):
9758 * calendar/todo-mode.el (todo-insert-item--next-param):
9759 * progmodes/f90.el (f90-abbrev-start): Callers changed.
9760
9761 * indent.el (indent-rigidly): Use substitute-command-keys.
9762
9763 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9764
9765 * net/eww.el (eww-tag-select): Add text-property to jump to next
9766 select field.
9767 (eww): Add non-supported ftp error.
9768
9769 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9770
9771 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
9772 comments. Handle electric indent after typing `?' and `!'.
9773
9774 2013-12-22 Chong Yidong <cyd@gnu.org>
9775
9776 * faces.el (face-spec-recalc): If the theme specs are not
9777 applicable to a frame, fall back on the defface spec.
9778 This prevents themes from obliterating faces on low-color terminals.
9779
9780 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9781
9782 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
9783 after `{'. We need it after block openers, and it doesn't seem
9784 to hurt after hash openers.
9785
9786 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9787
9788 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
9789 extracted from `ruby-smie-rules'.
9790 (ruby--electric-indent-chars): New variable.
9791 (ruby--electric-indent-p): New function.
9792 (ruby-mode): Use `electric-indent-functions' instead of
9793 `electric-indent-chars'.
9794
9795 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9796
9797 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
9798 docstring.
9799 (ruby-smie-rules): Indent plus one level after `=>'.
9800
9801 2013-12-21 Richard Stallman <rms@gnu.org>
9802
9803 * simple.el (newline): Doc fix.
9804
9805 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9806
9807 * net/eww.el (eww-list-histories, eww-list-histories)
9808 (eww-history-browse, eww-history-quit, eww-history-kill)
9809 (eww-history-mode-map, eww-history-mode): New command and
9810 functions to list browser histories.
9811 (eww-form-text): Support text form with disabled
9812 and readonly attributes.
9813 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
9814
9815 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9816
9817 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
9818 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
9819 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
9820 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
9821 Use `user-error'.
9822 (eww-bookmark-mode-map): Add menu.
9823 (eww-render, eww-mode): Use `setq-local'.
9824 (eww-tool-bar-map): New variable.
9825 (eww-mode): Set `tool-bar-map'.
9826 (eww-view-source): Check for `html-mode' with `fboundp'.
9827
9828 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9829
9830 * net/shr.el (shr--extract-best-source): Don't bug out on audio
9831 elements with text inside. Also remove debugging.
9832
9833 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
9834
9835 * cus-start.el (all): Add ns-use-srgb-colorspace.
9836
9837 2013-12-21 Chong Yidong <cyd@gnu.org>
9838
9839 * custom.el (custom-theme-recalc-face): Do nothing if the face is
9840 undefined. Thus, theme settings for undefined faces do not take
9841 effect until the faces are defined with defface, the same as with
9842 theme variables.
9843
9844 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
9845 (face-spec-reset-face): Don't assign extra properties in temacs.
9846 (face-spec-recalc): Apply X resources too.
9847
9848 2013-12-21 Chong Yidong <cyd@gnu.org>
9849
9850 * faces.el (face-spec-set):
9851 * cus-face.el (custom-theme-set-faces, custom-set-faces):
9852 * custom.el (defface): Doc fixes (Bug#16203).
9853
9854 * indent.el (indent-rigidly-map): Add docstring, and move commands
9855 into named functions.
9856 (indent-rigidly-left, indent-rigidly-right)
9857 (indent-rigidly-left-to-tab-stop)
9858 (indent-rigidly-right-to-tab-stop): New functions. Decide on
9859 indentation direction based on bidi direction, and accumulate
9860 sequential commands in a single undo boundary.
9861 (indent-rigidly--pop-undo): New utility function.
9862
9863 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
9864
9865 * faces.el (read-face-name): Require crm.el when using crm-separator.
9866
9867 2013-12-20 Daniel Colascione <dancol@dancol.org>
9868
9869 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
9870 so that we don't reflow comments into the shebang line.
9871
9872 2013-12-20 Juri Linkov <juri@jurta.org>
9873
9874 * saveplace.el (save-place-to-alist): Add `dired-filename' as
9875 a position when `dired-directory' is non-nil. Check integer
9876 positions with `integerp'.
9877 (toggle-save-place, save-places-to-alist): Add check for
9878 `dired-directory'.
9879 (save-place-find-file-hook): Check integer positions with
9880 `integerp'.
9881 (save-place-dired-hook): Use `dired-goto-file' when
9882 `dired-filename' is found in the assoc list. Check integer
9883 positions with `integerp'.
9884 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
9885
9886 * dired.el (dired-initial-position-hook): Rename back from
9887 `dired-initial-point-hook'.
9888 (dired-initial-position): Rename `dired-initial-point-hook' to
9889 `dired-initial-position-hook'.
9890 (dired-file-name-at-point): Doc fix. (Bug#15329)
9891
9892 2013-12-20 Juri Linkov <juri@jurta.org>
9893
9894 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
9895 (read-regexp-suggestions): New function.
9896 (read-regexp): Use `read-regexp-defaults-function' to get default values.
9897 Use `read-regexp-suggestions'. Add non-empty default to history
9898 for empty input.
9899 (occur-read-regexp-defaults-function): Remove function.
9900 (occur-read-primary-args): Use `regexp-history-last' instead of
9901 `occur-read-regexp-defaults-function'.
9902
9903 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
9904 (hi-lock-line-face-buffer, hi-lock-face-buffer)
9905 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
9906 `hi-lock-read-regexp-defaults-function'. Doc fix.
9907 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
9908 with `find-tag-default-as-symbol-regexp'. Doc fix.
9909 (hi-lock-read-regexp-defaults): Remove function.
9910 (hi-lock-regexp-okay): Add check for null.
9911
9912 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
9913 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
9914
9915 * subr.el (find-tag-default-as-symbol-regexp): New function.
9916 (find-tag-default-as-regexp): Move symbol regexp formatting to
9917 `find-tag-default-as-symbol-regexp'.
9918
9919 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
9920
9921 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
9922 (Bug#14179)
9923
9924 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
9925
9926 * calendar/todo-mode.el: New implementation of item insertion
9927 commands and key bindings.
9928 (todo-key-prompt): New face.
9929 (todo-insert-item): New command.
9930 (todo-insert-item--parameters): New defconst, replacing defvar
9931 todo-insertion-commands-args-genlist.
9932 (todo-insert-item--param-key-alist): New defconst, replacing
9933 defvar todo-insertion-commands-arg-key-list.
9934 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
9935 (todo-insert-item--argsleft, todo-insert-item--apply-args)
9936 (todo-insert-item--next-param): New functions.
9937 (todo-insert-item--args, todo-insert-item--argleft)
9938 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
9939 New variables.
9940 (todo-key-bindings-t): Change binding of "i" from
9941 todo-insertion-map to todo-insert-item.
9942 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
9943 (todo-insertion-command-name, todo-insertion-commands-names)
9944 (todo-define-insertion-command, todo-insertion-commands)
9945 (todo-insertion-key-bindings, todo-insertion-map): Remove.
9946
9947 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
9948
9949 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
9950 (todo-toggle-item-highlighting): Use eval-and-compile instead of
9951 eval-when-compile.
9952 (todo-move-category): Allow choosing a non-existing todo file to
9953 move the category to, and create that file.
9954 (todo-default-priority): New user option.
9955 (todo-set-item-priority): Use it.
9956 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
9957 (desktop-restore-file-buffer): Declare.
9958 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
9959 (todo-modes-set-2): Locally set desktop-save-buffer to
9960 todo-desktop-save-buffer.
9961 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
9962 (auto-mode-alist): Add autoload cookie.
9963
9964 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
9965
9966 * emacs-lisp/subr-x.el: Renamed from helpers.el.
9967 helpers.el was a poor choice of name.
9968 (string-remove-prefix): New function.
9969 (string-remove-suffix): New function.
9970
9971 2013-12-20 Martin Rudalics <rudalics@gmx.at>
9972
9973 Fix assignment for new window total sizes.
9974 * window.el (window--pixel-to-size): Remove function.
9975 (window--pixel-to-total-1, window--pixel-to-total):
9976 Fix calculation of new total sizes.
9977
9978 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
9979
9980 * comint.el (comint-output-filter): Fix rear-nonsticky property
9981 placement (Bug#16010).
9982
9983 2013-12-20 Chong Yidong <cyd@gnu.org>
9984
9985 * faces.el (read-color): Minor fix for completion function.
9986
9987 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
9988
9989 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
9990 New option. (Bug#16182)
9991 (ruby-smie--indent-to-stmt-p): Use it.
9992 (ruby-smie-rules): Revert the logic in the handling of `when'.
9993 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
9994 (ruby-deep-arglist, ruby-deep-indent-paren)
9995 (ruby-deep-indent-paren-style): Update docstrings to note that the
9996 vars don't have any effect with SMIE.
9997
9998 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
9999
10000 * calc/calc.el (calc-enter, calc-pop): Use the variable
10001 `calc-context-sensitive-enter'.
10002
10003 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10004
10005 * net/shr.el (shr-insert): Protect against infloops in degenerate
10006 tables.
10007
10008 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10009
10010 * progmodes/octave.el (octave): Add link to manual and octave
10011 homepage.
10012 (octave-mode-menu): Link to octave-mode manual.
10013
10014 2013-12-20 Leo Liu <sdl.web@gmail.com>
10015
10016 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
10017 insertion using skeleton-end-newline. (Bug#16138)
10018
10019 2013-12-20 Juri Linkov <juri@jurta.org>
10020
10021 * replace.el (occur-engine): Use `add-face-text-property'
10022 to add the face property to matches and titles. (Bug#14645)
10023
10024 * hi-lock.el (hi-green): Use lighter color "light green" closer to
10025 the palette of other hi-lock colors.
10026 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
10027
10028 2013-12-19 Juri Linkov <juri@jurta.org>
10029
10030 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
10031 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
10032 (minibuffer-history-symbol): Move variable declaration closer to
10033 its usage.
10034
10035 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
10036 (Bug#14785)
10037
10038 2013-12-19 Juri Linkov <juri@jurta.org>
10039
10040 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
10041 New function.
10042 (log-edit-hook): Add it to :options. (Bug#16170)
10043
10044 2013-12-19 Juri Linkov <juri@jurta.org>
10045
10046 * simple.el (eval-expression-print-format): Don't check for
10047 command names and the last command. Always display additional
10048 formats of the integer result in the echo area, and insert them
10049 to the current buffer only with a zero prefix arg.
10050 Display character when char-displayable-p is non-nil.
10051 (eval-expression): With a zero prefix arg, set `print-length' and
10052 `print-level' to nil, and insert the integer values from
10053 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
10054
10055 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
10056 `eval-last-sexp-arg-internal'. Doc fix.
10057 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
10058 `eval-last-sexp-print-value'. Doc fix.
10059 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
10060 Set `print-length' and `print-level' to nil when arg is zero.
10061 (eval-last-sexp): Doc fix.
10062 (eval-defun-2): Print the integer values from
10063 `eval-expression-print-format' at the end.
10064
10065 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
10066 values from `eval-expression-print-format' at the end.
10067
10068 * ielm.el (ielm-eval-input): Print the integer
10069 values from `eval-expression-print-format' at the end.
10070
10071 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
10072
10073 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
10074 2013-12-11T19:01:44Z!tzz@lifelogs.com.
10075
10076 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
10079 (hl-line-highlight, global-hl-line-highlight): Use it.
10080 (hl-line-overlay): Use defvar-local.
10081
10082 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
10083
10084 * term/ns-win.el: Require dnd.
10085 (global-map): Remove drag items.
10086 (ns-insert-text, ns-set-foreground-at-mouse)
10087 (ns-set-background-at-mouse):
10088 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
10089 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
10090 New functions.
10091
10092 2013-12-19 Glenn Morris <rgm@gnu.org>
10093
10094 * emacs-lisp/ert.el (ert-select-tests):
10095 Fix string/symbol mixup. (Bug#16121)
10096
10097 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
10098
10099 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
10100 keywords to their parent.
10101
10102 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
10103
10104 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
10105 first arg to be a string (fixed dead code), or an operator symbol.
10106 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
10107 operator symbols.
10108 (ruby-smie-rules): Remove parent token check in the `.' clause, it
10109 did nothing. Don't respond to `(:after ".")', it will be called
10110 with :before anyway. Remove the ` @ ' rule, it didn't seem to
10111 change anything. Only return indentation for binary operators
10112 when they are hanging. De-dent opening paren when its parent is
10113 `.', otherwise it looks bad when the dot is not at bol or eol
10114 (bug#16182).
10115
10116 2013-12-19 Juri Linkov <juri@jurta.org>
10117
10118 * replace.el (query-replace-read-args): Split a non-negative arg
10119 and a negative arg into separate elements.
10120 (query-replace, query-replace-regexp, replace-string)
10121 (replace-regexp): Add arg `backward'. Doc fix.
10122 (replace-match-maybe-edit): When new arg `backward' is non-nil,
10123 move point to the beginning of the match.
10124 (replace-search, replace-highlight): Use new arg `backward'
10125 to set the value of `isearch-forward'.
10126 (perform-replace): Add arg `backward' and use it to perform
10127 replacement backward. (Bug#14979)
10128
10129 * isearch.el (isearch-query-replace): Use a negative prefix arg
10130 to call `perform-replace' with a non-nil arg `backward'.
10131
10132 2013-12-18 Juri Linkov <juri@jurta.org>
10133
10134 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
10135 to the default list. Move `log-edit-show-files' to the end.
10136 Add more available functions to options.
10137 (log-edit): Move default specific settings to
10138 `log-edit-insert-message-template'. Don't move point.
10139 (log-edit-insert-message-template): New function.
10140 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
10141 (Bug#16170)
10142
10143 2013-12-18 Juri Linkov <juri@jurta.org>
10144
10145 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
10146 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
10147
10148 2013-12-18 Leo Liu <sdl.web@gmail.com>
10149
10150 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
10151 (Bug#16186)
10152
10153 2013-12-18 Eli Zaretskii <eliz@gnu.org>
10154
10155 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
10156 formats for displaying file sizes when the -s switch is given.
10157 Instead, compute a separate format for displaying the size in
10158 blocks, which is displayed in addition to the "regular" size.
10159 When -h is given in addition to -s, produce size in blocks in
10160 human-readable form as well. (Bug#16179)
10161
10162 2013-12-18 Tassilo Horn <tsdh@gnu.org>
10163
10164 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10165 Reference tables with ~\ref{...} instead of only \ref{...}.
10166
10167 2013-12-18 Chong Yidong <cyd@gnu.org>
10168
10169 * cus-edit.el (custom-magic-alist): Fix "themed" description
10170 (Bug#14348).
10171
10172 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
10173 is non-nil, do not create a new entry in the symbol's theme-value
10174 or theme-face property; update theme-settings only (Bug#14664).
10175 (custom-available-themes): Doc fix.
10176
10177 * cus-theme.el (custom-new-theme-mode-map): Add bindings
10178 (Bug#15674).
10179
10180 * replace.el (occur-engine): Avoid infloop (Bug#7593).
10181
10182 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
10183
10184 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
10185 (Bug#13914).
10186
10187 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
10188
10189 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
10190
10191 2013-12-18 Glenn Morris <rgm@gnu.org>
10192
10193 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
10194 * cus-start.el (load-prefer-newer): New option.
10195
10196 2013-12-18 Le Wang <l26wang@gmail.com>
10197
10198 * comint.el (comint-previous-matching-input-from-input):
10199 Retain point (Bug#13404).
10200
10201 2013-12-18 Chong Yidong <cyd@gnu.org>
10202
10203 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
10204
10205 2013-12-18 Glenn Morris <rgm@gnu.org>
10206
10207 * mail/emacsbug.el (report-emacs-bug):
10208 Only mention enable-multibyte-characters if non-standard.
10209
10210 2013-12-17 Juri Linkov <juri@jurta.org>
10211
10212 * arc-mode.el (archive-extract-by-file): Check if directory exists
10213 before deletion to not show irrelevant errors if it doesn't exist.
10214
10215 2013-12-17 Juri Linkov <juri@jurta.org>
10216
10217 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
10218 (Bug#14751)
10219
10220 * net/eww.el (browse-web): Add alias to `eww'.
10221 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
10222 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
10223
10224 * net/browse-url.el (browse-url-browser-function): Move `eww'
10225 closer to similar functions.
10226
10227 * startup.el (fancy-startup-screen, fancy-about-screen):
10228 Set browse-url-browser-function to eww-browse-url locally.
10229 (Bug#14751)
10230
10231 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
10232
10233 * window.el (window--pixel-to-total): Remove unused `mini' var.
10234 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
10235 (split-window): Remove unused `new' var.
10236 (window--display-buffer): Remove unused `frame' and `delta' vars.
10237 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
10238 and display-width'.
10239
10240 2013-12-17 Martin Rudalics <rudalics@gmx.at>
10241
10242 * dired.el (dired-mark-pop-up):
10243 * register.el (register-preview): Don't bind
10244 split-height-threshold here since it's now done in
10245 display-buffer-below-selected.
10246
10247 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
10248
10249 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
10250 xterm-rgb-convert-to-16bit.
10251 (rxvt-register-default-colors): Standardize with
10252 xterm-register-default-colors (Bug#14078).
10253
10254 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
10255
10256 * simple.el (kill-region): Pass mark first, then point, so that
10257 kill-append works right (Bug#12819).
10258 (copy-region-as-kill, kill-ring-save): Likewise.
10259
10260 2013-12-17 Leo Liu <sdl.web@gmail.com>
10261
10262 * net/rcirc.el (rcirc-add-face):
10263 * eshell/em-prompt.el (eshell-emit-prompt):
10264 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
10265 (Bug#16167)
10266
10267 2013-12-17 Chong Yidong <cyd@gnu.org>
10268
10269 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
10270 Suggested by Xue Fuqiao.
10271
10272 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
10273
10274 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
10275
10276 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * net/shr.el (shr-insert-document): Remove unused var
10279 `shr-preliminary-table-render'.
10280 (shr-rescale-image): Remove unused arg `force'.
10281 (shr-put-image): Update calls accordingly.
10282 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
10283
10284 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
10285
10286 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
10287 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
10288 :close-all, to see which indentation method to use (Bug#16116).
10289 (smie-rules-function): Document the method :close-all.
10290
10291 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10292
10293 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
10294
10295 * net/eww.el (eww-display-html): If we can't find the anchor we're
10296 looking for, then go to point-min.
10297
10298 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
10299
10300 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
10301 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
10302 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
10303 Expand dir too, in case it's relative.
10304
10305 2013-12-16 Juri Linkov <juri@jurta.org>
10306
10307 * desktop.el (desktop-auto-save-timeout): Change default to
10308 `auto-save-timeout'. Doc fix.
10309 (desktop-save): Skip the timestamp in desktop-saved-frameset
10310 when checking for auto-save changes.
10311 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
10312 `desktop-auto-save' is called repeatedly by the idle timer.
10313 (desktop-auto-save-set-timer): Replace `run-with-timer' with
10314 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
10315 (Bug#15331)
10316
10317 2013-12-16 Juri Linkov <juri@jurta.org>
10318
10319 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
10320 (Bug#16035)
10321 (isearch-pre-command-hook): Check `this-command' for symbolp.
10322
10323 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
10326
10327 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
10328
10329 * progmodes/cfengine.el (cfengine3--current-word): Remove.
10330 (cfengine3--current-function): Bring in the current-function
10331 functionality from `cfengine3--current-word'.
10332 (cfengine3-completion-function): Bring in the
10333 bounds-of-current-word functionality from
10334 `cfengine3--current-word'.
10335
10336 2013-12-16 Martin Rudalics <rudalics@gmx.at>
10337
10338 * window.el (display-buffer-below-selected):
10339 Bind split-height-threshold to 0 as suggested by Juri Linkov.
10340
10341 2013-12-16 Leo Liu <sdl.web@gmail.com>
10342
10343 * progmodes/compile.el (compile-goto-error): Do not push-mark.
10344 Remove NOMSG arg and all uses changed.
10345
10346 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10347
10348 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
10349 (cua--deactivate-rectangle): Don't deactivate the mark.
10350 (cua-set-rectangle-mark): Don't set mark-active since
10351 cua--activate-rectangle already does it for us.
10352 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
10353 non-rectangular region.
10354
10355 * emulation/cua-base.el (cua-repeat-replace-region):
10356 Use with-current-buffer.
10357
10358 * net/gnutls.el: Use cl-lib.
10359 (gnutls-negotiate): `mapcan' -> cl-mapcan.
10360
10361 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10362
10363 * emacs-lisp/package.el (package-built-in-p): Support both
10364 built-in and the package.el converted package descriptions.
10365 (package-show-package-list): Allow keywords.
10366 (package-keyword-button-action): Use it instead of
10367 `finder-list-matches'.
10368 (package-menu-filter-interactive): Interactive filtering (by
10369 keyword) function.
10370 (package-menu--generate): Support keywords and change keymappings
10371 and headers when they are given.
10372 (package--has-keyword-p): Helper function.
10373 (package-menu--refresh): Use it.
10374 (package--mapc): Helper function.
10375 (package-all-keywords): Use it.
10376 (package-menu-mode-map): Set up menu items and keybindings to
10377 provide a filtering UI.
10378
10379 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10380
10381 * net/gnutls.el (gnutls-verify-error): New defcustom to control
10382 the behavior when a certificate fails validation. Defaults to
10383 old behavior: never abort, just warn.
10384 (gnutls-negotiate): Use it.
10385
10386 2013-12-14 Martin Rudalics <rudalics@gmx.at>
10387
10388 * window.el (display-buffer-below-selected): Never split window
10389 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
10390
10391 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
10392
10393 * emacs-lisp/package.el (package--prepare-dependencies): New function.
10394 (package-buffer-info): Use it (bug#15108).
10395
10396 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
10397
10398 * icomplete.el (icomplete-completions): Make sure the prefix is already
10399 displayed elsewhere before hiding it (bug#16219).
10400
10401 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
10402
10403 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
10404 open-paren tokens when preceded by a open-paren, too.
10405 (ruby-smie-rules): Handle virtual indentation after open-paren
10406 tokens specially. If there is code between it and eol, return the
10407 column where is starts (Bug#16118).
10408
10409 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10410
10411 * progmodes/cfengine.el: Fix `add-hook' doc.
10412 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
10413 (cfengine3--current-word): Fix parameters.
10414 (cfengine3-make-syntax-cache): Simplify further.
10415 (cfengine3-completion-function, cfengine3--current-function):
10416 Use `assq' for symbols.
10417 (cfengine3--current-function): Fix `cfengine3--current-word' call.
10418
10419 2013-12-13 Glenn Morris <rgm@gnu.org>
10420
10421 * loadup.el (load-path): Warn if site-load or site-init changes it.
10422 No more need to reset it when bootstrapping.
10423
10424 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10425
10426 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
10427 locations for cf-promises.
10428 (cfengine-mode-syntax-functions-regex): New caching variable.
10429 (cfengine3-fallback-syntax): Fallback syntax for cases where
10430 cf-promises doesn't run.
10431 (cfengine3--current-word): Reimplement using
10432 `cfengine-mode-syntax-functions-regex'.
10433 (cfengine3-completion-function, cfengine3--current-function):
10434 Use `cfengine3-make-syntax-cache' directly.
10435 (cfengine3-clear-syntax-cache): New function.
10436 (cfengine3-make-syntax-cache): Simplify and create
10437 `cfengine-mode-syntax-functions-regex' on demand.
10438 (cfengine3-format-function-docstring): Don't call
10439 `cfengine3-make-syntax-cache' explicitly.
10440
10441 2013-12-13 Martin Rudalics <rudalics@gmx.at>
10442
10443 Fix windmove-find-other-window broken after pixelwise resizing
10444 (Bug#16017).
10445 * windmove.el (windmove-other-window-loc): Revert change from
10446 2013-12-04.
10447 (windmove-find-other-window): Call window-in-direction.
10448 * window.el (window-in-direction): New arguments SIGN, WRAP and
10449 MINI to emulate original windmove-find-other-window behavior.
10450
10451 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
10452
10453 * simple.el (blink-matching--overlay): New variable.
10454 (blink-matching-open): Instead of moving point, highlight the
10455 matching paren with an overlay
10456 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
10457
10458 * faces.el (paren-showing-faces, show-paren-match)
10459 (show-paren-mismatch): Move from paren.el.
10460
10461 2013-12-13 Leo Liu <sdl.web@gmail.com>
10462
10463 * indent.el (indent-region): Disable progress reporter in
10464 minibuffer. (Bug#16108)
10465
10466 * bindings.el (visual-order-cursor-movement): Fix version.
10467
10468 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10469
10470 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
10471 Also match after beginning of line.
10472 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
10473 files. Thanks to Russell Sim. (Bug#15378)
10474
10475 2013-12-13 Juri Linkov <juri@jurta.org>
10476
10477 * simple.el <Keypad support>: Remove key bindings duplicated
10478 with bindings.el. (Bug#14397)
10479
10480 2013-12-13 Juri Linkov <juri@jurta.org>
10481
10482 * comint.el (comint-mode-map): Replace `delete-char' with
10483 `delete-forward-char'. (Bug#16109)
10484
10485 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10486
10487 * progmodes/python.el (python-indent-calculate-indentation):
10488 Fix de-denters cornercase. (Bug#15731)
10489
10490 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
10493 (advice--make): Pay attention to `depth'.
10494 (advice--make-1): Don't autoload commands eagerly.
10495 * emacs-lisp/elp.el (elp-instrument-function):
10496 * emacs-lisp/trace.el (trace-function-internal):
10497 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
10498
10499 * iswitchb.el (iswitchb-mode): Don't belittle ido.
10500
10501 2013-12-12 Eli Zaretskii <eliz@gnu.org>
10502
10503 * term/w32-win.el (w32-handle-dropped-file):
10504 * startup.el (normal-top-level):
10505 * net/browse-url.el (browse-url-file-url):
10506 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
10507 decode file names using 'utf-8' rather than
10508 file-name-coding-system.
10509
10510 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10511
10512 * progmodes/python.el (python-indent-context)
10513 (python-indent-calculate-indentation): Fix auto-identation
10514 behavior for comment blocks. (Bug#15916)
10515
10516 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
10517
10518 * progmodes/python.el (python-indent-calculate-indentation):
10519 When determining indentation, don't treat "return", "pass", etc., as
10520 operators when they are just string constituents. (Bug#15812)
10521
10522 2013-12-12 Juri Linkov <juri@jurta.org>
10523
10524 * uniquify.el (uniquify-buffer-name-style): Change default to
10525 `post-forward-angle-brackets'.
10526
10527 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
10528 `uniquify'. Change default to `post-forward-angle-brackets'.
10529
10530 2013-12-11 Glenn Morris <rgm@gnu.org>
10531
10532 * emacs-lisp/package.el (finder-list-matches):
10533 Autoload rather than falsely declaring.
10534
10535 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
10536
10537 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
10538 (eww-mode-map): Use them.
10539
10540 2013-12-11 Martin Rudalics <rudalics@gmx.at>
10541
10542 * window.el (display-buffer-in-side-window): Fix doc-string
10543 (Bug#16115).
10544
10545 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
10546
10547 * vc/vc-git.el: Silence byte-compiler warnings.
10548 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
10549 (log-edit-set-header): Declare.
10550
10551 2013-12-11 Eli Zaretskii <eliz@gnu.org>
10552
10553 * Makefile.in (custom-deps, finder-data): Run output file names
10554 through unmsys--file-name. (Bug#16099)
10555
10556 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
10557
10558 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
10559 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
10560
10561 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
10562 instead of deleting the selection "by hand" (bug#16098).
10563 Rely on insert-for-yank to yank rectangles.
10564 (cua-highlight-region-shift-only): Mark obsolete.
10565 (cua-mode): Don't enable/disable transient-mark-mode,
10566 shift-select-mode (cua-mode works both with and without them), and
10567 pc-selection-mode (obsolete).
10568 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
10569 (cua--deactivate-rectangle): Deactivate it.
10570
10571 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
10572 (delete-selection-helper): Make sure yank starts at the top of the
10573 deleted region.
10574 (minibuffer-keyboard-quit): Use region-active-p.
10575
10576 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
10577
10578 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
10579 to `delete' (bug#16109).
10580
10581 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10582
10583 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
10584 info manual and show keybindings and set `:group' keyword.
10585
10586 2013-12-11 Juri Linkov <juri@jurta.org>
10587
10588 * delsel.el (delete-active-region): Let-bind `this-command'
10589 to prevent `kill-region' from changing its original value.
10590 (delete-selection-helper): Handle `overwrite-mode' for the type
10591 `kill' exactly the same way as for the type `t'.
10592 (insert-char, quoted-insert, reindent-then-newline-and-indent):
10593 Support more commands. (Bug#13312)
10594
10595 2013-12-11 Juri Linkov <juri@jurta.org>
10596
10597 * bindings.el: Map kp keys to non-kp keys systematically
10598 with basic modifiers control, meta and shift. (Bug#14397)
10599
10600 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10601
10602 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
10603 "Close browser" menu items. Fix wrong function of "List
10604 bookmarks".
10605
10606 2013-12-11 Juri Linkov <juri@jurta.org>
10607
10608 * misearch.el (multi-isearch-buffers): Set the value of
10609 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10610 arg of isearch-forward to t.
10611 (multi-isearch-buffers-regexp): Set the value of
10612 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10613 arg of isearch-forward-regexp to t.
10614 (multi-isearch-files): Set the value of
10615 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10616 arg of isearch-forward to t.
10617 (multi-isearch-files-regexp): Set the value of
10618 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10619 arg of isearch-forward-regexp to t. (Bug#16035)
10620
10621 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
10622 arg of isearch-forward to t.
10623 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
10624 arg of isearch-forward-regexp to t.
10625 (dired-isearch-filter-filenames): Remove unnecessary check for
10626 `dired-isearch-filenames'.
10627
10628 * comint.el (comint-history-isearch-backward):
10629 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
10630 (comint-history-isearch-backward-regexp):
10631 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
10632
10633 2013-12-10 Eli Zaretskii <eliz@gnu.org>
10634
10635 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
10636 unmsys--file-name. (Bug#16099)
10637
10638 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
10639
10640 * emacs-lisp/package.el (package-keyword-button-action):
10641 Remove finder.el require dependency.
10642
10643 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
10644
10645 * emacs-lisp/package.el: Require finder.el.
10646 (describe-package-1): Add keyword buttons.
10647 (package-make-button): New convenience function.
10648 (package-keyword-button-action): Keyword button action using
10649 `finder-list-matches'.
10650
10651 2013-12-09 Eli Zaretskii <eliz@gnu.org>
10652
10653 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
10654 last commit.
10655
10656 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
10657
10658 * autorevert.el (auto-revert-notify-add-watch): Do not handle
10659 symlinked files.
10660
10661 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10662
10663 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
10664 after the end of a percent literal.
10665
10666 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
10667
10668 * progmodes/ruby-mode.el (ruby-forward-string): Document.
10669 Handle caret-delimited strings (Bug#16079).
10670
10671 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10672
10673 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
10674 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
10675 `ruby-parse-partial' (Bug#16078).
10676
10677 2013-12-09 Leo Liu <sdl.web@gmail.com>
10678
10679 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
10680
10681 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
10682
10683 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
10684 (js-switch-indent-offset): New option.
10685 (js--proper-indentation): Use it. And handle the case when
10686 "default" is actually a key in an object literal.
10687 (js--same-line): New function.
10688 (js--multi-line-declaration-indentation): Use it.
10689 (js--indent-in-array-comp, js--array-comp-indentation):
10690 New functions.
10691 (js--proper-indentation): Use them, to handle array comprehension
10692 continuations.
10693
10694 2013-12-08 Leo Liu <sdl.web@gmail.com>
10695
10696 * progmodes/flymake.el (flymake-highlight-line): Re-write.
10697 (flymake-make-overlay): Remove arg MOUSE-FACE.
10698 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
10699
10700 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
10703 New function.
10704 (redisplay-highlight-region-function): Use it.
10705
10706 * emulation/cua-base.el (cua--explicit-region-start)
10707 (cua--last-region-shifted): Remove.
10708 (cua--deactivate): Use deactivate-mark.
10709 (cua--pre-command-handler-1): Don't handle shift-selection.
10710 (cua--post-command-handler-1): Don't change transient-mark-mode.
10711 (cua--select-keymaps): Use region-active-p rather than
10712 cua--explicit-region-start or cua--last-region-shifted.
10713 (cua-mode): Enable shift-select-mode.
10714
10715 2013-12-08 Leo Liu <sdl.web@gmail.com>
10716
10717 * progmodes/flymake.el (flymake-popup-current-error-menu):
10718 Rename from flymake-display-err-menu-for-current-line. Reimplement.
10719 (flymake-posn-at-point-as-event, flymake-popup-menu)
10720 (flymake-make-emacs-menu): Remove. (Bug#16077)
10721
10722 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10723
10724 * rect.el (rectangle-mark-mode): Activate mark even if
10725 transient-mark-mode is off (bug#16066).
10726 (rectangle--highlight-for-redisplay): Fix boundary condition when point
10727 is > mark and at bolp.
10728
10729 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
10730 (region-extract-function): Use it.
10731 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
10732 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
10733 Delete functions.
10734 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
10735 kill-ring-save, kill-region, delete-char, delete-forward-char.
10736 Ignore self-insert-iso.
10737
10738 * emulation/cua-gmrk.el (cua--init-global-mark):
10739 Ignore `self-insert-iso'.
10740
10741 * emulation/cua-base.el (cua--prefix-copy-handler)
10742 (cua--prefix-cut-handler): Rely on region-extract-function rather than
10743 checking cua--rectangle.
10744 (cua-delete-region): Use region-extract-function.
10745 (cua-replace-region): Delete function.
10746 (cua-copy-region, cua-cut-region): Obey region-extract-function.
10747 (cua--pre-command-handler-1): Don't do the delete-selection thing.
10748 (cua--self-insert-char-p): Ignore `self-insert-iso'.
10749 (cua--init-keymaps): Don't remap delete-selection commands.
10750 (cua-mode): Use delete-selection-mode instead of rolling our own
10751 (bug#16085).
10752
10753 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
10754 Obey region-extract-function.
10755
10756 Make registers and delete-selection-mode work on rectangles.
10757 * register.el (describe-register-1): Don't modify the register's value.
10758 (copy-to-register): Obey region-extract-function.
10759 * delsel.el (delete-active-region): Obey region-extract-function.
10760
10761 2013-12-08 Leo Liu <sdl.web@gmail.com>
10762
10763 * progmodes/flymake.el (flymake, flymake-error-bitmap)
10764 (flymake-warning-bitmap, flymake-fringe-indicator-position)
10765 (flymake-compilation-prevents-syntax-check)
10766 (flymake-start-syntax-check-on-newline)
10767 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
10768 (flymake-start-syntax-check-on-find-file, flymake-log-level)
10769 (flymake-xml-program, flymake-master-file-dirs)
10770 (flymake-master-file-count-limit)
10771 (flymake-allowed-file-name-masks): Relocate.
10772 (flymake-makehash, flymake-float-time)
10773 (flymake-replace-regexp-in-string, flymake-split-string)
10774 (flymake-get-temp-dir): Remove.
10775 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
10776 (flymake-current-row, flymake-selected-frame)
10777 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
10778 related functions. (Bug#16077)
10779
10780 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
10781
10782 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
10783
10784 2013-12-07 Tassilo Horn <tsdh@gnu.org>
10785
10786 * help-fns.el (describe-function-1): Use new advice-* functions
10787 rather than old ad-* functions. Fix function type description and
10788 source links for advised functions and subrs.
10789
10790 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10791
10792 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
10793
10794 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
10795
10796 * progmodes/compile.el (compilation-start):
10797 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
10798
10799 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10800 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
10801
10802 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10803
10804 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10805 Touch up the last change.
10806
10807 2013-12-06 Leo Liu <sdl.web@gmail.com>
10808
10809 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
10810 (inferior-octave-startup): Always use "octave> " for prompt.
10811 (octave-goto-function-definition)
10812 (octave-sync-function-file-names)
10813 (octave-find-definition-default-filename): Remove redundant backquotes.
10814
10815 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10816
10817 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
10818 syntax for `?'.
10819 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
10820 where appropriate already.
10821 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
10822 end of method names (Bug#15874).
10823
10824 2013-12-06 Juri Linkov <juri@jurta.org>
10825
10826 * isearch.el (isearch--saved-overriding-local-map):
10827 New internal variable.
10828 (isearch-mode): Set it to the initial value of
10829 `overriding-terminal-local-map'.
10830 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
10831 with `isearch--saved-overriding-local-map'. (Bug#16035)
10832
10833 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10834
10835 * progmodes/octave.el (inferior-octave-completion-table):
10836 Turn back into function, use `completion-table-with-cache'
10837 (Bug#11906). Update all references.
10838
10839 * minibuffer.el (completion-table-with-cache): New function.
10840
10841 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
10842
10843 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
10844
10845 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
10846
10847 * net/eww.el (eww-current-source): New variable to store page
10848 source.
10849 (eww-display-html, eww-mode, eww-save-history)
10850 (eww-restore-history): Use it.
10851 (eww-view-source): New command to view page source.
10852 Opportunistically uses `html-mode' to highlight the buffer.
10853 (eww-mode-map): Install it.
10854
10855 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
10856
10857 * net/dbus.el (dbus-unregister-service)
10858 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
10859 Fix docstring.
10860 (dbus-unregister-service): Skip :serial entries in
10861 `dbus-registered-objects-table'.
10862 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
10863
10864 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
10865
10866 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
10867 around keywords with extra `split-string' argument.
10868
10869 2013-12-04 Martin Rudalics <rudalics@gmx.at>
10870
10871 * windmove.el (windmove-other-window-loc): Handle navigation
10872 between windows (excluding the minibuffer window - Bug#16017).
10873
10874 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
10875
10876 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
10877 in D-Bus type syntax.
10878 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
10879 preserve unibyte strings. (Bug#16048)
10880
10881 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10882
10883 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10884 Call force-mode-line-update is the proper buffer (bug#16042).
10885
10886 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
10887
10888 * vc/log-edit.el (log-edit-add-new-comment): Rename to
10889 `log-edit-remember-comment', make argument optional. Adjust all
10890 callers.
10891 (log-edit-mode): Add `log-edit-remember-comment' to
10892 `kill-buffer-hook' locally.
10893 (log-edit-kill-buffer): Don't remember comment explicitly since
10894 the buffer is killed anyway.
10895
10896 2013-12-04 Juri Linkov <juri@jurta.org>
10897
10898 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
10899 add-hook and remove-hook for multi-buffer search. (Bug#16035)
10900
10901 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
10902
10903 * notifications.el (notifications-close-notification): Call the
10904 D-Bus method with ID being a `:uint32'. (Bug#16030)
10905
10906 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
10907
10908 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
10909
10910 2013-12-03 Juri Linkov <juri@jurta.org>
10911
10912 * progmodes/compile.el (compilation-start): Rename window alist
10913 entry `no-display-ok' to `allow-no-window'.
10914
10915 * simple.el (shell-command): Add window alist entry
10916 `allow-no-window' to `display-buffer'.
10917 (async-shell-command): Doc fix.
10918
10919 * window.el (display-buffer-no-window): New action function.
10920 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
10921
10922 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10923
10924 * vc/log-edit.el (log-edit-set-header): Extract from
10925 `log-edit-toggle-header'.
10926 (log-edit-extract-headers): Separate the summary, when extracted
10927 from header, from the rest of the message with an empty line.
10928
10929 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
10930 line, if present, to the Summary header.
10931
10932 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
10935 in current-buffer (bug#16029).
10936
10937 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
10938
10939 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
10940 (debugger-mode-map): Bind it.
10941 (debugger--backtrace-base): New function.
10942 (debugger-eval-expression): Use it.
10943 (debugger-frame-number): Skip local vars when present.
10944 (debugger--locals-visible-p, debugger--insert-locals)
10945 (debugger--show-locals, debugger--hide-locals): New functions.
10946
10947 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
10948
10949 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
10950 "LC_ALL".
10951 (tramp-get-remote-locale): New defun.
10952 (tramp-open-connection-setup-interactive-shell): Use it.
10953
10954 2013-12-02 Leo Liu <sdl.web@gmail.com>
10955
10956 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
10957
10958 * progmodes/sh-script.el (sh-shell-process):
10959 * progmodes/octave.el (inferior-octave-process-live-p):
10960 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
10961 (gdb-inferior-io-sentinel):
10962 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
10963
10964 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10965
10966 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
10967 `save-selected-window' to `log-edit-hide-buf'. This makes
10968 `log-edit-show-files' idempotent.
10969 (log-edit-show-files): Mark the new window as dedicated.
10970
10971 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10972
10973 * vc/log-edit.el (log-edit-mode-map): Add binding for
10974 `log-edit-kill-biffer'.
10975 (log-edit-hide-buf): Add a FIXME comment.
10976 (log-edit-add-new-comment): New function, extracted from
10977 `log-edit-done'.
10978 (log-edit-done, log-edit-add-to-changelog): Use it.
10979 (log-edit-kill-buffer): New command.
10980
10981 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10982
10983 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
10984 instead of killing the buffer.
10985
10986 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
10989
10990 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10991
10992 * net/eww.el (eww-form-checkbox-selected-symbol)
10993 (eww-form-checkbox-symbol): New customizable variable.
10994 (eww-form-checkbox, eww-toggle-checkbox):
10995 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
10996
10997 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
10998 (shr--get-media-pref, shr--extract-best-source): New function.
10999 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
11000 no :src tag was specified.
11001
11002 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
11003 (eww-render): Handle `eww-use-external-browser-for-content-type'.
11004 Use \\` to match beginning of string instead of ^.
11005 (eww-browse-with-external-browser): Provide optional URL parameter.
11006 (eww-render): Set `eww-current-title' back to "".
11007
11008 * net/shr.el (shr-tag-video): Display content for video if no
11009 poster is available.
11010 (shr-tag-audio): Add support for <audio> tag.
11011
11012 * net/eww.el (eww-text-input-types): New const.
11013 (eww-process-text-input): Treat input types in
11014 `eww-text-input-types' as text.
11015
11016 * net/shr.el (shr-tag-table): Fix comment typo.
11017
11018 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11019
11020 * net/eww.el (eww-follow-link): New command to avoid reloading
11021 pages when we follow #target links (bug#15243).
11022 (eww-quit): Special mode buffers shouldn't query before exiting.
11023
11024 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
11025
11026 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
11027 forms.
11028
11029 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11030
11031 * net/eww.el (eww-restore-history): Update the window title after
11032 moving in the history.
11033 (eww-current-dom): New variable used to save the current DOM.
11034
11035 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
11036
11037 * vc/log-edit.el (log-edit-mode-map): Add binding for
11038 `log-edit-beginning-of-line'.
11039 (log-edit-setup-add-author): New user option.
11040 (log-edit-beginning-of-line): New command.
11041 (log-edit): Move major mode call above the contents setup so that
11042 the local variable values are already applied.
11043 (log-edit): Only insert "Author: " when
11044 `log-edit-setup-add-author' is non-nil.
11045 (log-edit): When SETUP is non-nil, position point after ": "
11046 instead of point-min.
11047
11048 2013-12-01 Glenn Morris <rgm@gnu.org>
11049
11050 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
11051
11052 2013-11-30 Eli Zaretskii <eliz@gnu.org>
11053
11054 * startup.el (fancy-splash-frame): On MS-Windows, trigger
11055 redisplay to make sure the initial frame gets a chance to become
11056 visible. (Bug#16014)
11057
11058 2013-11-30 Martin Rudalics <rudalics@gmx.at>
11059
11060 Support resizing frames and windows pixelwise.
11061 * cus-start.el (frame-resize-pixelwise)
11062 (window-resize-pixelwise): New entries.
11063 * emacs-lisp/debug.el (debug): Use window-total-height instead
11064 of window-total-size.
11065 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
11066 * help.el (describe-bindings-internal): Use help-buffer as
11067 argument for with-help-window.
11068 (temp-buffer-max-width): New option.
11069 (resize-temp-buffer-window, help-window-setup)
11070 (with-help-window): Rewrite.
11071 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
11072 dragging dividers.
11073 * window.el (frame-char-size, window-min-pixel-height)
11074 (window-safe-min-pixel-height, window-safe-min-pixel-width)
11075 (window-min-pixel-width, window-safe-min-pixel-size)
11076 (window-combination-p, window-safe-min-size)
11077 (window-resizable-p, window--size-to-pixel)
11078 (window--pixel-to-size, window--resize-apply-p): New functions.
11079 (window-safe-min-height): Fix doc-string.
11080 (window-size, window-min-size, window--min-size-1)
11081 (window-sizable, window-sizable-p, window--min-delta-1)
11082 (window-min-delta, window--max-delta-1, window-max-delta)
11083 (window--resizable, window--resizable-p, window-resizable)
11084 (window-full-height-p, window-full-width-p, window-at-side-p)
11085 (window--in-direction-2, window-in-direction)
11086 (window--resize-reset-1, window--resize-mini-window)
11087 (window-resize, window-resize-no-error)
11088 (window--resize-child-windows-normal)
11089 (window--resize-child-windows, window--resize-siblings)
11090 (window--resize-this-window, window--resize-root-window)
11091 (window--resize-root-window-vertically)
11092 (adjust-window-trailing-edge, enlarge-window, shrink-window)
11093 (maximize-window, minimize-window, delete-window)
11094 (quit-restore-window, window-split-min-size, split-window)
11095 (balance-windows-2, balance-windows)
11096 (balance-windows-area-adjust, balance-windows-area)
11097 (window--state-get-1, window-state-get, window--state-put-1)
11098 (window--state-put-2, window-state-put)
11099 (display-buffer-record-window, window--display-buffer):
11100 Make functions handle pixelwise sizing of windows.
11101 (display-buffer--action-function-custom-type)
11102 (display-buffer-fallback-action):
11103 Add display-buffer-in-previous-window.
11104 (display-buffer-use-some-window): Resize window to height it had
11105 before.
11106 (fit-window-to-buffer-horizontally): New option.
11107 (fit-frame-to-buffer): Describe new values.
11108 (fit-frame-to-buffer-bottom-margin): Replace with
11109 fit-frame-to-buffer-margins.
11110 (window--sanitize-margin): New function.
11111 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
11112 using window-text-pixel-size.
11113
11114 2013-11-30 Glenn Morris <rgm@gnu.org>
11115
11116 * emacs-lisp/bytecomp.el (byte-compile-form):
11117 Make the `interactive-only' warning like the `obsolete' one.
11118 * comint.el (comint-run):
11119 * files.el (insert-file-literally, insert-file):
11120 * replace.el (replace-string, replace-regexp):
11121 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11122 (goto-line, insert-buffer, next-line, previous-line):
11123 Tweak `interactive-only' spec.
11124
11125 Stop keeping (most) generated cedet grammar files in the repository.
11126 * Makefile.in (semantic): New.
11127 (compile-main): Depend on semantic.
11128
11129 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
11132 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
11133
11134 * uniquify.el (uniquify-buffer-name-style): Change default.
11135
11136 * loadup.el: Preload "uniquify".
11137
11138 * time.el (display-time-update): Update all mode lines (bug#15999).
11139
11140 * electric.el (electric-indent-mode): Enable by default.
11141 * loadup.el: Preload "electric".
11142
11143 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
11144
11145 * emacs-lisp/helpers.el (string-empty-p): New function.
11146 (string-blank-p): New function.
11147
11148 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
11149
11150 * imenu.el (imenu--index-alist): Add missing dot to the docstring
11151 (Bug#14029).
11152
11153 2013-11-29 Andreas Politz <politza@fh-trier.de>
11154 * imenu.el (imenu--subalist-p): Don't error on non-conses and
11155 allow non-lambda lists as functions.
11156 (imenu--in-alist): Don't recurse into non-subalists.
11157 (imenu): Don't pass function itself as an argument (Bug#14029).
11158
11159 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11160
11161 * progmodes/python.el (python-mode-map): Remove binding for ":".
11162 (python-indent-electric-colon): Remove command.
11163 (python-indent-post-self-insert-function): Integrate the previous code
11164 of python-indent-electric-colon. Make it conditional on
11165 electric-indent-mode.
11166 (python-mode): Add ?: to electric-indent-chars.
11167 Move python-indent-post-self-insert-function to the end of
11168 post-self-insert-hook.
11169
11170 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * doc-view.el (doc-view-goto-page): Update mode-line.
11173
11174 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
11175
11176 2013-11-27 Glenn Morris <rgm@gnu.org>
11177
11178 * international/charprop.el, international/uni-bidi.el:
11179 * international/uni-category.el, international/uni-combining.el:
11180 * international/uni-comment.el, international/uni-decimal.el:
11181 * international/uni-decomposition.el, international/uni-digit.el:
11182 * international/uni-lowercase.el, international/uni-mirrored.el:
11183 * international/uni-name.el, international/uni-numeric.el:
11184 * international/uni-old-name.el, international/uni-titlecase.el:
11185 * international/uni-uppercase.el:
11186 Remove generated files from VCS repository.
11187
11188 2013-11-27 Eli Zaretskii <eliz@gnu.org>
11189
11190 * filenotify.el (file-notify-add-watch): Don't special-case
11191 w32notify when computing the directory to watch.
11192
11193 2013-11-27 Glenn Morris <rgm@gnu.org>
11194
11195 Make bootstrap without generated uni-*.el files possible again.
11196 * loadup.el: Update command-line-args checking for unidata-gen.
11197 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
11198 * composite.el, international/characters.el:
11199 Handle unicode tables being undefined.
11200
11201 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
11202 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
11203 (compile-main): Depend on leim rule.
11204 (leim): New rule.
11205 * loadup.el: Move leim-list.el to leim/ subdirectory.
11206 * startup.el (normal-top-level): No more leim directory.
11207 * international/ja-dic-cnv.el (skkdic-convert):
11208 Disable version-control and autoloads in output files.
11209 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
11210 Disable version-control and autoloads in output files.
11211 * leim/quail: Move here from ../leim.
11212 * leim/quail/hangul.el (hangul-input-method-activate):
11213 Add autoload cookie.
11214 (generated-autoload-load-name): Set file-local value.
11215 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
11216 (generated-autoload-load-name): Set file-local value.
11217
11218 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
11219
11220 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
11221 (eww-add-bookmark): Ask confirmation when add to bookmarks.
11222 (eww-quit): Ask confirmation before quitting eww.
11223
11224 2013-11-26 Eli Zaretskii <eliz@gnu.org>
11225
11226 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
11227 reading output from Diff on MS-Windows and MS-DOS.
11228
11229 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
11230
11231 * emacs-lisp/helpers.el (string-reverse): New function.
11232
11233 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
11234
11235 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
11236 names on MS Windows, like "/[::1]:".
11237
11238 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
11239 SWITCHES.
11240
11241 2013-11-26 Glenn Morris <rgm@gnu.org>
11242
11243 * progmodes/python.el (python-indent-guess-indent-offset):
11244 Avoid corner-case error. (Bug#15975)
11245
11246 Preload leim-list.el. (Bug#4789)
11247 * loadup.el: Load leim-list.el when found.
11248 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
11249
11250 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
11251
11252 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
11253
11254 * emacs-lisp/helpers.el (string-join): New function.
11255
11256 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
11257
11258 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11259 Mark as obsolete and replace it with a symbol property.
11260 (byte-compile-form): Use new 'interactive-only property.
11261 * comint.el, files.el, replace.el, simple.el:
11262 Apply new 'interactive-only properly.
11263
11264 2013-11-25 Martin Rudalics <rudalics@gmx.at>
11265
11266 * window.el (display-buffer-at-bottom): Make sure that
11267 split-window-sensibly creates the new window on bottom
11268 (Bug#15961).
11269
11270 2013-11-23 David Kastrup <dak@gnu.org>
11271
11272 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
11273 on the conflict markers when available.
11274 (smerge--get-marker): New function.
11275 (smerge-end-re, smerge-base-re): Add subgroup.
11276
11277 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11278
11279 * frame.el (handle-focus-in, handle-focus-out): Add missing
11280 interactive spec.
11281
11282 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
11283
11284 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11285 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
11286
11287 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11288
11289 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
11290 (gomoku--last-pos): New var.
11291 (gomoku--intangible-chars): New const.
11292 (gomoku--intangible): New function.
11293 (gomoku-mode): Use it. Derive from special-mode.
11294 (gomoku-move-up): Adjust line count.
11295 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
11296 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
11297 Simplify accordingly.
11298
11299 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
11300 Remove blink-cursor code.
11301 (blink-cursor-timer-function, blink-cursor-suspend):
11302 Don't special-case GUIs.
11303 (blink-cursor-mode): Use focus-in/out-hook.
11304
11305 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
11306
11307 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
11308 work when annotation is invisible (Bug#13886).
11309
11310 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
11311
11312 * json.el (json-alist-p): Only return non-nil if the alist has
11313 simple keys (Bug#13518).
11314
11315 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
11316
11317 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
11318 when control-statement is the first statement in a buffer (Bug#15956).
11319
11320 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
11321
11322 * imenu.el (imenu-generic-skip-comments-and-strings):
11323 New option (Bug#15560).
11324 (imenu--generic-function): Use it.
11325
11326 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
11327
11328 * minibuffer.el (completion--in-region-1): Scroll the correct window.
11329 (Bug#13898)
11330
11331 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
11332
11333 * emacs-lisp/helpers.el: Add some string helpers.
11334 (string-trim-left): Removes leading whitespace.
11335 (string-trim-right): Removes trailing whitespace.
11336 (string-trim): Removes leading and trailing whitespace.
11337
11338 * subr.el (string-suffix-p): New function.
11339
11340 2013-11-23 Glenn Morris <rgm@gnu.org>
11341
11342 * progmodes/python.el (python-shell-send-file):
11343 Add option to delete file when done. (Bug#15647)
11344 (python-shell-send-string, python-shell-send-region): Use it.
11345
11346 2013-11-23 Ivan Shmakov <ivan@siamics.net>
11347
11348 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
11349 to set buffer-read-only to t, never to nil. (Bug#15938)
11350
11351 * textmodes/tex-mode.el (latex-noindent-environments):
11352 Add safe-local-variable property. (Bug#15936)
11353
11354 2013-11-23 Glenn Morris <rgm@gnu.org>
11355
11356 * textmodes/enriched.el (enriched-mode): Doc fix.
11357 * emacs-lisp/authors.el (authors-renamed-files-alist):
11358 Add enriched.doc -> enriched.txt.
11359
11360 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
11361
11362 2013-11-22 Leo Liu <sdl.web@gmail.com>
11363
11364 * progmodes/octave.el (inferior-octave-startup): Spit out error
11365 message.
11366
11367 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
11368
11369 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11370 Improve docstring.
11371 Add :version.
11372 (ruby-encoding-magic-comment-style): Add :version.
11373
11374 2013-11-22 Leo Liu <sdl.web@gmail.com>
11375
11376 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
11377 (Bug#15076)
11378 (octave-help-mode): Adapt to change to help-mode-finish to use
11379 derived-mode-p on 2013-09-17.
11380 (inferior-octave-prompt): Also match octave-gui.
11381 (octave-kill-process): Don't ask twice. (Bug#10564)
11382
11383 2013-11-22 Leo Liu <sdl.web@gmail.com>
11384
11385 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
11386 (inferior-octave-startup, inferior-octave-check-process)
11387 (inferior-octave-track-window-width-change)
11388 (octave-completion-at-point, octave-eldoc-function): Use it.
11389 (octave-kill-process): Provide confirmation. (Bug#10564)
11390
11391 2013-11-21 Leo Liu <sdl.web@gmail.com>
11392
11393 * progmodes/octave.el (octave-mode, inferior-octave-mode):
11394 Fix obsolete variable comment-use-global-state.
11395
11396 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11397
11398 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
11399 Add `octave-source-file'.
11400 (octave-source-file): New function. (Bug#15935)
11401
11402 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
11403
11404 * net/eww.el (eww-local-regex): New variable.
11405 (eww): Use it to detect localhost and similar.
11406
11407 2013-11-21 Leo Liu <sdl.web@gmail.com>
11408
11409 Add completion for command `ag'.
11410 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
11411 (pcomplete/ag): New function.
11412 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
11413
11414 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
11417 (bug#14646).
11418 (make-obsolete): Remove interactive spec.
11419
11420 2013-11-21 Glenn Morris <rgm@gnu.org>
11421
11422 * startup.el (command-line-1): Use path-separator with -L.
11423
11424 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
11425
11426 * emacs-lisp/package.el (describe-package-1): Add package archive
11427 to shown fields.
11428
11429 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
11430
11431 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11432 Change default to "# encoding: %s" to differentiate it from the
11433 default Ruby encoding comment template.
11434
11435 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
11436
11437 * ses.el (ses-mode): Doc fix. (Bug#14748)
11438
11439 2013-11-20 Leo Liu <sdl.web@gmail.com>
11440
11441 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
11442
11443 2013-11-19 Dan Nicolaescu <dann@gnu.org>
11444
11445 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
11446 when rebase or bisect are in progress.
11447
11448 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
11449
11450 * filenotify.el (file-notify-add-watch): Doc fix.
11451
11452 2013-11-19 Leo Liu <sdl.web@gmail.com>
11453
11454 * obsolete/rcompile.el: Mark obsolete.
11455
11456 * progmodes/compile.el (compilation-start)
11457 (compilation-goto-locus, compilation-find-file):
11458 Pass no-display-ok and handle nil value from display-buffer.
11459 (Bug#13594)
11460
11461 * window.el (display-buffer-alist, display-buffer): Document the
11462 new parameter no-display-ok. Return either a window or nil
11463 but never a non-window value.
11464
11465 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * electric.el (electric-indent-mode-map): Remove.
11468 (electric-indent-mode): Change the global-map instead (bug#15915).
11469
11470 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11471 Use add-function.
11472
11473 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
11474
11475 * emacs-lisp/nadvice.el (remove-function): Align with
11476 add-function's behavior.
11477
11478 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
11479 (gdb--string-regexp): New constant.
11480 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
11481 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
11482 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
11483 submatch 1.
11484 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
11485 Adjust use accordingly.
11486 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
11487
11488 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
11489
11490 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
11491 interpolation curlies (Bug#15914).
11492
11493 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
11494
11495 * calc/calc.el (calc-context-sensitive-enter): New variable.
11496 (calc-enter): Use `calc-context-sensitive-enter'.
11497
11498 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
11499
11500 * progmodes/cfengine.el: Version bump.
11501 (cfengine-cf-promises): New defcustom to locate cf-promises.
11502 (cfengine3-vartypes): Add new "data" type.
11503 (cfengine3--current-word): New function to get current name-like
11504 word or its bounds.
11505 (cfengine3--current-function): New function to look up a CFEngine
11506 function's definition.
11507 (cfengine3-format-function-docstring): New function.
11508 (cfengine3-make-syntax-cache): New function.
11509 (cfengine3-documentation-function): New function: ElDoc glue.
11510 (cfengine3-completion-function): New function: completion glue.
11511 (cfengine3-mode): Set `compile-command',
11512 `eldoc-documentation-function', and add to
11513 `completion-at-point-functions'.
11514
11515 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
11516
11517 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11518 `tramp-current-connection'.
11519
11520 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
11521
11522 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
11523 nil/self/true/false with "end of symbol".
11524
11525 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
11526
11527 * subr.el (version-regexp-alist): Fix a typo.
11528
11529 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
11530
11531 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
11532 "en_US.utf8" and "LC_CTYPE" to "".
11533 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
11534 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
11535
11536 2013-11-15 Leo Liu <sdl.web@gmail.com>
11537
11538 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
11539
11540 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11541
11542 * progmodes/gud.el (ctl-x-map):
11543 Remove C-x SPC binding. (Bug#12342)
11544 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
11545
11546 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
11547
11548 * subr.el (version-regexp-alist):
11549 Recognize hg, svn and darcs versions as snapshot versions.
11550
11551 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
11552 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
11553 (ruby--encoding-comment-required-p): Extract from
11554 `ruby-mode-set-encoding'.
11555 (ruby-mode-set-encoding): Add the ability to always insert an
11556 utf-8 encoding comment. Fix and simplify coding comment update
11557 logic.
11558
11559 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
11560
11561 * net/tramp-gvfs.el (top): Run init code only when
11562 `tramp-gvfs-enabled' is not nil.
11563 (tramp-gvfs-enabled): Check also :system bus.
11564
11565 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 Sync with upstream verilog-mode revision 78e66ba.
11568 * progmodes/verilog-mode.el (verilog-end-of-defun)
11569 (verilog-type-completion, verilog-get-list): Remove unused funcs.
11570 (verilog-get-end-of-defun): Remove unused argument.
11571 (verilog-comment-depth): Remove unused local `e'.
11572 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
11573 Don't pass arg to verilog-get-end-of-defun.
11574
11575 2013-11-14 Glenn Morris <rgm@gnu.org>
11576
11577 * obsolete/assoc.el (aget): Prefix dynamic variable.
11578
11579 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
11580
11581 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * widget.el, hfy-cmap.el: Remove bogus package version number.
11584
11585 2013-11-13 Glenn Morris <rgm@gnu.org>
11586
11587 * replace.el (replace-eval-replacement):
11588 Try to give more helpful error message. (Bug#15836)
11589
11590 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11591 (archive-7z-update): Avoid custom type mismatches.
11592
11593 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
11594
11595 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
11596
11597 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11598 address can be empty.
11599
11600 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
11601 Accept nil SWITCHES.
11602 (tramp-gvfs-handle-write-region): Implement APPEND.
11603
11604 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
11605
11606 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
11607 binary "|" operator and closing block args delimiter.
11608 Remove FIXME comment referring to Ruby 1.8-only syntax.
11609 (ruby-smie--implicit-semi-p): Not after "|" operator.
11610 (ruby-smie--closing-pipe-p): New function.
11611 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
11612 (ruby-smie-rules): Indent after "|".
11613
11614 2013-11-12 Glenn Morris <rgm@gnu.org>
11615
11616 * ps-print.el (ps-face-attribute-list):
11617 Handle anonymous faces. (Bug#15827)
11618
11619 2013-11-12 Martin Rudalics <rudalics@gmx.at>
11620
11621 * window.el (display-buffer-other-frame): Fix doc-string.
11622 (Bug#15868)
11623
11624 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11625
11626 * subr.el (force-mode-line-update): Delete, move to buffer.c.
11627
11628 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
11629
11630 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
11631 (tramp-sh-handle-file-local-copy): Don't write a message when
11632 saving temporary files.
11633
11634 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
11635 both directories are remote.
11636 (tramp-smb-handle-directory-files): Do not return double entries.
11637 Do not expand full file names.
11638 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
11639 (tramp-smb-handle-write-region): Implement APPEND.
11640 (tramp-smb-get-stat-capability): Fix a stupid bug.
11641
11642 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
11645
11646 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11647
11648 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
11649 throwing error over malformed let/let* (bug#15814).
11650
11651 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * iswitchb.el (iswitchb-mode): Mark obsolete.
11654
11655 2013-11-11 Glenn Morris <rgm@gnu.org>
11656
11657 * international/uni-bidi.el, international/uni-category.el:
11658 * international/uni-name.el, international/uni-numeric.el:
11659 Regenerate for Unicode 6.3.0.
11660
11661 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
11662
11663 * net/tramp.el (tramp-methods):
11664 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
11665 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
11666
11667 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
11668
11669 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11670 Force highlighting text after Summary keyword in doc face for rpm.
11671
11672 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
11673
11674 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
11675 available and the word has no wildcards, append one to the grep pattern.
11676 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
11677 (ispell-complete-word): Call `ispell-lookup-words' with the value
11678 independent of `ispell-look-p'.
11679
11680 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11681
11682 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
11683 Not after "||".
11684 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
11685 their parent.
11686
11687 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11688
11689 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
11690 (ruby-font-lock-keywords): Use backquote.
11691
11692 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11693
11694 * progmodes/ruby-mode.el (ruby-smie--forward-token)
11695 (ruby-smie--backward-token): Only consider full-string matches.
11696
11697 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
11698
11699 * faces.el (describe-face): Add distant-foreground.
11700
11701 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
11702
11703 * progmodes/ruby-mode.el: Improve encoding comment handling.
11704 (ruby-encoding-magic-comment-style): New option.
11705 (ruby-custom-encoding-magic-comment-template): New option.
11706 (ruby--insert-coding-comment, ruby--detect-encoding):
11707 New functions extracted from `ruby-mode-set-encoding'.
11708 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
11709 to control the style of the auto-inserted encoding comment.
11710
11711 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11712
11713 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
11714 Use `smie-backward-sexp' with token argument.
11715
11716 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
11717
11718 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11719 Remove instrumentation code.
11720
11721 2013-11-08 Glenn Morris <rgm@gnu.org>
11722
11723 * progmodes/autoconf.el (autoconf-mode):
11724 Tweak comment-start-skip. (Bug#15822)
11725
11726 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
11729 at bobp (bug#15826).
11730 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
11731
11732 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
11733
11734 * man.el (Man-start-calling): New macro, extracted from
11735 Man-getpage-in-background.
11736 (Man-getpage-in-background): Use it.
11737 (Man-update-manpage): New command.
11738 (Man-mode-map): Bind it.
11739
11740 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11741
11742 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
11743 of "and", "or", "&&" and "||".
11744 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
11745 argument. Prohibit opening curly brace because it could only be a
11746 block opener in that position.
11747 (ruby-smie--forward-token, ruby-smie--backward-token):
11748 Separate "|" from "&" or "*" going after it. That can happen in block
11749 arguments.
11750 (ruby-smie--indent-to-stmt): New function, seeks the end of
11751 previous statement or beginning of buffer.
11752 (ruby-smie-rules): Use it.
11753 (ruby-smie-rules): Check if there's a ":" before a curly block
11754 opener candidate; if there is, it's a hash.
11755
11756 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11757
11758 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
11759 (cl--block-wrapper): Fix last accidental change.
11760
11761 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
11762
11763 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11764 Instrument, in order to hunt failure on hydra.
11765
11766 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11767
11768 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
11769 malformed bindings form (bug#15814).
11770
11771 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
11772
11773 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
11774 "." compared to " @ ". This incidentally fixes some indentation
11775 examples with "do".
11776 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
11777 (ruby-smie-grammar): New tokens: "and" and "or".
11778 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
11779 Exclude "and" and "or". Remove "do" in order to work around token
11780 priorities.
11781 (ruby-smie-rules): Add all infix tokens. Handle the case of
11782 beginning-of-buffer.
11783
11784 2013-11-06 Glenn Morris <rgm@gnu.org>
11785
11786 * Makefile.in (setwins_almost, setwins_for_subdirs):
11787 Avoid accidental matches.
11788
11789 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * menu-bar.el (popup-menu): Use key-binding.
11792
11793 2013-11-06 Eli Zaretskii <eliz@gnu.org>
11794
11795 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
11796 menus, support also the menus produced by minor modes.
11797 (Bug#15817)
11798
11799 2013-11-06 Leo Liu <sdl.web@gmail.com>
11800
11801 * thingatpt.el (thing-at-point-looking-at): Add optional arg
11802 DISTANCE to bound the search. All uses changed. (Bug#15808)
11803
11804 2013-11-06 Glenn Morris <rgm@gnu.org>
11805
11806 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
11807 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
11808 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
11809
11810 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11811
11812 * electric.el (electric-indent-just-newline): New command.
11813 (electric-indent-mode-map): New keymap.
11814 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
11815 Re-add :group which weren't redundant.
11816
11817 * electric.el (electric-indent-local-mode): New minor mode.
11818 (electric-indent-functions-without-reindent): New var.
11819 (electric-indent-post-self-insert-function): Use it.
11820 * emacs-lisp/gv.el (buffer-local-value): Add setter.
11821
11822 2013-11-05 Eli Zaretskii <eliz@gnu.org>
11823
11824 * international/quail.el (quail-help): Be more explicit about the
11825 meaning of the labels shown on the keys. (Bug#15800)
11826
11827 * startup.el (normal-top-level): Load the subdirs.el files before
11828 setting the locale environment. (Bug#15805)
11829
11830 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
11833 via arguments so as to get the right ones (bug#15418).
11834
11835 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
11836
11837 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
11838
11839 Fix problems found while writing a test suite.
11840
11841 * net/tramp-compat.el (tramp-compat-load): New defun.
11842 * net/tramp.el (tramp-handle-load): Use it.
11843
11844 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
11845 "(numberp ok-if-already-exists)" correctly.
11846
11847 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
11848
11849 * international/characters.el (glyphless-char-display-control):
11850 Add usage note.
11851
11852 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
11853
11854 * progmodes/python.el (python-mode):
11855 * progmodes/scheme.el (scheme-mode):
11856 * progmodes/prolog.el (prolog-mode):
11857 * progmodes/ruby-mode.el (ruby-mode):
11858 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
11859 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
11860
11861 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11862
11863 * rect.el (rectangle--highlight-for-redisplay):
11864 * emacs-lisp/smie.el (smie--next-indent-change):
11865 Use buffer-chars-modified-tick.
11866
11867 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
11868
11869 * electric.el (electric-indent-post-self-insert-function):
11870 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
11871
11872 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
11873
11874 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
11875
11876 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11877
11878 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
11879 (bug#15786).
11880
11881 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11882
11883 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
11884
11885 * progmodes/python.el: Fix up last change.
11886 (python-shell--save-temp-file): New function.
11887 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
11888 `string' comes from the current buffer.
11889 (python-shell-send-string-no-output): Remove `msg' arg.
11890 (python--use-fake-loc): New var.
11891 (python-shell-buffer-substring): Obey it. Try to compensate for the
11892 extra coding line added by python-shell--save-temp-file.
11893 (python-shell-send-region): Use python-shell--save-temp-file and
11894 python-shell-send-file directly. Add `nomain' argument.
11895 (python-shell-send-buffer): Use python-shell-send-region.
11896 (python-electric-pair-string-delimiter): New function.
11897 (python-mode): Use it.
11898
11899 2013-11-04 Eli Zaretskii <eliz@gnu.org>
11900
11901 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
11902 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
11903 environment and decoding all of the default-directory's to here
11904 from command-line.
11905 (command-line): Decode also argv[0].
11906
11907 * loadup.el: Error out if default-directory is a multibyte string
11908 when we are dumping.
11909
11910 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
11911
11912 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
11913
11914 * emacs-lisp/package.el (package-menu-mode)
11915 (package-menu--print-info, package-menu--archive-predicate):
11916 Add Archive column to package list.
11917
11918 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
11919
11920 Fix problems found while writing a test suite.
11921
11922 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
11923 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
11924 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
11925 to nil when running original file name handler. Otherwise,
11926 there are problems with constructs like "$$FOO".
11927
11928 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
11929 for `localname'.
11930
11931 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
11932
11933 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
11934
11935 * subr.el (version<, version<=, version=):
11936 Update docstrings with information for snapshot versions.
11937
11938 * helpers.el: New library for misc helper functions.
11939 (hash-table-keys): New function returning a list of hash keys.
11940 (hash-table-values): New function returning a list of hash values.
11941
11942 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
11943
11944 * progmodes/ruby-mode.el (ruby-smie--forward-token)
11945 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
11946
11947 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
11948
11949 * textmodes/fill.el (fill-single-char-nobreak-p): New function
11950 checking whether point is after a 1-letter word.
11951
11952 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11953
11954 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
11955 Don't infloop when expanding region over `multiline' syntax-type that
11956 begins a line (bug#15778).
11957
11958 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11959
11960 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
11961 Make it into a proper minor mode.
11962 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
11963 (rectangle-mark-mode-map): New keymap.
11964 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
11965
11966 2013-11-04 Glenn Morris <rgm@gnu.org>
11967
11968 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
11969
11970 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11971
11972 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
11973 (ruby-smie-rules): Use smie-rule-parent instead.
11974
11975 * emacs-lisp/smie.el (smie-rule-parent): Always call
11976 smie-indent-virtual rather than only for hanging tokens.
11977 (smie--next-indent-change): New helper command.
11978
11979 2013-11-03 Glenn Morris <rgm@gnu.org>
11980
11981 * Makefile.in (abs_srcdir): Remove.
11982 (emacs): Unset EMACSLOADPATH.
11983
11984 2013-11-02 Glenn Morris <rgm@gnu.org>
11985
11986 * Makefile.in (EMACS): Use a relative filename.
11987 (abs_top_builddir): Remove.
11988 (custom-deps, finder-data, autoloads): Use --chdir.
11989
11990 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
11991
11992 Use relative filenames in TAGS files.
11993 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11994 (lisptagsfiles4, TAGS): Use relative file names.
11995 (TAGS-LISP): Remove.
11996 (maintainer-clean): No more TAGS-LISP file.
11997
11998 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11999 (lisptagsfiles4): Use absolute filenames again.
12000 (TAGS, TAGS-LISP): Not everything needs to run in one line.
12001 Remove all *loaddefs files, not just the first. Remove esh-groups.
12002 (maintainer-clean): Delete TAGS, TAGS-LISP.
12003
12004 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
12005
12006 * emacs-lisp/package.el (package-version-join):
12007 Recognize snapshot versions.
12008
12009 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
12010
12011 * subr.el (version-regexp-alist): Add support for snapshot versions.
12012
12013 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
12014
12015 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
12016 New function, replacement for `smie-rule-parent' for when we want to
12017 skip over our direct parent if it's an assignment token..
12018 (ruby-smie-rules): Use it.
12019
12020 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
12021
12022 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
12023 unconditionally. Remove now unnecessary forward declarations.
12024 Remove XEmacs-specific setup.
12025 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
12026 (ruby-font-lock-syntactic-keywords)
12027 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
12028 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
12029 (ruby-here-doc-end-syntax): Remove.
12030 (ruby-mode): Don't check whether `syntax-propertize-rules' is
12031 defined as function.
12032
12033 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
12034
12035 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
12036
12037 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
12038
12039 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
12040 table and abbrev table, `define-derived-mode' does that for us
12041 anyway.
12042
12043 2013-11-01 Glenn Morris <rgm@gnu.org>
12044
12045 * Makefile.in: Remove manual mh-e dependencies (writing .elc
12046 files is atomic for some time, so no parallel compilation issues).
12047
12048 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
12049
12050 * faces.el (face-x-resources): Add :distant-foreground.
12051 (region): Use :distant-foreground for gtk and ns.
12052
12053 2013-11-01 Tassilo Horn <tsdh@gnu.org>
12054
12055 Allow multiple bibliographies when BibLaTeX is used rather than
12056 BibTeX.
12057 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
12058 (reftex-locate-bibliography-files): Us it.
12059
12060 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
12061
12062 * image.el (image-type-header-regexps): Fix the 'pbm' part to
12063 allow comments in pbm files.
12064
12065 * term/w32-win.el (dynamic-library-alist): Support newer versions
12066 of libjpeg starting with v7: look only for the DLL from the
12067 version against which Emacs was built.
12068 Support versions of libpng beyond 1.4.x.
12069 Support libtiff v4.x.
12070
12071 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
12072
12073 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
12074 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
12075 Add property :safe.
12076 (ruby-deep-arglist): Add property :type.
12077
12078 2013-10-31 Glenn Morris <rgm@gnu.org>
12079
12080 * Makefile.in (custom-deps, finder-data): No need to setq the target
12081 variables, we are in the right directory and the defaults work fine.
12082
12083 2013-10-30 Glenn Morris <rgm@gnu.org>
12084
12085 * Makefile.in (autoloads): Do not use abs_lisp.
12086
12087 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12088 `newline' does not respect `standard-output', so use `princ'.
12089
12090 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
12091
12092 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
12093 * buff-menu.el (Buffer-menu--unmark): New function.
12094 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
12095
12096 2013-10-30 Glenn Morris <rgm@gnu.org>
12097
12098 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
12099
12100 * emacs-lisp/package.el (lm-homepage): Declare.
12101
12102 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
12103 Fix doc typos.
12104
12105 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
12106
12107 * Makefile.in (finder-data, autoloads, update-subdirs)
12108 (compile-main, compile-clean, compile-always, bootstrap-clean):
12109 Check return value of cd.
12110 (compile-calc): Remove.
12111
12112 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12113
12114 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
12115
12116 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
12117 (byte-compile-and-folded): New function.
12118 (=, <, >, <=, >=): Use it.
12119
12120 * dos-w32.el (minibuffer-history-case-insensitive-variables)
12121 (path-separator, null-device, buffer-file-coding-system)
12122 (lpr-headers-switches): Check system-type before modifying them.
12123 (find-buffer-file-type-coding-system): Mark obsolete.
12124 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
12125 find-file-not-found-set-buffer-file-coding-system.
12126 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
12127 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
12128 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
12129 (w32-direct-print-region-helper, w32-direct-print-region-function)
12130 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
12131 * startup.el (normal-top-level-add-subdirs-to-load-path):
12132 * ps-print.el (ps-print-region-function):
12133 * lpr.el (print-region-function): Use new name.
12134
12135 * subr.el (custom-declare-variable-early): Remove function.
12136 (custom-declare-variable-list): Remove var.
12137 (error, user-error): Remove `while' loop.
12138 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
12139 (user-emacs-directory-warning, locate-user-emacs-file):
12140 Move to files.el.
12141 * simple.el (read-quoted-char-radix, read-quoted-char):
12142 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
12143 Move from subr.el.
12144 * custom.el (custom-declare-variable-list): Don't process
12145 custom-declare-variable-list.
12146
12147 * progmodes/python.el (python-shell-get-buffer): New function.
12148 (python-shell-get-process): Use it.
12149 (python-shell-send-string): Always use utf-8 and add a cookie to tell
12150 Python which encoding was used. Don't split-string since we only care
12151 about the first line. Return the temp-file, if applicable.
12152 (python-shell-send-region): Tell compile.el how to turn locations in
12153 the temp-file into locations in the source buffer.
12154
12155 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
12156
12157 * subr.el (undefined): Add missing behavior from the C code for
12158 unbound keys.
12159
12160 * rect.el: Use lexical-binding. Add new rectangular region support.
12161 (rectangle-mark): New command.
12162 (rectangle--region): New var.
12163 (deactivate-mark-hook): Reset rectangle--region.
12164 (rectangle--extract-region, rectangle--insert-for-yank)
12165 (rectangle--highlight-for-redisplay)
12166 (rectangle--unhighlight-for-redisplay): New functions.
12167 (region-extract-function, redisplay-unhighlight-region-function)
12168 (redisplay-highlight-region-function): Use them to handle
12169 rectangular region.
12170 * simple.el (region-extract-function): New var.
12171 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
12172 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
12173 (kill-region): Replace obsolete `yank-handler' arg with `region'.
12174 (copy-region-as-kill, kill-ring-save): Add `region' argument.
12175 (redisplay-unhighlight-region-function)
12176 (redisplay-highlight-region-function): New vars.
12177 (redisplay--update-region-highlight): New function.
12178 (pre-redisplay-function): Use it.
12179 (exchange-point-and-mark): Don't deactivate the mark before
12180 reactivate-it anyway.
12181 * comint.el (comint-kill-region): Remove yank-handler argument.
12182 * delsel.el (delete-backward-char, backward-delete-char-untabify)
12183 (delete-char): Remove property, since it's now part of their
12184 default behavior.
12185 (self-insert-iso): Remove property since this command doesn't exist.
12186
12187 * emacs-lisp/package.el (package--download-one-archive)
12188 (describe-package-1): Don't query the user about final newline.
12189
12190 2013-10-29 Daniel Colascione <dancol@dancol.org>
12191
12192 * net/tramp.el (tramp-methods): Document new functionality.
12193 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
12194 tramp-hostname-checker if method provides one instead of scanning
12195 argument list for "%h" to decide hostname acceptability.
12196
12197 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
12198
12199 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12200 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12201 Handle COPY-CONTENTS. (Bug#15737)
12202
12203 2013-10-28 Daiki Ueno <ueno@gnu.org>
12204
12205 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12206 Document that this option has no effect with GnuPG 2.0 (bug#15552).
12207
12208 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
12209
12210 * image.el (defimage, image-load-path): Doc fixes.
12211
12212 2013-10-27 Alan Mackenzie <acm@muc.de>
12213
12214 Indent statements in macros following "##" correctly.
12215 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12216 Modify the "#" arm of a cond form to handle "#" and "##" operators.
12217
12218 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
12219
12220 * linum.el (linum-update-window): Fix boundary test (bug#13446).
12221
12222 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
12223
12224 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
12225 after `=' is probably a new expression.
12226
12227 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12228
12229 * man.el (man-imenu-title): New option.
12230 (Man-mode-map): Add menu. (Bug#15722)
12231 (Man-mode): Add imenu to menu.
12232
12233 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
12234
12235 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
12236 specific in what the first arg can be: a non-keyword word,
12237 string/regexp/percent literal opener, opening paren, or unary
12238 operator followed directly by word.
12239
12240 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12241
12242 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
12243 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
12244 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
12245 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
12246 Remove vars, they do not apply any more.
12247 (prolog-mode-abbrev-table): Remove redundant declaration.
12248 (prolog-upper-case-string, prolog-lower-case-string): Remove.
12249 (prolog-use-smie): Remove.
12250 (prolog-smie-rules): Add indentation rule for the if-then-else layout
12251 supported by prolog-electric-if-then-else-flag.
12252 (prolog-mode-variables, prolog-menu): Use setq-local.
12253 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
12254 Remove binding to `Backspace' since this key doesn't exist anyway.
12255 Remove bindings for electric self-inserting keys.
12256 (prog-mode): Assume it's defined.
12257 (prolog-post-self-insert): New function.
12258 (prolog-mode): Use it.
12259 (prolog-indent-line, prolog-indent-level)
12260 (prolog-find-indent-of-matching-paren)
12261 (prolog-indentation-level-of-line, prolog-goto-comment-column)
12262 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
12263 (prolog-goto-next-paren, prolog-in-string-or-comment)
12264 (prolog-tokenize, prolog-inside-mline-comment)
12265 (prolog-find-start-of-mline-comment): Remove functions.
12266 (prolog-find-unmatched-paren, prolog-clause-end)
12267 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
12268 (prolog-electric--if-then-else): Rename from
12269 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
12270 (prolog-tokenize-searchkey): Remove const.
12271 (prolog-clause-info): Use forward-sexp.
12272 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
12273 (prolog-electric-if-then-else): Remove commands.
12274 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
12275 for use in post-self-insert-hook.
12276 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
12277 for use in post-self-insert-hook.
12278 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
12279 for use in post-self-insert-hook.
12280 (prolog-electric--underscore): Rename from prolog-electric--underscore;
12281 adapt it for use in post-self-insert-hook.
12282
12283 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
12284
12285 * emacs-lisp/ert.el (ert-run-tests-interactively):
12286 Use `completing-read'. (Bug#9756)
12287
12288 2013-10-25 Eli Zaretskii <eliz@gnu.org>
12289
12290 * simple.el (line-move): Call line-move-1 instead of
12291 line-move-visual when the current window hscroll is zero, but
12292 temporary-goal-column indicates we will need to hscroll as result
12293 of the movement. (Bug#15712)
12294
12295 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
12296
12297 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
12298 capitalization. Use :visible instead of :active.
12299 Fix `ruby-indent-exp' reference. Add menu items for the generic
12300 commands that are used with SMIE.
12301 (ruby-do-end-to-brace): Insert space after `{'.
12302
12303 2013-10-25 John Anthony <john@jo.hnanthony.com>
12304
12305 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
12306
12307 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
12308
12309 2013-10-25 Glenn Morris <rgm@gnu.org>
12310
12311 * vc/vc.el (vc-print-log): Don't use a working revision unless
12312 one was explicitly specified. (Bug#15322)
12313
12314 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12315
12316 * subr.el (add-to-list): Preserve return value in compiler-macro
12317 (bug#15692).
12318
12319 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12320
12321 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
12322 result. Ask user to retry using '-all' flag. (Bug#15701)
12323
12324 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12325
12326 * emacs-lisp/smie.el: New smie-config system.
12327 (smie-config): New defcustom.
12328 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
12329 (smie-config-guess, smie-config-save): New commands.
12330 (smie-config--mode-local, smie-config--buffer-local)
12331 (smie-config--trace, smie-config--modefuns): New vars.
12332 (smie-config--advice, smie-config--mode-hook)
12333 (smie-config--setter, smie-config-local, smie-config--get-trace)
12334 (smie-config--guess-value, smie-config--guess): New functions.
12335 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
12336 text properties. Treat "string fence" syntax like string syntax.
12337
12338 * progmodes/sh-script.el (sh-use-smie): Change default.
12339 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
12340 (sh-var-value): Simplify by CSE.
12341 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
12342 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
12343 is used.
12344 (sh-guess-basic-offset): Use cl-incf.
12345 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
12346
12347 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
12348
12349 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
12350 (bug#15699).
12351
12352 2013-10-24 Glenn Morris <rgm@gnu.org>
12353
12354 * Makefile.in (abs_top_srcdir): Remove.
12355 (update-subdirs): Use relative path to update-subdirs.
12356
12357 2013-10-24 Eli Zaretskii <eliz@gnu.org>
12358
12359 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
12360 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
12361 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
12362 Call unmsys--file-name before expand-file-name, not after it.
12363
12364 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
12365
12366 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
12367 (ert-test-skipped): New error.
12368 (ert-skip, ert-stats-skipped): New defuns.
12369 (ert--skip-unless): New macro.
12370 (ert-test-skipped): New struct.
12371 (ert--run-test-debugger, ert-test-result-type-p)
12372 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
12373 (ert--stats-set-test-and-result, ert-char-for-test-result)
12374 (ert-string-for-test-result, ert-run-tests-batch)
12375 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
12376 Handle skipped tests. (Bug#9803)
12377
12378 2013-10-24 Glenn Morris <rgm@gnu.org>
12379
12380 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
12381
12382 * Makefile.in (abs_top_srcdir): New, set by configure.
12383 (update-subdirs): Correct build-aux location.
12384
12385 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
12386
12387 * vc/vc.el (vc-print-root-log): Always set `default-directory'
12388 value, whether we could auto-deduce `backend', or not.
12389
12390 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
12391 with parameters" example. Simplify the "is it block or is it
12392 hash" check, but also make it more thorough.
12393
12394 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
12395
12396 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
12397
12398 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12399
12400 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
12401 { if it is hanging.
12402
12403 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
12404 :before ";".
12405
12406 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
12407
12408 * progmodes/compile.el (compilation-directory-matcher)
12409 (compilation-page-delimiter):
12410 Support GNU Make-4.0 directory quoting. (Bug#15678)
12411
12412 2013-10-23 Leo Liu <sdl.web@gmail.com>
12413
12414 * ido.el (ido-tidy): Handle read-only text.
12415
12416 2013-10-23 Glenn Morris <rgm@gnu.org>
12417
12418 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
12419 (emacs, compile, compile-always):
12420 Quote entities that might contain whitespace.
12421 (custom-deps, finder-data, autoloads): Use abs_lisp.
12422 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12423 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12424 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
12425
12426 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
12427
12428 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
12429 Use `following-char'.
12430
12431 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12432
12433 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
12434 * progmodes/ruby-mode.el (ruby-smie-rules):
12435 Remove corresponding workaround. Fix indentation rule of ";" so it
12436 also applies when ";" is the parent.
12437
12438 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
12439
12440 * frame.el (display-screens, display-pixel-height)
12441 (display-pixel-width, display-mm-width, display-backing-store)
12442 (display-save-under, display-planes, display-color-cells)
12443 (display-visual-class, display-monitor-attributes-list):
12444 Mention the optional ‘display’ argument in doc strings.
12445
12446 2013-10-22 Michael Gauland <mikelygee@amuri.net>
12447
12448 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
12449 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
12450
12451 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12452
12453 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
12454 TODO. Add "." after " @ ".
12455 (ruby-smie--at-dot-call): New function. Checks if point at method
12456 call with explicit target.
12457 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
12458 to the method name tokens when it precedes them.
12459 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
12460 (ruby-smie-rules): Add rule for indentation before and after "."
12461 token.
12462
12463 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12464
12465 * textmodes/remember.el (remember-diary-extract-entries):
12466 Avoid add-to-list.
12467
12468 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
12469 an instruction.
12470
12471 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12472
12473 * progmodes/ruby-mode.el (ruby-smie-grammar):
12474 Add (almost) all infix operators.
12475 (ruby-smie--implicit-semi-p): Add new operator chars.
12476
12477 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
12478 `smie-down-list'.
12479 (ruby-smie--args-separator-p): Check that there's no newline
12480 between method call and its arguments.
12481
12482 2013-10-20 Alan Mackenzie <acm@muc.de>
12483
12484 Allow comma separated lists after Java "implements".
12485
12486 * progmodes/cc-engine.el (c-backward-over-enum-header):
12487 Parse commas.
12488 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
12489 from a "disallowed" list in enum fontification.
12490
12491 2013-10-20 Johan Bockgård <bojohan@gnu.org>
12492
12493 * startup.el (default-frame-background-mode): Remove unused defvar.
12494
12495 * progmodes/verilog-mode.el (verilog-mode): Don't set
12496 comment-indent-function globally.
12497
12498 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
12499
12500 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
12501 Move Info menu item creation to ns-win.el.
12502
12503 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
12504 in menu bar.
12505
12506 * menu-bar.el: Move GNUstep specific menus...
12507
12508 * term/ns-win.el (ns-initialize-window-system): ... to here.
12509
12510 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * simple.el (newline): Only run post-self-insert-hook when
12513 called interactively.
12514
12515 2013-10-19 Johan Bockgård <bojohan@gnu.org>
12516
12517 * icomplete.el (icomplete-with-completion-tables): Add :version.
12518
12519 2013-10-19 Alan Mackenzie <acm@muc.de>
12520
12521 Fix fontification bugs with constructors and const.
12522
12523 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
12524 CASE 2) Remove the check for the absence of a suffix construct
12525 after a function declaration with only types (no identifiers) in
12526 the parentheses. Also, accept a function declaration with just a
12527 type inside the parentheses, if this type can be positively
12528 recognised as such, or if a prefix keyword like "explicit" nails
12529 down the construct as a declaration.
12530
12531 2013-10-19 Eli Zaretskii <eliz@gnu.org>
12532
12533 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
12534 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
12535 the problem whereby selecting a menu item that leads to a
12536 minibuffer prompt moves the cursor out of the minibuffer window,
12537 making it hard to type at the prompt. Suggested by Stefan Monnier
12538 <monnier@iro.umontreal.ca>.
12539
12540 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
12541
12542 * menu-bar.el: Don't make Services menu.
12543
12544 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12545
12546 * ffap.el: Handle "/usr/include/c++/<version>" directories.
12547 (ffap-alist): Use ffap-c++-mode for c++-mode.
12548 (ffap-c++-path): New variable.
12549 (ffap-c++-mode): New function.
12550
12551 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
12552
12553 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
12554
12555 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
12556
12557 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
12558 introduced on 2013-09-08, which results in an infinite loop
12559 requesting a password.
12560
12561 2013-10-18 Glenn Morris <rgm@gnu.org>
12562
12563 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
12564
12565 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
12566
12567 Sync with upstream verilog-mode revision 1a6ecec7.
12568 * progmodes/verilog-mode.el (verilog-mode-version): Update.
12569 (verilog-mode-release-date): Remove.
12570 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
12571 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
12572 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
12573 (verilog-auto-tieoff-ignore-regexp)
12574 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
12575 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
12576 (verilog-signals-with, verilog-dir-cache-preserving)
12577 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
12578 Doc fixes.
12579 (verilog-case-fold): New option, to control case folding in
12580 regexp searches, bug597.
12581 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
12582 (verilog-string-match-fold, verilog-in-paren-count)
12583 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
12584 (verilog-at-close-struct-p): New functions.
12585 (verilog-beg-block-re-ordered, verilog-extended-case-re)
12586 (verilog-forward-sexp, verilog-set-auto-endcomments)
12587 (verilog-leap-to-case-head): Handle "unique0" case.
12588 (verilog-in-constraint-re): New constant.
12589 (verilog-keywords, verilog-type-font-keywords):
12590 Add some SystemVerilog 1800-2012 keywords.
12591 (verilog-label-be): Remove unimplemented argument, bug669.
12592 (verilog-batch-execute-func): When batch expanding clear
12593 create-lockfiles to prevent spurious user locks when a file ends
12594 up not changing.
12595 (verilog-calculate-indent, verilog-calc-1)
12596 (verilog-at-close-constraint-p, verilog-at-constraint-p)
12597 (verilog-do-indent): Fix indentation of nested constraints
12598 and structures.
12599 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
12600 (verilog-auto-inst-param): Use verilog-string-match-fold.
12601 (verilog-read-inst-module-matcher):
12602 Fix AUTOINST on gate primitives with #1.
12603 (verilog-read-decls): Fix double-declaring user-defined typed signals.
12604 Reads all user-defined typed variables.
12605 (verilog-read-defines): Fix reading definitions inside comments, bug647.
12606 (verilog-signals-matching-regexp)
12607 (verilog-signals-not-matching-regexp, verilog-auto):
12608 Respect verilog-case-fold.
12609 (verilog-diff-report): Fix line count.
12610 (verilog-auto-assign-modport): Remove unused local `modi'.
12611 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
12612 better handle multidimensional arrays.
12613 Fix packed array ports misadding bit index in AUTOINST, bug637.
12614 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
12615 to not double-declare existing outputs and inputs, respectively.
12616 (verilog-template-map): Bind U to verilog-sk-uvm-component.
12617 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
12618 (verilog-sk-uvm-component): New skeleton.
12619 (verilog-submit-bug-report): Add verilog-case-fold,
12620 remove verilog-mode-release-date.
12621
12622 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
12623
12624 * subr.el (sit-for): Call (input-pending-p t) so as to behave
12625 as before.
12626
12627 2013-10-18 Reuben Thomas <rrt@sc3d.org>
12628
12629 * textmodes/remember.el (remember): Set buffer-offer-save in
12630 remember buffers (bug#13566).
12631
12632 2013-10-18 Daniel Colascione <dancol@dancol.org>
12633
12634 When evaluating forms in ielm, direct standard output to ielm
12635 buffer. Add new ielm-return-for-effect command. Remove trailing
12636 whitespace throughout.
12637
12638 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
12639 (ielm-return-for-effect): New command.
12640 (ielm-send-input): Accept optional `for-effect' parameter.
12641 (ielm-eval-input): Accept optional `for-effect' parameter.
12642 Bind `standard-output' to stream we create using
12643 `ielm-standard-output-impl'. Suppress printing result when
12644 `for-effect'.
12645 (ielm-standard-output-impl): New function.
12646 (inferior-emacs-lisp-mode): Explain new features in documentation.
12647
12648 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
12649
12650 Code cleanup.
12651
12652 * net/tramp.el (tramp-debug-message): Do not check for connection
12653 buffer.
12654 (tramp-message): Use "vector" connection property.
12655
12656 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
12657 (tramp-equal-remote, tramp-eshell-directory-change)
12658 * net/tramp-adb.el (tramp-adb-handle-copy-file)
12659 (tramp-adb-handle-rename-file)
12660 * net/tramp-cmds.el (tramp-list-remote-buffers)
12661 (tramp-cleanup-connection, tramp-cleanup-this-connection)
12662 * net/tramp-compat.el (tramp-compat-process-running-p)
12663 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
12664 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
12665 (tramp-gvfs-handle-rename-file)
12666 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12667 (tramp-set-file-uid-gid)
12668 * net/tramp-smb.el (tramp-smb-handle-copy-file)
12669 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
12670 of `file-remote-p'.
12671
12672 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
12673 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12674 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
12675 (tramp-gw-open-network-stream): Suppress unrelated traces.
12676
12677 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
12678 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12679 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12680 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
12681 connection property.
12682
12683 * net/tramp-cache.el (top): Suppress traces when reading
12684 persistency file.
12685
12686 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12687 Refactor common code. Improve debug message.
12688 (tramp-maybe-open-connection)
12689 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
12690 connection buffer too early.
12691
12692 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
12693 from `tramp-smb-actions-with-acl'.
12694 (tramp-smb-actions-set-acl): New defconst.
12695 (tramp-smb-handle-copy-directory)
12696 (tramp-smb-action-get-acl): New defun, renamed from
12697 `tramp-smb-action-with-acl'.
12698 (tramp-smb-action-set-acl): New defun.
12699 (tramp-smb-handle-set-file-acl): Rewrite.
12700
12701 2013-10-17 Glenn Morris <rgm@gnu.org>
12702
12703 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
12704
12705 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12706
12707 * skeleton.el (skeleton-newline): Remove.
12708 (skeleton-internal-1): Use (insert "\n") instead.
12709
12710 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
12711 let-bindings.
12712
12713 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
12714 forward-sexp-function while we redo its job (bug#15613).
12715
12716 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
12717
12718 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
12719 represented by lists.
12720
12721 2013-10-16 Glenn Morris <rgm@gnu.org>
12722
12723 * tmm.el (tmm--history): New dynamic variable.
12724 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
12725
12726 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
12727
12728 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
12729 (tramp-smb-errors): Add error messages.
12730 (tramp-smb-actions-with-acl): New defconst.
12731 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
12732 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
12733 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
12734 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
12735 (tramp-smb-get-stat-capability): Fix tests.
12736
12737 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
12738
12739 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
12740 (bug#15580).
12741
12742 2013-10-16 Glenn Morris <rgm@gnu.org>
12743
12744 * ansi-color.el (ansi-color-drop-regexp):
12745 Add 1J, 1K, 2K. (Bug#15617)
12746
12747 * files.el (hack-local-variables--warned-lexical): New.
12748 (hack-local-variables):
12749 Warn about misplaced lexical-binding. (Bug#15616)
12750
12751 * net/eww.el (eww-render): Always set eww-current-url,
12752 and update header line. (Bug#15622)
12753 (eww-display-html): ... Rather than just doing it here.
12754
12755 2013-10-15 Eli Zaretskii <eliz@gnu.org>
12756
12757 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
12758 menu navigations commands.
12759
12760 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
12761
12762 * progmodes/subword.el (subword-capitalize): Be careful when
12763 the search for [[:alpha:]] fails (bug#15580).
12764
12765 2013-10-14 Eli Zaretskii <eliz@gnu.org>
12766
12767 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
12768 to commands that scroll the menu.
12769
12770 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
12771
12772 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
12773 Handle methods ending with `?' and `!'.
12774
12775 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
12776
12777 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
12778 `japanese-cp932' to `cp932' to fix the problem where saving a
12779 source file written in Shift_JIS twice would end up having
12780 `coding: japanese-cp932' which Ruby could not recognize.
12781 (ruby-mode-set-encoding): Add support for encodings mapped to nil
12782 in `ruby-encoding-map'.
12783 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
12784 doesn't need to be explicitly declared in magic comment.
12785 (ruby-encoding-map): Add type declaration for better customize UI.
12786
12787 2013-10-13 Glenn Morris <rgm@gnu.org>
12788
12789 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
12790 Occur buffers are read-only. http://bugs.debian.org/720775
12791
12792 * emacs-lisp/authors.el (authors-fixed-entries):
12793 Comment out old alpha stuff.
12794
12795 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
12796
12797 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
12798 to `after-save-hook' instead of `before-save-hook'.
12799 (ruby-mode-set-encoding): Use the value of coding system used to
12800 write the file. Call `basic-save-buffer-1' after modifying the
12801 buffer.
12802
12803 2013-10-13 Alan Mackenzie <acm@muc.de>
12804
12805 Fix indentation/fontification of Java enum with
12806 "implements"/generic.
12807
12808 * progmodes/cc-engine.el (c-backward-over-enum-header):
12809 Extracted from the three other places and enhanced to handle generics.
12810 (c-inside-bracelist-p): Uses new function above.
12811 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
12812 function above.
12813 (c-font-lock-enum-tail): Uses new function above.
12814
12815 2013-10-13 Kenichi Handa <handa@gnu.org>
12816
12817 * international/mule-cmds.el (select-safe-coding-system): Remove a
12818 superfluous condition in chekcing whether a coding system is safe
12819 or not.
12820
12821 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
12822
12823 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
12824
12825 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
12826
12827 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
12828
12829 2013-10-13 Glenn Morris <rgm@gnu.org>
12830
12831 * menu-bar.el (menu-bar-update-buffers):
12832 Unify Buffers menu prompt string. (Bug#15576)
12833
12834 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
12835
12836 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
12837 Add some entries.
12838 (authors-fixed-entries): Use accented form of name.
12839
12840 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12841
12842 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
12843 method calls (bug#15594).
12844 (ruby-smie--args-separator-p): New function.
12845 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
12846 recognize paren-free method calls.
12847
12848 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
12849 internals of universal-argument.
12850
12851 2013-10-11 Eli Zaretskii <eliz@gnu.org>
12852
12853 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
12854 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
12855 dropped menu on second mouse click on the menu bar.
12856
12857 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12858
12859 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
12860 (explicit-shell-file-name): Declare.
12861 (sh--vars-before-point, sh--cmd-completion-table): New functions.
12862 (sh-completion-at-point-function): New function.
12863 (sh-mode): Use it.
12864 (sh-smie--keyword-p): Remove unused argument.
12865 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
12866 vars.
12867 (sh-set-shell): Always setup SMIE, even if we use the
12868 old indentation code.
12869
12870 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
12871
12872 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
12873 cases of ? and =.
12874 (ruby-smie-rules): Simplify the "do" rule. The cases when the
12875 predicate would return nil are almost non-existent.
12876 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
12877
12878 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
12879 cache also after commands that modify the buffer but don't move
12880 point.
12881
12882 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
12883
12884 * env.el (substitute-env-in-file-name): New function.
12885 (substitute-env-vars): Extend the meaning of the optional arg.
12886
12887 2013-10-10 Eli Zaretskii <eliz@gnu.org>
12888
12889 * term/w32-win.el (dynamic-library-alist): Define separate lists
12890 of GIF DLLs for versions before and after 5.0.0 of giflib.
12891 (Bug#15531)
12892
12893 2013-10-10 João Távora <joaotavora@gmail.com>
12894
12895 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
12896 not locked, use last revision and current source as
12897 defaults. (Bug#15569)
12898
12899 2013-10-10 Masatake YAMATO <yamato@redhat.com>
12900
12901 * menu-bar.el (menu-bar-open): Don't use popup-menu if
12902 menu-bar is hidden.
12903
12904 2013-10-10 Martin Rudalics <rudalics@gmx.at>
12905
12906 * window.el (pop-to-buffer-same-window): Fix doc-string.
12907 (Bug#15492)
12908
12909 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
12910
12911 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
12912
12913 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
12914
12915 * calendar/icalendar.el (icalendar-import-file):
12916 Fix interactive spec. (Bug#15482)
12917
12918 2013-10-10 Glenn Morris <rgm@gnu.org>
12919
12920 * desktop.el (desktop-save): Default to saving in .emacs.d,
12921 since PWD is no longer in desktop-path by default. (Bug#15319)
12922
12923 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
12924 now that text mode has a menu with the same entry.
12925 (menu-bar-text-mode-auto-fill): Remove now unused func.
12926 * textmodes/text-mode.el (text-mode-map):
12927 Use auto-fill help text from menu-bar.el.
12928
12929 2013-10-10 John Anthony <john@jo.hnanthony.com>
12930
12931 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
12932
12933 2013-10-09 Juri Linkov <juri@jurta.org>
12934
12935 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
12936 instead of this-command-keys. Add universal-argument-more and
12937 universal-argument-minus to the list of prefix commands. (Bug#15568)
12938
12939 2013-10-09 Glenn Morris <rgm@gnu.org>
12940
12941 * vc/vc-svn.el (vc-svn-create-repo):
12942 Expand paths in file://... url. (Bug#15446)
12943
12944 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
12945 Add some entries.
12946 (authors): Remove unused local variables.
12947
12948 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * profiler.el: Create a more coherent calltree from partial backtraces.
12951 (profiler-format): Hide the tail with `invisible' so that C-s can still
12952 find the hidden elements.
12953 (profiler-calltree-depth): Don't recurse so enthusiastically.
12954 (profiler-function-equal): New hash-table-test.
12955 (profiler-calltree-build-unified): New function.
12956 (profiler-calltree-build): Use it.
12957 (profiler-report-make-name-part): Indent the calltree less.
12958 (profiler-report-mode): Add visibility specs for profiler-format.
12959 (profiler-report-expand-entry, profiler-report-toggle-entry):
12960 Expand the whole subtree when provided with a prefix arg.
12961
12962 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
12963
12964 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
12965 iuwu-mod token.
12966 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
12967 hanging iuwu-mod token.
12968 (ruby-smie--forward-token): Do not include a dot after a token in
12969 that token.
12970 (ruby-smie--backward-token): Likewise.
12971
12972 2013-10-08 Juri Linkov <juri@jurta.org>
12973
12974 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
12975 to isearch-other-control-char.
12976 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
12977 and isearch-post-command-hook to post-command-hook.
12978 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
12979 and isearch-post-command-hook from post-command-hook.
12980 (isearch-unread-key-sequence)
12981 (isearch-reread-key-sequence-naturally)
12982 (isearch-lookup-scroll-key, isearch-other-control-char)
12983 (isearch-other-meta-char): Remove functions.
12984 (isearch-pre-command-hook, isearch-post-command-hook):
12985 New functions based on isearch-other-meta-char rewritten
12986 relying on the new behavior of overriding-terminal-local-map
12987 that does not replace the local keymaps any more. (Bug#15200)
12988
12989 2013-10-08 Eli Zaretskii <eliz@gnu.org>
12990
12991 Support menus on text-mode terminals.
12992 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
12993 functionality.
12994
12995 * tooltip.el (tooltip-mode): Don't error out on TTYs.
12996
12997 * menu-bar.el (popup-menu, popup-menu-normalize-position):
12998 Move here from mouse.el.
12999 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
13000 and arrow keys.
13001 (tty-menu-navigation-map): New map for TTY menu navigation.
13002
13003 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
13004
13005 * frame.el (display-mouse-p): Report text-mode mouse as available
13006 on w32.
13007 (display-popup-menus-p): Report availability if mouse is
13008 available; don't condition on window-system.
13009
13010 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
13011 (tty-menu-selected-face): New faces.
13012
13013 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
13016 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
13017 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
13018 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
13019 New constants.
13020 (lisp-mode-variables): New `elisp' argument.
13021 (emacs-lisp-mode): Use it.
13022 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
13023 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
13024
13025 * indent.el: Use lexical-binding.
13026 (indent-region): Add progress reporter.
13027 (tab-stop-list): Make it implicitly extend to infinity by repeating the
13028 last step.
13029 (indent--next-tab-stop): New function to implement this behavior.
13030 (tab-to-tab-stop, move-to-tab-stop): Use it.
13031
13032 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
13033
13034 * indent.el (indent-rigidly--current-indentation): New function.
13035 (indent-rigidly-map): New var.
13036 (indent-rigidly): Use it to provide interactive mode (bug#8196).
13037
13038 2013-10-08 Bastien Guerry <bzg@gnu.org>
13039
13040 * register.el (insert-register): Fix 2013-10-07 change.
13041
13042 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
13043
13044 * progmodes/perl-mode.el: Use lexical-binding.
13045 Remove redundant :group args.
13046 (perl-nochange): Change default to be closer to other major modes's
13047 standard behavior.
13048 (perl-indent-line): Don't consider text on current line as a
13049 valid beginning of function from which to indent.
13050
13051 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
13052 with more than one argument (bug#15538).
13053
13054 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
13055
13056 * vc/pcvs.el: Use lexical-binding.
13057 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
13058 environment of `eval'.
13059 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
13060 than a list of expressions. Adjust callers.
13061 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
13062
13063 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
13064
13065 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
13066 case of the dot in a chained method call being on the following line.
13067
13068 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13069
13070 * electric.el (electric-indent-inhibit): New var.
13071 (electric-indent-post-self-insert-function): Use it.
13072 * progmodes/python.el (python-mode): Set it.
13073
13074 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
13075 open braces.
13076
13077 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
13078
13079 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
13080 (css-mode): Use electric-indent-chars.
13081
13082 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
13083 (font-lock-beg, font-lock-end): Move before first use.
13084 (nxml-mode): Use syntax-propertize-function.
13085 (nxml-after-change, nxml-after-change1): Adjust accordingly.
13086 (nxml-extend-after-change-region): Remove.
13087 * nxml/xmltok.el: Use lexical-binding.
13088 (xmltok-save): Use `declare'.
13089 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
13090 * nxml/nxml-util.el: Use lexical-binding.
13091 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
13092 Use `declare'.
13093 * nxml/nxml-ns.el: Use lexical-binding.
13094 (nxml-ns-save): Use `declare'.
13095 (nxml-ns-prefixes-for): Avoid add-to-list.
13096 * nxml/rng-match.el: Use lexical-binding.
13097 (rng--ipattern): Use cl-defstruct.
13098 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
13099 (rng-cons-group-after, rng-subst-group-after)
13100 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
13101 Use closures instead of `(lambda...).
13102
13103 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
13104
13105 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
13106 of BEG and END.
13107
13108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13109 Use `tramp-handle-insert-file-contents'.
13110 (tramp-gvfs-handle-insert-file-contents): Remove function.
13111
13112 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13113 Use `save-restriction' in order to keep markers.
13114
13115 * net/trampver.el: Update release number.
13116
13117 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13118
13119 * progmodes/compile.el (compilation-parse-errors):
13120 Use compilation--put-prop.
13121 (compilation--ensure-parse): Check compilation-multiline.
13122
13123 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
13124
13125 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
13126 lexical-binding.
13127
13128 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
13129
13130 * progmodes/ruby-mode.el: Fix recently added tests.
13131 (ruby-smie-grammar): Add - and +.
13132 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
13133 (ruby-smie--backward-id): New functions.
13134 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
13135 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
13136 any more.
13137
13138 2013-10-07 Leo Liu <sdl.web@gmail.com>
13139
13140 * register.el (register-preview-delay)
13141 (register-preview-functions): New variables.
13142 (register-read-with-preview, register-preview)
13143 (register-describe-oneline): New functions.
13144 (point-to-register, window-configuration-to-register)
13145 (frame-configuration-to-register, jump-to-register)
13146 (number-to-register, view-register, insert-register)
13147 (copy-to-register, append-to-register, prepend-to-register)
13148 (copy-rectangle-to-register): Use register-read-with-preview to
13149 read register. (Bug#15525)
13150
13151 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
13152
13153 * net/network-stream.el (network-stream-open-starttls): Don't add
13154 --insecure if it's already present, because that gnutls-cli
13155 rejects getting that parameter twice.
13156
13157 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
13158
13159 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
13160 keyword, too.
13161
13162 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
13163
13164 * newcomment.el (comment-use-global-state): Change default value
13165 to t, mark obsolete (Bug#15251).
13166 (comment-beginning): In addition to `comment-to-syntax', check the
13167 value of `comment-use-global-state'.
13168
13169 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13170
13171 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
13172 (ruby-comment-column): Follow the global default, by default.
13173 (ruby-smie-grammar): Add assignment syntax.
13174 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
13175 open-paren, a comma, or a \.
13176 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
13177 and line continuations.
13178 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
13179 followed by implicit semi-colons. Add rule for string concatenation
13180 and for indentation at BOB.
13181 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
13182
13183 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
13184 calling next-sexp, since next-token may have skipped chars which
13185 next-sexp doesn't know should be skipped!
13186
13187 2013-10-05 Leo Liu <sdl.web@gmail.com>
13188
13189 * progmodes/octave.el (octave-send-region):
13190 Call compilation-forget-errors.
13191
13192 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
13193
13194 * vc/vc-svn.el (vc-svn-find-admin-dir):
13195 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
13196 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
13197 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
13198 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
13199
13200 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
13201
13202 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
13203
13204 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * subr.el (read-passwd): Hide chars even when called within a context
13207 where after-change-functions is disabled (bug#15501).
13208 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
13209 until we removed ourself from overriding-terminal-local-map.
13210
13211 2013-10-04 Leo Liu <sdl.web@gmail.com>
13212
13213 * progmodes/octave.el (inferior-octave-mode):
13214 Call compilation-forget-errors.
13215
13216 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
13217
13218 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
13219
13220 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
13221
13222 * net/secrets.el (secrets-create-collection): Add optional
13223 argument ALIAS. Use proper Label keyword. Append ALIAS as
13224 dbus-call-method argument. (Bug#15516)
13225
13226 2013-10-04 Leo Liu <sdl.web@gmail.com>
13227
13228 * progmodes/octave.el (inferior-octave-error-regexp-alist)
13229 (inferior-octave-compilation-font-lock-keywords): New variables.
13230 (compilation-error-regexp-alist)
13231 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
13232 (inferior-octave-mode): Use compilation-shell-minor-mode.
13233
13234 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
13235
13236 * minibuffer.el (completion--replace): Be careful that `end' might be
13237 a marker.
13238
13239 2013-10-03 Daiki Ueno <ueno@gnu.org>
13240
13241 Add support for package signature checking.
13242 * emacs-lisp/package.el (url-http-file-exists-p)
13243 (epg-make-context, epg-context-set-home-directory)
13244 (epg-verify-string, epg-context-result-for)
13245 (epg-signature-status, epg-signature-to-string)
13246 (epg-check-configuration, epg-configuration)
13247 (epg-import-keys-from-file): Declare.
13248 (package-check-signature): New user option.
13249 (package-unsigned-archives): New user option.
13250 (package-desc): Add `signed' field.
13251 (package-load-descriptor): Set `signed' field if .signed file exists.
13252 (package--archive-file-exists-p): New function.
13253 (package--check-signature): New function.
13254 (package-install-from-archive): Check package signature.
13255 (package--download-one-archive): Check archive signature.
13256 (package-delete): Remove .signed file.
13257 (package-import-keyring): New command.
13258 (package-refresh-contents): Import default keyring.
13259 (package-desc-status): Add "unsigned" status.
13260 (describe-package-1, package-menu--print-info)
13261 (package-menu-mark-delete, package-menu--find-upgrades)
13262 (package-menu--status-predicate): Support "unsigned" status.
13263
13264 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13265
13266 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
13267 the new compilation scheme using the new byte-codes.
13268
13269 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
13270 (byte-pophandler): New byte codes.
13271 (byte-goto-ops): Adjust accordingly.
13272 (byte-compile--use-old-handlers): New var.
13273 (byte-compile-catch): Use new byte codes depending on
13274 byte-compile--use-old-handlers.
13275 (byte-compile-condition-case--old): Rename from
13276 byte-compile-condition-case.
13277 (byte-compile-condition-case--new): New function.
13278 (byte-compile-condition-case): New function that dispatches depending
13279 on byte-compile--use-old-handlers.
13280 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
13281 when we can.
13282
13283 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
13284 Optimize under `condition-case' and `catch' if
13285 byte-compile--use-old-handlers is nil.
13286 (disassemble-offset): Handle new bytecodes.
13287
13288 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13289
13290 * subr.el (error): Use `declare'.
13291 (decode-char, encode-char): Use advertised-calling-convention instead
13292 of the docstring to discourage use of the `restriction' arg.
13293
13294 2013-10-03 Daiki Ueno <ueno@gnu.org>
13295
13296 * epg.el (epg-verify-file): Add a comment saying that it does not
13297 notify verification error as a return value nor a signal.
13298 (epg-verify-string): Ditto.
13299
13300 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
13301
13302 * progmodes/compile.el (compilation-start): Try globbing the arg to
13303 `cd' (bug#15417).
13304
13305 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
13306
13307 Sync with Tramp 2.2.8.
13308
13309 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
13310 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
13311 * net/trampver.el: Update release number.
13312
13313 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
13314
13315 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13316 and default-process-coding-system for darwin only.
13317
13318 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13319
13320 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
13321
13322 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
13323
13324 * vc/vc-git.el (vc-git-grep): Disable pager.
13325
13326 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
13327
13328 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
13329 Use :url instead of :homepage, as per
13330 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
13331
13332 * newcomment.el (comment-beginning): When `comment-use-syntax' is
13333 non-nil, use `syntax-ppss' (Bug#15251).
13334
13335 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13336
13337 * progmodes/octave.el (inferior-octave-startup-file):
13338 Prefer ~/.emacs.d/init_octave.m.
13339
13340 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
13341
13342 * emacs-lisp/package.el (package-desc-from-define):
13343 Accept additional arguments as plist, convert them to an alist and store
13344 them in the `extras' slot.
13345 (package-generate-description-file): Convert extras alist back to
13346 plist and append to the `define-package' form arguments.
13347 (package--alist-to-plist): New function.
13348 (package--ac-desc): Add `extras' slot.
13349 (package--add-to-archive-contents): Check if the archive-contents
13350 vector is long enough, and if it is, pass its `extras' slot value
13351 to `package-desc-create'.
13352 (package-buffer-info): Call `lm-homepage', pass the returned value
13353 to `package-desc-from-define'.
13354 (describe-package-1): Render the homepage button (Bug#13291).
13355
13356 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13357 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
13358
13359 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
13360
13361 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13362 and default-process-coding-system to utf-8-unix (Bug#15402).
13363
13364 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
13365
13366 * subr.el (looking-back): Do not recommend using looking-back.
13367
13368 2013-09-28 Alan Mackenzie <acm@muc.de>
13369
13370 Fix indentation/fontification of Java enum with "implements".
13371
13372 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
13373 regexp which matches "implements", etc., in Java.
13374 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
13375 specifier clauses coming after "enum".
13376 * progmodes/cc-fonts.el (c-font-lock-declarations)
13377 (c-font-lock-enum-tail): Check for extra specifier clauses coming
13378 after "enum".
13379
13380 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
13381
13382 * faces.el (region): Change ns_selection_color to
13383 ns_selection_fg_color, add ns_selection_bg_color.
13384
13385 2013-09-28 Leo Liu <sdl.web@gmail.com>
13386
13387 * progmodes/octave.el (inferior-octave-completion-table)
13388 (inferior-octave-completion-at-point): Minor tweaks.
13389
13390 * textmodes/ispell.el (ispell-lookup-words): Rename from
13391 lookup-words. (Bug#15460)
13392 (lookup-words): Obsolete.
13393 (ispell-complete-word, ispell-command-loop): All uses changed.
13394
13395 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13396
13397 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
13398 (octave-mode-menu): Add octave-send-buffer.
13399 (octave-send-buffer): New function.
13400
13401 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13402
13403 * progmodes/octave.el (octave-mode-map): Add key binding for
13404 octave-lookfor.
13405 (octave-mode-menu): Add octave-lookfor.
13406 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
13407 octave-lookfor.
13408 (octave-lookfor): New function.
13409
13410 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13411
13412 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
13413 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
13414 its convention.
13415 (cl--loop-set-iterator-function): New function.
13416 (cl-loop): Adjust accordingly, so as not to use cl-subst.
13417 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
13418 Bind `it' with `let' instead of substituting it with `cl-subst'.
13419 (cl--unused-var-p): New function.
13420 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
13421 Eliminate some unused variable warnings (bug#15326).
13422
13423 2013-09-27 Tassilo Horn <tsdh@gnu.org>
13424
13425 * doc-view.el (doc-view-scale-reset): Rename from
13426 `doc-view-reset-zoom-level'.
13427 (doc-view-scale-adjust): New command.
13428 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
13429 `doc-view-scale-adjust'.
13430
13431 2013-09-26 Tassilo Horn <tsdh@gnu.org>
13432
13433 * doc-view.el (doc-view-reset-zoom-level): New command.
13434 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
13435 zoom commands (bug#15466).
13436
13437 2013-09-26 Kenichi Handa <handa@gnu.org>
13438
13439 * international/quail.el (quail-help): Make it not a command.
13440
13441 2013-09-26 Leo Liu <sdl.web@gmail.com>
13442
13443 * minibuffer.el (completion-all-sorted-completions): Make args
13444 optional as they are.
13445
13446 2013-09-25 Daniel Colascione <dancol@dancol.org>
13447
13448 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
13449 specs are and that they're not evaluated.
13450
13451 2013-09-24 Sam Steingold <sds@gnu.org>
13452
13453 * midnight.el (clean-buffer-list-kill-regexps)
13454 (clean-buffer-list-kill-buffer-names): Update for the new Man
13455 buffer naming which includes the object name.
13456
13457 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13458
13459 * eshell/esh-cmd.el (eshell--sep-terms): New var.
13460 (eshell-parse-command, eshell-parse-pipeline): Use it since
13461 eshell-separate-commands requires a dynamic scoped var.
13462 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
13463
13464 2013-09-23 Leo Liu <sdl.web@gmail.com>
13465
13466 * autoinsert.el (auto-insert-alist): Make the value of
13467 lexical-binding match its file setting.
13468
13469 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
13470
13471 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
13472
13473 * autoarg.el (autoarg-kp-digit-argument):
13474 * electric.el (Electric-command-loop):
13475 * kmacro.el (kmacro-step-edit-insert):
13476 Do not set universal-argument-num-events.
13477
13478 2013-09-22 Leo Liu <sdl.web@gmail.com>
13479
13480 * files.el (interpreter-mode-alist): Add octave.
13481
13482 2013-09-21 Alan Mackenzie <acm@muc.de>
13483
13484 C++: fontify identifier in declaration following "public:" correctly.
13485 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
13486 to match "public", etc.
13487 (c-decl-prefix-re): Add ":" into the C++ value.
13488 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
13489 bit. Add a check for a ":" preceded by "public", etc.
13490
13491 2013-09-21 Eli Zaretskii <eliz@gnu.org>
13492
13493 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
13494 recognized by GDB 7.5 and later.
13495
13496 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
13497
13498 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
13499
13500 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13501
13502 * subr.el (internal--call-interactively): New const.
13503 (called-interactively-p): Use it (bug#3984).
13504
13505 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
13506
13507 * vc/pcvs.el (cvs-mode-ignore):
13508 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
13509 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
13510
13511 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
13514 (eshell-ls-orig-insert-directory): Remove.
13515 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
13516 (eshell-ls-use-in-dired): Use advice-add/remove.
13517 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
13518 Add `orig-fun' arg for use in :around advice.
13519 Make it check (redundantly) eshell-ls-use-in-dired.
13520
13521 2013-09-19 Glenn Morris <rgm@gnu.org>
13522
13523 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
13524
13525 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
13526
13527 * emacs-lisp/eieio.el (class-parent): Undo previous change.
13528
13529 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
13530
13531 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
13532 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
13533 (tramp-get-remote-python): New defuns.
13534 (tramp-get-remote-uid-with-perl)
13535 (tramp-get-remote-gid-with-perl): New defuns. Perl code
13536 contributed by yary <not.com@gmail.com> (tiny change).
13537 (tramp-get-remote-uid-with-python)
13538 (tramp-get-remote-gid-with-python): New defuns. Python code
13539 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
13540 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
13541
13542 2013-09-19 Glenn Morris <rgm@gnu.org>
13543
13544 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
13545
13546 * eshell/em-unix.el (eshell-remove-entries):
13547 Rename argument to avoid name-clash with global `top-level'.
13548
13549 * eshell/esh-proc.el (eshell-kill-process-function):
13550 Remove eshell-reset-after-proc from eshell-kill-hook if present.
13551 (eshell-reset-after-proc): Remove unused arg `proc'.
13552
13553 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
13554 (directory-files-and-attributes): Mark unused arg.
13555
13556 * eshell/em-unix.el (eshell-remove-entries):
13557 Remove unused arg `path'. Update callers.
13558
13559 * eshell/em-hist.el (eshell-hist-parse-arguments):
13560 Remove unused arg `silent'. Update callers.
13561
13562 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
13563 Fix (f)boundp mix-up.
13564
13565 * eshell/em-smart.el (eshell-smart-scroll-window)
13566 (eshell-disable-after-change):
13567 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
13568
13569 2013-09-18 Alan Mackenzie <acm@muc.de>
13570
13571 Fix fontification of type when followed by "const".
13572 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
13573 "known" types from fontification.
13574
13575 2013-09-18 Glenn Morris <rgm@gnu.org>
13576
13577 * emacs-lisp/chart.el (x-display-color-cells): Declare.
13578 (chart-face-list): Drop Emacsen without display-color-p.
13579
13580 * net/eww.el (libxml-parse-html-region): Declare.
13581 (eww-display-html): Explicit error if no libxml2 support.
13582
13583 * doc-view.el (doc-view-mode): Silence --without-x compilation.
13584
13585 * image.el (image-type-from-buffer, image-multi-frame-p):
13586 Remove --without-x warning/error.
13587
13588 * mouse.el (mouse-yank-primary):
13589 * term.el (term-mouse-paste):
13590 Reorder to silence --without-x compilation.
13591
13592 * mpc.el (doc-view-mode): Silence --without-x compilation.
13593
13594 * mail/rmailmm.el (rmail-mime-set-bulk-data):
13595 Silence --without-x compilation.
13596
13597 * progmodes/gud.el (gud-find-file, gud-mode):
13598 Silence --without-x compilation.
13599 (tooltip-mode): Declare.
13600
13601 * wdired.el (dired-backup-overwrite): Remove declaration.
13602 (wdired-mode-map): Add doc string.
13603
13604 * custom.el (x-get-resource): Declare.
13605
13606 * eshell/em-glob.el (ange-cache):
13607 * eshell/em-unix.el (ange-cache): Declare.
13608
13609 * faces.el (x-display-list, x-open-connection, x-get-resource):
13610 Declare.
13611
13612 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
13613 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
13614 Declare.
13615
13616 * frame.el (x-display-grayscale-p, x-display-name): Declare.
13617
13618 * net/gnutls.el (gnutls-log-level): Declare.
13619
13620 * net/shr.el (image-size, image-animate): Declare.
13621
13622 * simple.el (font-info): Declare.
13623
13624 * subr.el (x-popup-dialog): Declare.
13625
13626 * term/common-win.el (x-select-enable-primary)
13627 (x-last-selected-text-primary, x-last-selected-text-clipboard):
13628 Declare.
13629
13630 * term/ns-win.el (x-handle-args): Declare.
13631
13632 * term/x-win.el (x-select-enable-clipboard): Declare.
13633
13634 * term/w32-win.el (create-default-fontset): Declare.
13635
13636 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
13637 Declare.
13638
13639 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
13640 (fit-frame-to-buffer): Explicit error if --without-x.
13641 (mouse-autoselect-window-select): Silence compiler.
13642
13643 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13644
13645 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
13646 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
13647 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
13648 * eshell/esh-util.el (eshell-sublist):
13649 Remove unused local variables.
13650
13651 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
13652
13653 * textmodes/two-column.el: Make 2C-split work for --without-x.
13654 (scroll-bar-columns): Autoload.
13655 (top-level): Require fringe when compiling.
13656
13657 2013-09-18 Leo Liu <sdl.web@gmail.com>
13658
13659 * subr.el (add-hook): Robustify to handle closure as well.
13660
13661 2013-09-17 Glenn Morris <rgm@gnu.org>
13662
13663 * simple.el (messages-buffer-mode-map): Unbind "g".
13664
13665 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13666
13667 * help-mode.el (help-mode-finish): Use derived-mode-p.
13668 Remove obsolete highlighting.
13669
13670 * play/life.el (life-mode): Use define-derived-mode. Derive from
13671 special-mode.
13672 (life): Let-bind inhibit-read-only.
13673 (life-setup): Avoid `setq'. Use `life-mode'.
13674
13675 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
13676 which should not be needed any more.
13677 (package-menu-refresh, package-menu-describe-package): Use user-error.
13678
13679 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
13680 (eshell-post-rewrite-command-hook): Make obsolete.
13681 (eshell-parse-command): Simplify.
13682 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
13683 (eshell--cmd): Declare.
13684 (eshell-parse-pipeline): Remove unused var `final-p'.
13685 Pass a dynvar to eshell-post-rewrite-command-hook.
13686 Implement the new eshell-post-rewrite-command-function.
13687 (eshell-invoke-directly): Remove unused arg `input'.
13688 * eshell/esh-io.el (eshell-io-initialize):
13689 Use eshell-post-rewrite-command-function (bug#15399).
13690 (eshell--apply-redirections): Rename from eshell-apply-redirections;
13691 adjust to new calling convention.
13692 (eshell-create-handles): Rename args to avoid clashing with dynvar
13693 `standard-output'.
13694
13695 2013-09-17 Glenn Morris <rgm@gnu.org>
13696
13697 * simple.el (messages-buffer-mode): New major mode.
13698 (messages-buffer): New function.
13699 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
13700 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
13701 (ert-run-test): Use `messages-buffer' function.
13702 (ert--force-message-log-buffer-truncation): Ignore read-only.
13703 * help.el (view-echo-area-messages): Use `messages-buffer' function.
13704 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
13705
13706 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
13709
13710 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
13711
13712 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13713
13714 * icomplete.el (icomplete-in-buffer): New var.
13715 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
13716 vars and replace them with functions.
13717 (icomplete-minibuffer-setup): Adjust accordingly.
13718 (icomplete--completion-table, icomplete--completion-predicate)
13719 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
13720 New functions.
13721 (icomplete-forward-completions, icomplete-backward-completions)
13722 (icomplete-simple-completing-p, icomplete-exhibit)
13723 (icomplete-completions): Use them.
13724 (icomplete--in-region-buffer): New var.
13725 (icomplete--in-region-setup): New function.
13726 (icomplete-mode): Use it.
13727
13728 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
13729 (bug#15379).
13730 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
13731 return args and options.
13732 (eshell-eval-using-options): Use the new return value of
13733 eshell--do-opts to set the options's vars in their scope.
13734 (eshell--set-option): Rename from eshell-set-option.
13735 Add arg `opt-vals'.
13736 (eshell--process-option): Rename from eshell-process-option.
13737 Add arg `opt-vals'.
13738 (eshell--process-args): Use an `opt-vals' alist to store the options's
13739 values during their processing and return them additionally to the
13740 remaining args.
13741
13742 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
13743
13744 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
13745 continuation character an operator, as far as indentation is
13746 concerned (Bug#15369).
13747
13748 2013-09-15 Martin Rudalics <rudalics@gmx.at>
13749
13750 * window.el (window--state-put-2): Don't process buffer state
13751 when buffer doesn't exist any more (Bug#15382).
13752
13753 2013-09-15 Glenn Morris <rgm@gnu.org>
13754
13755 * eshell/em-unix.el (eshell/rm):
13756 Make -f ignore missing files. (Bug#15373)
13757
13758 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
13759 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
13760 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
13761
13762 2013-09-14 Glenn Morris <rgm@gnu.org>
13763
13764 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
13765
13766 2013-09-13 Glenn Morris <rgm@gnu.org>
13767
13768 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
13769 (dired-guess-default): Make `file' available in the env. (Bug#15363)
13770
13771 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
13772
13773 * frame.el (x-focus-frame): Mark as declared in frame.c.
13774
13775 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 * ls-lisp.el: Use advice-add.
13778 (original-insert-directory): Remove.
13779 (ls-lisp--insert-directory): Rename from insert-directory; add
13780 `orig-fun' argument.
13781 (insert-directory): Advise.
13782
13783 2013-09-13 Eli Zaretskii <eliz@gnu.org>
13784
13785 * term.el (term-emulate-terminal): Decode the command string
13786 before passing it to term-command-hook. (Bug#15337)
13787
13788 2013-09-13 Glenn Morris <rgm@gnu.org>
13789
13790 * eshell/esh-util.el (ange-cache): Move declaration earlier.
13791
13792 * eshell/esh-ext.el (eshell-search-path): Declare.
13793
13794 * eshell/em-prompt.el (eshell/pwd): Autoload it.
13795 Otherwise an error occurs if eshell-dirs module not loaded.
13796
13797 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
13798
13799 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
13800
13801 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
13802 `tramp-check-proper-host'. Check for a valid method name.
13803
13804 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13805 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13806 * net/tramp-sh.el (tramp-maybe-open-connection):
13807 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
13808
13809 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
13810 also for hash values.
13811
13812 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13813
13814 * term/ns-win.el (parameters): Don't declare as dynamic.
13815 (before-make-frame-hook): Don't add ineffective function.
13816
13817 * eshell/*.el: Use lexical-binding (bug#15231).
13818
13819 2013-09-12 Kenichi Handa <handa@gnu.org>
13820
13821 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
13822
13823 2013-09-12 Glenn Morris <rgm@gnu.org>
13824
13825 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
13826 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
13827
13828 * subr.el (do-after-load-evaluation): Also give compiler warnings
13829 when obsolete files are used (except by obsolete files).
13830
13831 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
13832 in the status output, assume `filename' is the first. (Bug#15322)
13833
13834 * vc/vc.el (vc-deduce-fileset): Doc fix.
13835
13836 * calc/calc-help.el (Info-goto-node):
13837 * progmodes/cperl-mode.el (Info-find-node):
13838 * vc/ediff.el (Info-goto-node): Update declarations.
13839
13840 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
13841
13842 * vc/vc-bzr.el (vc-compilation-mode): Declare.
13843 (vc-bzr-pull): Require vc-dispatcher.
13844 * vc/vc-git.el (vc-compilation-mode): Declare.
13845 (vc-git-pull): Require vc-dispatcher.
13846
13847 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
13848
13849 * progmodes/octave.el (help-button-action): Declare.
13850
13851 * shell.el (shell-directory-tracker): Output error as a message
13852 rather than just returning it as a string.
13853 (shell-process-pushd): Remove useless use of message.
13854
13855 * dframe.el (dframe-timer-fn):
13856 * files.el (dir-locals-read-from-file):
13857 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
13858 (mpc-format):
13859 * reveal.el (reveal-post-command):
13860 * saveplace.el (load-save-place-alist-from-file):
13861 * shell.el (shell-resync-dirs):
13862 * w32-common-fns.el (x-get-selection-value):
13863 * emacs-lisp/copyright.el (copyright-find-copyright):
13864 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
13865 * emulation/tpu-edt.el (tpu-copy-keyfile):
13866 * play/bubbles.el (bubbles--mark-neighbourhood):
13867 * progmodes/executable.el
13868 (executable-make-buffer-file-executable-if-script-p):
13869 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
13870
13871 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13872
13873 Cleanup Eshell to rely less on dynamic scoping.
13874 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
13875 last-value, and ext-command here. Bind `args' closer to `body'.
13876 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
13877 (eshell--args): Declare new dynamic var.
13878 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
13879 last-value, and ext-command. Pass `args' to `body'.
13880 (eshell-process-args): Bind eshell--args.
13881 (eshell-set-option): Use eshell--args.
13882 * eshell/eshell.el (eshell): Use derived-mode-p.
13883 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
13884 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
13885 (eshell-glob-function): Declare.
13886 * eshell/esh-util.el: Require cl-lib.
13887 (eshell-read-hosts-file): Avoid add-to-list.
13888 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
13889 `err'.
13890 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
13891 Declare.
13892 (eshell/diff): Remove unused var `err'.
13893 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
13894 `killflag'.
13895 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
13896 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
13897 first use.
13898 * eshell/em-glob.el (eshell-glob-matches, message-shown):
13899 Move declaration before first use.
13900 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
13901 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
13902 rely on cl-return.
13903
13904 2013-09-12 Glenn Morris <rgm@gnu.org>
13905
13906 * term/ns-win.el (global-map): Remove binding for ispell-next,
13907 deleted 1999-05-29. (Bug#15357)
13908
13909 2013-09-11 Glenn Morris <rgm@gnu.org>
13910
13911 * echistory.el (electric-command-history): Remove call to deleted func.
13912
13913 * play/landmark.el (landmark-mode): Fix typos.
13914
13915 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
13916 Check cvs-sort-ignore-file is bound.
13917
13918 * savehist.el: No need for cl when compiling on Emacs.
13919
13920 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
13923 (bug#15338).
13924 (eshell-self-insert-command, eshell-send-invisible):
13925 Remove unused argument.
13926 (eshell-handle-control-codes): Remove unused var `orig'.
13927 Avoid delete-backward-char.
13928
13929 * files.el (set-auto-mode): Simplify a bit further.
13930
13931 2013-09-11 Glenn Morris <rgm@gnu.org>
13932
13933 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
13934 (set-auto-mode): Don't regexp-quote elements.
13935 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
13936 * progmodes/cc-mode.el (interpreter-mode-alist):
13937 * progmodes/ruby-mode.el (interpreter-mode-alist):
13938 Revert previous change.
13939
13940 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13941
13942 * play/snake.el (snake-mode):
13943 * play/mpuz.el (mpuz-mode):
13944 * play/landmark.el (lm-mode):
13945 * play/blackbox.el (blackbox-mode):
13946 * play/5x5.el (5x5-mode):
13947 * obsolete/options.el (Edit-options-mode):
13948 * net/quickurl.el (quickurl-list-mode):
13949 * net/newst-treeview.el (newsticker-treeview-mode):
13950 * mail/rmailsum.el (rmail-summary-mode):
13951 * mail/mspools.el (mspools-mode):
13952 * locate.el (locate-mode):
13953 * ibuffer.el (ibuffer-mode):
13954 * emulation/ws-mode.el (wordstar-mode):
13955 * emacs-lisp/debug.el (debugger-mode):
13956 * array.el (array-mode):
13957 * net/eudc.el (eudc-mode): Use define-derived-mode.
13958 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
13959 Move initialization into declaration.
13960 (mairix-searches-mode): Use define-derived-mode.
13961 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
13962 (eudc-edit-hotlist): Use dolist.
13963 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
13964 (Man-mode): Use define-derived-mode.
13965 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
13966 (Info-edit-mode): Use define-derived-mode.
13967 (Info-cease-edit): Use Info-mode.
13968 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
13969 into declaration.
13970 (eshell-mode): Use define-derived-mode.
13971 * chistory.el (command-history-mode-map): Rename from
13972 command-history-map.
13973 (command-history-mode): Use define-derived-mode.
13974 (Command-history-setup): Remove function.
13975 * calc/calc.el (calc-trail-mode-map): New var.
13976 (calc-trail-mode): Use define-derived-mode.
13977 (calc-trail-buffer): Set calc-main-buffer manually.
13978 * bookmark.el (bookmark-insert-annotation): New function.
13979 (bookmark-edit-annotation): Use it.
13980 (bookmark-edit-annotation-mode): Make it a proper major mode.
13981 (bookmark-send-edited-annotation): Use derived-mode-p.
13982 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
13983 closer to its ideal place. Use \' to match EOS.
13984
13985 * profiler.el (profiler-calltree-find): Use function-equal.
13986
13987 2013-09-10 Glenn Morris <rgm@gnu.org>
13988
13989 * files.el (interpreter-mode-alist): Convert to regexps.
13990 (set-auto-mode): Adapt for this. (Bug#15306)
13991 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
13992 Comment out unused variable.
13993 * progmodes/cc-mode.el (interpreter-mode-alist):
13994 * progmodes/python.el (interpreter-mode-alist):
13995 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
13996 * progmodes/sh-script.el (sh-set-shell):
13997 No longer use interpreter-mode-alist to get list of shells.
13998
13999 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
14000
14001 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
14002
14003 * simple.el: Use set-temporary-overlay-map for universal-argument.
14004 (universal-argument-map): Don't use default-bindings (bug#15317).
14005 Bind switch-frame explicitly. Replace universal-argument-minus with
14006 a conditional binding.
14007 (universal-argument-num-events, saved-overriding-map): Remove.
14008 (restore-overriding-map): Remove.
14009 (universal-argument--mode): Rename from save&set-overriding-map,
14010 and rewrite.
14011 (universal-argument, universal-argument-more, negative-argument)
14012 (digit-argument): Adjust accordingly.
14013 (universal-argument-minus): Remove.
14014 (universal-argument-other-key): Remove.
14015
14016 * subr.el (with-demoted-errors): Add `format' argument.
14017
14018 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
14019
14020 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
14021 `tramp-cleanup-connection'.
14022
14023 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
14024 parameters KEEP-DEBUG and KEEP-PASSWORD.
14025
14026 * net/tramp.el (tramp-file-name-handler):
14027 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14028 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14029 (tramp-maybe-open-connection):
14030 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14031 Use `tramp-cleanup-connection'.
14032
14033 * net/tramp-sh.el (tramp-maybe-open-connection):
14034 Catch 'uname-changed inside the progress reporter.
14035
14036 2013-09-10 Glenn Morris <rgm@gnu.org>
14037
14038 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
14039
14040 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
14041 returns "alternate access method" in mode (eg "-rw-r--r--.").
14042
14043 2013-09-08 Glenn Morris <rgm@gnu.org>
14044
14045 * saveplace.el (load-save-place-alist-from-file):
14046 Demote errors. (Bug#15305)
14047
14048 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
14049
14050 Improve compatibility with older Emacsen, and XEmacs.
14051
14052 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
14053 only if it is bound. It isn't for XEmacs.
14054 (with-tramp-progress-reporter): Do not let-bind `result'.
14055 This yields to scoping errors in XEmacs.
14056 (tramp-handle-make-auto-save-file-name): New function, moved from
14057 tramp-sh.el.
14058
14059 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
14060 for `make-auto-save-file-name'.
14061 (tramp-adb--gnu-switches-to-ash):
14062 Use `tramp-compat-replace-regexp-in-string'.
14063
14064 * net/tramp-cache.el (tramp-cache-print): Call
14065 `substring-no-properties' only if it is bound. It isn't for XEmacs.
14066
14067 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
14068 bound. It isn't for XEmacs.
14069
14070 * net/tramp-compat.el (tramp-compat-copy-file):
14071 Catch `wrong-number-of-arguments' error.
14072 (tramp-compat-replace-regexp-in-string): New defun.
14073
14074 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
14075 for `make-auto-save-file-name'.
14076 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
14077 `copy-file'.
14078 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
14079 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
14080 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
14081
14082 * net/tramp-gw.el (tramp-gw-open-network-stream):
14083 Use `tramp-compat-replace-regexp-in-string'.
14084
14085 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
14086 Call `tramp-handle-make-auto-save-file-name'.
14087 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
14088 (tramp-sh-file-gvfs-monitor-dir-process-filter)
14089 (tramp-sh-file-inotifywait-process-filter):
14090 Use `tramp-compat-replace-regexp-in-string'.
14091 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
14092
14093 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
14094 for `make-auto-save-file-name'.
14095 (tramp-smb-handle-copy-directory):
14096 Call `tramp-compat-replace-regexp-in-string'.
14097 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
14098 (tramp-smb-handle-copy-file): Improve error message.
14099 (tramp-smb-handle-rename-file): Rename directly only in case
14100 `newname' does not exist yet. This is a restriction of smbclient.
14101 (tramp-smb-maybe-open-connection): Rerun the function only when
14102 `auth-sources' is non-nil.
14103
14104 2013-09-08 Kenichi Handa <handa@gnu.org>
14105
14106 * international/characters.el: Set category "^" (Combining) for
14107 more characters.
14108
14109 2013-09-07 Alan Mackenzie <acm@muc.de>
14110
14111 Correctly fontify Java class constructors.
14112 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
14113 in Java Mode.
14114 (c-recognize-typeless-decls): Set the Java value to t.
14115 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14116 While handling a "(", add a check for, effectively, Java, and handle a
14117 "typeless" declaration there.
14118
14119 2013-09-07 Roland Winkler <winkler@gnu.org>
14120
14121 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
14122 field subtitle for entry type book.
14123
14124 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14125
14126 * minibuffer.el: Make minibuffer-complete call completion-in-region
14127 rather than other way around.
14128 (completion--some, completion-pcm--find-all-completions):
14129 Don't delay signals when debugging.
14130 (minibuffer-completion-contents): Beware fields within the
14131 minibuffer contents.
14132 (completion-all-sorted-completions): Use defvar-local.
14133 (completion--do-completion, completion--cache-all-sorted-completions)
14134 (completion-all-sorted-completions, minibuffer-force-complete):
14135 Add args `beg' and `end'.
14136 (completion--in-region-1): New fun, extracted from minibuffer-complete.
14137 (minibuffer-complete): Use completion-in-region.
14138 (completion-complete-and-exit): New fun, extracted from
14139 minibuffer-complete-and-exit.
14140 (minibuffer-complete-and-exit): Use it.
14141 (completion--complete-and-exit): Rename from
14142 minibuffer--complete-and-exit.
14143 (completion-in-region--single-word): New function, extracted from
14144 minibuffer-complete-word.
14145 (minibuffer-complete-word): Use it.
14146 (display-completion-list): Make `common-substring' argument obsolete.
14147 (completion--in-region): Call completion--in-region-1 instead of
14148 minibuffer-complete.
14149 (completion-help-at-point): Pass boundaries to
14150 minibuffer-completion-help as args rather than via an overlay.
14151 (completion-pcm--string->pattern): Use `any-delim'.
14152 (completion-pcm--optimize-pattern): New function.
14153 (completion-pcm--pattern->regex): Handle `any-delim'.
14154 * icomplete.el (icomplete-forward-completions)
14155 (icomplete-backward-completions, icomplete-completions):
14156 Adjust calls to completion-all-sorted-completions and
14157 completion--cache-all-sorted-completions.
14158 (icomplete-with-completion-tables): Default to t.
14159 * emacs-lisp/crm.el (crm--current-element): Rename from
14160 crm--select-current-element. Don't put an overlay but return the
14161 boundaries instead.
14162 (crm--completion-command): Take two new args to bind to the boundaries.
14163 (crm-completion-help): Adjust accordingly.
14164 (crm-complete): Use completion-in-region.
14165 (crm-complete-word): Use completion-in-region--single-word.
14166 (crm-complete-and-exit): Use completion-complete-and-exit.
14167
14168 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14169
14170 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
14171 than dynamically.
14172
14173 2013-09-06 Juri Linkov <juri@jurta.org>
14174
14175 * info.el (Info-display-images-node): When image file doesn't exist
14176 display text version of the image if it's provided in the Info file.
14177 Otherwise, display the location of missing image from SRC attribute.
14178 Add help-echo text property from ALT attribute. (Bug#15279)
14179
14180 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
14181
14182 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
14183 (edit-abbrevs-mode): Use define-derived-mode.
14184
14185 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
14186 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
14187 that it's defined.
14188 (epa-key-list-mode, epa-key-mode, epa-info-mode):
14189 Use define-derived-mode.
14190
14191 * epg.el (epg-start-encrypt): Minor CSE simplification.
14192
14193 2013-09-06 William Xu <william.xwl@gmail.com>
14194
14195 * arc-mode.el: Add support for 7za (bug#15264).
14196 (archive-7z-program): New var.
14197 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
14198 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
14199 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
14200
14201 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
14202
14203 Remove URL syntax.
14204
14205 * net/tramp.el (tramp-syntax, tramp-prefix-format)
14206 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
14207 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
14208 (tramp-postfix-host-format, tramp-file-name-regexp)
14209 (tramp-completion-file-name-regexp)
14210 (tramp-completion-dissect-file-name)
14211 (tramp-handle-substitute-in-file-name): Remove 'url case.
14212 (tramp-file-name-regexp-url)
14213 (tramp-completion-file-name-regexp-url): Remove constants.
14214
14215 2013-09-06 Glenn Morris <rgm@gnu.org>
14216
14217 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
14218
14219 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
14220
14221 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
14222 keywords" below "here-doc beginnings" (Bug#15270).
14223
14224 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
14225
14226 * subr.el (pop): Use `car-safe'.
14227 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
14228 to detect unused `pop' return value.
14229
14230 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
14231 var `block-regexp'.
14232 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
14233 (python-fill-string): Remove unused var `marker'.
14234 (python-skeleton-add-menu-items): Remove unused var `items'.
14235
14236 * international/mule-cmds.el: Require CL.
14237 (find-coding-systems-for-charsets): Avoid add-to-list.
14238 (sanitize-coding-system-list): New function, extracted from
14239 select-safe-coding-system-interactively.
14240 (select-safe-coding-system-interactively): Use it.
14241 (read-input-method-name): Accept symbols for `default'.
14242
14243 * emacs-lisp/advice.el (defadvice): Add indent rule.
14244
14245 2013-09-05 Daniel Hackney <dan@haxney.org>
14246
14247 * dired-x.el:
14248 * net/ange-ftp.el:
14249 * net/browse-url.el:
14250 * net/dbus.el:
14251 * net/eudc.el:
14252 * net/eudcb-ldap.el:
14253 * net/eww.el:
14254 * net/imap.el:
14255 * printing.el:
14256 * vc/ediff-diff.el:
14257 * vc/ediff-init.el:
14258 * vc/ediff-merg.el:
14259 * vc/ediff-mult.el:
14260 * vc/ediff-util.el:
14261 * vc/ediff-wind.el:
14262 * vc/ediff.el:
14263 * vc/emerge.el:
14264 * vc/pcvs.el:
14265 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
14266 byte compiler. Remove some unused let-bound variables.
14267
14268 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
14271 a "ref-cell", since it gets better optimized (bug#14883).
14272
14273 2013-09-05 Glenn Morris <rgm@gnu.org>
14274
14275 * progmodes/cc-awk.el (c-forward-sws): Declare.
14276
14277 2013-09-04 Glenn Morris <rgm@gnu.org>
14278
14279 * generic-x.el [rul-generic-mode]: Require cc-mode.
14280 (c++-mode-syntax-table): Declare.
14281 (rul-generic-mode-syntax-table): Init in the defvar.
14282
14283 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14284
14285 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
14286 (vc-do-command, vc-set-async-update):
14287 * vc/vc-mtn.el (vc-mtn-dir-status):
14288 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
14289 (vc-hg-pull, vc-hg-merge-branch):
14290 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
14291 (vc-git-merge-branch):
14292 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
14293 (vc-cvs-dir-status-files):
14294 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
14295 (vc-bzr-dir-status-files):
14296 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
14297 * vc/vc-annotate.el: Use lexical-binding.
14298 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
14299 (vc-sentinel-movepoint): Declare.
14300 (vc-annotate): Don't use `goto-line'.
14301 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
14302 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
14303 (vc-sentinel-movepoint): Declare.
14304 * vc/vc-svn.el: Use lexical-binding.
14305 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
14306 * vc/vc-sccs.el:
14307 * vc/vc-rcs.el: Use lexical-binding.
14308
14309 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
14310 `deleted'. Don't drop errors silently.
14311
14312 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
14313
14314 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
14315
14316 * vc/vc.el (vc-ignore): Rewrite.
14317 (vc-default-ignore): New function.
14318 (vc-default-ignore-completion-table): Use find-ignore-file.
14319
14320 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
14321 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
14322 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
14323 Remove. Most code moved to vc.el.
14324
14325 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
14326
14327 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
14328 * net/tramp-smb.el (tramp-smb-get-file-entries):
14329 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
14330 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
14331
14332 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
14333 Update call to it.
14334 (eww-change-select): Remove unused var `properties'.
14335 (eww-make-unique-file-name): Remove unused var `base'.
14336
14337 * finder.el (finder-compile-keywords): Don't mess with windows.
14338
14339 * calculator.el (calculator-funcall): Fix typo in last change.
14340
14341 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
14342
14343 * emacs-lisp/package.el (package-activate-1): Don't let a missing
14344 <pkg>-autoloads.el file stop us.
14345
14346 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14347 warnings, and factor out common code.
14348
14349 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
14350
14351 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
14352 two-character operators and whether the character preceding them
14353 changes their meaning (Bug#15208).
14354
14355 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14356
14357 Format code sent to Python shell for robustness.
14358 * progmodes/python.el (python-shell-buffer-substring):
14359 New function.
14360 (python-shell-send-region, python-shell-send-buffer): Use it.
14361
14362 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
14363
14364 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
14365 * net/tramp.el (tramp-user-error): ... here.
14366 (tramp-find-method, tramp-check-proper-host)
14367 (tramp-dissect-file-name, tramp-debug-message)
14368 (tramp-handle-shell-command):
14369 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14370 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
14371
14372 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
14373
14374 2013-09-02 Martin Rudalics <rudalics@gmx.at>
14375
14376 * avoid.el (mouse-avoidance-point-position)
14377 (mouse-avoidance-too-close-p): Handle case where posn-at-point
14378 returns nil.
14379
14380 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14381
14382 * progmodes/python.el (python-shell-completion-get-completions):
14383 Drop use of deleted `comint-last-prompt-overlay'.
14384 (python-nav-if-name-main): New command.
14385
14386 2013-09-01 Glenn Morris <rgm@gnu.org>
14387
14388 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14389 Avoid leading space in $wins. Otherwise the sed command used by
14390 eg compile-main ends up containing "/*.el". (Bug#15170)
14391
14392 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
14393
14394 2013-08-30 Glenn Morris <rgm@gnu.org>
14395
14396 * emacs-lisp/bytecomp.el (byte-recompile-directory):
14397 Fix is-this-a-directory logic. (Bug#15220)
14398
14399 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14400
14401 * textmodes/css-mode.el: Use SMIE.
14402 (css-smie-grammar): New var.
14403 (css-smie--forward-token, css-smie--backward-token)
14404 (css-smie-rules): New functions.
14405 (css-mode): Use them.
14406 (css-navigation-syntax-table): Remove var.
14407 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
14408 (css-indent-calculate, css-indent-line): Remove functions.
14409
14410 Misc changes to reduce use of `(lambda...); and other cleanups.
14411 * cus-edit.el: Use lexical-binding.
14412 (customize-push-and-save, customize-apropos)
14413 (custom-buffer-create-internal): Use closures.
14414 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
14415 * progmodes/ada-xref.el: Use setq.
14416 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
14417 * dframe.el: Use lexical-binding.
14418 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
14419 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
14420 * descr-text.el: Use lexical-binding.
14421 (describe-text-widget, describe-text-sexp, describe-property-list):
14422 Use closures.
14423 * comint.el (comint-history-isearch-push-state): Use a closure.
14424 * calculator.el: Use lexical-binding.
14425 (calculator-number-to-string): Make it work with lexical-binding.
14426 (calculator-funcall): Same and use cl-letf.
14427
14428 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
14429 (lisp--company-doc-string, lisp--company-location): New functions.
14430 (lisp-completion-at-point): Use them to improve Company support.
14431
14432 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
14433 params of lambda expressions.
14434 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
14435 (ruby-smie--opening-pipe-p): New function.
14436 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
14437 symbols and matched |...| for formal params.
14438 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
14439 from being treated as hanging. Handle "rescue".
14440
14441 2013-08-29 Glenn Morris <rgm@gnu.org>
14442
14443 * progmodes/cc-engine.el (c-pull-open-brace):
14444 Move definition before use.
14445
14446 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
14449 are immutable. Don't use `unsafe' any more.
14450 (cl--defsubst-expand): Don't substitute at the same time as keeping
14451 a residual unused let-binding. Don't use `unsafe' any more.
14452
14453 2013-08-29 Glenn Morris <rgm@gnu.org>
14454
14455 * calendar/cal-china.el (calendar-chinese-year-cache):
14456 Recenter on 2015.
14457
14458 * nxml/nxml-util.el (nxml-debug-clear-inside):
14459 Use cl-loop rather than loop.
14460
14461 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
14462
14463 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
14464
14465 2013-08-28 Glenn Morris <rgm@gnu.org>
14466
14467 * progmodes/antlr-mode.el: No need to require cc-mode twice.
14468
14469 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
14470
14471 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
14472
14473 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14474
14475 * simple.el (repeat-complex-command--called-interactively-skip):
14476 New function.
14477 (repeat-complex-command): Use it (bug#14136).
14478
14479 * progmodes/cc-mode.el: Minor cleanup of var declarations.
14480 (c-define-abbrev-table): Add `doc' argument.
14481 (c-mode-abbrev-table, c++-mode-abbrev-table)
14482 (objc-mode-abbrev-table, java-mode-abbrev-table)
14483 (idl-mode-abbrev-table, pike-mode-abbrev-table)
14484 (awk-mode-abbrev-table): Use it.
14485 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
14486 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
14487 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
14488 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
14489 Move initialization into the declaration; and remove any
14490 autoload cookie.
14491
14492 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
14493 and dynamic let binding.
14494
14495 * vc/smerge-mode.el: Remove redundant :group args.
14496
14497 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
14498 to load-path.
14499
14500 2013-08-28 Juri Linkov <juri@jurta.org>
14501
14502 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
14503 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
14504 (isearch-other-meta-char): Handle an undefined shifted printing
14505 character by downshifting it. (Bug#15200)
14506
14507 2013-08-28 Juri Linkov <juri@jurta.org>
14508
14509 * isearch.el (isearch-search): Change regexp error message for
14510 non-regexp searches. (Bug#15166)
14511
14512 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
14513
14514 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
14515 for portability to hosts where /bin/sh has problems.
14516
14517 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14518
14519 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
14520
14521 2013-08-27 Juri Linkov <juri@jurta.org>
14522
14523 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
14524 in the keyboard macro. (Bug#15126)
14525
14526 2013-08-27 Juri Linkov <juri@jurta.org>
14527
14528 * isearch.el (isearch-quote-char): Comment out converting unibyte
14529 to multibyte, thus syncing with its `quoted-insert' counterpart.
14530 (Bug#15166)
14531
14532 2013-08-27 Martin Rudalics <rudalics@gmx.at>
14533
14534 * window.el (display-buffer-use-some-window): Add missing
14535 argument in call of get-largest-window (Bug#15185).
14536 Reported by Stephen Leake.
14537
14538 2013-08-27 Glenn Morris <rgm@gnu.org>
14539
14540 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
14541
14542 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14543
14544 * progmodes/python.el (python-font-lock-keywords): Don't return nil
14545 from a matcher-function unless there's no more matches (bug#15161).
14546
14547 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14548
14549 * minibuffer.el: Revert change from 2013-08-20.
14550
14551 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
14552 with text property `tramp-default', if appropriate.
14553 (tramp-check-proper-host): New defun.
14554 (tramp-dissect-file-name): Do not check hostname. Revert change
14555 of 2013-03-18.
14556 (tramp-backtrace): Make VEC-OR-PROC optional.
14557
14558 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14559 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14560 * net/tramp-sh.el (tramp-maybe-open-connection):
14561 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14562 Apply `tramp-check-proper-host'.
14563
14564 2013-08-26 Tassilo Horn <tsdh@gnu.org>
14565
14566 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
14567 lambda expression in order to have `describe-variable' display it.
14568
14569 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14570
14571 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
14572 BUF can be optional. (Bug#15186)
14573
14574 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
14575
14576 * progmodes/flymake.el (flymake-get-real-file-name-function):
14577 Fix broken customization. (Bug#15184)
14578
14579 2013-08-25 Alan Mackenzie <acm@muc.de>
14580
14581 Improve indentation of bracelists defined by macros (without "=").
14582
14583 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
14584 expansion begins with "{", regard it as bracelist when it doesn't
14585 contain a ";".
14586
14587 Parse C++ inher-intro when there's a template split over 2 lines.
14588
14589 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
14590 rigorously the search for "class" etc. followed by ":".
14591
14592 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
14593 random languages a regexp which never matches rather than nil.
14594
14595 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
14596
14597 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
14598 (c-awk-regexp-one-line-possibly-open-char-list-re)
14599 (c-awk-one-line-possibly-open-regexp-re)
14600 (c-awk-one-line-non-syn-ws*-re): Remove.
14601 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
14602 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
14603 (c-awk-space*-unclosed-regexp-/-re): New constants.
14604 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
14605 aren't regexp delimiters.
14606
14607 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
14608 handling for a rare situation in AWK Mode involving unterminated
14609 strings/regexps.
14610
14611 2013-08-23 Glenn Morris <rgm@gnu.org>
14612
14613 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
14614
14615 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
14616
14617 * files.el (create-file-buffer): If the result would begin with
14618 spaces, prepend a "|" instead of removing them. (Bug#15162)
14619
14620 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14621
14622 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
14623 text-properties (bug#15155).
14624
14625 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
14626 exist any more.
14627 (calc-keypad-redraw): Remove unused var `pad'.
14628 (calc-keypad-press): Remove unused var `menu'.
14629
14630 2013-08-23 Martin Rudalics <rudalics@gmx.at>
14631
14632 * window.el (display-buffer-pop-up-frame):
14633 Call pop-up-frame-function with BUFFER current so `make-frame' will
14634 use it as the new frame's buffer (Bug#15133).
14635
14636 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14637
14638 * calendar/timeclock.el: Minor cleanups.
14639 (timeclock-ask-before-exiting, timeclock-use-display-time):
14640 Use `symbol'.
14641 (timeclock-modeline-display): Define as alias before the
14642 actual definition.
14643 (timeclock-mode-line-display): Use define-minor-mode.
14644 (timeclock-day-list-template): Make it a function, add an argument.
14645 (timeclock-day-list-required, timeclock-day-list-length)
14646 (timeclock-day-list-debt, timeclock-day-list-span)
14647 (timeclock-day-list-break): Adjust calls accordingly.
14648
14649 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14650
14651 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
14652 Use read--expression so that completion works again.
14653
14654 2013-08-21 Sam Steingold <sds@gnu.org>
14655
14656 Add rudimentary inferior shell interaction
14657 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
14658 (sh-set-shell): Reset it.
14659 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
14660 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
14661
14662 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
14663
14664 * align.el: Use lexical-binding.
14665 (align-region): Simplify accordingly.
14666
14667 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
14668
14669 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
14670
14671 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
14672 `non-essential' up.
14673
14674 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
14675
14676 * net/tramp.el:
14677 * net/tramp-adb.el:
14678 * net/tramp-cmds.el:
14679 * net/tramp-ftp.el:
14680 * net/tramp-gvfs.el:
14681 * net/tramp-gw.el:
14682 * net/tramp-sh.el: Don't wrap external variable declarations by
14683 `eval-when-compile'.
14684
14685 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14686
14687 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
14688 now that Emacs supports ImageMagick animations.
14689
14690 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
14691
14692 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
14693 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
14694
14695 2013-08-16 Martin Rudalics <rudalics@gmx.at>
14696
14697 * window.el (mouse-autoselect-window-select): Do autoselect when
14698 mouse pointer is on margin.
14699
14700 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
14701
14702 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
14703
14704 2013-08-16 Glenn Morris <rgm@gnu.org>
14705
14706 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
14707 Handle "Remote Directory" response of some clients. (Bug#15058)
14708
14709 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
14710 Tweak warning. (Bug#14926)
14711
14712 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
14713 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
14714
14715 * image-mode.el (image-mode-map): Add menu items to reverse,
14716 increase, decrease, reset animation speed.
14717 (image--set-speed, image-increase-speed, image-decrease-speed)
14718 (image-reverse-speed, image-reset-speed): New functions.
14719 (image-mode-map): Add bindings for speed commands.
14720
14721 * image.el (image-animate-get-speed, image-animate-set-speed):
14722 New functions.
14723 (image-animate-timeout): Respect image :speed property.
14724
14725 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14726
14727 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
14728 previous line (bug#15101).
14729 (debugger-eval-expression, debugger-record-expression):
14730 Use read--expression (bug#15102).
14731
14732 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
14733
14734 Remove byte compiler warnings, visible when compiling with
14735 `byte-compile-force-lexical-warnings' set to t.
14736
14737 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
14738 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
14739 (tramp-handle-unhandled-file-name-directory)
14740 (tramp-handle-file-notify-add-watch, tramp-action-login)
14741 (tramp-action-succeed, tramp-action-permission-denied)
14742 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
14743 arguments with "_".
14744
14745 * net/tramp-adb.el (tramp-adb-parse-device-names)
14746 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
14747 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
14748 (tramp-adb-handle-file-truename): Remove unused arguments.
14749
14750 * net/tramp-cache.el (tramp-flush-directory-property)
14751 (tramp-flush-connection-property, tramp-list-connections)
14752 (tramp-parse-connection-properties): Prefix unused arguments with "_".
14753
14754 * net/tramp-compat.el (tramp-compat-make-temp-file):
14755 Rename FILENAME to F.
14756
14757 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14758 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
14759 (tramp-zeroconf-parse-workstation-device-names)
14760 (tramp-zeroconf-parse-webdav-device-names)
14761 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
14762
14763 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14764 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
14765
14766 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
14767 arguments.
14768 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
14769 (tramp-sh-handle-insert-file-contents-literally)
14770 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
14771 with "_".
14772 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
14773 Remove unused variables.
14774
14775 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14776 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
14777 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
14778
14779 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
14780 Make them a defconst.
14781 (tramp-uuencode-region): Remove unused variable.
14782
14783 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
14784
14785 * frameset.el (frameset--prop-setter): New function.
14786 (frameset-prop): Add gv-setter declaration.
14787 (frameset-filter-minibuffer): Deal with the case that the minibuffer
14788 parameter was already set in FILTERED. Doc fix.
14789 (frameset--record-minibuffer-relationships): Allow saving a
14790 minibufferless frame without its corresponding minibuffer frame.
14791 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
14792 frame, if the frame id matches.
14793 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
14794 frames before orphaned ones.
14795 (frameset-restore): Warn about orphaned windows, instead of error out.
14796
14797 2013-08-14 Martin Rudalics <rudalics@gmx.at>
14798
14799 * window.el (window-make-atom): Don't overwrite parameter
14800 already present.
14801 (display-buffer-in-atom-window): Handle special case where we
14802 split an already atomic window.
14803 (window--major-non-side-window, display-buffer-in-side-window)
14804 (window--side-check): Ignore minibuffer window when walking
14805 window tree.
14806 (window-deletable-p): Return 'frame only if no other frame uses
14807 our minibuffer window.
14808 (record-window-buffer): Run buffer-list-update-hook.
14809 (split-window): Make sure window--check-frame won't destroy an
14810 existing atomic window in case the new window gets nested
14811 inside.
14812 (display-buffer-at-bottom): Ignore minibuffer window when
14813 walking window tree. Don't split a side window.
14814 (pop-to-buffer): Don't set-buffer here, the select-window call
14815 should do that.
14816 (mouse-autoselect-window-select): Autoselect only if we are in the
14817 text portion of the window.
14818
14819 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14820
14821 * net/shr.el (shr-parse-image-data): New function to grab both the
14822 data itself and the Content-Type.
14823 (shr-put-image): Use it.
14824
14825 * net/eww.el (eww-display-image): Ditto.
14826
14827 * image.el (image-content-type-suffixes): New variable.
14828
14829 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14830
14831 * progmodes/python.el (python-imenu--build-tree)
14832 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
14833
14834 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
14835
14836 * simple.el (backward-word): Mention the optional argument.
14837
14838 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
14839
14840 * frameset.el (frameset--make): Rename constructor from make-frameset.
14841 (frameset-p, frameset-valid-p): Don't autoload.
14842 (frameset-valid-p): Use normal accessors.
14843
14844 2013-08-13 Glenn Morris <rgm@gnu.org>
14845
14846 * progmodes/compile.el (compile-command): Tweak example in doc.
14847 * obsolete/scribe.el (scribe-mode):
14848 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
14849
14850 * mail/feedmail.el (feedmail-confirm-outgoing)
14851 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
14852
14853 * cus-start.el (truncate-partial-width-windows): Fix type.
14854
14855 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
14856
14857 * net/shr.el (shr-table-horizontal-line): Fix custom type.
14858
14859 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
14860
14861 * emacs-lisp/timer.el (timer--time-setter): New function.
14862 (timer--time): Use it as gv-setter.
14863
14864 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
14865 setter is not a symbol.
14866
14867 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
14868
14869 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
14870 if sending fails. This makes debugging easier.
14871
14872 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
14873
14874 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
14875 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
14876 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
14877
14878 2013-08-12 Eli Zaretskii <eliz@gnu.org>
14879
14880 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
14881
14882 2013-08-12 Glenn Morris <rgm@gnu.org>
14883
14884 * format.el (format-annotate-function):
14885 Handle read-only text properties in the source. (Bug#14887)
14886
14887 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14888
14889 * net/eww.el (eww-display-html): Ignore coding system errors.
14890 One web site uses "utf-8lias" as the coding system.
14891
14892 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
14893
14894 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
14895
14896 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
14897
14898 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
14899 (tutorial--detailed-help): Remove unused local variables.
14900 (tutorial--save-tutorial-to): Use ignore-errors.
14901 (help-with-tutorial): Use looking-at-p.
14902
14903 * view.el (view-buffer-other-window, view-buffer-other-frame):
14904 Mark unused arguments.
14905
14906 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
14907 (woman-select-symbol-fonts, woman, woman-find-file)
14908 (woman-insert-file-contents, woman-non-underline-faces):
14909 Use string-match-p.
14910 (woman1-unquote): Move declaration.
14911
14912 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
14913 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
14914 argument. Remove unused local variable.
14915 (xml-parse-elem-type): Use string-match-p.
14916 (xml-substitute-numeric-entities): Use ignore-errors.
14917
14918 * calculator.el (calculator): Mark unused argument.
14919 (calculator-paste, calculator-quit, calculator-integer-p):
14920 Use ignore-errors.
14921 (calculator-string-to-number, calculator-decimal, calculator-exp)
14922 (calculator-op-or-exp): Use string-match-p.
14923
14924 * dired.el (dired-buffer-more-recently-used-p): Declare.
14925 (dired-insert-set-properties, dired-insert-old-subdirs):
14926 Use ignore-errors.
14927
14928 * dired-aux.el (dired-compress): Use ignore-errors.
14929 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
14930 (dired-do-async-shell-command, dired-do-shell-command)
14931 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
14932 (dired-insert-subdir-validate): Use string-match-p.
14933 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
14934 (dired-add-entry): Use string-match-p, looking-at-p.
14935 (dired-insert-subdir-newpos): Remove unused local variable.
14936
14937 * filenotify.el (file-notify-callback): Remove unused local variable.
14938
14939 * filesets.el (filesets-error): Mark unused argument.
14940 (filesets-which-command-p, filesets-filter-dir-names)
14941 (filesets-directory-files, filesets-get-external-viewer)
14942 (filesets-ingroup-get-data): Use string-match-p.
14943
14944 * find-file.el (ff-other-file-name, ff-other-file-name)
14945 (ff-find-the-other-file, ff-cc-hh-converter):
14946 Remove unused local variables.
14947 (ff-get-file-name): Use string-match-p.
14948 (ff-all-dirs-under): Use ignore-errors.
14949
14950 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
14951 (follow-select-if-visible): Remove unused local variable.
14952
14953 * forms.el (read-file-filter): Move declaration.
14954 (forms--make-format, forms--make-parser, forms-insert-record):
14955 Quote function with #'.
14956 (forms--update): Use string-match-p. Quote function with #'.
14957
14958 * help-mode.el (help-dir-local-var-def): Mark unused argument.
14959 (help-make-xrefs): Use looking-at-p.
14960 (help-xref-on-pp): Use looking-at-p, ignore-errors.
14961
14962 * ibuffer.el (ibuffer-ext-visible-p): Declare.
14963 (ibuffer-confirm-operation-on): Use string-match-p.
14964
14965 * msb.el (msb-item-handler, msb-dired-item-handler):
14966 Mark unused arguments.
14967
14968 * ses.el (ses-decode-cell-symbol)
14969 (ses-kill-override): Remove unused local variable.
14970 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
14971 (ses-load): Use ignore-errors, looking-at-p.
14972 (ses-jump-safe): Use ignore-errors.
14973 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
14974
14975 * tabify.el (untabify, tabify): Mark unused arguments.
14976
14977 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
14978 Mark unused argument.
14979 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
14980 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
14981
14982 * emacs-lisp/timer.el (timer--time): Define setter with
14983 gv-define-setter to avoid deprecation warning.
14984
14985 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
14986 (*record-cmpl-statistics-p*): Remove (was commented out).
14987 (cmpl-statistics-block): Remove (body was commented out).
14988 All callers changed.
14989 (add-completions-from-buffer, load-completions-from-file):
14990 Remove unused variables.
14991
14992 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
14993
14994 * filecache.el (file-cache-delete-file-list):
14995 Print message only when told so.
14996 (file-cache-files-matching): Use #' in mapconcat argument.
14997
14998 * ffap.el (ffap-url-at-point): Fix reference to variable
14999 thing-at-point-default-mail-uri-scheme.
15000
15001 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
15002
15003 * subr.el (define-error): New function.
15004 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
15005 error-file-not-found and define with define-error.
15006 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
15007 and define with define-error.
15008 * userlock.el (file-locked, file-supersession):
15009 * simple.el (mark-inactive):
15010 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
15011 * progmodes/ada-mode.el (ada-mode-errors):
15012 * play/life.el (life-extinct):
15013 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
15014 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
15015 * nxml/rng-util.el (rng-error):
15016 * nxml/rng-uri.el (rng-uri-error):
15017 * nxml/rng-match.el (rng-compile-error):
15018 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
15019 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
15020 * nxml/nxml-rap.el (nxml-scan-error):
15021 * nxml/nxml-outln.el (nxml-outline-error):
15022 * net/soap-client.el (soap-error):
15023 * net/gnutls.el (gnutls-error):
15024 * net/ange-ftp.el (ftp-error):
15025 * mpc.el (mpc-proc-error):
15026 * json.el (json-error, json-readtable-error, json-unknown-keyword)
15027 (json-number-format, json-string-escape, json-string-format)
15028 (json-key-format, json-object-format):
15029 * jka-compr.el (compression-error):
15030 * international/quail.el (quail-error):
15031 * international/kkc.el (kkc-error):
15032 * emacs-lisp/ert.el (ert-test-failed):
15033 * calc/calc.el (calc-error, inexact-result, math-overflow)
15034 (math-underflow):
15035 * bookmark.el (bookmark-error-no-filename):
15036 * epg.el (epg-error): Define with define-error.
15037
15038 * time.el (display-time-event-handler)
15039 (display-time-next-load-average): Don't call sit-for since it seems
15040 unnecessary (bug#15045).
15041
15042 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
15043 Use #' instead of ' to quote functions.
15044 (checkdoc-output-mode): Use setq-local.
15045 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
15046 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
15047 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
15048 (checkdoc-ispell, checkdoc-ispell-current-buffer)
15049 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
15050 (checkdoc-ispell-message-text, checkdoc-ispell-start)
15051 (checkdoc-ispell-continue, checkdoc-ispell-comments)
15052 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
15053
15054 * ido.el (ido-completion-help): Fix up compiler warning.
15055
15056 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
15057
15058 * frameset.el (frameset-p): Add autoload cookie.
15059 (frameset--jump-to-register): New function, based on code moved from
15060 register.el.
15061 (frameset-to-register): Move from register.el. Adapt to `registerv'.
15062
15063 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
15064 (frameset-restore, frameset-save, frameset-session-filter-alist):
15065 Remove declarations.
15066 (register-alist): Doc fix.
15067 (frameset-to-register): Move to frameset.el.
15068 (jump-to-register, describe-register-1): Remove frameset-specific code.
15069
15070 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15071
15072 * allout-widgets.el (allout-widgets-pre-command-business)
15073 (allout-widgets-post-command-business)
15074 (allout-widgets-after-change-handler)
15075 (allout-decorate-item-and-context, allout-set-boundary-marker)
15076 (allout-body-modification-handler)
15077 (allout-graphics-modification-handler): Mark ignored arguments.
15078 (allout-widgets-post-command-business)
15079 (allout-widgets-exposure-change-processor)
15080 (allout-widgets-exposure-undo-processor)
15081 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
15082 (allout-parse-item-at-point, allout-decorate-item-guides)
15083 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
15084 * allout.el (epa-passphrase-callback-function): Declare.
15085 (allout-overlay-insert-in-front-handler)
15086 (allout-overlay-interior-modification-handler)
15087 (allout-isearch-end-handler, allout-chart-siblings)
15088 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
15089 (allout-yank-processing, allout-process-exposed)
15090 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
15091 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
15092 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
15093 (lisp-indent-defform): Mark ignored arguments.
15094 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
15095 (calculate-lisp-indent): Remove unused variables.
15096 * international/characters.el (indian-2-column, arabic-2-column)
15097 (tibetan): Mark ignored arguments.
15098 (use-cjk-char-width-table): Mark ignored arguments.
15099 Remove unused variables.
15100 * international/fontset.el (build-default-fontset-data)
15101 (x-compose-font-name, create-fontset-from-fontset-spec):
15102 Mark ignored arguments.
15103 (fontset-plain-name): Remove unused variables.
15104 * international/mule.el (charset-id, charset-bytes, generic-char-p)
15105 (keyboard-coding-system): Mark ignored arguments.
15106 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
15107 * help.el (resize-temp-buffer-window):
15108 * window.el (display-buffer-in-major-side-window)
15109 (display-buffer-in-side-window, display-buffer-in-previous-window):
15110 Remove unused variables.
15111 * isearch.el (isearch-forward-symbol):
15112 * version.el (emacs-bzr-version-bzr):
15113 * international/mule-cmds.el (current-language-environment):
15114 * term/common-win.el (x-handle-iconic, x-handle-geometry)
15115 (x-handle-display):
15116 * term/pc-win.el (x-list-fonts, x-display-planes)
15117 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
15118 (x-server-version, x-display-screens, x-display-mm-height)
15119 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
15120 (x-selection-owner-p, x-own-selection-internal)
15121 (x-disown-selection-internal, x-get-selection-internal)
15122 (msdos-initialize-window-system):
15123 * term/tty-colors.el (tty-color-alist, tty-color-clear):
15124 * term/x-win.el (x-handle-no-bitmap-icon):
15125 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
15126 (vc-default-find-file-hook, vc-default-extra-menu):
15127 Mark ignored arguments.
15128
15129 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
15130
15131 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
15132 break-condition in the context of the debugged code (bug#12685).
15133
15134 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
15135
15136 * comint.el:
15137 Do not use an overlay to highlight the last prompt. (Bug#14744)
15138 (comint-mode): Make comint-last-prompt buffer local.
15139 (comint-last-prompt): New variable.
15140 (comint-last-prompt-overlay): Remove. Superseded by
15141 comint-last-prompt.
15142 (comint-snapshot-last-prompt, comint-output-filter):
15143 Use comint-last-prompt.
15144
15145 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15146
15147 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
15148 (frameset-save): Check validity of the resulting frameset.
15149
15150 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
15151
15152 * ido.el (ido-record-command): Add doc string.
15153
15154 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15155
15156 * frameset.el (frameset): Do not disable creation of the default
15157 frameset-p predicate. Doc fix.
15158 (frameset-valid-p): New function, copied from the old predicate-p.
15159 Add additional checks.
15160 (frameset-restore): Check with frameset-valid-p.
15161 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
15162 (frameset-name, frameset-description, frameset-properties)
15163 (frameset-states): Add docstring.
15164 (frameset-session-filter-alist, frameset-persistent-filter-alist)
15165 (frameset-filter-alist): Doc fixes.
15166
15167 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15168
15169 * frameset.el (frameset-p, frameset-prop): Doc fixes.
15170
15171 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
15172
15173 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
15174 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
15175 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
15176 (byte-compile-normal-call): Remove obsolescence check.
15177
15178 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
15179
15180 * frameset.el (frameset-restore): Doc fix.
15181
15182 * register.el (frameset-frame-id, frameset-frame-with-id)
15183 (frameset-p, frameset-restore, frameset-save): Declare.
15184 (register-alist): Document framesets.
15185 (frameset-session-filter-alist): Declare.
15186 (frameset-to-register): New function.
15187 (jump-to-register): Implement jumping to framesets. Doc fix.
15188 (describe-register-1): Describe framesets.
15189
15190 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
15191
15192 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
15193
15194 * desktop.el (desktop-save-frameset): Use new frameset-save args.
15195 Use lexical-binding.
15196
15197 * frameset.el (frameset): Use type vector, not list (incompatible
15198 change). Do not declare a new constructor, use the default one.
15199 Upgrade suggested properties `app', `name' and `desc' to slots `app',
15200 `name' and `description', respectively, and add read-only slot
15201 `timestamp'. Doc fixes.
15202 (frameset-copy, frameset-persistent-filter-alist)
15203 (frameset-filter-alist, frameset-switch-to-gui-p)
15204 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
15205 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
15206 (frameset-filter-iconified, frameset-keep-original-display-p):
15207 Doc fixes.
15208 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
15209 Rename from frameset-filter-(save|restore)-param. All callers changed.
15210 Doc fix.
15211 (frameset-p): Adapt to change to vector and be more thorough.
15212 Change arg name to OBJECT. Doc fix.
15213 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
15214 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
15215 All callers changed.
15216 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
15217 All callers changed.
15218 (frameset--record-minibuffer-relationships): Rename from
15219 frameset--process-minibuffer-frames. All callers changed.
15220 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
15221 Use new default constructor (again). Doc fix.
15222 (frameset--find-frame-if): Rename from `frameset--find-frame'.
15223 All callers changed.
15224 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
15225 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
15226 Doc fix.
15227 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
15228 PARAMETERS and WINDOW-STATE, respectively.
15229 (frameset-restore): Add new keyword argument PREDICATE.
15230 Reset frameset--target-display to nil. Doc fix.
15231
15232 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
15233
15234 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
15235 (bat-mode): Use it.
15236 (bat-mode-syntax-table): Mark \n as end-of-comment.
15237 (bat-font-lock-keywords): Remove comment rule.
15238
15239 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
15240 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
15241
15242 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
15243 (byte-compile-callargs-warn): Use `push'.
15244 (byte-compile-arglist-warn): Ignore higher-order "calls".
15245 (byte-compile-file-form-autoload): Use `pcase'.
15246 (byte-compile-function-form): If quoting a symbol, check that it exists.
15247
15248 2013-08-07 Eli Zaretskii <eliz@gnu.org>
15249
15250 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
15251 and add a few popular commands found in batch files.
15252 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
15253 (dos-mode): Doc fixes.
15254
15255 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
15256
15257 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
15258 (dos-mode): Use setq-local. Add space after "rem".
15259 (dos-mode-syntax-table): Don't use "w" for symbol chars.
15260 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
15261
15262 2013-08-07 Arni Magnusson <arnima@hafro.is>
15263
15264 * progmodes/dos.el: New file.
15265 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
15266 dos-mode.
15267
15268 2013-08-06 Glenn Morris <rgm@gnu.org>
15269
15270 * calendar/calendar.el: Add new faces, and day-header-array.
15271 (calendar-weekday-header, calendar-weekend-header)
15272 (calendar-month-header): New faces.
15273 (calendar-day-header-construct): New function.
15274 (calendar-day-header-width): Also :set calendar-day-header-array.
15275 (calendar-american-month-header, calendar-european-month-header)
15276 (calendar-iso-month-header): Use calendar- faces.
15277 (calendar-generate-month):
15278 Use calendar-day-header-array for day headers; apply faces to them.
15279 (calendar-mode): Check calendar-font-lock-keywords non-nil.
15280 (calendar-abbrev-construct): Add optional maxlen argument.
15281 (calendar-day-name-array): Doc fix.
15282 (calendar-day-name-array, calendar-abbrev-length)
15283 (calendar-day-abbrev-array):
15284 Also :set calendar-day-header-array, and maybe redraw.
15285 (calendar-day-header-array): New option. (Bug#15007)
15286 (calendar-font-lock-keywords): Set to nil and make obsolete.
15287 (calendar-day-name): Add option to use header array.
15288
15289 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15290
15291 * net/shr.el (shr-render-td): Remove debugging.
15292 (shr-render-td): Make width computation consistent by defaulting
15293 all zero-width columns to 10 characters. This may not be optimal,
15294 but it's at least consistent.
15295 (shr-make-table-1): Redo last change to fix the real problem in
15296 colspan handling.
15297
15298 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15299
15300 * files.el (cache-long-line-scans):
15301 Make obsolete alias to `cache-long-scans'.
15302
15303 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15304
15305 * frameset.el (frameset, frameset-filter-alist)
15306 (frameset-filter-params, frameset-save, frameset--reuse-frame)
15307 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
15308 (frameset-compute-pos): Rename from frameset--compute-pos,
15309 and add docstring.
15310 (frameset-move-onscreen): Use frameset-compute-pos.
15311 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15312
15313 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
15314 Fix typos in docstrings.
15315
15316 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15317
15318 * frame.el (get-other-frame): Tiny cleanup.
15319
15320 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15321
15322 * vc/vc.el (vc-default-ignore-completion-table):
15323 Silence byte-compiler warning.
15324
15325 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
15326 slot, which can indeed be nil.
15327 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15328 Move entry for `left' from persistent to live filter alist.
15329 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
15330 Doc fixes.
15331 (frameset-filter-params): When restoring a frame, copy items added to
15332 `filtered', to avoid unwittingly modifying the original parameters.
15333 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
15334 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
15335
15336 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
15337 to use looking-at-p instead of looking-at. (Bug#15028)
15338
15339 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15340
15341 Revert introduction of isearch-filter-predicates (bug#14714).
15342 Rely on add-function instead.
15343 * isearch.el (isearch-filter-predicates): Rename it back to
15344 isearch-filter-predicate.
15345 (isearch-message-prefix): Use advice-function-mapc and advice
15346 properties to get the isearch-message-prefix.
15347 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
15348 instead of run-hook-with-args-until-failure.
15349 (isearch-filter-visible): Not obsolete any more.
15350 * loadup.el: Preload nadvice.
15351 * replace.el (perform-replace): Revert to funcall
15352 instead of run-hook-with-args-until-failure.
15353 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
15354 * dired-aux.el (dired-isearch-filenames-mode): Rename from
15355 dired-isearch-filenames-toggle; make it into a proper minor mode.
15356 Use add/remove-function.
15357 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
15358 Call the minor-mode rather than add/remove-hook.
15359 (dired-isearch-filter-filenames):
15360 Remove isearch-message-prefix property.
15361 * info.el (Info--search-loop): New function, extracted from Info-search.
15362 Funcall isearch-filter-predicate instead of
15363 run-hook-with-args-until-failure isearch-filter-predicates.
15364 (Info-search): Use it.
15365 (Info-mode): Use isearch-filter-predicate instead of
15366 isearch-filter-predicates.
15367
15368 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15369
15370 Do not call to `selected-window' where it is assumed by default.
15371 Affected functions are `window-minibuffer-p', `window-dedicated-p',
15372 `window-hscroll', `window-width', `window-height', `window-buffer',
15373 `window-frame', `window-start', `window-point', `next-window'
15374 and `window-display-table'.
15375 * abbrev.el (abbrev--default-expand):
15376 * bs.el (bs--show-with-configuration):
15377 * buff-menu.el (Buffer-menu-mouse-select):
15378 * calc/calc.el (calc):
15379 * calendar/calendar.el (calendar-generate-window):
15380 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
15381 (diary-make-entry):
15382 * comint.el (send-invisible, comint-dynamic-complete-filename)
15383 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
15384 * completion.el (complete):
15385 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
15386 * disp-table.el (describe-current-display-table):
15387 * doc-view.el (doc-view-insert-image):
15388 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
15389 * ehelp.el (with-electric-help):
15390 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15391 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
15392 * emacs-lisp/helper.el (Helper-help-scroller):
15393 * emulation/cua-base.el (cua--post-command-handler-1):
15394 * eshell/esh-mode.el (eshell-output-filter):
15395 * ffap.el (ffap-gnus-wrapper):
15396 * help-macro.el (make-help-screen):
15397 * hilit-chg.el (highlight-compare-buffers):
15398 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
15399 * hl-line.el (global-hl-line-highlight):
15400 * icomplete.el (icomplete-simple-completing-p):
15401 * isearch.el (isearch-done):
15402 * jit-lock.el (jit-lock-stealth-fontify):
15403 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
15404 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
15405 * mpc.el (mpc-tagbrowser, mpc):
15406 * net/rcirc.el (rcirc-any-buffer):
15407 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
15408 * play/landmark.el (landmark-max-width, landmark-max-height):
15409 * play/zone.el (zone):
15410 * progmodes/compile.el (compilation-goto-locus):
15411 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
15412 * progmodes/etags.el (find-tag-other-window):
15413 * progmodes/fortran.el (fortran-column-ruler):
15414 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15415 * progmodes/verilog-mode.el (verilog-point-text):
15416 * reposition.el (reposition-window):
15417 * rot13.el (toggle-rot13-mode):
15418 * server.el (server-switch-buffer):
15419 * shell.el (shell-dynamic-complete-command)
15420 (shell-dynamic-complete-environment-variable):
15421 * simple.el (insert-buffer, set-selective-display)
15422 (delete-completion-window):
15423 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
15424 (speedbar-recenter):
15425 * startup.el (fancy-splash-head):
15426 * textmodes/ispell.el (ispell-command-loop):
15427 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
15428 * tutorial.el (help-with-tutorial):
15429 * vc/add-log.el (add-change-log-entry):
15430 * vc/compare-w.el (compare-windows):
15431 * vc/ediff-help.el (ediff-indent-help-message):
15432 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
15433 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
15434 (ediff-setup-control-frame):
15435 * vc/emerge.el (emerge-position-region):
15436 * vc/pcvs-util.el (cvs-bury-buffer):
15437 * window.el (walk-windows, mouse-autoselect-window-select):
15438 * winner.el (winner-set-conf, winner-undo): Related users changed.
15439
15440 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15441
15442 * frameset.el (frameset--set-id): Doc fix.
15443 (frameset-frame-id, frameset-frame-id-equal-p)
15444 (frameset-locate-frame-id): New functions.
15445 (frameset--process-minibuffer-frames, frameset--reuse-frame)
15446 (frameset-restore): Use them.
15447
15448 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15449
15450 Do not call to `selected-frame' where it is assumed by default.
15451 Affected functions are `raise-frame', `redraw-frame',
15452 `frame-first-window', `frame-terminal' and `delete-frame'.
15453 * calendar/appt.el (appt-disp-window):
15454 * epg.el (epg-wait-for-completion):
15455 * follow.el (follow-delete-other-windows-and-split)
15456 (follow-avoid-tail-recenter):
15457 * international/mule.el (set-terminal-coding-system):
15458 * mail/rmail.el (rmail-mail-return):
15459 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15460 * progmodes/f90.el (f90-add-imenu-menu):
15461 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
15462 * server.el (server-switch-buffer):
15463 * simple.el (delete-completion-window):
15464 * talk.el (talk):
15465 * term/xterm.el (terminal-init-xterm-modify-other-keys)
15466 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
15467 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
15468 * vc/ediff.el (ediff-documentation): Related users changed.
15469 * frame.el (selected-terminal): Remove the leftover.
15470
15471 2013-08-05 Glenn Morris <rgm@gnu.org>
15472
15473 * calendar/calendar.el (calendar-generate-month):
15474 Fix for calendar-column-width != 1 + calendar-day-digit-width.
15475 (calendar-generate-month, calendar-font-lock-keywords):
15476 Fix for calendar-day-header-width > length of any day name.
15477
15478 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15479
15480 * desktop.el (desktop-clear): Use new name of sort predicate.
15481
15482 * frameset.el (frameset): Add docstring. Move :version property to its
15483 own `version' slot.
15484 (frameset-copy): Rename from copy-frameset.
15485 (frameset-p): Check more thoroughly.
15486 (frameset-prop): Do not check for :version, which is no longer a prop.
15487 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15488 Use new :never value instead of t.
15489 (frameset-filter-alist): Expand and clarify docstring.
15490 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
15491 (frameset-filter-minibuffer, frameset-filter-save-param)
15492 (frameset-filter-restore-param, frameset-filter-iconified):
15493 Add pointer to docstring of frameset-filter-alist.
15494 (frameset-filter-params): Rename filter values to be more meaningful:
15495 :never instead of t, and reverse the meanings of :save and :restore.
15496 (frameset--process-minibuffer-frames): Clarify error message.
15497 (frameset-save): Avoid unnecessary and confusing call to framep.
15498 Use new BOA constructor for framesets.
15499 (frameset--reuse-list): Doc fix.
15500 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
15501 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
15502 (frameset-minibufferless-first-p): Doc fix.
15503 Rename from frameset-sort-frames-for-deletion.
15504 (frameset-restore): Doc fixes. Use new function names.
15505 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15506
15507 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15508
15509 * desktop.el (desktop-restore-forces-onscreen)
15510 (desktop-restore-reuses-frames): Document :keyword constant values.
15511 (desktop-filter-parameters-alist): Remove, now identical to
15512 frameset-filter-alist.
15513 (desktop--filter-tty*): Remove, moved to frameset.el.
15514 (desktop-save-frameset, desktop-restore-frameset):
15515 Do not pass :filters argument.
15516
15517 * frameset.el (frameset-live-filter-alist)
15518 (frameset-persistent-filter-alist): New variables.
15519 (frameset-filter-alist): Use them. Add autoload cookie.
15520 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
15521 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
15522 `frameset--id' (it's supposed to be internal to frameset.el).
15523 (frameset--process-minibuffer-frames): Ditto. Doc fix.
15524 (frameset--initial-params): New function.
15525 (frameset--get-frame): Use it. Doc fix.
15526 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
15527 Accept :all, not 'all.
15528 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
15529 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
15530 with fbound symbols. Fix frame id matching, and remove matching ids if
15531 the frame being restored is deleted. Obey :delete.
15532
15533 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15534
15535 * subr.el (macrop): New function.
15536 (text-clone--maintaining): New var.
15537 (text-clone--maintain): Rename from text-clone-maintain. Use it
15538 instead of inhibit-modification-hooks.
15539
15540 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
15541 a proxy, so as handle autoloads and redefinitions of the target.
15542 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
15543
15544 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
15545 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
15546 (pcase--mutually-exclusive-p): New function.
15547 (pcase--split-consp): Use it.
15548 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
15549 mutually exclusive with the current predicate.
15550
15551 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
15552 (edebug-macrop): Remove. Use `macrop' instead.
15553 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
15554 (ad-macro-p):
15555 * eshell/esh-cmd.el (eshell-macrop):
15556 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
15557
15558 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15559
15560 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
15561 (advice-mapc): New function, using it.
15562 (advice-function-member-p): New function.
15563 (advice--normalize): Store the cdr in advice--saved-rewrite since
15564 that's the part that will be changed.
15565 (advice--symbol-function): New function.
15566 (advice-remove): Handle removal before the function is defined.
15567 Adjust to new advice--saved-rewrite.
15568 (advice-member-p): Use advice-function-member-p and
15569 advice--symbol-function.
15570
15571 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15572
15573 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
15574 (frameset-filter-minibuffer): Doc fix.
15575 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
15576 (frameset--set-id, frameset--process-minibuffer-frames)
15577 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
15578 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
15579
15580 * desktop.el (desktop-clear): Only delete frames when called
15581 interactively and desktop-restore-frames is non-nil. Doc fix.
15582 (desktop-read): Set desktop-saved-frameset to nil.
15583
15584 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
15585
15586 * vc/vc.el (vc-ignore): Rewrite.
15587 (vc-default-ignore-completion-table, vc--read-lines)
15588 (vc--add-line, vc--remove-regexp): New functions.
15589
15590 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
15591 (vc-svn-ignore-completion-table): New function.
15592
15593 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
15594 (vc-hg-ignore-completion-table)
15595 (vc-hg-find-ignore-file): New functions.
15596
15597 * vc/vc-git.el (vc-git-ignore): Rewrite.
15598 (vc-git-ignore-completion-table)
15599 (vc-git-find-ignore-file): New functions.
15600
15601 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
15602
15603 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
15604 (vc-bzr-ignore-completion-table)
15605 (vc-bzr-find-ignore-file): New functions.
15606
15607 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
15608
15609 * frameset.el (frameset-prop): New function and setter.
15610 (frameset-save): Do not modify frame list passed by the caller.
15611
15612 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15613
15614 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
15615
15616 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
15617
15618 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
15619 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
15620
15621 * custom.el (custom-initialize-default, custom-initialize-set)
15622 (custom-initialize-reset, custom-initialize-changed): Affect the
15623 toplevel-default-value (bug#6275, bug#14586).
15624 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
15625 for bug#6275.
15626
15627 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15628
15629 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
15630 Add cl-def* expressions.
15631
15632 * frameset.el (frameset-filter-params): Fix order of arguments.
15633
15634 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15635
15636 Move code related to saving frames to frameset.el.
15637 * desktop.el: Require frameset.
15638 (desktop-restore-frames): Doc fix.
15639 (desktop-restore-reuses-frames): Rename from
15640 desktop-restoring-reuses-frames.
15641 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
15642 (desktop-clear): Clear frames too.
15643 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
15644 (desktop--filter-tty*, desktop-save, desktop-read):
15645 Use frameset functions.
15646 (desktop-before-saving-frames-functions, desktop--filter-*-color)
15647 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15648 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
15649 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
15650 (desktop--process-minibuffer-frames, desktop-save-frames)
15651 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
15652 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
15653 (desktop--sort-states, desktop-restoring-frames-p)
15654 (desktop-restore-frames): Remove. Most code moved to frameset.el.
15655 (desktop-restoring-frameset-p, desktop-restore-frameset)
15656 (desktop--check-dont-save, desktop-save-frameset): New functions.
15657 (desktop--app-id): New constant.
15658 (desktop-first-buffer, desktop-buffer-ok-count)
15659 (desktop-buffer-fail-count): Move before first use.
15660 * frameset.el: New file.
15661
15662 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15663
15664 * files.el: Use lexical-binding.
15665 (dir-locals-read-from-file): Remove unused `err' variable.
15666 (hack-dir-local-variables--warned-coding): New var.
15667 (hack-dir-local-variables): Use it to avoid repeated warnings.
15668 (make-backup-file-name--default-function): New function.
15669 (make-backup-file-name-function): Use it as default.
15670 (buffer-stale--default-function): New function.
15671 (buffer-stale-function): Use it as default.
15672 (revert-buffer-insert-file-contents--default-function): New function.
15673 (revert-buffer-insert-file-contents-function): Use it as default.
15674 (insert-directory): Avoid add-to-list.
15675
15676 * autorevert.el (auto-revert-handler): Simplify.
15677 Use buffer-stale--default-function.
15678
15679 2013-08-01 Tassilo Horn <tsdh@gnu.org>
15680
15681 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
15682
15683 * whitespace.el (whitespace-ensure-local-variables): New function.
15684 (whitespace-cleanup-region): Call it.
15685 (whitespace-turn-on): Call it.
15686
15687 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
15688
15689 Complete file name handlers.
15690
15691 * net/tramp.el (tramp-handle-set-visited-file-modtime)
15692 (tramp-handle-verify-visited-file-modtime)
15693 (tramp-handle-file-notify-rm-watch): New functions.
15694 (tramp-call-process): Do not bind `default-directory'.
15695
15696 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15697 Order alphabetically.
15698 <access-file, add-name-to-file, dired-call-process>:
15699 <dired-compress-file, file-acl, file-notify-rm-watch>:
15700 <file-ownership-preserved-p, file-selinux-context>:
15701 <make-directory-internal, make-symbolic-link, set-file-acl>:
15702 <set-file-selinux-context, set-visited-file-modtime>:
15703 <verify-visited-file-modtime>: Add handler.
15704 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
15705
15706 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
15707 <file-notify-add-watch, file-notify-rm-watch>:
15708 <set-file-times, set-visited-file-modtime>:
15709 <verify-visited-file-modtime>: Add handler.
15710 (with-tramp-gvfs-error-message)
15711 (tramp-gvfs-handle-set-visited-file-modtime)
15712 (tramp-gvfs-fuse-file-name): Remove.
15713 (tramp-gvfs-handle-file-notify-add-watch)
15714 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
15715 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
15716
15717 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15718 Order alphabetically.
15719 <file-notify-rm-watch>: Use default Tramp handler.
15720 <executable-find>: Remove private handler.
15721 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
15722 `default-directory'.
15723 (tramp-sh-handle-executable-find)
15724 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
15725 (tramp-sh-file-gvfs-monitor-dir-process-filter)
15726 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
15727 Do not use `format' in `tramp-message'.
15728
15729 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
15730 <file-notify-rm-watch, set-visited-file-modtime>:
15731 <verify-visited-file-modtime>: Add handler.
15732 (tramp-smb-call-winexe): Do not bind `default-directory'.
15733
15734 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
15735
15736 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
15737
15738 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
15739
15740 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
15741 use it.
15742 (log-view-diff-changeset): Same.
15743 (log-view-diff-common): Call backend command `previous-revision'
15744 to find out the previous revision, in both cases. Swap the
15745 variables `to' and `fr', so that `fr' usually refers to the
15746 earlier revision (Bug#14989).
15747
15748 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
15749
15750 * ibuf-ext.el (ibuffer-filter-by-filename):
15751 Make it work with dired buffers too.
15752
15753 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
15754
15755 * emacs-lisp/re-builder.el (reb-color-display-p):
15756 * files.el (save-buffers-kill-terminal):
15757 * net/browse-url.el (browse-url):
15758 * server.el (server-save-buffers-kill-terminal):
15759 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
15760 Prefer nil to selected-frame for the first arg of frame-parameter.
15761
15762 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
15763
15764 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
15765
15766 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
15767
15768 * minibuffer.el (completion--twq-all): Try and preserve each
15769 completion's case choice (bug#14907).
15770
15771 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15772
15773 * net/network-stream.el (open-network-stream): Mention the new
15774 :nogreeting parameter.
15775 (network-stream-open-starttls): Use the :nogreeting parameter
15776 (bug#14938).
15777
15778 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
15779
15780 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
15781 more natural than popping.
15782
15783 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
15784 (shr-urlify): Highlight under mouse.
15785
15786 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
15787
15788 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
15789
15790 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
15791
15792 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
15793 buffer for output.
15794
15795 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
15796 point-min==1. Fix search string. Fix parentheses missing.
15797
15798 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
15799 assume point-min==1. Fix search string. Fix parentheses missing.
15800
15801 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
15802
15803 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
15804 buffer for output.
15805
15806 2013-07-29 Eli Zaretskii <eliz@gnu.org>
15807
15808 * frame.el (frame-notice-user-settings): Avoid inflooping when the
15809 initial frame is minibuffer-less. (Bug#14841)
15810
15811 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
15812
15813 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
15814 option.
15815
15816 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15817 (tramp-maybe-open-connection): Use it.
15818
15819 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15820
15821 * desktop.el (desktop--make-frame): Include `minibuffer' in the
15822 minimal set of parameters passed when creating a frame, because
15823 the minibuffer status of a frame cannot be changed later.
15824
15825 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
15826
15827 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
15828 replace-regexp-in-string and inadvertent omissions in previous change.
15829 (todo-filter-items): Ensure only file names are comma-separated in
15830 name of filtered items buffer.
15831
15832 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15833
15834 * desktop.el: Optionally force offscreen frames back onscreen.
15835 (desktop-restoring-reuses-frames): New option.
15836 (desktop--compute-pos, desktop--move-onscreen): New functions.
15837 (desktop--make-frame): Use desktop--move-onscreen.
15838
15839 2013-07-27 Alan Mackenzie <acm@muc.de>
15840
15841 Fontify a Java generic method as a function.
15842 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
15843 value to t.
15844
15845 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
15846
15847 * calendar/todo-mode.el: Add command to rename todo files.
15848 (todo-rename-file): New command.
15849 (todo-key-bindings-t): Add key binding for it. Change the
15850 bindings of todo-filter-regexp-items(-multifile) to use `x'
15851 instead of `r', since the latter is better suited to the new
15852 renaming command.
15853
15854 2013-07-27 Alan Mackenzie <acm@muc.de>
15855
15856 Make Java try-with-resources statement parse properly.
15857 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
15858 (c-block-stmt-1-2-key): New language constants/variables.
15859 * progmodes/cc-engine.el (c-beginning-of-statement-1)
15860 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
15861 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
15862 with c-block-stmt-1-2-key.
15863
15864 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
15865
15866 * desktop.el (desktop--make-frame): Apply most frame parameters after
15867 creating the frame to force (partially or totally) offscreen frames to
15868 be restored as such.
15869
15870 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
15871
15872 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
15873 (Bug#14948)
15874
15875 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15876
15877 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
15878 `base' arg of backtrace-frame.
15879
15880 2013-07-26 Eli Zaretskii <eliz@gnu.org>
15881
15882 * simple.el (list-processes): Doc fix.
15883
15884 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
15885
15886 * desktop.el (desktop--select-frame):
15887 Try harder to reuse existing frames.
15888
15889 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15890
15891 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
15892 (edebug-eval): Use backtrace-eval.
15893 (edebug--display, edebug--recursive-edit): Don't let-bind the
15894 edebug-outer-* vars that keep track of variables we locally let-bind.
15895 (edebug-outside-excursion): Don't restore outside values of locally
15896 let-bound vars.
15897 (edebug--display): Use user-error.
15898 (cl-lexical-debug, cl-debug-env): Remove.
15899
15900 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
15901
15902 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
15903 are restored to be sure that they are visible before deleting any
15904 remaining ones.
15905
15906 2013-07-26 Matthias Meulien <orontee@gmail.com>
15907
15908 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
15909 vc-print-root-log. (Bug#14948)
15910
15911 2013-07-26 Richard Stallman <rms@gnu.org>
15912
15913 Add aliases for encrypting mail.
15914 * epa.el (epa-mail-aliases): New option.
15915 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
15916 Bind inhibit-read-only so read-only text doesn't ruin everything.
15917 (epa-mail-default-recipients): New subroutine broken out.
15918 Handle epa-mail-aliases.
15919
15920 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15921
15922 Add support for lexical variables to the debugger's `e' command.
15923 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
15924 vars, except for debugger-outer-match-data.
15925 (debugger-frame-number): Move check for "on a function call" from
15926 callers into it. Add `skip-base' argument.
15927 (debugger-frame, debugger-frame-clear): Simplify accordingly.
15928 (debugger-env-macro): Only reset the state stored in non-variables,
15929 i.e. current-buffer and match-data.
15930 (debugger-eval-expression): Rewrite using backtrace-eval.
15931 * subr.el (internal--called-interactively-p--get-frame): Remove.
15932 (called-interactively-p):
15933 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
15934 `base' arg of backtrace-frame instead.
15935
15936 2013-07-26 Glenn Morris <rgm@gnu.org>
15937
15938 * align.el (align-regexp): Doc fix. (Bug#14857)
15939 (align-region): Explicit error if subexpression missing/does not match.
15940
15941 * simple.el (global-visual-line-mode):
15942 Do not duplicate the mode lighter. (Bug#14858)
15943
15944 2013-07-25 Martin Rudalics <rudalics@gmx.at>
15945
15946 * window.el (display-buffer): In display-buffer bind
15947 split-window-keep-point to t, bug#14829.
15948
15949 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
15950
15951 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
15952 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
15953 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
15954 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15955 Change accordingly.
15956 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15957 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
15958
15959 2013-07-25 Glenn Morris <rgm@gnu.org>
15960
15961 * dired-x.el (dired-mark-extension): Convert comment to doc string.
15962
15963 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
15964
15965 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
15966 parameter to modify-frame-parameters if the value has not changed;
15967 this is a workaround for bug#14949.
15968 (desktop--make-frame): On cl-delete-if call, check parameter name,
15969 not full parameter.
15970
15971 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
15972
15973 * vc/vc.el (vc-ignore): New function.
15974
15975 * vc/vc-svn.el (vc-svn-ignore): New function.
15976
15977 * vc/vc-hg.el (vc-hg-ignore): New function.
15978
15979 * vc/vc-git.el (vc-git-ignore): New function.
15980
15981 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
15982 (vc-dir-ignore): New function.
15983
15984 * vc/vc-cvs.el (vc-cvs-ignore): New function.
15985 (cvs-append-to-ignore): Move here from pcvs.el.
15986
15987 * vc/vc-bzr.el (vc-bzr-ignore): New function.
15988
15989 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
15990
15991 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
15992
15993 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
15994 (desktop-restore-frames): Warn when deleting an existing frame failed.
15995
15996 2013-07-24 Glenn Morris <rgm@gnu.org>
15997
15998 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
15999
16000 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
16001
16002 * filenotify.el (file-notify-supported-p):
16003 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16004 Remove functions.
16005
16006 * autorevert.el (auto-revert-use-notify)
16007 (auto-revert-notify-add-watch):
16008 * net/tramp.el (tramp-file-name-for-operation):
16009 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16010 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16011 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16012 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16013 Remove `file-notify-supported-p' entry.
16014
16015 2013-07-24 Glenn Morris <rgm@gnu.org>
16016
16017 * printing.el: Replace all uses of deleted ps-windows-system,
16018 ps-lp-system, ps-flatten-list with lpr- versions.
16019
16020 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
16021
16022 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
16023 checked with memq (bug#14935).
16024
16025 * files.el (revert-buffer-function): Use a non-nil default.
16026 (revert-buffer-preserve-modes): Declare var to
16027 provide access to the `preserve-modes' argument.
16028 (revert-buffer): Let-bind it.
16029 (revert-buffer--default): New function, extracted from revert-buffer.
16030
16031 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
16032
16033 * lpr.el: Signal print errors more prominently.
16034 (print-region-function): Don't default to nil.
16035 (lpr-print-region): New function, extracted from print-region-1.
16036 Check lpr's return value and signal an error in case of problem.
16037 (print-region-1): Use it.
16038 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
16039 versions instead.
16040 (ps-printer-name): Default to nil.
16041 (ps-printer-name-option): Default to lpr-printer-switch.
16042 (ps-print-region-function): Don't default to nil.
16043 (ps-postscript-code-directory): Simplify default.
16044 (ps-do-despool): Use lpr-print-region to properly check the outcome.
16045 (ps-string-list, ps-eval-switch, ps-flatten-list)
16046 (ps-flatten-list-1): Remove.
16047 (ps-multibyte-buffer): Avoid setq.
16048 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
16049 (print-region-function, ps-print-region-function): Don't set them here.
16050
16051 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
16052
16053 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
16054 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
16055 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
16056 (ido-decorations): Doc fix.
16057
16058 * ansi-color.el: Fix old URL.
16059
16060 2013-07-23 Michael R. Mauger <michael@mauger.com>
16061
16062 * progmodes/sql.el: Version 3.3
16063 (sql-product-alist): Improve oracle :prompt-cont-regexp.
16064 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
16065 (sql-interactive-remove-continuation-prompt): Rewrite, use
16066 functions above. Fix continuation prompt and complete output line
16067 handling.
16068 (sql-redirect-one, sql-execute): Use `read-only-mode' on
16069 redirected output buffer.
16070 (sql-mode): Restore deleted code (Bug#13591).
16071
16072 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
16073
16074 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
16075
16076 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
16077
16078 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
16079
16080 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16081 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16082 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
16083
16084 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
16085
16086 * desktop.el (desktop-clear): Simplify; remove useless checks
16087 against invalid buffer names.
16088 (desktop-list*): Use cl-list*.
16089 (desktop-buffer-info, desktop-create-buffer): Simplify.
16090
16091 2013-07-23 Leo Liu <sdl.web@gmail.com>
16092
16093 * bookmark.el (bookmark-make-record): Restore NAME as a default
16094 value. (Bug#14933)
16095
16096 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
16097
16098 * emacs-lisp/autoload.el (autoload--setup-output): New function,
16099 extracted from autoload--insert-text.
16100 (autoload--insert-text): Remove.
16101 (autoload--print-cookie-text): New function, extracted from
16102 autoload--insert-cookie-text.
16103 (autoload--insert-cookie-text): Remove.
16104 (autoload-generate-file-autoloads): Adjust calls accordingly.
16105
16106 * winner.el (winner-hook-installed-p): Remove.
16107 (winner-mode): Simplify accordingly.
16108
16109 * subr.el (add-to-list): Fix compiler-macro when `append' is
16110 not constant. Don't use `cl-member' for the base case.
16111
16112 * progmodes/subword.el: Fix boundary case (bug#13758).
16113 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
16114 own group.
16115 (subword-backward-regexp): Make it a constant.
16116 (subword-forward-internal): Don't treat a trailing capital as the
16117 beginning of a word.
16118
16119 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
16120
16121 * emacs-lisp/package.el (package-menu-mode): Don't modify the
16122 global value of tabulated-list-revert-hook (bug#14930).
16123
16124 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
16125
16126 * desktop.el: Require 'cl-lib.
16127 (desktop-before-saving-frames-functions): New hook.
16128 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
16129 for frames being saved. Rename from desktop--save-minibuffer-frames.
16130 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
16131 Do not save frames with non-nil `desktop-dont-save' parameter.
16132 Filter out deleted frames.
16133 (desktop--find-frame): Use cl-find-if.
16134 (desktop--select-frame): Use cl-(first|second|third) to access values
16135 of desktop-mini.
16136 (desktop--make-frame): Use cl-delete-if.
16137 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
16138 (desktop-restore-frames): Use cl-(first|second|third) to access values
16139 of desktop-mini. Look for visible frame at the end, not while
16140 restoring frames.
16141
16142 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
16143 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
16144 Use string-match-p, looking-at-p (bug#14927).
16145
16146 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
16147
16148 * desktop.el (desktop-saved-frame-states):
16149 Rename from desktop--saved-states; all users changed.
16150 (desktop-save-frames): Rename from desktop--save-frames.
16151 Do not save state to desktop file.
16152 (desktop-save): Save desktop-saved-frame-states to desktop file
16153 and reset to nil.
16154 (desktop-restoring-frames-p): New function.
16155 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
16156 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
16157 buffer-lists when restoring frames. Suggested by Martin Rudalics.
16158
16159 * desktop.el: Correctly restore iconified frames.
16160 (desktop--filter-iconified-position): New function.
16161 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
16162
16163 2013-07-20 Glenn Morris <rgm@gnu.org>
16164
16165 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
16166 Let `message' do the formatting.
16167 (def-gdb-preempt-display-buffer): Add explicit format.
16168
16169 * image-dired.el (image-dired-track-original-file):
16170 Use with-current-buffer.
16171 (image-dired-track-thumbnail): Use with-current-buffer.
16172 Avoid changing point of wrong window.
16173
16174 * image-dired.el (image-dired-track-original-file):
16175 Avoid changing point of wrong window. (Bug#14909)
16176
16177 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
16178
16179 * progmodes/gdb-mi.el (gdb-done-or-error):
16180 Guard against "%" in gdb output. (Bug#14127)
16181
16182 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
16183
16184 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
16185 (Bug#14826)
16186
16187 * international/mule.el (coding-system-iso-2022-flags): Fix last
16188 change.
16189
16190 2013-07-20 Kenichi Handa <handa@gnu.org>
16191
16192 * international/mule.el (coding-system-iso-2022-flags):
16193 Add `8-bit-level-4'. (Bug#8522)
16194
16195 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16196
16197 * net/shr.el (shr-mouse-browse-url): New command and keystroke
16198 (bug#14815).
16199
16200 * net/eww.el (eww-process-text-input): Allow inputting when the
16201 point is at the start of the line, as the properties aren't
16202 front-sticky.
16203
16204 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
16205 degenerate widths.
16206
16207 2013-07-19 Richard Stallman <rms@gnu.org>
16208
16209 * epa.el (epa-popup-info-window): Doc fix.
16210
16211 * subr.el (split-string): New arg TRIM.
16212
16213 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
16214
16215 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
16216 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
16217
16218 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
16219
16220 * filenotify.el (file-notify--library): Rename from
16221 `file-notify-support'. Do not autoload. Adapt all uses.
16222 (file-notify-supported-p): New defun.
16223
16224 * autorevert.el (auto-revert-use-notify):
16225 Use `file-notify-supported-p' instead of `file-notify-support'.
16226 Adapt docstring.
16227 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
16228
16229 * net/tramp.el (tramp-file-name-for-operation):
16230 Add `file-notify-supported-p'.
16231
16232 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
16233 New defun.
16234 (tramp-sh-file-name-handler-alist): Add it as handler for
16235 `file-notify-supported-p '.
16236
16237 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
16238 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16239 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16240 Add `ignore' as handler for `file-notify-*' functions.
16241
16242 2013-07-17 Eli Zaretskii <eliz@gnu.org>
16243
16244 * simple.el (line-move-partial, line-move): Don't start vscroll or
16245 scroll-up if the current line is not taller than the window.
16246 (Bug#14881)
16247
16248 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
16249
16250 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
16251 highlight question marks in the method names as strings.
16252 (ruby-block-beg-keywords): Inline.
16253 (ruby-font-lock-keyword-beg-re): Extract from
16254 `ruby-font-lock-keywords'.
16255
16256 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
16257
16258 * frame.el (blink-cursor-blinks): New defcustom.
16259 (blink-cursor-blinks-done): New defvar.
16260 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
16261 (blink-cursor-timer-function): Check if number of blinks has been
16262 done on X and NS.
16263 (blink-cursor-suspend, blink-cursor-check): New defuns.
16264
16265 2013-07-15 Glenn Morris <rgm@gnu.org>
16266
16267 * edmacro.el (edmacro-format-keys): Fix previous change.
16268
16269 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
16270
16271 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
16272 The hack didn't work outside English locales anyway.
16273
16274 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
16275
16276 * simple.el (define-alternatives): Rename from alternatives-define,
16277 per RMS' suggestion.
16278
16279 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
16280
16281 * desktop.el (desktop-restore-frames): Change default to t.
16282 (desktop-restore-in-current-display): Now offer more options.
16283 (desktop-restoring-reuses-frames): New customization option.
16284 (desktop--saved-states): Doc fix.
16285 (desktop-filter-parameters-alist): New variable, renamed and expanded
16286 from desktop--excluded-frame-parameters.
16287 (desktop--target-display): New variable.
16288 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
16289 (desktop--filter-tty*, desktop--filter-*-color)
16290 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
16291 (desktop--filter-save-desktop-parm)
16292 (desktop-restore-in-original-display-p): New functions.
16293 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
16294 (desktop--save-minibuffer-frames): New function, inspired by a similar
16295 function from Martin Rudalics.
16296 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
16297 (desktop--restore-in-this-display-p): Remove.
16298 (desktop--find-frame): Rename from desktop--find-frame-in-display
16299 and add predicate argument.
16300 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
16301 (desktop--reuse-list): New variable.
16302 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
16303 New functions.
16304 (desktop--restore-frames): Add support for "minibuffer-special" frames.
16305
16306 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
16307
16308 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
16309
16310 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
16311
16312 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16313 Highlight conversion methods on Kernel.
16314
16315 2013-07-13 Alan Mackenzie <acm@muc.de>
16316
16317 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
16318 and comment it out. This out-commenting enables certain C++
16319 declarations to be parsed correctly.
16320
16321 2013-07-13 Eli Zaretskii <eliz@gnu.org>
16322
16323 * international/mule.el (define-coding-system): Doc fix.
16324
16325 * simple.el (default-font-height): Don't call font-info if the
16326 frame's default font didn't change since the frame was created.
16327 (Bug#14838)
16328
16329 2013-07-13 Leo Liu <sdl.web@gmail.com>
16330
16331 * ido.el (ido-read-file-name): Guard against non-symbol value.
16332
16333 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
16334
16335 * progmodes/python.el (python-imenu--build-tree): Fix corner case
16336 in nested defuns.
16337
16338 2013-07-13 Leo Liu <sdl.web@gmail.com>
16339
16340 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
16341 ido-set-matches call. (Bug#6852)
16342
16343 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
16344
16345 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
16346 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
16347 Ruby 2.0.
16348 (ruby-font-lock-keywords): Distinguish calls to functions with
16349 module-like names from module references. Highlight character
16350 literals.
16351
16352 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
16353
16354 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
16355 (gdb-send): Handle continued commands. (Bug#14847)
16356
16357 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16358
16359 * desktop.el (desktop--v2s): Remove unused local variable.
16360 (desktop-save-buffer): Make defvar-local; adjust docstring.
16361 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
16362 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
16363
16364 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
16365
16366 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
16367
16368 2013-07-12 Eli Zaretskii <eliz@gnu.org>
16369
16370 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
16371 (Bug#14842)
16372
16373 2013-07-12 Glenn Morris <rgm@gnu.org>
16374
16375 * doc-view.el: Require cl-lib at runtime too.
16376 (doc-view-remove-if): Remove.
16377 (doc-view-search-next-match, doc-view-search-previous-match):
16378 Use cl-remove-if.
16379
16380 * edmacro.el: Require cl-lib at runtime too.
16381 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
16382 (edmacro-mismatch, edmacro-subseq): Remove.
16383
16384 * shadowfile.el: Require cl-lib.
16385 (shadow-remove-if): Remove.
16386 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
16387 Use cl-remove-if.
16388
16389 * wid-edit.el: Require cl-lib.
16390 (widget-choose): Use cl-remove-if.
16391 (widget-remove-if): Remove.
16392
16393 * progmodes/ebrowse.el: Require cl-lib at runtime too.
16394 (ebrowse-delete-if-not): Remove.
16395 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
16396 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
16397 Use cl-delete-if-not.
16398
16399 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16400
16401 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
16402 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
16403
16404 2013-07-12 Leo Liu <sdl.web@gmail.com>
16405
16406 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
16407
16408 2013-07-11 Glenn Morris <rgm@gnu.org>
16409
16410 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
16411 (edebug-gensym-index, edebug-gensym):
16412 Remove reimplementation of cl-gensym.
16413 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
16414
16415 * thumbs.el: Require cl-lib at run-time too.
16416 (thumbs-gensym-counter, thumbs-gensym):
16417 Remove reimplementation of cl-gensym.
16418 (thumbs-temp-file): Use cl-gensym.
16419
16420 * emacs-lisp/ert.el: Require cl-lib at runtime too.
16421 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
16422 (ert--intersection, ert--set-difference, ert--set-difference-eq)
16423 (ert--union, ert--gensym-counter, ert--gensym-counter)
16424 (ert--coerce-to-vector, ert--remove*, ert--string-position)
16425 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
16426 (ert-make-test-unbound, ert--expand-should-1)
16427 (ert--expand-should, ert--should-error-handle-error)
16428 (should-error, ert--explain-equal-rec)
16429 (ert--plist-difference-explanation, ert-select-tests)
16430 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
16431 Use cl-lib functions rather than reimplementations.
16432
16433 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
16434
16435 * net/tramp.el (tramp-methods): Extend docstring.
16436 (tramp-connection-timeout): New defcustom.
16437 (tramp-error-with-buffer): Reset timestamp only when appropriate.
16438 (with-tramp-progress-reporter): Simplify.
16439 (tramp-process-actions): Improve messages.
16440
16441 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16442 * net/tramp-sh.el (tramp-maybe-open-connection):
16443 Use `tramp-connection-timeout'.
16444 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
16445 (Bug#14808)
16446
16447 2013-07-11 Leo Liu <sdl.web@gmail.com>
16448
16449 * ido.el (ido-read-file-name): Conform to the requirements of
16450 read-file-name. (Bug#11861)
16451 (ido-read-directory-name): Conform to the requirements of
16452 read-directory-name.
16453
16454 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
16455
16456 * subr.el (delay-warning): New function.
16457
16458 2013-07-10 Eli Zaretskii <eliz@gnu.org>
16459
16460 * simple.el (default-line-height): New function.
16461 (line-move-partial, line-move): Use it instead of computing the
16462 line height inline.
16463 (line-move-partial): Always compute ROWH. If the last line is
16464 partially-visible, but its text is completely visible, allow
16465 cursor to enter such a partially-visible line.
16466
16467 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
16468
16469 Improve error messages. (Bug#14808)
16470
16471 * net/tramp.el (tramp-current-connection): New defvar, moved from
16472 tramp-sh.el.
16473 (tramp-message-show-progress-reporter-message): Remove, not
16474 needed anymore.
16475 (tramp-error-with-buffer): Show message in minibuffer.
16476 Discard input before waiting. Reset connection timestamp.
16477 (with-tramp-progress-reporter): Improve messages.
16478 (tramp-process-actions): Use progress reporter. Delete process in
16479 case of error. Improve messages.
16480
16481 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
16482 Call `tramp-error-with-buffer' with vector and buffer.
16483 (tramp-current-connection): Remove.
16484 (tramp-maybe-open-connection): The car of
16485 `tramp-current-connection' are the first 3 slots of the vector.
16486
16487 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
16488
16489 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
16490 inside continued strings.
16491
16492 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
16493
16494 Timestamp fixes for undo (Bug#14824).
16495 * files.el (clear-visited-file-modtime): Move here from fileio.c.
16496
16497 2013-07-10 Leo Liu <sdl.web@gmail.com>
16498
16499 * files.el (require-final-newline): Allow safe local value.
16500 (Bug#14834)
16501
16502 2013-07-09 Leo Liu <sdl.web@gmail.com>
16503
16504 * ido.el (ido-read-directory-name): Handle fallback.
16505 (ido-read-file-name): Update DIR to ido-current-directory.
16506 (Bug#1516)
16507 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
16508
16509 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
16510
16511 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
16512 "autoload". Remove "warn lower camel case" section, previously
16513 commented out. Highlight negation char. Do not highlight the
16514 target in singleton method definitions.
16515
16516 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16517
16518 * faces.el (tty-setup-hook): Declare the hook.
16519
16520 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
16521 and detect when a guard/pred depends on local vars (bug#14773).
16522 (pcase--u1): Adjust caller.
16523
16524 2013-07-08 Eli Zaretskii <eliz@gnu.org>
16525
16526 * simple.el (line-move-partial, line-move): Account for
16527 line-spacing.
16528 (line-move-partial): Avoid setting vscroll when the last
16529 partially-visible line in window is of default height.
16530
16531 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16532
16533 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
16534 been used a while.
16535
16536 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
16537
16538 * subr.el (read-quoted-char): Remove unused local variable `char'.
16539
16540 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
16541
16542 * vc/ediff.el (ediff-version): Version update.
16543 (ediff-files-command, ediff3-files-command, ediff-merge-command)
16544 (ediff-merge-with-ancestor-command, ediff-directories-command)
16545 (ediff-directories3-command, ediff-merge-directories-command)
16546 (ediff-merge-directories-with-ancestor-command): New functions.
16547 All are command-line interfaces to ediff: to facilitate calling
16548 Emacs with the appropriate ediff functions invoked.
16549
16550 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
16551 New function.
16552 (viper-save-kill-buffer): Check if buffer is modified.
16553
16554 * emulation/viper.el (viper-version): Version update.
16555 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
16556
16557 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
16558
16559 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
16560 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
16561 (viper-intercept-ESC-key): Simplify.
16562 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
16563 don't use kbd.
16564 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
16565 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
16566 (viper-setup-ESC-to-escape): New functions.
16567 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
16568 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
16569
16570 2013-07-07 Eli Zaretskii <eliz@gnu.org>
16571
16572 * simple.el (default-font-height, window-screen-lines):
16573 New functions.
16574 (line-move, line-move-partial): Use them instead of
16575 frame-char-height and window-text-height. This makes scrolling
16576 text smoother when the buffer's default face uses a font that is
16577 different from the frame's default font.
16578
16579 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
16580
16581 * files.el (write-file): Do not display confirm dialog for NS,
16582 it does its own dialog, which can't be canceled (Bug#14578).
16583
16584 2013-07-06 Eli Zaretskii <eliz@gnu.org>
16585
16586 * simple.el (line-move-partial): Adjust the row returned by
16587 posn-at-point for the current window-vscroll. (Bug#14567)
16588
16589 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
16590
16591 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
16592 (tramp-sh-file-inotifywait-process-filter): Handle file names with
16593 spaces.
16594
16595 2013-07-06 Martin Rudalics <rudalics@gmx.at>
16596
16597 * window.el (window-state-put-stale-windows): New variable.
16598 (window--state-put-2): Save list of windows without matching buffer.
16599 (window-state-put): Remove "bufferless" windows if possible.
16600
16601 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16602
16603 * simple.el (alternatives-define): Remove leftover :group keyword.
16604 Tweak docstring.
16605
16606 2013-07-06 Leo Liu <sdl.web@gmail.com>
16607
16608 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
16609 (ido-enable-virtual-buffers): New variable.
16610 (ido-buffer-internal, ido-toggle-virtual-buffers)
16611 (ido-make-buffer-list): Use it.
16612 (ido-exhibit): Support turning on and off virtual buffers
16613 automatically.
16614
16615 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16616
16617 * simple.el (alternatives-define): New macro.
16618
16619 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
16620
16621 * subr.el (read-quoted-char): Use read-key.
16622 (sit-for): Let read-event decode tty input (bug#14782).
16623
16624 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
16625
16626 * calendar/todo-mode.el: Add handling of file deletion, both by
16627 mode command and externally. Fix various related bugs.
16628 Clarify Commentary and improve some documentation strings and code.
16629 (todo-delete-file): New command.
16630 (todo-check-file): New function.
16631 (todo-show): Handle external deletion of the file we're trying to
16632 show (bug#14688). Replace called-interactively-p by an optional
16633 prefix argument to avoid problematic interaction with catch form
16634 when byte compiled (bug#14702).
16635 (todo-quit): Handle external deletion of the archive's todo file.
16636 Make sure the buffer that was visiting the archive file is still
16637 live before trying to bury it.
16638 (todo-category-completions): Handle external deletion of any
16639 category completion files.
16640 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
16641 of todo files, in case of external deletion.
16642 (todo-add-file): Replace unnecessary setq by let-binding.
16643 (todo-find-archive): Check whether there are any archives.
16644 Replace unnecessary setq by let-binding.
16645 (todo-archive-done-item): Use find-file-noselect to get the
16646 archive buffer whether or not the archive already exists.
16647 Remove superfluous code. Use file size instead of buffer-file-name to
16648 check if the archive is new; if it is, update list of archives.
16649 (todo-default-todo-file): Allow nil to be a valid value for when
16650 there are no todo files.
16651 (todo-reevaluate-default-file-defcustom): Use corrected definition
16652 of todo-default-todo-file.
16653 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
16654 (todo-delete-category, todo-show-categories-table)
16655 (todo-category-number): Clarify comment.
16656 (todo-filter-items): Clarify documentation string.
16657 (todo-show-current-file, todo-display-as-todo-file)
16658 (todo-reset-and-enable-done-separator): Tweak documentation string.
16659 (todo-done-separator): Make separator length window-width, since
16660 bug#2749 is now fixed.
16661
16662 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
16663
16664 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16665 Support both "gvfs-monitor-dir" and "inotifywait".
16666 (tramp-sh-file-inotifywait-process-filter): Rename from
16667 `tramp-sh-file-notify-process-filter'.
16668 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16669 (tramp-get-remote-gvfs-monitor-dir): New defuns.
16670
16671 2013-07-05 Leo Liu <sdl.web@gmail.com>
16672
16673 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
16674
16675 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16676
16677 * frame.el (display-pixel-height, display-pixel-width)
16678 (display-mm-height, display-mm-width): Mention behavior on
16679 multi-monitor setups in docstrings.
16680 (w32-display-monitor-attributes-list): Declare function.
16681 (display-monitor-attributes-list): Use it.
16682
16683 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
16684
16685 * filenotify.el: New package.
16686
16687 * autorevert.el (top): Require filenotify.el.
16688 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
16689 instead.
16690 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16691 (auto-revert-notify-handler): Use `file-notify-*' functions.
16692
16693 * subr.el (file-notify-handle-event): Move function to filenotify.el.
16694
16695 * net/tramp.el (tramp-file-name-for-operation):
16696 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
16697
16698 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
16699 for `file-notify-add-watch' and `file-notify-rm-watch'.
16700 (tramp-process-sentinel): Improve trace.
16701 (tramp-sh-handle-file-notify-add-watch)
16702 (tramp-sh-file-notify-process-filter)
16703 (tramp-sh-handle-file-notify-rm-watch)
16704 (tramp-get-remote-inotifywait): New defuns.
16705
16706 2013-07-03 Juri Linkov <juri@jurta.org>
16707
16708 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
16709 call of `occur-read-primary-args' to interactive spec.
16710
16711 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
16712 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
16713
16714 2013-07-03 Matthias Meulien <orontee@gmail.com>
16715
16716 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
16717 `Buffer-menu-multi-occur'. Add it to the menu.
16718 (Buffer-menu-mode): Document it in docstring.
16719 (Buffer-menu-multi-occur): New command. (Bug#14673)
16720
16721 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16722
16723 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
16724 keywords and built-ins.
16725
16726 2013-07-03 Glenn Morris <rgm@gnu.org>
16727
16728 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
16729
16730 Make info-xref checks case-sensitive by default
16731 * info.el (Info-find-node, Info-find-in-tag-table)
16732 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
16733 Add option for exact case matching of nodes.
16734 * info-xref.el (info-xref): New custom group.
16735 (info-xref-case-fold): New option.
16736 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
16737
16738 2013-07-03 Leo Liu <sdl.web@gmail.com>
16739
16740 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
16741
16742 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16743
16744 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
16745 middle of block statement initially, lower the depth. Remove
16746 FIXME comment, not longer valid. Remove middle of block statement
16747 detection, no need to do that anymore since we've been using
16748 `ruby-parse-region' here.
16749
16750 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
16751
16752 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
16753
16754 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
16755
16756 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
16757
16758 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
16759
16760 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
16761 (desktop-restore-in-current-display): New customization option.
16762 (desktop--excluded-frame-parameters): Add `font'.
16763 (desktop--save-frames): Rename from desktop--save-windows.
16764 (desktop--restore-in-this-display-p): New function.
16765 (desktop--make-full-frame): Remove unwanted width/height from
16766 full(width|height) frames.
16767 (desktop--restore-frames): Rename from desktop--restore-windows.
16768 Obey desktop-restore-current-display. Do not delete old frames or
16769 select a new frame unless we were able to restore at least one frame.
16770
16771 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
16772
16773 * files.el (find-file-noselect): Simplify conditional expression.
16774
16775 * textmodes/remember.el (remember-append-to-file):
16776 Don't mix `find-buffer-visiting' and `get-file-buffer'.
16777
16778 Add `remember-notes' function to store random notes across Emacs
16779 restarts.
16780 * textmodes/remember.el (remember-data-file): Add :set callback to
16781 affect notes buffer (if any).
16782 (remember-notes): New command.
16783 (remember-notes-buffer-name, bury-remember-notes-on-kill):
16784 New defcustoms for the `remember-notes' function.
16785 (remember-notes-save-and-bury-buffer): New command.
16786 (remember-notes-mode-map): New variable.
16787 (remember-mode): New minor mode.
16788 (remember-notes--kill-buffer-query): New function.
16789 * startup.el (initial-buffer-choice): Add notes to custom type.
16790
16791 2013-06-30 Eli Zaretskii <eliz@gnu.org>
16792
16793 * bindings.el (right-char, left-char): Don't call sit-for, this is
16794 no longer needed. Use arithmetic comparison only for numerical
16795 arguments.
16796
16797 * international/mule-cmds.el (select-safe-coding-system):
16798 Handle the case of FROM being a string correctly. (Bug#14755)
16799
16800 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16801
16802 * net/shr.el (shr-make-table-1): Add a sanity check that allows
16803 progression on degenerate tables.
16804 (shr-rescale-image): ImageMagick animated images currently don't work.
16805
16806 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
16807
16808 Some fixes and improvements for desktop frame restoration.
16809 It is still experimental and disabled by default.
16810 * desktop.el (desktop--save-windows): Put the selected frame at
16811 the head of the list.
16812 (desktop--make-full-frame): New function.
16813 (desktop--restore-windows): Try to re-select the frame that was
16814 selected upon saving. Do not abort if some frames fail to restore,
16815 just show an error message and continue. Set up maximized frames
16816 so they have default non-maximized dimensions.
16817
16818 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
16819
16820 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
16821 Don't start heredoc inside a string or comment.
16822
16823 2013-06-29 Eli Zaretskii <eliz@gnu.org>
16824
16825 * bindings.el (visual-order-cursor-movement): New defcustom.
16826 (right-char, left-char): Provide visual-order cursor motion by
16827 calling move-point-visually. Update the doc strings.
16828
16829 2013-06-28 Kenichi Handa <handa@gnu.org>
16830
16831 * international/mule.el (define-coding-system): New coding system
16832 properties :inhibit-null-byte-detection,
16833 :inhibit-iso-escape-detection, and :prefer-utf-8.
16834 (set-buffer-file-coding-system): If :charset-list property of
16835 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
16836 appropriate for setting.
16837
16838 * international/mule-cmds.el (select-safe-coding-system):
16839 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
16840 multibyte characters, return utf-8 (or one of its siblings).
16841
16842 * international/mule-conf.el (prefer-utf-8): New coding system.
16843 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
16844 files.
16845
16846 2013-06-28 Ivan Kanis <ivan@kanis.fr>
16847
16848 * net/shr.el (shr-render-region): New function.
16849
16850 * net/eww.el: Autoload `eww-browse-url'.
16851
16852 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
16853
16854 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16855 Adapt to `package-desc-version' being a list.
16856 Use `package--ac-desc-version' to retrieve version from a package
16857 archive element.
16858
16859 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
16860
16861 New experimental feature to save&restore window and frame setup.
16862 * desktop.el (desktop-save-windows): New defcustom.
16863 (desktop--saved-states): New var.
16864 (desktop--excluded-frame-parameters): New defconst.
16865 (desktop--filter-frame-parms, desktop--find-frame-in-display)
16866 (desktop--restore-windows, desktop--save-windows): New functions.
16867 (desktop-save): Call `desktop--save-windows'.
16868 (desktop-read): Call `desktop--restore-windows'.
16869
16870 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16871
16872 * net/shr.el (add-face-text-property): Remove compat definition.
16873
16874 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
16875
16876 * info.el (Info-try-follow-nearest-node): Move search for footnote
16877 above search for node name to prevent missing a footnote (bug#14717).
16878
16879 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
16880
16881 * obsolete/otodo-mode.el: Add obsolescence info to file header.
16882
16883 2013-06-27 Leo Liu <sdl.web@gmail.com>
16884
16885 * net/eww.el (eww-read-bookmarks): Check file size.
16886
16887 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
16888
16889 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
16890 advice--pending if newdef is nil or an autoload (bug#13820).
16891 (advice-mapc): New function.
16892
16893 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16894
16895 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
16896 probably.
16897 (eww-mode-map): Add a menu bar.
16898 (eww-add-bookmark): New command.
16899 (eww-bookmark-mode): New mode and commands.
16900 (eww-add-bookmark): Remove newlines from the title.
16901 (eww-bookmark-browse): Don't bug out if it's the only window.
16902
16903 2013-06-26 Glenn Morris <rgm@gnu.org>
16904
16905 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
16906 (hfy-size): Handle ttys. (Bug#14668)
16907
16908 * info-xref.el: Update for Texinfo 5 change in *note format.
16909 (info-xref-node-re, info-xref-note-re): New constants.
16910 (info-xref-check-buffer): Use info-xref-note-re.
16911
16912 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
16913
16914 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
16915
16916 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
16917 nil terminate the loop (bug#14718).
16918
16919 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16920
16921 * net/eww.el: Rework history traversal. When going forward/back,
16922 put these actions into the history, too, so that they can be
16923 replayed.
16924 (eww-render): Move the history reset to the correct buffer.
16925
16926 2013-06-25 Juri Linkov <juri@jurta.org>
16927
16928 * files-x.el (modify-dir-local-variable): Change the header comment
16929 in the file with directory local variables. (Bug#14692)
16930
16931 * files-x.el (read-file-local-variable-value): Add `default'.
16932 (Bug#14710)
16933
16934 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16935
16936 * net/eww.el (eww-make-unique-file-name): Create a unique file
16937 name before saving to entering `y' accidentally asynchronously.
16938
16939 2013-06-25 Ivan Kanis <ivan@kanis.fr>
16940
16941 * net/eww.el (eww-download): New command and keystroke.
16942
16943 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16944
16945 * net/eww.el (eww-copy-page-url): Change name of command.
16946
16947 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
16948 be more consistent with Info and dired.
16949
16950 * net/eww.el (eww-mode-map): Ditto.
16951
16952 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16953
16954 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
16955 packages from archives.
16956 (package-archive-contents): Change format; include obsolete packages.
16957 (package-desc): Use `dir' to mark builtin packages.
16958 (package--from-builtin): Set the `dir' field to `builtin'.
16959 (generated-autoload-file, version-control): Declare.
16960 (package-compute-transaction): Change first arg and return value to be
16961 lists of package-descs. Adjust to new package-archive-contents format.
16962 (package--add-to-archive-contents): Adjust to new
16963 package-archive-contents format.
16964 (package-download-transaction): Arg is now a list of package-descs.
16965 (package-install): If `pkg' is a package name, pass it as
16966 a requirement, so it is subject to the usual (e.g. disabled) checks.
16967 (describe-package): Accept package-desc as well.
16968 (describe-package-1): Describe a specific package-desc. Add links to
16969 other package-descs for the same package name.
16970 (package-menu-describe-package): Pass the actual package-desc.
16971 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
16972 works correctly.
16973 (package-desc-status): New function.
16974 (package-menu--refresh): New function, extracted
16975 from package-menu--generate.
16976 (package-menu--generate): Use it.
16977 (package-delete): Update package-alist.
16978 (package-menu-execute): Don't call package-initialize.
16979
16980 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
16981 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
16982 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
16983 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
16984 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
16985 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
16986
16987 2013-06-25 Martin Rudalics <rudalics@gmx.at>
16988
16989 * window.el (window--state-get-1): Workaround for bug#14527.
16990 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
16991
16992 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16993
16994 * net/eww.el (eww-back-url): Implement the history by stashing all
16995 the data into a list.
16996 (eww-forward-url): Allow going forward in the history, too.
16997
16998 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16999
17000 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
17001 for values and use read--expression for expressions (bug#14710).
17002 (read-file-local-variable): Avoid setq.
17003 (read-file-local-variable-mode): Use minor-mode-list.
17004
17005 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17006
17007 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
17008 for DOI URLs.
17009
17010 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17011
17012 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
17013 Update imenu-support when dialect changes.
17014
17015 2013-06-25 Leo Liu <sdl.web@gmail.com>
17016
17017 * ido.el (ido-read-internal): Allow forward slash on windows.
17018
17019 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
17020
17021 * net/eww.el (eww): Start of strings is \\`, not ^.
17022
17023 2013-06-24 Ivan Kanis <ivan@kanis.fr>
17024
17025 * net/shr.el (shr-browse-url): Fix interactive spec.
17026
17027 * net/eww.el (eww): Add a trailing slash to domain names.
17028
17029 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
17030
17031 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
17032
17033 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
17034
17035 * net/shr.el (shr-browse-url): Use an external browser if given a
17036 prefix.
17037
17038 * net/eww.el (eww-external-browser): Move to shr.
17039
17040 2013-06-24 Ivan Kanis <ivan@kanis.fr>
17041
17042 * net/eww.el (eww): Work more correctly for file: URLs.
17043 (eww-detect-charset): Allow quoted charsets.
17044 (eww-yank-page-url): New command and keystroke.
17045
17046 2013-06-24 Daiki Ueno <ueno@gnu.org>
17047
17048 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
17049 file name of gpg executable.
17050 (epg-context-program): New function.
17051 (epg-context-home-directory): New function.
17052 (epg-context-set-program): New function.
17053 (epg-context-set-home-directory): New function.
17054 (epg--start): Use `epg-context-program' instead of
17055 'epg-gpg-program'.
17056 (epg--list-keys-1): Likewise.
17057
17058 2013-06-24 Leo Liu <sdl.web@gmail.com>
17059
17060 * ido.el (ido-read-internal): Fix bug#14620.
17061
17062 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
17063
17064 * faces.el (face-documentation): Simplify.
17065 (read-face-attribute, tty-find-type, x-resolve-font-name):
17066 Use `string-match-p'.
17067 (list-faces-display): Use `string-match-p'. Simplify.
17068 (face-spec-recalc): Check face to avoid face alias loops.
17069 (read-color): Use `string-match-p' and non-capturing parenthesis.
17070
17071 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17072
17073 * net/shr.el (shr-rescale-image): Use the new
17074 :max-width/:max-height functionality.
17075
17076 2013-06-23 Ivan Kanis <ivan@kanis.fr>
17077
17078 * net/eww.el (eww-search-prefix): New variable.
17079 (eww): Use it.
17080 (eww-external-browser): New variable.
17081 (eww-mode-map): New keystroke.
17082 (eww-browse-with-external-browser): New command.
17083
17084 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
17085
17086 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
17087
17088 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
17089 Don't skip aligning the next header field when padding is 0;
17090 otherwise, field width is not respected unless the title is as
17091 wide as the field.
17092
17093 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
17094
17095 * emacs-lisp/package.el (package-el-version): Remove.
17096 (package-process-define-package): Fix inf-loop.
17097 (package-install): Allow symbols as arguments again.
17098
17099 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
17100
17101 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
17102 add some more keyword-like methods.
17103 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
17104
17105 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
17106
17107 * bs.el (bs-buffer-show-mark): Make defvar-local.
17108 (bs-mode): Use setq-local.
17109
17110 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
17111 (emacs-lock--try-unlocking): Make defvar-local.
17112
17113 2013-06-22 Glenn Morris <rgm@gnu.org>
17114
17115 * play/cookie1.el (cookie-apropos): Minor simplification.
17116
17117 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
17118
17119 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
17120
17121 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
17122 `regexp-opt', it breaks the build during dumping.
17123
17124 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
17125
17126 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
17127 Highlight keyword-like methods on Kernel and Module with
17128 font-lock-builtin-face.
17129 (auto-mode-alist): Consolidate different entries into one regexp
17130 and add more *file-s.
17131
17132 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
17133
17134 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
17135
17136 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
17137 (diary-entry): Use it in the action of this button type instead of
17138 diary-goto-entry.
17139
17140 * calendar/todo-mode.el: New version.
17141 (todo-add-category): Append new category to end of file and give
17142 it the highest number, instead of putting it at the beginning and
17143 giving it 0. Incorporate noninteractive functionality.
17144 (todo-forward-category): Adapt to 1-based category numbering.
17145 Allow skipping over archived categories.
17146 (todo-backward-category): Derive from todo-forward-category.
17147 (todo-backward-item, todo-forward-item): Make noninteractive and
17148 delegate interactive part to new commands. Make sensitive to done items.
17149 (todo-categories): Make value an alist of category names and
17150 vectors of item counts.
17151 (todo-category-beg): Make a defconst.
17152 (todo-category-number): Use 1 instead of 0 as initial value.
17153 (todo-category-select): Make sensitive to overlays, optional item
17154 highlighting and done items.
17155 (todo-delete-item): Make sensitive to overlays and marked and done items.
17156 (todo-edit-item): Make sensitive to overlays and editing of
17157 date/time header optional. Add format checks.
17158 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
17159 no-op if point is not on an item. Advertise using todo-edit-quit.
17160 (todo-edit-mode): Make sensitive to new format, font-locking, and
17161 multiple todo files.
17162 (todo-insert-item, todo-insert-item-here): Derive from
17163 todo-basic-insert-item and extend functionality.
17164 (todo-item-end, todo-item-start): Make sensitive to done items.
17165 (todo-item-string): Don't return text properties. Restore point.
17166 (todo-jump-to-category): Make sensitive to multiple todo files and
17167 todo archives. Use extended category completion.
17168 (todo-lower-item, todo-raise-item): Rename to *-priority and
17169 derive from todo-set-item-priority.
17170 (todo-mode): Derive from special-mode. Make sensitive to new
17171 format, font-locking and multiple todo files. Make read-only.
17172 (todo-mode-map): Don't suppress digit keys, so they can supply
17173 prefix arguments. Add many new key bindings.
17174 (todo-prefix): Insert as an overlay instead of file text.
17175 Change semantics from diary date expression to purely visual mark.
17176 (todo-print): Rename to todo-print-buffer. Make buffer display
17177 features printable. Remove option to restrict number of items
17178 printed. Add option to print to file.
17179 (todo-print-function): Rename to todo-print-buffer-function.
17180 (todo-quit): Extend to handle exiting new todo modes.
17181 (todo-remove-item): Make sensitive to overlays.
17182 (todo-save): Extend to buffers of filtered items.
17183 (todo-show): Make sensitive to done items, multiple todo files and
17184 new todo modes. Offer to convert legacy todo file before creating
17185 first new todo file.
17186 (todo-show-priorities): Rename to todo-top-priorities.
17187 Change semantics of value 0.
17188 (todo-top-priorities): Rename to todo-filter-top-priorities,
17189 derive from todo-filter-items and extend functionality.
17190 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
17191 and extend functionality to other types of filtered items.
17192 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
17193 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
17194 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
17195 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
17196 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
17197 (todo-edit-mode-hook, todo-entry-prefix-function)
17198 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
17199 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
17200 (todo-initials, todo-insert-threshold, todo-item-string-start)
17201 (todo-line-string, todo-menu, todo-mode-hook)
17202 (todo-more-important-p, todo-previous-answer, todo-previous-line)
17203 (todo-print-priorities, todo-remove-separator)
17204 (todo-save-top-priorities-too, todo-string-count-lines)
17205 (todo-string-multiline-p, todo-time-string-format)
17206 (todo-tmp-buffer-name): Remove.
17207 (todo-add-file, todo-archive-done-item, todo-choose-archive)
17208 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
17209 (todo-edit-category-diary-inclusion)
17210 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
17211 (todo-edit-file, todo-edit-item-date-day)
17212 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
17213 (todo-edit-item-date-month, todo-edit-item-date-to-today)
17214 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
17215 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
17216 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
17217 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
17218 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
17219 (todo-filter-top-priorities-multifile, todo-find-archive)
17220 (todo-find-filtered-items-file, todo-go-to-source-item)
17221 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
17222 (todo-jump-to-archive-category, todo-lower-category)
17223 (todo-mark-category, todo-marked-item-p, todo-merge-category)
17224 (todo-move-category, todo-move-item, todo-next-button)
17225 (todo-next-item, todo-padded-string, todo-powerset)
17226 (todo-previous-button, todo-previous-item)
17227 (todo-print-buffer-to-file, todo-raise-category)
17228 (todo-rename-category, todo-repair-categories-sexp, todo-search)
17229 (todo-set-category-number, todo-set-item-priority)
17230 (todo-set-top-priorities-in-category)
17231 (todo-set-top-priorities-in-file, todo-show-categories-table)
17232 (todo-sort-categories-alphabetically-or-numerically)
17233 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
17234 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
17235 (todo-toggle-item-header, todo-toggle-item-highlighting)
17236 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
17237 (todo-toggle-view-done-items, todo-toggle-view-done-only)
17238 (todo-unarchive-items, todo-unmark-category): New commands.
17239 (todo-absolute-file-name, todo-add-to-buffer-list)
17240 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
17241 (todo-basic-insert-item, todo-category-completions)
17242 (todo-category-number, todo-category-string-matcher-1)
17243 (todo-category-string-matcher-2, todo-check-filtered-items-file)
17244 (todo-check-format, todo-clear-matches)
17245 (todo-comment-string-matcher, todo-convert-legacy-date-time)
17246 (todo-current-category, todo-date-string-matcher)
17247 (todo-define-insertion-command, todo-diary-expired-matcher)
17248 (todo-diary-goto-entry, todo-diary-item-p)
17249 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
17250 (todo-display-categories, todo-display-sorted, todo-done-item-p)
17251 (todo-done-item-section-p, todo-done-separator)
17252 (todo-done-string-matcher, todo-files, todo-filter-items)
17253 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
17254 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
17255 (todo-insert-category-line, todo-insert-item-from-calendar)
17256 (todo-insert-sort-button, todo-insert-with-overlays)
17257 (todo-insertion-command-name, todo-insertion-key-bindings)
17258 (todo-label-to-key, todo-longest-category-name-length)
17259 (todo-make-categories-list, todo-mode-external-set)
17260 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
17261 (todo-modes-set-3, todo-multiple-filter-files)
17262 (todo-nondiary-marker-matcher, todo-prefix-overlays)
17263 (todo-read-category, todo-read-date, todo-read-dayname)
17264 (todo-read-file-name, todo-read-time)
17265 (todo-reevaluate-category-completions-files-defcustom)
17266 (todo-reevaluate-default-file-defcustom)
17267 (todo-reevaluate-filelist-defcustoms)
17268 (todo-reevaluate-filter-files-defcustom)
17269 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
17270 (todo-reset-done-separator, todo-reset-done-separator-string)
17271 (todo-reset-done-string, todo-reset-global-current-todo-file)
17272 (todo-reset-highlight-item, todo-reset-nondiary-marker)
17273 (todo-reset-prefix, todo-set-categories)
17274 (todo-set-date-from-calendar, todo-set-show-current-file)
17275 (todo-set-top-priorities, todo-short-file-name)
17276 (todo-show-current-file, todo-sort, todo-time-string-matcher)
17277 (todo-total-item-counts, todo-update-buffer-list)
17278 (todo-update-categories-display, todo-update-categories-sexp)
17279 (todo-update-count, todo-validate-name, todo-y-or-n-p):
17280 New functions.
17281 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
17282 New major modes.
17283 (todo-categories, todo-display, todo-edit, todo-faces)
17284 (todo-filtered): New defgroups.
17285 (todo-archived-only, todo-button, todo-category-string, todo-date)
17286 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
17287 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
17288 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
17289 (todo-add-item-if-new-category, todo-always-add-time-string)
17290 (todo-categories-align, todo-categories-archived-label)
17291 (todo-categories-category-label, todo-categories-diary-label)
17292 (todo-categories-done-label, todo-categories-number-separator)
17293 (todo-categories-todo-label, todo-categories-totals-label)
17294 (todo-category-completions-files, todo-completion-ignore-case)
17295 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
17296 (todo-done-separator-string, todo-done-string)
17297 (todo-files-function, todo-filter-done-items, todo-filter-files)
17298 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
17299 (todo-initial-category, todo-initial-file, todo-item-mark)
17300 (todo-legacy-date-time-regexp, todo-mode-line-function)
17301 (todo-nondiary-marker, todo-number-prefix)
17302 (todo-print-buffer-function, todo-show-current-file)
17303 (todo-show-done-only, todo-show-first, todo-show-with-done)
17304 (todo-skip-archived-categories, todo-top-priorities-overrides)
17305 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
17306 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
17307 New defcustoms.
17308 (todo-category-done, todo-date-pattern, todo-date-string-start)
17309 (todo-diary-items-buffer, todo-done-string-start)
17310 (todo-filtered-items-buffer, todo-item-start)
17311 (todo-month-abbrev-array, todo-month-name-array)
17312 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
17313 (todo-top-priorities-buffer): New defconsts.
17314 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
17315 (todo-categories-with-marks, todo-category-string-face)
17316 (todo-comment-face, todo-comment-string, todo-current-todo-file)
17317 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
17318 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
17319 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
17320 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
17321 (todo-font-lock-keywords, todo-global-current-todo-file)
17322 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
17323 (todo-insertion-commands-args)
17324 (todo-insertion-commands-args-genlist)
17325 (todo-insertion-commands-names, todo-insertion-map)
17326 (todo-key-bindings-t, todo-key-bindings-t+a)
17327 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
17328 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
17329 (todo-nondiary-face, todo-print-buffer, todo-time-face)
17330 (todo-visited): New variables.
17331
17332 2013-06-21 Glenn Morris <rgm@gnu.org>
17333
17334 * play/cookie1.el (cookie-apropos): Add optional display argument.
17335 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
17336 (psychoanalyze-pinhead): Use cookie-doctor.
17337
17338 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17339
17340 * emacs-lisp/package.el (tar-get-file-descriptor)
17341 (tar--extract): Declare.
17342
17343 2013-06-21 Eduard Wiebe <usenet@pusto.de>
17344
17345 Extend flymake's warning predicate to be a function (bug#14217).
17346 * progmodes/flymake.el (flymake-warning-predicate): New.
17347 (flymake-parse-line): Use it.
17348 (flymake-warning-re): Make obsolete alias to
17349 `flymake-warning-predicate'.
17350
17351 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17352
17353 * emacs-lisp/package.el (package-alist): Include obsolete packages.
17354 (package-obsolete-list): Remove.
17355 (package-activate): Remove min-version argument. Add `force' argument.
17356 Adjust to new package-alist format.
17357 (package-mark-obsolete): Remove.
17358 (package-unpack): Force reload of the package's autoloads.
17359 (package-installed-p): Check builtins if the installed package is not
17360 recent enough.
17361 (package-initialize): Don't reset package-obsolete-list.
17362 Don't specify which package version to activate.
17363 (package-process-define-package, describe-package-1)
17364 (package-menu--generate): Adjust to new package-alist format.
17365
17366 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17367
17368 * allout-widgets.el (allout-widgets-mode-off)
17369 (allout-widgets-mode-on, allout-widgets-pre-command-business)
17370 (allout-widgets-post-command-business)
17371 (allout-widgets-after-copy-or-kill-function)
17372 (allout-widgets-after-undo-function, allout-test-range-overlaps)
17373 (allout-decorate-item-and-context)
17374 (allout-graphics-modification-handler): Fix typos in docstrings.
17375 (allout-get-or-create-parent-widget): Use `looking-at-p'.
17376
17377 * cmuscheme.el (scheme-start-file): Doc fix.
17378 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
17379 (scheme-input-filter): Use `string-match-p'.
17380
17381 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
17382
17383 * dired-x.el: Use Dired consistently in docstrings.
17384
17385 * dired.el: Use Dired consistently in docstrings.
17386 (dired-readin, dired-mode): Use `setq-local'.
17387 (dired-switches-alist): Make defvar-local.
17388 (dired-buffers-for-dir): Use `zerop'.
17389 (dired-safe-switches-p, dired-switches-escape-p)
17390 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
17391 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
17392 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
17393 (dired-goto-next-nontrivial-file): Use `string-match-p'.
17394 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
17395 (dired-toggle-marks, dired-mark-files-containing-regexp)
17396 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
17397 (dired-flag-auto-save-files, dired-flag-backup-files):
17398 Use `looking-at-p'.
17399 (dired-mark-files-regexp, dired-build-subdir-alist):
17400 Use `string-match-p', `looking-at-p'.
17401
17402 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
17403 (direct-print-region-helper): Use `string-match-p'.
17404
17405 2013-06-21 Leo Liu <sdl.web@gmail.com>
17406
17407 * comint.el (comint-redirect-results-list-from-process):
17408 Fix infinite loop.
17409
17410 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17411
17412 * net/eww.el (eww-update-header-line-format): Quote % characters.
17413
17414 2013-06-21 Glenn Morris <rgm@gnu.org>
17415
17416 * play/cookie1.el (cookie): New custom group.
17417 (cookie-file): New option.
17418 (cookie-check-file): New function.
17419 (cookie): Make it interactive. Make start and end messages optional.
17420 Interactively, display the result. Default to cookie-file.
17421 (cookie-insert): Default to cookie-file.
17422 (cookie-snarf): Make start and end messages optional.
17423 Default to cookie-file. Use with-temp-buffer.
17424 (cookie-read): Rename from read-cookie.
17425 Make start and end messages optional. Default to cookie-file.
17426 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
17427 Do not autoload it.
17428 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
17429 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
17430
17431 2013-06-21 Leo Liu <sdl.web@gmail.com>
17432
17433 * progmodes/octave.el (octave-mode): Backward compatibility fix.
17434
17435 2013-06-21 Glenn Morris <rgm@gnu.org>
17436
17437 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
17438
17439 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17440 Daniel Hackney <dan@haxney.org>
17441
17442 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
17443 Consolidate the single-file vs tarball code.
17444 (package-desc-suffix): New function.
17445 (package-desc-full-name): Don't bother inlining it.
17446 (package-load-descriptor): Return the new package-desc.
17447 (package-mark-obsolete): Remove unused arg `package'.
17448 (package-unpack): Make it work for single files as well.
17449 Make it update package-alist.
17450 (package--make-autoloads-and-stuff): Rename from
17451 package--make-autoloads-and-compile. Don't compile any more.
17452 (package--compile): New function.
17453 (package-generate-description-file): New function, extracted from
17454 package-unpack-single.
17455 (package-unpack-single): Remove.
17456 (package--with-work-buffer): Add indentation and debugging info.
17457 (package-download-single): Remove.
17458 (package-install-from-archive): Rename from package-download-tar, make
17459 it take a pkg-desc, and make it work for single files as well.
17460 (package-download-transaction): Simplify.
17461 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
17462 external tar program.
17463 (package-install-from-buffer): Remove `pkg-desc' argument.
17464 Use package-tar-file-info for tar-mode buffers.
17465 (package-install-file): Simplify accordingly.
17466 (package-archive-base): Change to take a pkg-desc.
17467 * tar-mode.el (tar--check-descriptor): New function, extracted from
17468 tar-get-descriptor.
17469 (tar-get-descriptor): Use it.
17470 (tar-get-file-descriptor): New function.
17471 (tar--extract): New function, extracted from tar-extract.
17472 (tar--extract): Use it.
17473 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
17474 case the summary uses non-ascii. Adjust to new calling convention of
17475 package-tar-file-info.
17476
17477 2013-06-21 Leo Liu <sdl.web@gmail.com>
17478
17479 * comint.el (comint-redirect-results-list-from-process):
17480 Fix random delay. (Bug#14681)
17481
17482 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17483
17484 * profiler.el (profiler-format-number): Use log, not log10.
17485
17486 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17487
17488 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
17489
17490 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17491
17492 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
17493 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
17494 yet available.
17495 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
17496 (AUTOGENEL): ... here.
17497 * emacs-lisp/cl-macs.el (cl--sublis): New function.
17498 (cl--defsubst-expand): Use it.
17499
17500 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
17501
17502 * subr.el (log10): Move here from C code, and declare as obsolete.
17503 All uses of (log10 X) replaced with (log X 10).
17504
17505 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17506
17507 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
17508 Declare with `defvar-local'.
17509 (tabulated-list-use-header-line, tabulated-list-entries)
17510 (tabulated-list-padding, tabulated-list-printer)
17511 (tabulated-list-sort-key): Declare with `defvar-local'.
17512 (tabulated-list-init-header, tabulated-list-print-fake-header):
17513 Use `setq-local'.
17514
17515 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
17516
17517 * arc-mode.el (archive-mode): Add `archive-write-file' to
17518 `write-contents-functions' also for remote files. (Bug#14652)
17519
17520 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17521
17522 * cus-edit.el (custom-commands): Fix typos.
17523 (custom-display): Fix tooltip text.
17524 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
17525 Fix typos in docstrings.
17526 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
17527 (custom-unlispify-menu-entry, custom-magic-value-create)
17528 (custom-add-see-also, custom-group-value-create): Use ?\s.
17529 (custom-guess-type, customize-apropos, editable-field)
17530 (custom-face-value-create): Use `string-match-p'.
17531 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
17532
17533 * custom.el (custom-load-symbol): Use `string-match-p'.
17534
17535 * ansi-color.el: Convert to lexical binding.
17536 (ansi-colors): Fix URL.
17537 (ansi-color-context, ansi-color-context-region): Use defvar-local.
17538 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
17539 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
17540
17541 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17542
17543 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
17544
17545 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
17546
17547 2013-06-19 Tom Tromey <tromey@redhat.com>
17548
17549 * net/eww.el (eww-top-url): Remove.
17550 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
17551 (eww-render): Set new variables. Don't set eww-top-url.
17552 (eww-handle-link): Handle "prev", "home", and "contents".
17553 Downcase the rel text.
17554 (eww-top-url): Choose best top URL.
17555
17556 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17557
17558 * net/eww.el: Rewrite to implement form elements "by hand" instead of
17559 relying in widget.el. Using widget.el leads to too many
17560 user interface inconsistencies.
17561 (eww-self-insert): Implement entering commands in text fields.
17562 (eww-process-text-input): New function to make text input field editing
17563 work.
17564 (eww-submit): Rewrite to use the new-style form methods.
17565 (eww-select-display): Display the correct selected item.
17566 (eww-change-select): Implement changing the select value.
17567 (eww-toggle-checkbox): Implement radio/checkboxes.
17568 (eww-update-field): Fix compilation error.
17569 (eww-tag-textarea): Implement <textarea>.
17570
17571 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
17572 we don't shadow mode-specific bindings.
17573
17574 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
17575 nothing to push.
17576
17577 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
17578
17579 2013-06-19 Glenn Morris <rgm@gnu.org>
17580
17581 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
17582
17583 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17584
17585 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
17586 not needed.
17587
17588 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
17589
17590 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17591
17592 * net/browse-url.el (browse-url-browser-function):
17593 `eww-browse-url' has the right calling signature, `eww' does not.
17594
17595 2013-06-19 Glenn Morris <rgm@gnu.org>
17596
17597 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17598 Only eval autoloaded macros.
17599 (byte-compile-autoload): Only give the macro warning for macros.
17600
17601 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
17602 (ps-underlined-faces): Declare.
17603
17604 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
17605 (speedbar-add-supported-extension): Declare.
17606
17607 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
17608 Don't include a date stamp in the header of the generated file;
17609 it leads to needless differences between output files.
17610
17611 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17612
17613 * net/secrets.el (secrets-struct-secret-content-type):
17614 Replace check of introspection data by a test call of "CreateItem".
17615 Some servers do not offer introspection.
17616
17617 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
17618
17619 * electric.el (electric-pair-mode): Improve interaction with
17620 electric-layout-mode.
17621 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
17622 (electric-pair-syntax): Use text-mode-syntax-table in comments
17623 and strings.
17624 (electric-pair--insert): New function.
17625 (electric-pair-post-self-insert-function): Use it and
17626 electric--after-char-pos.
17627
17628 2013-06-19 Leo Liu <sdl.web@gmail.com>
17629
17630 * progmodes/octave.el (octave-help): Fix regexp.
17631
17632 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17633
17634 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
17635 (shr-table-horizontal-line): Allow nil as a value, and change the
17636 default.
17637 (shr-insert-table-ruler): Respect the nil value.
17638
17639 2013-06-18 Tom Tromey <tromey@barimba>
17640
17641 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17642 New defvars.
17643 (eww-open-file): New defun.
17644 (eww-render): Initialize new variables.
17645 (eww-display-html): Handle "link" and "a".
17646 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
17647 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
17648 (eww-back-url): Rename from eww-previous-url.
17649 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17650 New defuns.
17651
17652 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
17653
17654 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
17655 Distinguish ternary operator tokens from slash symbol and slash
17656 char literal.
17657
17658 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17659
17660 Convert symbol prettification into minor mode and global minor mode.
17661
17662 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
17663 `prog-prettify-symbols', and make a local defvar instead of defcustom.
17664 (prettify-symbols--keywords): Rename from
17665 `prog-prettify-symbols-alist' and make a local defvar.
17666 (prettify-symbols--compose-symbol): Rename from
17667 `prog--prettify-font-lock-compose-symbol'.
17668 (prettify-symbols--make-keywords): Rename from
17669 `prog-prettify-font-lock-symbols-keywords' and simplify.
17670 (prog-prettify-install): Remove.
17671 (prettify-symbols-mode): New minor mode, based on
17672 `prog-prettify-install'.
17673 (turn-on-prettify-symbols-mode): New function.
17674 (global-prettify-symbols-mode): New globalized minor mode.
17675
17676 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
17677 * progmodes/cfengine.el (cfengine3-mode):
17678 * progmodes/perl-mode.el (perl-mode): Don't call
17679 `prog-prettify-install'; set `prettify-symbols-alist' instead.
17680
17681 2013-06-18 Juri Linkov <juri@jurta.org>
17682
17683 * files-x.el (modify-file-local-variable-message): New function.
17684 (modify-file-local-variable)
17685 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
17686 and call `modify-file-local-variable-message' when it's non-nil.
17687 (add-file-local-variable, delete-file-local-variable)
17688 (add-file-local-variable-prop-line)
17689 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
17690 and use it. (Bug#9820)
17691
17692 2013-06-18 Juri Linkov <juri@jurta.org>
17693
17694 * emulation/vi.el (vi-shell-op):
17695 * emulation/vip.el (vip-execute-com, ex-command):
17696 * emulation/viper-cmd.el (viper-exec-bang):
17697 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
17698 the call of `shell-command-on-region'. (Bug#14637)
17699
17700 * simple.el (shell-command-on-region): Doc fix.
17701
17702 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17703
17704 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
17705 (bug#14633).
17706
17707 2013-06-18 Glenn Morris <rgm@gnu.org>
17708
17709 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
17710
17711 * newcomment.el (comment-search-forward, comment-search-backward):
17712 Doc fix. (Bug#14376)
17713
17714 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17715
17716 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
17717 (buffer-face-mode-invoke): Doc fix.
17718
17719 2013-06-18 Matthias Meulien <orontee@gmail.com>
17720
17721 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
17722 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
17723
17724 2013-06-18 Glenn Morris <rgm@gnu.org>
17725
17726 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
17727 Replace obsolete function generic-make-keywords with its expansion.
17728
17729 * progmodes/python.el (ffap-alist): Declare.
17730
17731 * textmodes/reftex.el (bibtex-mode-map): Declare.
17732
17733 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17734
17735 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
17736 (package-unpack, package-unpack-single): Return the pkg-dir.
17737 (package-download-transaction): Use it to update package-alist.
17738
17739 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17740
17741 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
17742 possible choice.
17743
17744 2013-06-17 Juri Linkov <juri@jurta.org>
17745
17746 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
17747
17748 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17749
17750 * emacs-lisp/package.el (package-load-descriptor):
17751 Remove `with-syntax-table' call, `read' doesn't need it.
17752 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
17753
17754 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17755
17756 * startup.el (command-line): Expand package name returned by
17757 `package--description-file' (bug#14639).
17758
17759 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17760
17761 * emacs-lisp/package.el (package-load-descriptor): Do not call
17762 `emacs-lisp-mode', just use its syntax table.
17763
17764 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17765
17766 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
17767 `font-lock-extra-managed-props' if any prettifying keyword is added.
17768 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
17769 (prog-mode): Use `setq-local'.
17770
17771 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17772
17773 * international/characters.el (standard-case-table): Set syntax of ?»
17774 and ?« to punctuation.
17775
17776 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
17777
17778 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
17779 Save relevant match data before calling `syntax-ppss' (bug#14595).
17780
17781 2013-06-15 Juri Linkov <juri@jurta.org>
17782
17783 * files-x.el (modify-file-local-variable-prop-line): Add local
17784 variables to the end of the existing comment on the first line.
17785 Use `file-auto-mode-skip' to skip interpreter magic line,
17786 and also skip XML declaration.
17787
17788 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17789
17790 * startup.el (package--builtin-versions): New var.
17791 (package-subdirectory-regexp): Remove.
17792 (package--description-file): Hard code its value instead.
17793
17794 * emacs-lisp/package.el: Don't activate packages older than builtin.
17795 (package-obsolete-list): Rename from package-obsolete-alist, and make
17796 it into a simple list of package-desc.
17797 (package-strip-version): Remove.
17798 (package-built-in-p): Use package--builtin-versions.
17799 (package-mark-obsolete): Simplify.
17800 (package-process-define-package): Mark it obsolete if older than the
17801 builtin version.
17802 (package-handle-response): Use line-end-position.
17803 (package-read-archive-contents, package--download-one-archive):
17804 Simplify.
17805 (package--add-to-archive-contents): Skip if older than the builtin or
17806 installed version.
17807 (package-menu-describe-package): Fix last change.
17808 (package-list-unversioned): New var.
17809 (package-menu--generate): Use it.
17810
17811 * emacs-lisp/autoload.el: Manage package--builtin-versions.
17812 (autoload--insert-text, autoload--insert-cookie-text): New functions.
17813 (autoload-builtin-package-versions): New variable.
17814 (autoload-generate-file-autoloads): Use them.
17815 Remove the list of autoloaded functions/macros from the
17816 (autoload...) comments.
17817
17818 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
17819
17820 2013-06-15 Eli Zaretskii <eliz@gnu.org>
17821
17822 * simple.el (line-move-partial): Don't jump to the next screen
17823 line as soon as it becomes visible. Instead, continue enlarging
17824 the vscroll until the portion of a tall screen line that's left on
17825 display is about the height of the frame's default font.
17826 (Bug#14567)
17827
17828 2013-06-15 Glenn Morris <rgm@gnu.org>
17829
17830 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
17831 compilation-error-regexp-alist void, or local while let-bound.
17832
17833 * progmodes/make-mode.el (makefile-mode-syntax-table):
17834 Treat "=" as punctuation. (Bug#14614)
17835
17836 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
17837
17838 * help-fns.el (describe-variable):
17839 Add extra line for permanent-local variables.
17840
17841 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
17842
17843 * progmodes/scheme.el (scheme-font-lock-keywords-2):
17844 Add export, import, library. (Bug#9164)
17845 (library): Set indent function.
17846
17847 2013-06-14 Glenn Morris <rgm@gnu.org>
17848
17849 * term/xterm.el (xterm--query):
17850 Stop after first matching handler. (Bug#14615)
17851
17852 2013-06-14 Ivan Kanis <ivan@kanis.fr>
17853
17854 Add support for dired in saveplace.
17855 * dired.el (dired-initial-position-hook): New variable.
17856 (dired-initial-position): Call hook to place cursor position.
17857 * saveplace.el (save-place-to-alist): Add dired position.
17858 (save-place-dired-hook): New function.
17859
17860 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
17861
17862 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
17863 through a symbol rather than letrec.
17864
17865 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
17866 (package-desc): Add `dir' field.
17867 (package-desc-full-name): New function.
17868 (package-load-descriptor): Combine the two arguments. Don't use `load'.
17869 (package-maybe-load-descriptor): Remove.
17870 (package-load-all-descriptors): Just call package-load-descriptor.
17871 (package--disabled-p): New function.
17872 (package-desc-vers, package-desc-doc): Remove aliases.
17873 (package--dir): Remove function.
17874 (package-activate): Check if a package is disabled.
17875 (package-process-define-package): New function, extracted from
17876 define-package.
17877 (define-package): Turn into a place holder.
17878 (package-unpack-single, package-tar-file-info):
17879 Use package--description-file.
17880 (package-compute-transaction): Use package--disabled-p.
17881 (package-download-transaction): Don't call
17882 package-maybe-load-descriptor since they're all loaded anyway.
17883 (package-install): Change argument to be a pkg-desc.
17884 (package-delete): Use a single pkg-desc argument.
17885 (describe-package-1): Use package-desc-dir instead of package--dir.
17886 Use package-desc property instead of package-symbol.
17887 (package-install-button-action): Adjust accordingly.
17888 (package--push): Rewrite.
17889 (package-menu--print-info): Adjust accordingly. Change the ID format
17890 to be a pkg-desc.
17891 (package-menu-describe-package, package-menu-get-status)
17892 (package-menu--find-upgrades, package-menu-mark-upgrades)
17893 (package-menu-execute, package-menu--name-predicate):
17894 Adjust accordingly.
17895 * startup.el (package--description-file): New function.
17896 (command-line): Use it.
17897 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17898 Use package-desc-version.
17899
17900 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
17901 (byte-compile-preprocess): Use it.
17902 (byte-compile-file-form-defalias): Try a bit harder to use macros we
17903 can't quite recognize.
17904 (byte-compile-add-to-list): Remove.
17905 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
17906 (cconv-closure-convert): Add assertion.
17907
17908 * emacs-lisp/map-ynp.el: Use lexical-binding.
17909 (map-y-or-n-p): Remove unused vars `tail' and `object'.
17910 Factor out some repeated code.
17911
17912 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
17913
17914 * subr.el (with-eval-after-load): New macro.
17915 (eval-after-load): Allow form to be a function.
17916 take advantage of lexical-binding.
17917 (do-after-load-evaluation): Use dolist and adjust to new format.
17918 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
17919
17920 2013-06-13 Juri Linkov <juri@jurta.org>
17921
17922 * replace.el (perform-replace): Display "symbol " and other search
17923 modes from `isearch-message-prefix' in the *Help* buffer.
17924
17925 * isearch.el (isearch-query-replace): Add " symbol" and other
17926 possible search modes from `isearch-message-prefix' to the prompt.
17927 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
17928 when reading a regexp to collect.
17929
17930 2013-06-13 Juri Linkov <juri@jurta.org>
17931
17932 * isearch.el (word-search-regexp): Match whitespace if the search
17933 string begins or ends in whitespace. The LAX arg is applied to
17934 both ends of the search string. Use `regexp-quote' and explicit
17935 \< and \> instead of \b. Use \` and \' instead of ^ and $.
17936 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
17937 boundaries are replaced with symbol boundaries, and characters
17938 between symbols match non-word non-symbol syntax. (Bug#14602)
17939
17940 2013-06-13 Juri Linkov <juri@jurta.org>
17941
17942 * isearch.el (isearch-del-char): Don't exceed the length of
17943 `isearch-string' by the prefix arg. (Bug#14563)
17944
17945 2013-06-13 Juri Linkov <juri@jurta.org>
17946
17947 * isearch.el (isearch-yank-word, isearch-yank-line)
17948 (isearch-char-by-name, isearch-quote-char)
17949 (isearch-printing-char, isearch-process-search-char):
17950 Add optional count prefix arg. (Bug#14563)
17951
17952 * international/isearch-x.el
17953 (isearch-process-search-multibyte-characters):
17954 Add optional count prefix arg.
17955
17956 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
17957
17958 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
17959 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
17960 lexical-binding.
17961
17962 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
17963
17964 * subr.el (set-temporary-overlay-map): Add on-exit argument.
17965
17966 2013-06-13 Glenn Morris <rgm@gnu.org>
17967
17968 * startup.el (tty-handle-args):
17969 Don't just discard "--" and anything after. (Bug#14608)
17970
17971 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
17972
17973 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
17974
17975 Implement changes in Secret Service API. Make it backward compatible.
17976 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
17977 (secrets-create-item): Use it. Prefix properties with interface.
17978
17979 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
17980
17981 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
17982 (term-emulate-terminal): Respect term-suppress-hard-newline.
17983
17984 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
17985
17986 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
17987 Only remove a `thumb-file' overlay. (Bug#14548)
17988
17989 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
17990
17991 * mail/reporter.el (reporter-submit-bug-report):
17992 Handle missing package-name. (Bug#14600)
17993
17994 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17995
17996 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
17997 (reftex-citation-prompt, reftex-default-bibliography)
17998 (reftex-bib-or-thebib, reftex-get-bibfile-list)
17999 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
18000 (reftex-bib-sort-author, reftex-bib-sort-year)
18001 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
18002 (reftex-extract-bib-entries-from-thebibliography)
18003 (reftex-get-bibkey-default, reftex-get-bib-names)
18004 (reftex-parse-bibtex-entry, reftex-get-bib-field)
18005 (reftex-format-bib-entry, reftex-parse-bibitem)
18006 (reftex-format-bibitem, reftex-do-citation)
18007 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
18008 (reftex-restrict-bib-matches, reftex-extract-bib-file)
18009 (reftex-insert-bib-matches, reftex-format-citation)
18010 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
18011 (reftex-create-bibtex-file): Add docstrings, mostly by converting
18012 existing comments into docstrings.
18013
18014 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
18015
18016 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
18017
18018 2013-06-12 Andreas Schwab <schwab@suse.de>
18019
18020 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
18021 for auto-save files.
18022
18023 2013-06-12 Glenn Morris <rgm@gnu.org>
18024
18025 * ido.el (ido-delete-ignored-files): Remove.
18026 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
18027 Go back to calling ido-ignore-item-p directly.
18028
18029 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
18030
18031 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
18032
18033 * ido.el (ido-delete-ignored-files): New function,
18034 split from ido-make-file-list-1.
18035 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
18036 (ido-make-file-list-1): Use ido-delete-ignored-files.
18037
18038 2013-06-12 Leo Liu <sdl.web@gmail.com>
18039
18040 * progmodes/octave.el (inferior-octave-startup)
18041 (inferior-octave-completion-table)
18042 (inferior-octave-track-window-width-change)
18043 (octave-eldoc-function-signatures, octave-help)
18044 (octave-find-definition): Use single quoted strings.
18045 (inferior-octave-startup-args): Change default value.
18046 (inferior-octave-startup): Do not hard code "-i" and
18047 "--no-line-editing".
18048 (inferior-octave-resync-dirs): Add optional arg NOERROR.
18049 (inferior-octave-directory-tracker): Use it.
18050 (octave-goto-function-definition): Robustify.
18051 (octave-help): Support highlighting operators in 'See also'.
18052 (octave-find-definition): Find subfunctions only in Octave mode.
18053
18054 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
18055
18056 * help-fns.el (help-fns--compiler-macro): If the handler function is
18057 named, then put a link to it.
18058 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
18059 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
18060 (cl-typep): Use it.
18061 (cl-eval-when): Simplify debug spec.
18062 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
18063 compiler-macro function instead of setting `compiler-macro-file'.
18064
18065 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
18066
18067 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
18068 * vc/vc-hooks.el (vc-stay-local): Doc fix.
18069
18070 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
18071 Daniel Hackney <dan@haxney.org>
18072
18073 First part of Daniel Hackney's patch to package.el.
18074 * emacs-lisp/package.el: Use defstruct.
18075 (package-desc): New, main struct.
18076 (package--bi-desc, package--ac-desc): New structs, used to describe the
18077 format in external files.
18078 (package-desc-vers): Replace with package-desc-version accessor.
18079 (package-desc-doc): Replace with package-desc-summary accessor.
18080 (package-activate-1): Remove `package' arg since the pkg-vec now
18081 includes the name.
18082 (define-package): Use package-desc-from-define.
18083 (package-unpack-single): Change file-name arg to be a symbol.
18084 (package--add-to-archive-contents): Use package-desc-create and new
18085 accessor functions to package--ac-desc.
18086 (package-buffer-info, package-tar-file-info): Return a package-desc.
18087 (package-install-from-buffer): Remove `type' argument. Change pkg-info
18088 arg to be a package-desc.
18089 (package-install-file): Adjust accordingly. Use \' to match EOS.
18090 (package--from-builtin): New function.
18091 (describe-package-1, package-menu--generate): Use it.
18092 (package--make-autoloads-and-compile): Change name arg to be a symbol.
18093 (package-generate-autoloads): Idem and return the name of the file.
18094 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18095 Change pkg-info arg to be a package-desc.
18096 Use package-make-ac-desc.
18097 (package-upload-file): Use \' to match EOS.
18098 * finder.el (finder-compile-keywords): Use package-make-builtin.
18099
18100 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
18101
18102 * vc/vc.el (vc-deduce-fileset): Change error message.
18103 (vc-read-backend): New function.
18104 (vc-next-action): Use it.
18105
18106 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
18107
18108 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
18109 (prolog-font-lock-keywords): Use regexp-opt instead.
18110 Don't manually highlight strings.
18111 (prolog-mode-variables): Simplify comment-start-skip.
18112 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
18113
18114 * emacs-lisp/generic.el (generic--normalise-comments)
18115 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
18116 (generic-mode-set-comments): Use them.
18117 (generic-bracket-support): Use setq-local.
18118 (generic-make-keywords-list): Declare obsolete.
18119
18120 2013-06-11 Glenn Morris <rgm@gnu.org>
18121
18122 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
18123 Prettify after setting font-lock-defaults. (Bug#14574)
18124
18125 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
18126
18127 * replace.el (query-replace, occur-read-regexp-defaults-function)
18128 (replace-search):
18129 * subr.el (declare-function, number-sequence, local-set-key)
18130 (substitute-key-definition, locate-user-emacs-file)
18131 (with-silent-modifications, split-string, eval-after-load):
18132 Fix typos, remove unneeded backslashes and reflow some docstrings.
18133
18134 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
18135
18136 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
18137 default for Elisp files.
18138
18139 2013-06-11 Glenn Morris <rgm@gnu.org>
18140
18141 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
18142 although define-derived-mode was doing this anyway. (Bug#14583)
18143
18144 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
18145
18146 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18147 Fix make-variable-buffer-local call to refer to the correct variable.
18148
18149 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
18150
18151 * eshell/em-term.el (eshell-visual-commands)
18152 (eshell-visual-subcommands, eshell-visual-options):
18153 Add summary line to docstrings. Add cross-references.
18154
18155 2013-06-10 Glenn Morris <rgm@gnu.org>
18156
18157 * epa.el (epa-read-file-name): New function. (Bug#14510)
18158 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
18159
18160 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
18161
18162 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
18163 output redirection to be ignored with visual commands.
18164
18165 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
18166
18167 * eshell/em-term.el (eshell-visual-command-p): New function.
18168 (eshell-term-initialize): Move long lambda to separate function
18169 eshell-visual-command-p.
18170 * eshell/em-dirs.el (eshell-dirs-initialize):
18171 * eshell/em-script.el (eshell-script-initialize):
18172 Add missing #' to lambda.
18173
18174 2013-06-08 Leo Liu <sdl.web@gmail.com>
18175
18176 * progmodes/octave.el (octave-add-log-current-defun): New function.
18177 (octave-mode): Set add-log-current-defun-function.
18178 (octave-goto-function-definition): Do not move point if not found.
18179 (octave-find-definition): Enhance to try subfunctions first.
18180
18181 2013-06-08 Glenn Morris <rgm@gnu.org>
18182
18183 * emacs-lisp/bytecomp.el (byte-compile-char-before)
18184 (byte-compile-backward-char, byte-compile-backward-word):
18185 Improve previous change, to handle non-explicit nil.
18186
18187 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
18188
18189 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
18190 (smie--opener/closer-at-point): New function.
18191 (smie--matching-block-data): Use it. Don't match from right after an
18192 opener or right before a closer. Obey smie-blink-matching-inners.
18193 Don't signal a mismatch for repeated inners like "switch..case..case".
18194
18195 2013-06-07 Leo Liu <sdl.web@gmail.com>
18196
18197 * progmodes/octave.el (octave-mode): Set comment-use-global-state
18198 to t. (Bug#14303)
18199 (octave-function-header-regexp): Fix. (Bug#14570)
18200 (octave-help-mode-finish-hook, octave-help-mode-finish):
18201 Remove. Just use temp-buffer-show-hook.
18202
18203 * newcomment.el (comment-search-backward): Revert last change.
18204 (Bug#14434)
18205
18206 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
18207
18208 2013-06-07 Eli Zaretskii <eliz@gnu.org>
18209
18210 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
18211 through xargs, to avoid failure due to MS-Windows limitations on
18212 command-line length.
18213
18214 2013-06-06 Glenn Morris <rgm@gnu.org>
18215
18216 * font-lock.el (lisp-font-lock-keywords-2):
18217 Treat user-error like error.
18218
18219 * emacs-lisp/bytecomp.el (byte-compile-char-before)
18220 (byte-compile-backward-char, byte-compile-backward-word):
18221 Handle explicit nil arguments. (Bug#14565)
18222
18223 2013-06-05 Alan Mackenzie <acm@muc.de>
18224
18225 * isearch.el (isearch-allow-prefix): New user option.
18226 (isearch-other-meta-char): Don't exit isearch when a prefix
18227 argument is typed whilst `isearch-allow-prefix' is non-nil.
18228 (Bug#9706)
18229
18230 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18231
18232 * autorevert.el (auto-revert-notify-handler): Use memq.
18233 Hide assertion failure.
18234
18235 * skeleton.el: Use cl-lib.
18236 (skeleton-further-elements): Use defvar-local.
18237 (skeleton-insert): Use cl-progv.
18238
18239 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18240
18241 * progmodes/prog-mode.el (prog-prettify-symbols)
18242 (prog-prettify-install): Update docstrings.
18243
18244 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18245
18246 * simple.el: Move all the prog-mode code to prog-mode.el.
18247 * progmodes/prog-mode.el: New file.
18248 * loadup.el: Add prog-mode.el.
18249
18250 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18251
18252 * simple.el (prog-prettify-symbols): Add version.
18253 (prog-prettify-install): Add convenience function to prettify symbols.
18254
18255 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
18256 (perl--augmented-font-lock-keywords-1)
18257 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
18258 variables and use it.
18259
18260 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18261 (cfengine3-mode): Remove unneeded variable and use it.
18262
18263 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18264 (lisp--augmented-font-lock-keywords-1)
18265 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
18266 Remove unneeded variables and use it.
18267
18268 2013-06-05 João Távora <joaotavora@gmail.com>
18269
18270 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
18271 to point when opening the connection. (Bug#14380)
18272
18273 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18274
18275 * subr.el (load-history-regexp, load-history-filename-element)
18276 (eval-after-load, after-load-functions, do-after-load-evaluation)
18277 (eval-next-after-load, display-delayed-warnings)
18278 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
18279 definition of save-match-data.
18280 (overriding-local-map): Remove accidental obsolescence declaration.
18281
18282 * emacs-lisp/edebug.el (edebug-result): Move before first use.
18283
18284 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
18285
18286 Generalize symbol prettify support to prog-mode and implement it
18287 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
18288 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
18289 (prog--prettify-font-lock-compose-symbol)
18290 (prog-prettify-font-lock-symbols-keywords): New variables and
18291 functions to support symbol prettification.
18292 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18293 (lisp--augmented-font-lock-keywords-1)
18294 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
18295 (lisp--prettify-symbols-alist): Implement prettify of lambda.
18296 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18297 (cfengine3--prettify-symbols-alist, cfengine3-mode):
18298 Implement prettify of -> => :: strings.
18299 * progmodes/perl-mode.el (perl-prettify-symbols)
18300 (perl--font-lock-compose-symbol)
18301 (perl--font-lock-symbols-keywords): Move to prog-mode.
18302 (perl--prettify-symbols-alist): Prettify -> => :: strings.
18303 (perl-font-lock-keywords-1)
18304 (perl-font-lock-keywords-2): Remove explicit prettify support.
18305 (perl--augmented-font-lock-keywords)
18306 (perl--augmented-font-lock-keywords-1)
18307 (perl--augmented-font-lock-keywords-2, perl-mode):
18308 Implement prettify support.
18309
18310 2013-06-05 Leo Liu <sdl.web@gmail.com>
18311
18312 Re-implement SMIE matching block highlight using
18313 show-paren-data-function. (Bug#14395)
18314 * emacs-lisp/smie.el (smie-matching-block-highlight)
18315 (smie--highlight-matching-block-overlay)
18316 (smie--highlight-matching-block-lastpos)
18317 (smie-highlight-matching-block)
18318 (smie-highlight-matching-block-mode): Remove.
18319 (smie--matching-block-data-cache): New variable.
18320 (smie--matching-block-data): New function.
18321 (smie-setup): Use smie--matching-block-data for
18322 show-paren-data-function.
18323
18324 * progmodes/octave.el (octave-mode-menu): Fix.
18325 (octave-find-definition): Skip garbage lines.
18326
18327 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18328
18329 Fix compilation error with simultaneous dynamic+lexical scoping.
18330 Add warning when a defvar appears after the first let-binding.
18331 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
18332 (byte-compile-close-variables): Initialize it.
18333 (byte-compile--declare-var): New function.
18334 (byte-compile-file-form-defvar)
18335 (byte-compile-file-form-define-abbrev-table)
18336 (byte-compile-file-form-custom-declare-variable): Use it.
18337 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
18338 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
18339 (byte-compile-bind): Handle dynamic bindings that shadow
18340 lexical bindings.
18341 (byte-compile-unbind): Make arg non-optional.
18342 (byte-compile-let): Simplify.
18343 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
18344 (cconv--analyse-function, cconv-analyse-form): Populate it.
18345 Protect byte-compile-bound-variables to limit the scope of defvars.
18346 (cconv-analyse-form): Add missing rule for (defvar <foo>).
18347 Remove unneeded rule for `declare'.
18348
18349 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
18350 so as to avoid depending on cl-adjoin at run-time.
18351 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
18352
18353 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
18354 (macroexp--warn-and-return): Use it.
18355
18356 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18357
18358 * subr.el: Convert to lexical binding.
18359 (overriding-local-map): Make obsolete.
18360 (add-to-list): Doc fix. Add compiler macro.
18361 (read-key): Swap values of local maps.
18362
18363 2013-06-05 Leo Liu <sdl.web@gmail.com>
18364
18365 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
18366
18367 2013-06-04 Leo Liu <sdl.web@gmail.com>
18368
18369 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
18370 (compilation-auto-jump): Suppress the "Mark set" message to give
18371 way to exit message.
18372
18373 2013-06-04 Alan Mackenzie <acm@muc.de>
18374
18375 Remove faulty optimization from indentation calculation.
18376 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
18377 search limit based on 2000 characters back from indent-point.
18378
18379 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18380
18381 * eshell/em-term.el (cl-lib): Require `cl-lib'.
18382
18383 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
18384
18385 * emacs-lisp/lisp.el: Use lexical-binding.
18386 (lisp--local-variables-1, lisp--local-variables): New functions.
18387 (lisp--local-variables-completion-table): New var.
18388 (lisp-completion-at-point): Use it complete let-bound vars.
18389
18390 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
18391 eagerly (bug#14422).
18392
18393 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
18394
18395 * autorevert.el (auto-revert-notify-enabled)
18396 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18397 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
18398 (auto-revert-notify-handler): Handle also gfilenotify.
18399
18400 * subr.el (file-notify-handle-event): New defun. Replacing ...
18401 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
18402 Remove.
18403
18404 2013-06-03 Juri Linkov <juri@jurta.org>
18405
18406 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
18407 `M-s h .'. (Bug#14427)
18408
18409 * hi-lock.el (highlight-symbol-at-point): New alias for the new
18410 command `hi-lock-face-symbol-at-point'.
18411 (hi-lock-face-symbol-at-point): New command.
18412 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
18413 (hi-lock-menu): Add `highlight-symbol-at-point'.
18414 (hi-lock-mode): Doc fix.
18415
18416 * isearch.el (isearch-forward-symbol-at-point): New command.
18417 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
18418 (isearch-highlight-regexp): Add a regexp which matches
18419 words/symbols for word/symbol mode.
18420
18421 * subr.el (find-tag-default-bounds): New function with the body
18422 mostly moved from `find-tag-default'.
18423 (find-tag-default): Move most code to `find-tag-default-bounds',
18424 call it and apply `buffer-substring-no-properties' afterwards.
18425
18426 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18427
18428 * eshell/em-term.el (eshell-term-initialize):
18429 Use `cl-intersection' rather than `intersection'.
18430
18431 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
18432
18433 * vc/log-view.el: Doc fix.
18434 (log-view-mode-map): Copy keymap from `special-mode-map'.
18435
18436 2013-06-02 Eric Ludlam <zappo@gnu.org>
18437
18438 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
18439 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
18440 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
18441 (eieio-unbound, eieio-default-superclass)
18442 (eieio--define-field-accessors, method-static, method-before)
18443 (method-primary, method-after, method-num-lists)
18444 (method-generic-before, method-generic-primary)
18445 (method-generic-after, method-num-slots)
18446 (eieio-specialized-key-to-generic-key)
18447 (eieio--check-type, class-v, class-p)
18448 (eieio-class-name, define-obsolete-function-alias)
18449 (eieio-class-parents-fast, eieio-class-children-fast)
18450 (same-class-fast-p, class-constructor, generic-p)
18451 (generic-primary-only-p, generic-primary-only-one-p)
18452 (class-option-assoc, class-option, eieio-object-p)
18453 (class-abstract-p, class-method-invocation-order)
18454 (eieio-defclass-autoload-map, eieio-defclass-autoload)
18455 (eieio-class-un-autoload, eieio-defclass)
18456 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
18457 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
18458 (eieio--defgeneric-init-form, eieio-defgeneric-form)
18459 (eieio-defgeneric-reset-generic-form)
18460 (eieio-defgeneric-form-primary-only)
18461 (eieio-defgeneric-reset-generic-form-primary-only)
18462 (eieio-defgeneric-form-primary-only-one)
18463 (eieio-defgeneric-reset-generic-form-primary-only-one)
18464 (eieio-unbind-method-implementations)
18465 (eieio--defmethod, eieio--typep)
18466 (eieio-perform-slot-validation, eieio-validate-slot-value)
18467 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
18468 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
18469 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
18470 (eieio-slot-name-index, eieio-class-slot-name-index)
18471 (eieio-set-defaults, eieio-initarg-to-attribute)
18472 (eieio-attribute-to-initarg, eieio-c3-candidate)
18473 (eieio-c3-merge-lists, eieio-class-precedence-c3)
18474 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
18475 (eieio-class-precedence-list, eieio-generic-call-methodname)
18476 (eieio-generic-call-arglst, eieio-generic-call-key)
18477 (eieio-generic-call-next-method-list)
18478 (eieio-pre-method-execution-functions, eieio-generic-call)
18479 (eieio-generic-call-primary-only, eieiomt-method-list)
18480 (eieiomt-optimizing-obarray, eieiomt-install)
18481 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
18482 (eieio-generic-form, eieio-defmethod, make-obsolete)
18483 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
18484 (defclass): Remove `eval-and-compile' from macro.
18485 (call-next-method, shared-initialize): Instead of using
18486 `scoped-class' variable, use new eieio--scoped-class, and
18487 eieio--with-scoped-class.
18488 (initialize-instance): Rename local variable 'scoped-class' to
18489 'this-class' to remove ambiguitity from old global.
18490
18491 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
18492 eieio.el.
18493 (eieio--scoped-class-stack): New variable.
18494 (eieio--scoped-class): New fcn.
18495 (eieio--with-scoped-class): New scoping macro.
18496 (eieio-defclass): Use pushnew instead of add-to-list.
18497 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
18498 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
18499 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
18500 `scoped-class' variable, use new eieio--scoped-class, and
18501 eieio--with-scoped-class.
18502
18503 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
18504
18505 2013-06-02 Tassilo Horn <tsdh@gnu.org>
18506
18507 * eshell/esh-ext.el (eshell-external-command): Pass args to
18508 `eshell-find-interpreter'.
18509 (eshell-find-interpreter): Add new second parameter ARGS.
18510
18511 * eshell/em-script.el (eshell-script-initialize): Add second arg
18512 to the function added as MATCH to `eshell-interpreter-alist'.
18513
18514 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
18515 the function added as MATCH to `eshell-interpreter-alist'.
18516
18517 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
18518 (eshell-visual-options): New defcustom.
18519 (eshell-escape-control-x): Adapt docstring.
18520 (eshell-term-initialize): Test `eshell-visual-subcommands' and
18521 `eshell-visual-options' in addition to `eshell-visual-commands'.
18522 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
18523
18524 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
18525
18526 * progmodes/python.el (python-indent-block-enders): Add break,
18527 continue and raise keywords.
18528
18529 2013-06-01 Glenn Morris <rgm@gnu.org>
18530
18531 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
18532
18533 Plain (f)boundp silences compilation warnings since Emacs 22.1.
18534 * progmodes/cc-cmds.el (delete-forward-p):
18535 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
18536 * progmodes/cc-engine.el (buffer-syntactic-context):
18537 * progmodes/cc-fonts.el (face-property-instance):
18538 * progmodes/cc-mode.el (set-keymap-parents):
18539 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
18540 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
18541 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
18542 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
18543 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
18544
18545 * progmodes/cc-vars.el (other): Emacs has this widget since
18546 at least 21.1, so don't (re)define it.
18547
18548 * eshell/em-cmpl.el (eshell-cmpl-initialize):
18549 Replace the obsolete alias pcomplete-arg-quote-list.
18550
18551 2013-06-01 Leo Liu <sdl.web@gmail.com>
18552
18553 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
18554 punctuation syntax.
18555 (inferior-octave-minimal-columns)
18556 (inferior-octave-last-column-width): New variables.
18557 (inferior-octave-track-window-width-change): New function.
18558 (inferior-octave-mode): Adjust column width so that Octave output,
18559 for example from 'ls', can fit into the window nicely.
18560
18561 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18562
18563 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18564 Highlight expansions inside regexp literals.
18565
18566 2013-05-31 Glenn Morris <rgm@gnu.org>
18567
18568 * obsolete/sym-comp.el (symbol-complete):
18569 Replace obsolete completion-annotate-function.
18570
18571 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
18572
18573 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18574
18575 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18576 New function, checks if point is inside a literal that allows
18577 expression expansion.
18578 (ruby-syntax-propertize-expansion): Use it.
18579 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
18580 around the body.
18581
18582 2013-05-30 Juri Linkov <juri@jurta.org>
18583
18584 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
18585 to "\M-si".
18586 (isearch-invisible): New variable.
18587 (isearch-forward): Doc fix.
18588 (isearch-mode): Set `isearch-invisible'
18589 to the value of `search-invisible'.
18590 (isearch-toggle-case-fold): Doc fix.
18591 (isearch-toggle-invisible): New command.
18592 (isearch-query-replace): Let-bind `search-invisible'
18593 to the value of `isearch-invisible'.
18594 (isearch-search): Use `isearch-invisible' instead of
18595 `search-invisible'. Let-bind `search-invisible'
18596 to the value of `isearch-invisible'. (Bug#11378)
18597
18598 2013-05-30 Juri Linkov <juri@jurta.org>
18599
18600 * replace.el (perform-replace): Avoid `isearch-range-invisible'
18601 call when `query-flag' is nil and `search-invisible' is non-nil.
18602 (Bug#11746)
18603
18604 2013-05-30 Glenn Morris <rgm@gnu.org>
18605
18606 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
18607
18608 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
18609 (cc-require): Suppress spurious "noruntime" warnings.
18610 (cc-require-when-compile): Use fboundp, for sake of compiler.
18611
18612 * progmodes/cc-mode.el: Move load of cc-vars before that of
18613 cc-langs (which in turn loads cc-vars), to quieten compiler.
18614
18615 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18616
18617 * paren.el: Simplify the code.
18618 (show-paren-mode): Always start the timer.
18619 (show-paren--idle-timer): Rename from show-paren-idle-timer.
18620 (show-paren--overlay, show-paren--overlay-1): Rename from
18621 show-paren-overlay and show-paren-overlay-1, and initialize to an
18622 overlay rather than to nil.
18623 (show-paren-function): Misc cleanup and simplifications.
18624
18625 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18626
18627 * paren.el (show-paren-data-function): New hook.
18628 (show-paren--default): New function, extracted from show-paren-function.
18629 (show-paren-function): Use show-paren-data-function.
18630
18631 2013-05-30 Glenn Morris <rgm@gnu.org>
18632
18633 * ielm.el (ielm-map, ielm-complete-symbol):
18634 Use completion-at-point rather than obsolete functions.
18635 (inferior-emacs-lisp-mode): Doc fix.
18636 Set completion-at-point-functions, rather than
18637 comint-dynamic-complete-functions.
18638
18639 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
18640 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
18641 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
18642
18643 * image.el (image-animated-p): Tweak definition.
18644
18645 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
18646 (rlogin-process-connection-type): Tweak default. Add set-after.
18647 (rlogin-host): Doc fix.
18648 (rlogin): Tweak prompt.
18649 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
18650
18651 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
18652 * progmodes/tcl.el (inferior-tcl-mode-map):
18653 Use completion-at-point rather than obsolete alias.
18654
18655 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
18656
18657 * minibuffer.el (read-file-name-completion-ignore-case):
18658 Move before completion--in-region, for eager macro expansion.
18659
18660 2013-05-29 Juri Linkov <juri@jurta.org>
18661
18662 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
18663 for total count of matching lines. Add `global-matches' for total
18664 count of matches. Rename `matches' to `lines' for count of
18665 matching lines. Add `matches' for count of matches.
18666 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
18667 to `prev-line' for line number of prev match endpt.
18668 Increment `matches' for every match. Print the number of
18669 matching lines in the header.
18670 (occur-context-lines): Rename `lines' to `curr-line'.
18671 Rename `prev-lines' to `prev-line'. (Bug#14017)
18672
18673 2013-05-29 Juri Linkov <juri@jurta.org>
18674
18675 * replace.el (perform-replace): Add `skip-read-only-count',
18676 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
18677 Increment them for corresponding conditions and report the number
18678 of skipped occurrences in the final message. (Bug#11746)
18679 (query-replace, query-replace-regexp, query-replace-regexp-eval)
18680 (replace-string, replace-regexp): Doc fix.
18681
18682 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
18683
18684 * emacs-lisp/trace.el (trace--read-args): Provide a default.
18685
18686 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
18687 prog-mode-map (bug#14504).
18688
18689 2013-05-29 Leo Liu <sdl.web@gmail.com>
18690
18691 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
18692 (octave-help): Small simplification.
18693
18694 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
18695 off the highlight first.
18696
18697 2013-05-29 Glenn Morris <rgm@gnu.org>
18698
18699 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
18700 Handle idlwave-last-system-routine-info-cons-cell being nil.
18701
18702 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
18703 (idlwave-write-paths): Simplify via with-temp-buffer.
18704
18705 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
18706 * emulation/cua-rect.el: Also load cua-base at run time.
18707
18708 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
18709 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
18710 (cperl-imenu-on-info): Require imenu.
18711
18712 2013-05-28 Alan Mackenzie <acm@muc.de>
18713
18714 Handle "capitalised keywords" correctly.
18715 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
18716
18717 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
18718
18719 * eshell/em-unix.el: Add -r option to cp.
18720
18721 2013-05-28 Glenn Morris <rgm@gnu.org>
18722
18723 * vc/vc-arch.el (vc-exec-after): Declare.
18724 (vc-switches): Autoload.
18725 * vc/vc-bzr.el: No need to require vc when compiling.
18726 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
18727 (vc-resynch-buffer, vc-dir-refresh): Declare.
18728 (vc-setup-buffer, vc-switches): Autoload.
18729 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
18730 (vc-resynch-buffer): Declare.
18731 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
18732 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
18733 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
18734 (grep-read-regexp, grep-read-files, grep-expand-template)
18735 (vc-dir-refresh): Declare.
18736 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
18737 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
18738 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
18739 * vc/vc-mtn.el (vc-exec-after): Declare.
18740 (vc-switches): Autoload.
18741 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
18742 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
18743 (vc-file-tree-walk): Declare.
18744 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
18745 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
18746 (vc-tag-precondition, vc-rename-master): Autoload.
18747 * vc/vc-svn.el (vc-exec-after): Declare.
18748 (vc-switches, vc-setup-buffer): Autoload.
18749 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
18750 Autoload.
18751 (vc-resynch-buffer): Declare.
18752
18753 * obsolete/fast-lock.el (byte-compile-warnings):
18754 Don't warn about obsolete features in this obsolete file.
18755
18756 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
18757 Move definition before use.
18758
18759 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
18760 (dun-unix-verbs): Remove dun-zippy.
18761 (dun-zippy): Remove function.
18762
18763 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
18764
18765 2013-05-27 Juri Linkov <juri@jurta.org>
18766
18767 * replace.el (replace-search): New function with code moved out
18768 from `perform-replace'.
18769 (replace-highlight, replace-dehighlight): Move function definitions
18770 up closer to `replace-search'. (Bug#11746)
18771
18772 2013-05-27 Juri Linkov <juri@jurta.org>
18773
18774 * replace.el (perform-replace): Ignore invisible matches.
18775 In addition to checking `query-replace-skip-read-only', also
18776 filter out matches by calling `run-hook-with-args-until-failure'
18777 on `isearch-filter-predicates', and also check `search-invisible'
18778 for t or call `isearch-range-invisible'.
18779 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
18780
18781 2013-05-27 Juri Linkov <juri@jurta.org>
18782
18783 * isearch.el (isearch-filter-predicates): Rename from
18784 `isearch-filter-predicate'. Doc fix. (Bug#11378)
18785 (isearch-message-prefix): Display text from the property
18786 `isearch-message-prefix' of the currently active filters.
18787 (isearch-search): Don't compare `isearch-filter-predicate' with
18788 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
18789 on `isearch-filter-predicates'. Also check `search-invisible' for t
18790 or call `isearch-range-invisible'.
18791 (isearch-filter-visible): Make obsolete.
18792 (isearch-lazy-highlight-search):
18793 Call `run-hook-with-args-until-failure' on
18794 `isearch-filter-predicates' and use `isearch-range-invisible'.
18795
18796 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
18797 `isearch-filter-predicates' instead of `funcall'ing
18798 `isearch-filter-predicate'.
18799 (Info-mode): Set `Info-isearch-filter' to
18800 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
18801
18802 * dired-aux.el (dired-isearch-filter-predicate-orig):
18803 Remove variable.
18804 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
18805 (dired-isearch-filenames-end): Add and remove
18806 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
18807 instead of changing the value of `isearch-filter-predicate'.
18808 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
18809 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
18810 Put property `isearch-message-prefix' to "filename " on
18811 `dired-isearch-filter-filenames'.
18812
18813 * wdired.el (wdired-change-to-wdired-mode):
18814 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
18815 locally instead of changing `isearch-filter-predicate'.
18816 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
18817
18818 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
18819
18820 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
18821 return the commit hash (Bug#14459). Also set the
18822 `vc-git-detached' property.
18823 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
18824 (vc-git-mode-line-string): Use the same help-echo format whether
18825 in detached mode or not, because we know the actual revision now.
18826 When in detached mode, shorten the revision to 7 chars.
18827
18828 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
18829
18830 * emacs-lisp/easy-mmode.el (define-minor-mode):
18831 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
18832 mode hook and provide a docstring.
18833
18834 2013-05-27 Alan Mackenzie <acm@muc.de>
18835
18836 Remove spurious syntax-table text properties inserted by C-y.
18837 * progmodes/cc-mode.el (c-after-change): Also clear hard
18838 syntax-table property with value nil.
18839
18840 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
18841
18842 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
18843 when reading the events; the buffer layout shall not be changed.
18844
18845 2013-05-27 Leo Liu <sdl.web@gmail.com>
18846
18847 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
18848 New variable.
18849 (inferior-octave-directory-tracker): Automatically re-sync
18850 default-directory.
18851 (octave-help): Improve handling of 'See also'.
18852
18853 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
18854
18855 * doc-view.el: Minor naming convention tweaks.
18856 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
18857
18858 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
18859 even if there's no `display' property yet (bug#14435).
18860
18861 2013-05-25 Eli Zaretskii <eliz@gnu.org>
18862
18863 * subr.el (unmsys--file-name): Rename from reveal-filename.
18864
18865 * Makefile.in (custom-deps, finder-data, autoloads)
18866 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
18867 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
18868 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
18869
18870 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
18871
18872 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
18873 error-completion on the first 2 args of condition-case (bug#14446).
18874 Don't burp at EOB.
18875
18876 2013-05-25 Leo Liu <sdl.web@gmail.com>
18877
18878 * comint.el (comint-previous-matching-input): Do not flood the
18879 *Messages* buffer with trivial messages.
18880
18881 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
18882
18883 * progmodes/flymake.el (flymake-nop): Don't return a string.
18884 (flymake-set-at): Fix typo.
18885
18886 * simple.el (read--expression): New function, extracted from
18887 eval-expression. Set completion-at-point-functions (bug#14465).
18888 (eval-expression, eval-minibuffer): Use it.
18889
18890 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
18891
18892 * progmodes/flymake.el (flymake-save-buffer-in-file)
18893 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
18894 (flymake-selected-frame, flymake-log, flymake-ins-after)
18895 (flymake-set-at, flymake-get-buildfile-from-cache)
18896 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
18897 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
18898 Refine the doc string.
18899 (flymake-get-file-name-mode-and-masks): Reformat.
18900 (flymake-get-real-file-name-function): Fix a minor bug.
18901
18902 2013-05-24 Juri Linkov <juri@jurta.org>
18903
18904 * progmodes/grep.el (grep-mode-font-lock-keywords):
18905 Support =linenumber= format used by git-grep for lines with
18906 function names. (Bug#13549)
18907
18908 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18909
18910 * progmodes/octave.el (octave-smie-rules): Return nil rather than
18911 0 after a semi-colon; it works better for smie-auto-fill.
18912 (octave--indent-new-comment-line): New function.
18913 (octave-indent-new-comment-line): Use it (indirectly).
18914 (octave-mode): Don't disable smie-auto-fill. Use add-function to
18915 modify comment-line-break-function.
18916
18917 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
18918 (smie-setup): Use add-function to set it.
18919
18920 2013-05-24 Sam Steingold <sds@gnu.org>
18921
18922 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
18923 argument (before the `interactive' argument).
18924
18925 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18926
18927 * image-mode.el (image-mode-winprops): Add winprops to
18928 image-mode-winprops-alist before running
18929 image-mode-new-window-functions.
18930 * doc-view.el (doc-view-new-window-function): Don't delay
18931 doc-view-goto-page via timers (bug#14435).
18932
18933 2013-05-24 Tassilo Horn <tsdh@gnu.org>
18934
18935 * doc-view.el: Integrate with desktop.el. (Bug#14435)
18936 (doc-view-desktop-save-buffer): New function.
18937 (doc-view-restore-desktop-buffer): New function.
18938 (desktop-buffer-mode-handlers):
18939 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
18940 handler.
18941 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
18942 `desktop-save-buffer' function.
18943
18944 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
18945
18946 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
18947 (tramp-gvfs-file-name-handler): Raise a user error when
18948 `tramp-gvfs-enabled' is nil.
18949 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
18950 Do not raise a user error when loading package. (Bug#14447)
18951
18952 * net/xesam.el: Move to obsolete/.
18953
18954 2013-05-24 Glenn Morris <rgm@gnu.org>
18955
18956 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
18957
18958 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
18959
18960 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
18961 (Info-find-node, Man-getpage-in-background): Declare.
18962
18963 * mail/unrmail.el (unrmail):
18964 Replace obsolete detect-coding-with-priority.
18965
18966 * net/socks.el (socks-split-string): Use this rather than split-string.
18967 (socks-nslookup-host): Update for above change.
18968 (dynamic-choice, s5-dynamic-choice-match)
18969 (s5-dynamic-choice-match-inline, s5-widget-value-create):
18970 Comment out unused code.
18971
18972 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
18973 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
18974 (gud-tooltip-echo-area): Make obsolete.
18975 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
18976
18977 * progmodes/js.el (js--optimize-arglist): Declare.
18978
18979 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
18980
18981 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
18982 (ediff-window-C): Declare.
18983
18984 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
18985 Tweak requires to silence compiler.
18986
18987 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
18988 (he-search-string, he-tried-table, he-expand-list)
18989 (he-init-string, he-string-member, he-substitute-string)
18990 (he-reset-string): Declare.
18991
18992 * obsolete/options.el (list-options): Use custom-variable-p,
18993 rather than obsolete alias.
18994
18995 2013-05-23 Sam Steingold <sds@gnu.org>
18996
18997 * simple.el (shell-command-on-region): Pass the `replace' argument
18998 down to `call-process-region' to comply with the doc as reported on
18999 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
19000
19001 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19002
19003 * emacs-lisp/smie.el (smie-indent-forward-token)
19004 (smie-indent-backward-token): Handle string tokens (bug#14381).
19005
19006 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19007
19008 * ielm.el (ielm-menu): New menu.
19009 (inferior-emacs-lisp-mode): Set comment-start.
19010
19011 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19012
19013 * textmodes/reftex.el (reftex-ref-style-toggle):
19014 Fix deactivate action.
19015
19016 * textmodes/reftex-vars.el (reftex-ref-style-alist):
19017 Add cleveref macros.
19018
19019 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
19020 Accept options for bibliography commands.
19021 * textmodes/reftex-vars.el (reftex-bibliography-commands):
19022 Add addbibresource. Basic Biblatex support.
19023
19024 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
19025
19026 * net/tramp-gvfs.el (top):
19027 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
19028 when loading package. (Bug#14447)
19029
19030 2013-05-23 Glenn Morris <rgm@gnu.org>
19031
19032 * progmodes/js.el: No need to load comint when compiling.
19033 (ring-insert, comint-send-string, comint-send-input)
19034 (comint-last-input-end, ido-chop): Declare.
19035
19036 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
19037 * vc/ediff-mult.el: Adjust requires.
19038 (ediff-directories-internal, ediff-directory-revisions-internal)
19039 (ediff-patch-file-internal): Declare.
19040 * vc/ediff-ptch.el: Adjust requires.
19041 (ediff-use-last-dir, ediff-buffers-internal): Declare.
19042 (ediff-find-file): Autoload.
19043 * vc/ediff-util.el: No need to load ediff when compiling.
19044 (ediff-regions-internal): Declare.
19045 * vc/ediff-wind.el: Adjust requires.
19046 (ediff-compute-toolbar-width): Define when compiling.
19047 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
19048 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
19049 (dired-get-filename, dired-get-marked-files)
19050 (ediff-last-dir-patch, ediff-patch-default-directory)
19051 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
19052 (ediff-patch-buffer-internal): Declare.
19053
19054 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
19055 (ispell-process, ispell-buffer-local-words, lm-summary)
19056 (lm-section-start, lm-section-end): Declare.
19057 (checkdoc-ispell-init): Simplify.
19058
19059 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
19060 (he-string-member, he-reset-string, he-substitute-string): Declare.
19061
19062 * eshell/em-ls.el: Adjust requires.
19063 (eshell-glob-regexp): Declare.
19064 * eshell/em-tramp.el: Adjust requires.
19065 (eshell-parse-command): Autoload.
19066 * eshell/em-xtra.el: Adjust requires.
19067 (eshell-parse-command): Autoload.
19068 * eshell/esh-ext.el: Adjust requires.
19069 (eshell-parse-command, eshell-close-handles): Autoload.
19070 * eshell/esh-io.el: Adjust requires.
19071 (eshell-output-filter): Autoload.
19072 * eshell/esh-util.el: No need to load tramp when compiling.
19073 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
19074 Declare.
19075 (eshell-parse-ange-ls): Require ange-ftp and tramp.
19076 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
19077 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
19078 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
19079 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
19080 * eshell/esh-opt.el, eshell/esh-proc.el:
19081 * eshell/esh-var.el: Adjust requires.
19082 * eshell/eshell.el: Do not require esh-util twice.
19083 (eshell-add-input-to-history): Declare.
19084 (eshell-command): Check history module is active before using it.
19085
19086 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
19087
19088 2013-05-22 Leo Liu <sdl.web@gmail.com>
19089
19090 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
19091
19092 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
19093
19094 * autorevert.el (auto-revert-notify-add-watch)
19095 (auto-revert-notify-handler): Add `attrib' for the inotify case,
19096 it indicates changes in file modification time.
19097
19098 2013-05-22 Glenn Morris <rgm@gnu.org>
19099
19100 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
19101 Always delete the autoloaded function from the noruntime and
19102 unresolved functions lists.
19103
19104 * allout.el: No need to load epa, epg, overlay when compiling.
19105 (epg-context-set-passphrase-callback, epg-list-keys)
19106 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
19107 (epg-key-user-id-list): Declare.
19108
19109 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19110 (viper-set-parsing-style-toggling-macro)
19111 (viper-set-emacs-state-searchstyle-macros):
19112 Use called-interactively-p on Emacs.
19113 (viper-looking-back): Make it an obsolete alias. Update callers.
19114 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
19115 Use looking-back rather than viper-looking-back.
19116 (viper-tmp-insert-at-eob, viper-enlarge-region)
19117 (viper-read-string-with-history, viper-register-to-point)
19118 (viper-append-to-register, viper-change-state-to-vi)
19119 (viper-backward-char-carefully, viper-forward-char-carefully)
19120 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
19121 (viper-change-state-to-emacs): Declare.
19122 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
19123 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
19124 * emulation/viper-mous.el: Do not load viper-cmd.
19125 (viper-backward-char-carefully, viper-forward-char-carefully)
19126 (viper-forward-word, viper-adjust-window): Declare.
19127
19128 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
19129
19130 * progmodes/idlw-help.el (idlwave-help-fontify):
19131 Use called-interactively-p.
19132
19133 * term/w32console.el (w32-get-console-codepage)
19134 (w32-get-console-output-codepage): Declare.
19135
19136 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
19137 Remove unnecessary declarations.
19138 (dframe-message): Doc fix.
19139
19140 * info.el (dframe-select-attached-frame, dframe-current-frame):
19141 Declare.
19142
19143 * speedbar.el (speedbar-message): Make it an obsolete alias.
19144 Update all callers.
19145 (speedbar-with-attached-buffer)
19146 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
19147 (speedbar-with-writable): Use backquote.
19148 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
19149 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
19150 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
19151 rather than speedbar- aliases.
19152 * mail/rmail.el: Load dframe rather than speedbar when compiling.
19153 (speedbar-make-specialized-keymap, speedbar-insert-button)
19154 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
19155 (speedbar-do-function-pointer): Declare.
19156 (rmail-speedbar-button, rmail-speedbar-find-file)
19157 (rmail-speedbar-move-message):
19158 Use dframe-with-attached-buffer rather than speedbar- alias.
19159 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
19160 (dframe-message, speedbar-make-specialized-keymap)
19161 (speedbar-add-expansion-list, speedbar-mode-functions-list)
19162 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
19163 (speedbar-insert-button, dframe-select-attached-frame)
19164 (dframe-maybee-jump-to-attached-frame)
19165 (speedbar-change-initial-expansion-list)
19166 (speedbar-previously-used-expansion-list-name): Declare.
19167 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
19168 Use dframe-message, dframe-with-attached-buffer rather than
19169 speedbar- aliases.
19170 (gud-sentinel): Silence compiler.
19171 * progmodes/vhdl-mode.el (speedbar-refresh)
19172 (speedbar-do-function-pointer, speedbar-add-supported-extension)
19173 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
19174 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
19175 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
19176 (speedbar-file-lists, speedbar-make-tag-line)
19177 (speedbar-line-directory, speedbar-goto-this-file)
19178 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
19179 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
19180 (speedbar-make-button, speedbar-reset-scanners)
19181 (speedbar-files-item-info, speedbar-line-text)
19182 (speedbar-find-file-in-frame, speedbar-set-timer)
19183 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
19184 (speedbar-with-writable): Do not (re)define it.
19185 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
19186 rather than speedbar- alias.
19187
19188 2013-05-21 Leo Liu <sdl.web@gmail.com>
19189
19190 * progmodes/octave.el (octave-mode-menu): Update and re-organize
19191 menu items.
19192 (octave-mode): Tweak fill-nobreak-predicate.
19193 (inferior-octave-startup): Check process to avoid infinite loop.
19194 (inferior-octave): Pop to buffer first to show abornmal process
19195 exit information.
19196
19197 2013-05-21 Glenn Morris <rgm@gnu.org>
19198
19199 * printing.el (pr-menu-bar): Define when compiling.
19200
19201 2013-05-21 Leo Liu <sdl.web@gmail.com>
19202
19203 * progmodes/octave.el (octave-auto-fill): Remove.
19204 (octave-indent-new-comment-line): Improve.
19205 (octave-mode): Use auto fill mode through
19206 comment-line-break-function and fill-nobreak-predicate.
19207 (octave-goto-function-definition): Support DEFUN_DLD.
19208 (octave-beginning-of-defun): Small tweak.
19209 (octave-help): Show parent directory.
19210
19211 2013-05-21 Glenn Morris <rgm@gnu.org>
19212
19213 * files.el (dired-unmark):
19214 * progmodes/gud.el (gdb-input): Update declarations.
19215
19216 * calculator.el (electric, ehelp): No need to load when compiling.
19217 (Electric-command-loop, electric-describe-mode): Declare.
19218
19219 * doc-view.el (doc-view-current-converter-processes): Move before use.
19220
19221 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19222 Move MODE-set-explicitly definition before use.
19223
19224 * international/mule-diag.el (mule-diag):
19225 Don't use obsolete window-system-version.
19226
19227 * mail/feedmail.el (smtpmail): No need to load when compiling.
19228 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
19229
19230 * mail/mail-utils.el (rfc822): No need to load when compiling.
19231 (rfc822-addresses): Autoload it.
19232 (mail-strip-quoted-names): Trivial simplification.
19233
19234 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
19235 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
19236
19237 * net/snmp-mode.el (tempo): Don't duplicate requires.
19238
19239 * progmodes/prolog.el (info): No need to load when compiling.
19240 (comint): Require before shell requires it.
19241 (Info-goto-node): Autoload it.
19242 (Info-follow-nearest-node): Declare.
19243 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
19244
19245 * textmodes/artist.el (picture-mode-exit): Declare.
19246
19247 * textmodes/reftex-parse.el (reftex-parse-from-file):
19248 Trivial rewrite so the compiler can parse it better.
19249
19250 2013-05-20 Leo Liu <sdl.web@gmail.com>
19251
19252 * progmodes/octave.el (octave-help-mode-map)
19253 (octave-help-mode-finish-hook): New variables.
19254 (octave-help-mode, octave-help-mode-finish): New functions.
19255 (octave-help): Use octave-help-mode.
19256
19257 2013-05-20 Glenn Morris <rgm@gnu.org>
19258
19259 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
19260
19261 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
19262
19263 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
19264 start at point, so that expansion starting right after opening
19265 slash in a regexp is recognized.
19266 (ruby-syntax-before-regexp-re): New defvar, extracted from
19267 ruby-syntax-propertize-function. Since the value of this regexp
19268 is looked up at runtime now, we should be able to turn
19269 `ruby-syntax-methods-before-regexp' into a defcustom later.
19270 (ruby-syntax-propertize-function): Split regexp matching into two
19271 parts, for opening and closing slashes. That allows us to skip
19272 over string interpolations and support multiline regexps.
19273 Don't call `ruby-syntax-propertize-expansions', instead use another rule
19274 for them, which calls `ruby-syntax-propertize-expansion'.
19275 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
19276 call to `ruby-syntax-propertize-function'.
19277 (ruby-syntax-propertize-expansion): Extracted from
19278 `ruby-syntax-propertize-expansions'. Handles one expansion.
19279 (ruby-syntax-propertize-percent-literal): Leave point right after
19280 the percent symbol, so that the expression expansion rule can
19281 propertize the contents.
19282 (ruby-syntax-propertize-heredoc): Leave point at bol following the
19283 heredoc openers.
19284 (ruby-syntax-propertize-expansions): Remove.
19285
19286 2013-05-18 Juri Linkov <juri@jurta.org>
19287
19288 * man.el (Man-default-man-entry): Remove `-' from the end
19289 of the default value. (Bug#14400)
19290
19291 2013-05-18 Glenn Morris <rgm@gnu.org>
19292
19293 * comint.el (comint-password-prompt-regexp):
19294 Allow "password for XXX" where XXX contains colons (eg https://...).
19295
19296 2013-05-18 Leo Liu <sdl.web@gmail.com>
19297
19298 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
19299 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
19300 (octave-source-directories): Don't check process.
19301 (octave-source-directories, octave-find-definition): Doc fix.
19302
19303 2013-05-18 Glenn Morris <rgm@gnu.org>
19304
19305 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
19306 Remove backspace/delete bindings. (Bug#14392)
19307
19308 * cus-dep.el (custom-make-dependencies): Sort the output.
19309 (custom-versions-load-alist): Convert comment to doc.
19310
19311 2013-05-17 Leo Liu <sdl.web@gmail.com>
19312
19313 * newcomment.el (comment-search-backward): Stricter in finding
19314 comment start. (Bug#14303)
19315
19316 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
19317 (octave-comment-start-skip): Properly anchored.
19318
19319 2013-05-17 Leo Liu <sdl.web@gmail.com>
19320
19321 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
19322 Clean up when turned off. (Bug#14395)
19323 (smie--highlight-matching-block-overlay): No longer buffer-local.
19324 (smie-highlight-matching-block): Adjust.
19325
19326 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
19327
19328 Doc string fix for "nanoseconds" (Bug#14406).
19329 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
19330 Fix doc string typo that had "nanoseconds" instead of "microseconds".
19331
19332 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
19333
19334 * calc/calc-units.el (math-extract-units): Preserve powers
19335 of units.
19336
19337 2013-05-17 Leo Liu <sdl.web@gmail.com>
19338
19339 * subr.el (delete-consecutive-dups): New function.
19340 * ido.el (ido-set-matches-1): Use it.
19341 * progmodes/octave.el (inferior-octave-completion-table): Use it.
19342 * ido.el (ido-remove-consecutive-dups): Remove.
19343
19344 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19345
19346 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19347 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
19348 regexp-opt's `words'.
19349
19350 2013-05-16 Leo Liu <sdl.web@gmail.com>
19351
19352 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
19353 (smie--highlight-matching-block-overlay)
19354 (smie--highlight-matching-block-lastpos)
19355 (smie--highlight-matching-block-timer): New variables.
19356 (smie-highlight-matching-block): New function.
19357 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
19358 (smie-setup): Conditionally enable smie-blink-matching-open.
19359
19360 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
19361
19362 Sync with upstream verilog-mode r840.
19363 * progmodes/verilog-mode.el (verilog-mode-version)
19364 (verilog-mode-release-date): Update.
19365 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
19366 (verilog-sig-tieoff): Fix string error on
19367 AUTORESET with colon define, bug594. Reported by Andrew Hou.
19368 (verilog-read-decls): Fix parameters confusing
19369 AUTOINST interfaces, bug565. Reported by Leith Johnson.
19370
19371 2013-05-16 Eli Zaretskii <eliz@gnu.org>
19372
19373 * subr.el (reveal-filename): New function.
19374
19375 * loadup.el: Compute Emacs executable versions on MS-Windows,
19376 where executables have the .exe extension. Add a hard link
19377 emacs-XX.YY.ZZ.exe on MS-Windows.
19378
19379 * Makefile.in (XARGS_LIMIT): New variable.
19380 (custom-deps, finder-data, autoloads)
19381 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19382 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19383 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
19384 (compile-main): Limit xargs according to $(XARGS_LIMIT).
19385
19386 2013-05-16 Leo Liu <sdl.web@gmail.com>
19387
19388 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
19389 (octave-mode-menu, octave-mode-map): Remove its uses.
19390
19391 2013-05-16 Reto Zimmermann <reto@gnu.org>
19392
19393 Sync with upstream vhdl mode v3.34.2.
19394 * progmodes/vhdl-mode.el: Use `push' throughout.
19395 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
19396 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
19397 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
19398 (vhdl-actual-generic-name): New option to derive actual generic name.
19399 (vhdl-port-paste-signals): Replace formal by actual generics.
19400 (vhdl-beautify): New name for old group vhdl-align. Update users.
19401 (vhdl-beautify-options): New option.
19402 (vhdl-last-input-event): New compat alias. Use throughout.
19403 (vhdl-goto-line): Replace user level function `goto-line'.
19404 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
19405 vhdl-fix-statement-buffer.
19406 (vhdl-create-mode-menu): Add some entries.
19407 (vhdl-align-region-groups): Respect vhdl-beautify-options.
19408 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
19409 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
19410 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
19411 to force statements on one line.
19412 (vhdl-remove-trailing-spaces-region):
19413 New, split from vhdl-remove-trailing-spaces.
19414 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
19415 Respect vhdl-beautify-options.
19416 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
19417 (vhdl-update-sensitivity-list): Not add with index if exists without.
19418 Not include array index with signal. Ignore keywords in comments.
19419 (vhdl-get-visible-signals): Regexp tweaks.
19420 (vhdl-template-component-inst): Handle empty library.
19421 (vhdl-template-type): Add template for 'enum' type.
19422 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
19423 Use vhdl-replace-string.
19424 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
19425 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
19426 (vhdl-speedbar-initialize): Update for above name change.
19427 (vhdl-compose-wire-components): Fix in handling of constants.
19428 (vhdl-error-regexp-emacs-alist): New variable.
19429 (vhdl-error-regexp-add-emacs): New function;
19430 adds support for new compile.el (Emacs 22+)
19431 (vhdl-generate-makefile-1): Change target order for single lib. units.
19432 Allow use of absolute file names.
19433
19434 2013-05-16 Leo Liu <sdl.web@gmail.com>
19435
19436 * simple.el (prog-indent-sexp): Indent enclosing defun.
19437
19438 2013-05-15 Glenn Morris <rgm@gnu.org>
19439
19440 * cus-start.el (show-trailing-whitespace): Move to editing basics.
19441 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
19442 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
19443 (whitespace-highlight): Move to whitespace group.
19444
19445 * comint.el (comint-source):
19446 * pcmpl-linux.el (pcmpl-linux):
19447 * shell.el (shell-faces):
19448 * eshell/esh-opt.el (eshell-opt):
19449 * international/ccl.el (ccl): Remove empty custom groups.
19450
19451 * completion.el (dynamic-completion-mode):
19452 * jit-lock.el (jit-lock-debug-mode):
19453 * minibuffer.el (completion-in-region-mode):
19454 * type-break.el (type-break-mode-line-message-mode)
19455 (type-break-query-mode):
19456 * emulation/tpu-edt.el (tpu-edt-mode):
19457 * progmodes/subword.el (global-subword-mode, global-superword-mode):
19458 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19459 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
19460
19461 * term/xterm.el (xterm): Change parent group to terminals.
19462
19463 * master.el (master): Remove empty custom group.
19464 (master-mode): Remove unused :group argument.
19465 * textmodes/refill.el (refill): Remove empty custom group.
19466 (refill-mode): Remove unused :group argument.
19467
19468 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
19469
19470 * cus-dep.el: Provide a feature.
19471 (custom-make-dependencies): Ignore dotfiles (dir-locals).
19472 Don't mistakenly ignore files whose basenames match a basename
19473 from preloaded-file-list (eg cedet/ede/simple.el).
19474 Add a fallback method for getting :group.
19475
19476 2013-05-15 Juri Linkov <juri@jurta.org>
19477
19478 * isearch.el (isearch-char-by-name): Rename from
19479 `isearch-insert-char-by-name'. Doc fix.
19480 (isearch-forward): Mention `isearch-char-by-name' in
19481 the docstring. (Bug#13348)
19482
19483 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
19484 `exit-minibuffer' instead of
19485 `isearch-nonincremental-exit-minibuffer'.
19486 (isearch-edit-string): Remove mention of
19487 `isearch-nonincremental-exit-minibuffer' from docstring.
19488 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
19489 (isearch-forward-exit-minibuffer)
19490 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
19491
19492 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19493
19494 * loadup.el: Just use unversioned DOC.
19495
19496 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
19497 literals as extending to EOB.
19498 (nxml-last-fontify-end): Remove unused variable.
19499 (nxml-after-change1): Use with-silent-modifications.
19500 (nxml-extend-after-change-region): Simplify.
19501 (nxml-extend-after-change-region1): Remove function.
19502 (nxml-after-change1): Don't adjust for dependent regions.
19503 (nxml-fontify-matcher): Simplify.
19504 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
19505 (xmltok-add-dependent): Remove function.
19506 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
19507 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
19508 (xmltok-scan-prolog-after-processing-instruction-open): Treat
19509 unclosed <[[, <?, comment, and other literals as extending to EOB.
19510 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
19511 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
19512 Remove functions.
19513 (rng-do-some-validation-1): Don't mark dependent regions.
19514 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
19515 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
19516 (nxml-clear-dependent-regions): Remove functions.
19517 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
19518 (nxml-ensure-scan-up-to-date):
19519 Don't clear&mark dependent regions.
19520
19521 2013-05-15 Leo Liu <sdl.web@gmail.com>
19522
19523 * progmodes/octave.el (octave-goto-function-definition):
19524 Improve and fix callers.
19525
19526 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19527
19528 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
19529 the setter (bug#14387).
19530
19531 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
19532 surrounding group (bug#14402).
19533
19534 2013-05-14 Juri Linkov <juri@jurta.org>
19535
19536 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
19537 (Bug#14390)
19538
19539 2013-05-14 Glenn Morris <rgm@gnu.org>
19540
19541 * progmodes/f90.el (f90-imenu-generic-expression):
19542 Fix typo in 2013-05-08 change. (Bug#14402)
19543
19544 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19545
19546 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
19547 Remove signals for which replies are never received.
19548
19549 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19550
19551 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
19552 (gdb-handler-alist, gdb-handler-number): Remove variables.
19553 (gdb-handler-list): New variable.
19554 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
19555 (gdb-pending-handler-p, gdb-handle-reply)
19556 (gdb-remove-all-pending-triggers): New functions.
19557 (gdb-discard-unordered-replies): New defcustom.
19558 (gdb-handler): New defstruct.
19559 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
19560 instead of gdb-pending-triggers. Update docstring.
19561 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
19562 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
19563 (gdb-var-update-handler, def-gdb-auto-update-trigger)
19564 (def-gdb-auto-update-handler, gdb-get-changed-registers)
19565 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
19566 (gdb-frame-handler): Pending triggers are now automatically managed.
19567 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
19568 Remove argument.
19569 (gdb-input): Automatically handles pending triggers. Update docstring.
19570 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
19571 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
19572 Update comments.
19573 (gdb-done-or-error): Now use gdb-handle-reply.
19574
19575 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19576
19577 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
19578 gdb-debug-log.
19579
19580 2013-05-14 Glenn Morris <rgm@gnu.org>
19581
19582 * subr.el (user-emacs-directory-warning): New option.
19583 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
19584
19585 2013-05-14 Leo Liu <sdl.web@gmail.com>
19586
19587 * progmodes/octave.el (octave-font-lock-keywords): Fix error
19588 during redisplay.
19589 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
19590 (octave-font-lock-texinfo-comment): Fix invalid search bound
19591 error: wrong side of point.
19592
19593 2013-05-14 Glenn Morris <rgm@gnu.org>
19594
19595 * progmodes/flymake.el (flymake-xml-program): New option.
19596 (flymake-xml-init): Use it.
19597
19598 * term/xterm.el: Provide a feature.
19599
19600 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
19601
19602 2013-05-13 Glenn Morris <rgm@gnu.org>
19603
19604 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
19605 Add compat aliases as a hack workaround. (Bug#14384)
19606
19607 2013-05-13 Leo Liu <sdl.web@gmail.com>
19608
19609 * progmodes/octave.el (octave-indent-comment): Fix indentation for
19610 ###, and %!.
19611 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
19612 C-M-q.
19613 (octave-comment-start-skip): Include %!.
19614 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
19615
19616 2013-05-12 Leo Liu <sdl.web@gmail.com>
19617
19618 * progmodes/octave.el (inferior-octave-startup): Store the value
19619 of __octave_srcdir__ for octave-source-directories.
19620 (inferior-octave-check-process): New function refactored out of
19621 inferior-octave-send-list-and-digest.
19622 (octave-source-directories)
19623 (octave-find-definition-filename-function): New variables.
19624 (octave-source-directories)
19625 (octave-find-definition-default-filename): New functions.
19626 (octave-find-definition): Improve to find functions implemented in C++.
19627
19628 2013-05-12 Glenn Morris <rgm@gnu.org>
19629
19630 * calendar/diary-lib.el (diary-outlook-format-1):
19631 Don't include dayname in the output. (Bug#14349)
19632
19633 2013-05-11 Glenn Morris <rgm@gnu.org>
19634
19635 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
19636
19637 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
19638 Treat cc-provide like provide.
19639
19640 2013-05-11 Kevin Ryde <user42@zip.com.au>
19641
19642 * cus-dep.el (custom-make-dependencies):
19643 Use generated-autoload-load-name for the sake of files such
19644 such cedet/semantic/bovine/c.el, where the base file name
19645 is not in load-path. (Bug#5277)
19646
19647 2013-05-11 Glenn Morris <rgm@gnu.org>
19648
19649 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
19650 Provide features.
19651
19652 2013-05-11 Leo Liu <sdl.web@gmail.com>
19653
19654 * progmodes/octave.el (octave-indent-comment): Improve.
19655 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
19656 (octave-eldoc-function-signatures, octave-eldoc-function):
19657 New functions.
19658 (octave-mode, inferior-octave-mode): Add eldoc support.
19659
19660 2013-05-11 Richard Stallman <rms@gnu.org>
19661
19662 * epa.el (epa-decrypt-file): Take output file name as argument
19663 and read it using `interactive'.
19664
19665 2013-05-11 Leo Liu <sdl.web@gmail.com>
19666
19667 * progmodes/octave.el (octave-beginning-of-line)
19668 (octave-end-of-line): Check before using up-list because it jumps
19669 out of more syntactic contructs since moving to smie.
19670 (octave-indent-comment): New function.
19671 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
19672 (octave-begin-keywords, octave-end-keywords)
19673 (octave-reserved-words, octave-smie-bnf-table)
19674 (octave-smie-rules): Add new keywords from Octave 3.6.4.
19675
19676 2013-05-11 Glenn Morris <rgm@gnu.org>
19677
19678 * faces.el (internal-face-x-get-resource):
19679 * frame.el (ns-display-monitor-attributes-list):
19680 * calc/calc-aent.el (math-to-radians-2):
19681 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
19682 Fix declarations.
19683
19684 * calc/calc-menu.el: Make it loadable in isolation.
19685
19686 * net/eudcb-bbdb.el: Make it loadable without bbdb.
19687 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
19688 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
19689 (eudc-bbdb-query-internal): Require 'bbdb.
19690
19691 * lpr.el (lpr-headers-switches):
19692 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
19693
19694 * progmodes/sql.el (sql-login-params): Fix and improve :type.
19695
19696 * emulation/edt-mapper.el: In batch mode, error rather than hang.
19697
19698 * term.el (term-set-escape-char): Make it idempotent.
19699
19700 2013-05-10 Leo Liu <sdl.web@gmail.com>
19701
19702 * progmodes/octave.el (inferior-octave-completion-table):
19703 No longer a function and all uses changed. Use cache to speed up
19704 completion due to bug#11906.
19705 (octave-beginning-of-defun): Re-write to be more general.
19706
19707 2013-05-10 Glenn Morris <rgm@gnu.org>
19708
19709 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
19710
19711 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
19712
19713 * comint.el (comint-redirect-send-command-to-process): Use :around
19714 rather than :override for comint-redirect-filter.
19715 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
19716 Call it instead of comint-redirect-original-filter-function (which
19717 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
19718
19719 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
19720
19721 * frame.el (display-monitor-attributes-list): Add NS case.
19722 (ns-display-monitor-attributes-list): Declare.
19723
19724 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
19725
19726 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
19727
19728 2013-05-09 Glenn Morris <rgm@gnu.org>
19729
19730 * international/fontset.el (vertical-centering-font-regexp):
19731 Set standard-value.
19732
19733 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
19734
19735 * bookmark.el (bookmark-search-delay):
19736 * cus-start.el (vertical-centering-font-regexp):
19737 * ps-mule.el (ps-mule-font-info-database-default):
19738 * ps-print.el (ps-default-fg, ps-default-bg):
19739 * type-break.el (type-break-good-break-interval):
19740 * whitespace.el (whitespace-indentation-regexp)
19741 (whitespace-space-after-tab-regexp):
19742 * emacs-lisp/testcover.el (testcover-1value-functions)
19743 (testcover-noreturn-functions, testcover-progn-functions)
19744 (testcover-prog1-functions):
19745 * emulation/viper-init.el (viper-emacs-state-cursor-color):
19746 * eshell/em-glob.el (eshell-glob-translate-alist):
19747 * play/tetris.el (tetris-tty-colors):
19748 * progmodes/cpp.el (cpp-face-default-list):
19749 * progmodes/flymake.el (flymake-allowed-file-name-masks):
19750 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
19751 (idlwave-help-browser-generic-args):
19752 * progmodes/make-mode.el (makefile-special-targets-list):
19753 * progmodes/python.el (python-shell-virtualenv-path):
19754 * progmodes/verilog-mode.el (verilog-active-low-regexp)
19755 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
19756 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
19757 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
19758 * textmodes/reftex-vars.el (reftex-format-label-function):
19759 * textmodes/remember.el (remember-diary-file): Fix custom types.
19760
19761 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
19762 Add :version.
19763
19764 2013-05-09 Leo Liu <sdl.web@gmail.com>
19765
19766 * progmodes/octave.el (inferior-octave-completion-at-point):
19767 Restore file completion. (Bug#14300)
19768 (inferior-octave-startup): Fix incorrect highlighting for the
19769 first prompt.
19770
19771 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19772
19773 * progmodes/ruby-mode.el: First cut at SMIE support.
19774 (ruby-use-smie): New var.
19775 (ruby-smie-grammar): New constant.
19776 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
19777 (ruby-smie--forward-token, ruby-smie--backward-token)
19778 (ruby-smie-rules): New functions.
19779 (ruby-mode-variables): Setup SMIE if applicable.
19780
19781 2013-05-08 Eli Zaretskii <eliz@gnu.org>
19782
19783 * simple.el (line-move-visual): Signal beginning/end of buffer
19784 only if vertical-motion moved less than it was requested. Avoids
19785 silly incorrect error messages when there are display strings with
19786 multiple newlines at EOL.
19787
19788 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19789
19790 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
19791 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
19792 (prolog-char-quote-workaround):
19793 * progmodes/cperl-mode.el (cperl-under-as-char):
19794 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
19795 Mark as obsolete.
19796 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
19797 their declaration.
19798 (vhdl-mode-syntax-table-init): Remove.
19799
19800 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
19801 last change.
19802
19803 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
19804 syntax for "_".
19805 (ld-script-font-lock-keywords):
19806 Change regexps to use things like \_< and \_>.
19807
19808 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
19809 Change all regexps to use things like \_< and \_>.
19810
19811 * progmodes/autoconf.el (autoconf-definition-regexp)
19812 (autoconf-font-lock-keywords, autoconf-current-defun-function):
19813 Handle a _ with symbol syntax.
19814 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
19815
19816 * progmodes/ada-mode.el (ada-mode-abbrev-table):
19817 Consolidate declaration.
19818 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
19819 the declaration.
19820 (ada-create-syntax-table): Remove.
19821 (ada-capitalize-word): Don't mess with the syntax of "_" since it
19822 already has the right syntax nowadays.
19823 (ada-goto-next-word): Don't change the syntax of "_".
19824
19825 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
19826 with-wrapper-hook.
19827
19828 2013-05-08 Sam Steingold <sds@gnu.org>
19829
19830 * thingatpt.el (thing-at-point): Accept optional second argument
19831 NO-PROPERTIES to strip the text properties from the return value.
19832 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
19833 to `thing-at-point' instead of stripping the properties ourselves.
19834 Also, when `thing-at-point' fails to find a url, prepend "http://"
19835 to the filename at point on the assumption that the user is
19836 pointing at something like gnu.org/gnu.
19837
19838 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
19839
19840 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
19841 * faces.el (crm-separator):
19842 Silence byte-compiler.
19843
19844 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
19845 (tool-bar-map): Remove unneeded defvars.
19846
19847 2013-05-08 Leo Liu <sdl.web@gmail.com>
19848
19849 Re-work a fix for bug#10994 based on Le Wang's patch.
19850 * ido.el (ido-remove-consecutive-dups): New helper.
19851 (ido-completing-read): Use it.
19852 (ido-chop): Revert fix for bug#10994.
19853
19854 2013-05-08 Adam Spiers <emacs@adamspiers.org>
19855
19856 * cus-edit.el (custom-save-variables):
19857 Pretty-print long values. (Bug#14187)
19858
19859 2013-05-08 Glenn Morris <rgm@gnu.org>
19860
19861 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
19862 (m4-mode-syntax-table): Init in the defvar.
19863 (m4-mode-abbrev-table): Let define-derived-mode define it.
19864
19865 2013-05-08 Tom Tromey <tromey@redhat.com>
19866
19867 * progmodes/m4-mode.el (m4-mode-syntax-table):
19868 Do not treat "_" as word constituent. (Bug#14167)
19869
19870 2013-05-07 Glenn Morris <rgm@gnu.org>
19871
19872 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
19873 Remove explicit eshell-isearch-cancel-map.
19874
19875 * progmodes/f90.el (f90-smart-end-names): New option.
19876 (f90-smart-end): Doc fix.
19877 (f90-end-block-optional-name): New constant.
19878 (f90-block-match): Respect f90-smart-end-names.
19879
19880 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19881
19882 * progmodes/octave.el (octave-smie-forward-token): Be more careful
19883 about implicit semi-colons (bug#14218).
19884
19885 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19886
19887 * frame.el (display-monitor-attributes-list)
19888 (frame-monitor-attributes): New functions.
19889
19890 2013-05-06 Leo Liu <sdl.web@gmail.com>
19891
19892 * progmodes/octave.el (octave-syntax-propertize-function): Change
19893 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
19894 (octave-font-lock-keywords): Use octave-operator-regexp.
19895 (octave-completion-at-point): Rename from
19896 octave-completion-at-point-function.
19897 (inferior-octave-directory-tracker): Robustify.
19898 (octave-text-functions): Remove and fix its uses. No such things
19899 any more.
19900
19901 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19902
19903 * emacs-lisp/trace.el (trace--display-buffer): New function.
19904 (trace-make-advice): Use it.
19905
19906 2013-05-06 Juri Linkov <juri@jurta.org>
19907
19908 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
19909 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
19910 Doc fix.
19911 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
19912 in the help string. (Bug#12985)
19913
19914 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
19915
19916 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
19917
19918 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19919
19920 * progmodes/perl-mode.el: Add support for here documents.
19921 (perl-syntax-propertize-function): Match here-doc markers.
19922 (perl-syntax-propertize-special-constructs): Find their end.
19923 (perl-imenu-generic-expression): Use [:alnum:].
19924
19925 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
19926 (advice--add-function): Refresh the advice if already present
19927 (bug#14317).
19928
19929 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
19930
19931 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
19932
19933 2013-05-06 Glenn Morris <rgm@gnu.org>
19934
19935 * w32-fns.el (w32-charset-info-alist): Declare.
19936
19937 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
19938 of its defcustom properties.
19939 (eshell-cmpl-initialize): No need to load pcomplete.
19940
19941 * generic-x.el: No need to require comint when compiling.
19942
19943 * net/eudc-export.el: Make it loadable without bbdb.
19944 (top-level): Use require rather than load-library.
19945 (eudc-create-bbdb-record, eudc-bbdbify-phone)
19946 (eudc-batch-export-records-to-bbdb)
19947 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
19948 Require bbdb.
19949
19950 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19951
19952 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
19953 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
19954 some tweaks, instead.
19955
19956 2013-05-05 Leo Liu <sdl.web@gmail.com>
19957
19958 * progmodes/octave.el (octave-font-lock-keywords)
19959 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
19960 (inferior-octave-send-list-and-digest): Improve error message.
19961 (octave-mode, inferior-octave-mode): Use setq-local.
19962 (octave-help): Set info-lookup-mode.
19963
19964 2013-05-05 Richard Stallman <rms@gnu.org>
19965
19966 * vc/compare-w.el (compare-windows-whitespace):
19967 Treat no-break space as whitespace.
19968
19969 * mail/rmailsum.el (rmail-summary-rmail-update):
19970 Detect empty summary and don't change selected message.
19971 (rmail-summary-goto-msg): Likewise.
19972
19973 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
19974 Doc fixes, rename args.
19975
19976 2013-05-05 Alan Mackenzie <acm@muc.de>
19977
19978 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
19979
19980 2013-05-05 Juri Linkov <juri@jurta.org>
19981
19982 * info.el (Info-read-subfile): Use (point-min) instead of (point)
19983 to not add the length of the summary segment to the return value.
19984 (Bug#14125)
19985
19986 2013-05-05 Leo Liu <sdl.web@gmail.com>
19987
19988 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
19989 (inferior-octave-output-filter): Remove.
19990 (octave-send-region, inferior-octave-startup): Fix callers.
19991 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
19992 (octave-binary-file-extensions): New user variable.
19993 (octave-find-definition): Confirm if opening binary files.
19994 (octave-help-file): Use octave-find-definition to get the binary
19995 confirmation.
19996 (octave-help): Adjust for octave-help-file change.
19997
19998 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19999
20000 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
20001 Merge the two entries that handle function definitions.
20002 (pascal--syntax-propertize): New const.
20003 (pascal-mode): Use it. Use setq-local.
20004
20005 2013-05-04 Glenn Morris <rgm@gnu.org>
20006
20007 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
20008 (diary-from-outlook): Respect diary-from-outlook-function.
20009
20010 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20011
20012 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
20013 Move the declaration from C.
20014 (read-minibuffer, eval-minibuffer): Move from C.
20015 (completion-setup-function): Avoid minibuffer-completion-contents.
20016
20017 2013-05-03 Leo Liu <sdl.web@gmail.com>
20018
20019 * progmodes/octave.el (octave-font-lock-keywords): Do not
20020 dehighlight 'end' in comments or strings.
20021 (octave-completing-read, octave-goto-function-definition):
20022 New helpers.
20023 (octave-help-buffer): New user variable.
20024 (octave-help-file, octave-help-function): New button types.
20025 (octave-help): New command and bind it to C-h ;.
20026 (octave-find-definition): New command and bind it to M-.
20027 (user-error): Alias to error if not defined.
20028
20029 2013-05-02 Leo Liu <sdl.web@gmail.com>
20030
20031 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
20032 for \. (bug#14332)
20033 (octave-font-lock-keywords): Include [ and {.
20034
20035 2013-05-02 Leo Liu <sdl.web@gmail.com>
20036
20037 * progmodes/octave.el (inferior-octave-startup-file): Change default.
20038 (inferior-octave): Remove calling comint-mode and return the buffer.
20039 (inferior-octave-startup): Cosmetic changes.
20040
20041 2013-05-02 Leo Liu <sdl.web@gmail.com>
20042
20043 * progmodes/octave.el (octave-syntax-propertize-function):
20044 Include the case when ' is at line beginning. (Bug#14336)
20045
20046 2013-05-02 Glenn Morris <rgm@gnu.org>
20047
20048 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
20049 * desktop.el (vc-dir-mode): Just autoload it here.
20050
20051 2013-05-02 Alan Mackenzie <acm@muc.de>
20052
20053 Eliminate variable c-standard-font-lock-fontify-region-function.
20054 * progmodes/cc-mode.el
20055 (c-standard-font-lock-fontify-region-function): Remove.
20056 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
20057
20058 2013-05-01 Leo Liu <sdl.web@gmail.com>
20059
20060 * progmodes/octave.el: Compatible with older emacs-24 releases.
20061 (inferior-octave-has-built-in-variables): Remove. Built-in
20062 variables were removed from Octave in 2007.
20063 (inferior-octave-startup): Fix uses.
20064 (comint-line-beginning-position): Remove compatibility code for
20065 emacs 21.
20066
20067 2013-05-01 Juri Linkov <juri@jurta.org>
20068
20069 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
20070
20071 2013-05-01 Juri Linkov <juri@jurta.org>
20072
20073 * comint.el (comint-previous-matching-input): Don't print message
20074 "History item: %d" when `isearch-mode' is active.
20075 (comint-history-isearch-message): Print message "History item: %d"
20076 when `comint-input-ring-index' is not empty and this function is
20077 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
20078
20079 2013-05-01 Leo Liu <sdl.web@gmail.com>
20080
20081 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
20082 definitions. Use completion-at-point to insert keywords.
20083 (octave-abbrev-start): Remove.
20084 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
20085
20086 2013-04-30 Leo Liu <sdl.web@gmail.com>
20087
20088 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
20089 change.
20090
20091 2013-04-30 Alan Mackenzie <acm@muc.de>
20092
20093 Handle arbitrarily long C++ member initialisation lists.
20094 * progmodes/cc-engine.el (c-back-over-member-initializers):
20095 new function.
20096 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
20097 (most) member init lists.
20098
20099 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20100
20101 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
20102 variable.
20103
20104 2013-04-30 Leo Liu <sdl.web@gmail.com>
20105
20106 * progmodes/octave.el (octave-variables): Remove. No builtin
20107 variables any more. All converted to functions.
20108 (octave-font-lock-keywords, octave-completion-at-point-function):
20109 Fix uses.
20110 (octave-font-lock-texinfo-comment): New user variable.
20111 (octave-texinfo-font-lock-keywords): New variable for texinfo
20112 comment block.
20113 (octave-function-comment-block): New face.
20114 (octave-font-lock-texinfo-comment): New function.
20115 (octave-mode): Font lock texinfo comment block.
20116
20117 2013-04-29 Leo Liu <sdl.web@gmail.com>
20118
20119 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
20120 indexing expression.
20121 (octave-continuation-string): Do not use \.
20122 (inferior-octave-complete-impossible): Remove.
20123 (inferior-octave-completion-table)
20124 (inferior-octave-completion-at-point): Remove its uses.
20125 (inferior-octave-startup): completion_matches was introduced to
20126 Octave in 1996 so safe to assume it.
20127 (octave-function-file-comment): Improve to follow how Octave does it.
20128 (octave-update-function-file-comment): Tweak.
20129
20130 2013-04-29 Leo Liu <sdl.web@gmail.com>
20131
20132 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
20133 (inferior-octave-startup): Remove inferior-octave-startup-hook.
20134 (octave-function-file-comment): Fix typo.
20135 (octave-sync-function-file-names): Use read-char-choice.
20136
20137 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
20138
20139 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
20140 to t for the less important warnings.
20141
20142 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
20143
20144 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
20145
20146 2013-04-27 Glenn Morris <rgm@gnu.org>
20147
20148 * vc/log-view.el (log-view-current-entry):
20149 Treat "---" separator lines as part of the following rev. (Bug#14169)
20150
20151 2013-04-27 Juri Linkov <juri@jurta.org>
20152
20153 * subr.el (read-number): Doc fix about using it by interactive
20154 code letter `n'. (Bug#14254)
20155
20156 2013-04-27 Juri Linkov <juri@jurta.org>
20157
20158 * desktop.el (desktop-auto-save-timeout): New option.
20159 (desktop-file-checksum): New variable.
20160 (desktop-save): Add optional arg `auto-save' and don't auto-save
20161 if nothing changed.
20162 (desktop-auto-save-timer): New variable.
20163 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
20164 (after-init-hook): Call `desktop-auto-save-set-timer'.
20165 Suggested by Reuben Thomas <rrt@sc3d.org> in
20166 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
20167
20168 2013-04-27 Leo Liu <sdl.web@gmail.com>
20169
20170 * progmodes/octave.el (octave-function-file-p)
20171 (octave-skip-comment-forward, octave-function-file-comment)
20172 (octave-update-function-file-comment): New functions.
20173 (octave-mode-map): Bind C-c ; to
20174 octave-update-function-file-comment.
20175 (octave-mode-menu): Add octave-update-function-file-comment.
20176 (octave-mode, inferior-octave-mode): Fix doc-string.
20177 (octave-insert-defun): Conform to Octave's coding convention.
20178 (Bug#14285)
20179
20180 * files.el (basic-save-buffer): Don't let errors in
20181 before-save-hook prevent saving buffer.
20182
20183 2013-04-20 Roland Winkler <winkler@gnu.org>
20184
20185 * faces.el (read-face-name): Use completing-read if arg multiple
20186 is nil.
20187
20188 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
20189
20190 * ls-lisp.el (ls-lisp-insert-directory): If no files are
20191 displayed, move point to after the totals line.
20192 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
20193 for the details.
20194
20195 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
20196
20197 * emacs-lisp/package.el (package-autoload-ensure-default-file):
20198 Add current dir to the load-path.
20199 (package-generate-autoloads): Don't rely on
20200 autoload-ensure-default-file.
20201
20202 2013-04-26 Reuben Thomas <rrt@sc3d.org>
20203
20204 * textmodes/remember.el (remember-store-in-files): Document that
20205 the file name format is passed to `format-time-string'.
20206
20207 2013-04-26 Leo Liu <sdl.web@gmail.com>
20208
20209 * progmodes/octave.el (octave-sync-function-file-names): New function.
20210 (octave-mode): Use it in before-save-hook.
20211
20212 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
20213
20214 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
20215 (bug#14274).
20216
20217 * progmodes/octave.el (octave-smie-forward-token): Properly skip
20218 \n and comment, even if it's not an implicit ; (bug#14218).
20219
20220 2013-04-26 Glenn Morris <rgm@gnu.org>
20221
20222 * subr.el (read-number): Once more use `read' rather than
20223 `string-to-number', to trap non-numeric input. (Bug#14254)
20224
20225 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
20226
20227 * emacs-lisp/syntax.el (syntax-propertize-multiline):
20228 Use `syntax-multiline' text property consistently instead of
20229 `font-lock-multiline'. (Bug#14237)
20230
20231 2013-04-26 Glenn Morris <rgm@gnu.org>
20232
20233 * emacs-lisp/shadow.el (list-load-path-shadows):
20234 No longer necessary to check for duplicate simple.el, since
20235 2012-07-07 change to init_lread to not include installation lisp
20236 directories in load-path when running uninstalled. (Bug#14270)
20237
20238 2013-04-26 Leo Liu <sdl.web@gmail.com>
20239
20240 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
20241 (octave-mode, inferior-octave-mode): Use setq-local.
20242 (octave-not-in-string-or-comment-p): Rename to
20243 octave-in-string-or-comment-p.
20244 (octave-in-comment-p, octave-in-string-p)
20245 (octave-in-string-or-comment-p): Replace defsubst with defun.
20246
20247 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
20248
20249 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
20250
20251 2013-04-25 Bastien Guerry <bzg@gnu.org>
20252
20253 * textmodes/remember.el (remember-data-directory)
20254 (remember-directory-file-name-format): Fix custom types.
20255
20256 2013-04-25 Leo Liu <sdl.web@gmail.com>
20257
20258 * progmodes/octave.el (octave-completion-at-point-function):
20259 Make use of inferior octave process.
20260 (octave-initialize-completions): Remove.
20261 (inferior-octave-completion-table): New function.
20262 (inferior-octave-completion-at-point): Use it.
20263 (octave-completion-alist): Remove.
20264
20265 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20266
20267 * progmodes/opascal.el: Use font-lock and syntax-propertize.
20268 (opascal-mode-syntax-table): New var.
20269 (opascal-literal-kind, opascal-is-literal-end)
20270 (opascal-literal-token-at): Rewrite.
20271 (opascal--literal-start-re, opascal-font-lock-keywords)
20272 (opascal--syntax-propertize): New constants.
20273 (opascal-font-lock-defaults): Adjust.
20274 (opascal-mode): Use them. Set comment-<foo> variables as well.
20275 (delphi-comment-face, opascal-comment-face, delphi-string-face)
20276 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
20277 (delphi-other-face, opascal-other-face): Remove face variables.
20278 (opascal-save-state): Remove macro.
20279 (opascal-fontifying-progress-step): Remove constant.
20280 (opascal--ignore-changes): Remove var.
20281 (opascal-set-token-property, opascal-parse-next-literal)
20282 (opascal-is-stable-literal, opascal-complete-literal)
20283 (opascal-is-literal-start, opascal-face-of)
20284 (opascal-parse-region, opascal-parse-region-until-stable)
20285 (opascal-fontify-region, opascal-after-change)
20286 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
20287 (opascal-debug-parse-region, opascal-debug-parse-window)
20288 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
20289 (opascal-debug-fontify-buffer): Remove.
20290 (opascal-debug-mode-map): Adjust accordingly.
20291
20292 2013-04-25 Leo Liu <sdl.web@gmail.com>
20293
20294 Merge octave-mod.el and octave-inf.el into octave.el with some
20295 cleanups.
20296 * progmodes/octave.el: New file renamed from octave-mod.el.
20297 * progmodes/octave-inf.el: Merged into octave.el.
20298 * progmodes/octave-mod.el: Renamed to octave.el.
20299
20300 2013-04-25 Tassilo Horn <tsdh@gnu.org>
20301
20302 * textmodes/reftex-vars.el
20303 (reftex-label-ignored-macros-and-environments): New defcustom.
20304
20305 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
20306
20307 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20308
20309 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
20310 (smie-indent-keyword): Improve the check to ensure that the next
20311 comment is really on the same line.
20312 (smie-indent-comment): Don't align with a subsequent closer (or eob).
20313
20314 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
20315 semi-colons if the line is not otherwise empty (bug#14218).
20316
20317 2013-04-25 Glenn Morris <rgm@gnu.org>
20318
20319 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
20320
20321 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
20322
20323 * progmodes/opascal.el (opascal-set-token-property): Rename from
20324 opascal-set-text-properties and only set `token' (bug#14134).
20325 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
20326 (opascal-literal-text-properties): Remove.
20327 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
20328 Adjust callers.
20329
20330 2013-04-24 Reuben Thomas <rrt@sc3d.org>
20331
20332 * textmodes/remember.el (remember-handler-functions): Add an
20333 option for a new handler `remember-store-in-files'.
20334 (remember-data-directory, remember-directory-file-name-format):
20335 New options.
20336 (remember-store-in-files): New function to store remember notes
20337 as separate files within a directory.
20338
20339 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
20340
20341 * progmodes/compile.el (compilation-next-error-function):
20342 Pass "formats" to compilation-find-file (bug#11777).
20343
20344 2013-04-24 Glenn Morris <rgm@gnu.org>
20345
20346 * vc/vc-bzr.el (vc-bzr-print-log):
20347 * vc/vc-hg.el (vc-hg-print-log):
20348 * vc/vc-svn.el (vc-svn-print-log):
20349 Fix START-REVISION with LIMIT != 1. (Bug#14168)
20350
20351 * vc/vc-bzr.el (vc-bzr-print-log):
20352 * vc/vc-cvs.el (vc-cvs-print-log):
20353 * vc/vc-git.el (vc-git-print-log):
20354 * vc/vc-hg.el (vc-hg-print-log):
20355 * vc/vc-mtn.el (vc-mtn-print-log):
20356 * vc/vc-rcs.el (vc-rcs-print-log):
20357 * vc/vc-sccs.el (vc-sccs-print-log):
20358 * vc/vc-svn.el (vc-svn-print-log):
20359 * vc/vc.el (vc-print-log-internal): Doc fixes.
20360
20361 2013-04-23 Glenn Morris <rgm@gnu.org>
20362
20363 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
20364 Remove venerable code attempting to avoid substitute-command-keys.
20365
20366 2013-04-23 Tassilo Horn <tsdh@gnu.org>
20367
20368 * textmodes/reftex-vars.el (reftex-label-regexps):
20369 Call `reftex-compile-variables' after changes to this variable.
20370
20371 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
20372
20373 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
20374 Use lexical-binding.
20375 (jit-lock-force-redisplay): Use markers, check buffer's continued
20376 existence and beware narrowed buffers.
20377 (jit-lock-fontify-now): Adjust call accordingly.
20378
20379 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
20380
20381 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
20382 to avoid misleading the user.
20383
20384 2013-04-22 Leo Liu <sdl.web@gmail.com>
20385
20386 * info-look.el: Prefer latex2e.info. (Bug#14240)
20387
20388 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
20389
20390 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
20391
20392 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
20393 * net/tramp.el (tramp-call-process): ... here.
20394 (tramp-set-completion-function, tramp-parse-putty):
20395 * net/tramp-adb.el (tramp-adb-execute-adb-command):
20396 * net/tramp-gvfs.el (tramp-gvfs-send-command):
20397 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
20398 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
20399 (tramp-call-local-coding-command): Use `tramp-call-process'
20400 instead of `tramp-compat-call-process'.
20401
20402 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
20403 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
20404 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
20405 (tramp-find-inline-compress): Improve traces.
20406 (tramp-maybe-send-script): Check for Perl binary.
20407 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
20408
20409 2013-04-22 Daiki Ueno <ueno@gnu.org>
20410
20411 * epg.el (epg-context-pinentry-mode): New function.
20412 (epg-context-set-pinentry-mode): New function.
20413 (epg--start): Pass --pinentry-mode option to gpg command.
20414
20415 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
20416
20417 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
20418 `comint-dynamic-complete' is obsolete since 24.1, replaced by
20419 `completion-at-point'. (Bug#13774)
20420
20421 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
20422 default key binding for `describe-distribution' has been moved to
20423 `C-h C-o'. (Bug#13970)
20424
20425 2013-04-21 Glenn Morris <rgm@gnu.org>
20426
20427 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
20428 Add doc strings.
20429 (vc-print-log): Clarify interactive prompt.
20430
20431 2013-04-20 Glenn Morris <rgm@gnu.org>
20432
20433 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20434 No longer include timestamp etc information.
20435
20436 2013-04-20 Roland Winkler <winkler@gnu.org>
20437
20438 * faces.el (read-face-name): Bug fix, return just one face if arg
20439 multiple is nil. (Bug#14209)
20440
20441 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20442
20443 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
20444 (remove-function): Autoload.
20445
20446 * comint.el (comint-redirect-original-filter-function): Remove.
20447 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
20448 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
20449 (vc-cvs-annotate-command):
20450 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
20451 * progmodes/prolog.el (prolog-consult-compile):
20452 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
20453 Use add/remove-function instead.
20454 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
20455 (gud-tooltip-process-output, gud-tooltip-tips):
20456 Use add/remove-function instead.
20457 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
20458 (scheme-interaction-mode, exit-scheme-interaction-mode):
20459 Use add/remove-function instead.
20460
20461 * vc/vc-dispatcher.el: Use lexical-binding.
20462 (vc--process-sentinel): Rename from vc-process-sentinel.
20463 Change last arg to be the code to run. Don't use vc-previous-sentinel
20464 and vc-sentinel-commands any more.
20465 (vc-exec-after): Allow code to be a function. Use add/remove-function.
20466 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
20467
20468 2013-04-19 Masatake YAMATO <yamato@redhat.com>
20469
20470 * progmodes/sh-script.el (sh-imenu-generic-expression):
20471 Handle function names with a single character. (Bug#14111)
20472
20473 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
20474
20475 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
20476 for subroutines defined in an eval (bug#14182).
20477
20478 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20479
20480 * bookmark.el (bookmark-completing-read): Improve handling of empty
20481 string (bug#14176).
20482
20483 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20484
20485 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
20486
20487 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
20488
20489 New faster Imenu implementation (bug#14058).
20490 * progmodes/python.el (python-imenu-prev-index-position)
20491 (python-imenu-format-item-label-function)
20492 (python-imenu-format-parent-item-label-function)
20493 (python-imenu-format-parent-item-jump-label-function):
20494 New vars.
20495 (python-imenu-format-item-label)
20496 (python-imenu-format-parent-item-label)
20497 (python-imenu-format-parent-item-jump-label)
20498 (python-imenu--put-parent, python-imenu--build-tree)
20499 (python-imenu-create-index, python-imenu-create-flat-index)
20500 (python-util-popn): New functions.
20501 (python-mode): Set imenu-create-index-function to
20502 python-imenu-create-index.
20503
20504 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20505
20506 * winner.el (winner-active-region): Use region-active-p, activate-mark
20507 and deactivate-mark (bug#14225).
20508
20509 * simple.el (deactivate-mark): Don't inline it.
20510
20511 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
20512
20513 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
20514
20515 2013-04-18 Tassilo Horn <tsdh@gnu.org>
20516
20517 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
20518 file extensions from the archive-mode entry in order to prefer
20519 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
20520
20521 2013-04-18 Leo Liu <sdl.web@gmail.com>
20522
20523 * bindings.el (help-event-list): Add ?\?.
20524
20525 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20526
20527 * subr.el (with-wrapper-hook): Declare obsolete.
20528 * simple.el (filter-buffer-substring-function): New hook.
20529 (filter-buffer-substring): Use it.
20530 (filter-buffer-substring-functions): Mark obsolete.
20531 * minibuffer.el (completion-in-region-function): New hook.
20532 (completion-in-region): Use it.
20533 (completion-in-region-functions): Mark obsolete.
20534 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
20535 * abbrev.el (abbrev-expand-function): New hook.
20536 (expand-abbrev): Use it.
20537 (abbrev-expand-functions): Mark obsolete.
20538 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
20539 and :filter-return.
20540
20541 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20542
20543 * progmodes/python.el (python-nav--syntactically): Fix cornercases
20544 and do not care about match data.
20545
20546 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20547
20548 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
20549 completion tables when completing error conditions and
20550 `declare' arguments.
20551 (lisp-complete-symbol, field-complete): Mark as obsolete.
20552 (check-parens): Unmatched parens are user errors.
20553 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
20554
20555 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
20556
20557 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
20558 command changed buffer (ie. `flyspell-pre-buffer' is not current
20559 buffer), which prevents making decisions based on invalid value of
20560 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
20561 cause an error when `flyspell-pre-point' was nil after switching
20562 buffers.
20563 (flyspell-post-command-hook): No longer needs to change buffers when
20564 checking pre-word. While at it remove unnecessary progn.
20565
20566 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
20567
20568 * textmodes/ispell.el (ispell-add-per-file-word-list):
20569 Fix `flyspell-correct-word-before-point' error when accepting
20570 words and `coment-padding' is an integer by using
20571 `comment-normalize-vars' (Bug #14214).
20572
20573 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20574
20575 New defun movement commands.
20576 * progmodes/python.el (python-nav--syntactically)
20577 (python-nav--forward-defun, python-nav-backward-defun)
20578 (python-nav-forward-defun): New functions.
20579
20580 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20581
20582 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
20583 (python-syntax-context): Use named compiler-macro for backwards
20584 compatibility with Emacs 24.x.
20585
20586 2013-04-17 Leo Liu <sdl.web@gmail.com>
20587
20588 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
20589 octave-hide-process-buffer.
20590
20591 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20592
20593 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
20594 (bug#14216).
20595
20596 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
20597
20598 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
20599 Fix adjustment of offset when receiving incomplete responses from GDB
20600 (bug#14129).
20601
20602 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20603
20604 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
20605 python-mode-abbrev-table.
20606 (python-skeleton-define): Adjust accordingly.
20607 (python-mode-abbrev-table): New table that inherits from it so that
20608 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
20609
20610 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
20611 (abbrev-symbol): Use it.
20612 (abbrev--before-point): Use it since we already handle inheritance.
20613
20614 2013-04-16 Leo Liu <sdl.web@gmail.com>
20615
20616 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
20617 binding to info-lookup-symbol.
20618
20619 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
20620
20621 * minibuffer.el (completion--twq-all):
20622 * term/ns-win.el (ns-initialize-window-system):
20623 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
20624
20625 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20626
20627 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
20628 global bindings.
20629
20630 * doc-view.el (doc-view-start-process): Handle url-handler directories.
20631
20632 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
20633
20634 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
20635 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
20636 to nil.
20637 (ruby-end-of-defun): Remove the unused arg, change the docstring
20638 to reflect that this function is only used as the value of
20639 `end-of-defun-function'.
20640 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
20641 to reflect an earlier change that beginning/end-of-defun functions
20642 jump between methods in a class definition, as well as top-level
20643 functions.
20644
20645 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20646
20647 * minibuffer.el (minibuffer-complete): Don't just scroll
20648 a *Completions* that's been iconified.
20649 (minibuffer-force-complete): Make sure repetitions do cycle when going
20650 through completion-in-region -> minibuffer-complete.
20651
20652 2013-04-15 Alan Mackenzie <acm@muc.de>
20653
20654 Correct the placement of c-cpp-delimiters when there're #s not at
20655 col 0.
20656
20657 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
20658 place a submatch around the #.
20659 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
20660 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20661 on the #, not BOL.
20662
20663 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20664
20665 * emacs-lisp/nadvice.el: Properly test names when adding advice.
20666 (advice--member-p): New arg `name'.
20667 (advice--add-function, advice-member-p): Use it (bug#14202).
20668
20669 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
20670
20671 Reformulate java imenu-generic-expression.
20672 The old expression contained ill formed regexps.
20673
20674 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
20675 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
20676 (cc-imenu-java-method-arg-regexp): New defconsts.
20677 (cc-imenu-java-build-type-args-regex): New defun.
20678 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
20679 handling of spaces in the regexp.
20680
20681 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20682
20683 * textmodes/ispell.el (ispell-command-loop): Remove
20684 flyspell highlight of a word when ispell accepts it (bug #14178).
20685
20686 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
20687
20688 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
20689 uses code from the previous `ange-ftp-run-real-handler'.
20690 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
20691 only in case that function exist. This is needed for proper
20692 unloading of Tramp.
20693
20694 2013-04-15 Tassilo Horn <tsdh@gnu.org>
20695
20696 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
20697
20698 * textmodes/reftex.el (reftex-compile-variables): Use it.
20699
20700 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20701
20702 * files.el (normal-mode): Only use default major-mode if no other mode
20703 was specified.
20704
20705 * emacs-lisp/trace.el (trace-values): New function.
20706
20707 * files.el: Allow : in local variables (bug#14089).
20708 (hack-local-variable-regexp): New var.
20709 (hack-local-variables-prop-line, hack-local-variables): Use it.
20710
20711 2013-04-13 Roland Winkler <winkler@gnu.org>
20712
20713 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
20714 data before it gets modified by bibtex-beginning-of-entry.
20715
20716 2013-04-13 Roland Winkler <winkler@gnu.org>
20717
20718 * textmodes/bibtex.el (bibtex-url): Doc fix.
20719
20720 2013-04-13 Roland Winkler <winkler@gnu.org>
20721
20722 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
20723 does not visit a BibTeX file, exclude it from the list of buffers
20724 returned by bibtex-initialize.
20725
20726 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
20727
20728 * window.el (split-window): Remove interactive form, since as a
20729 command this function is a special case of split-window-below.
20730 Correct doc string.
20731
20732 2013-04-12 Roland Winkler <winkler@gnu.org>
20733
20734 * faces.el (read-face-name): Do not override value of arg default.
20735 Allow single faces and strings as default values. Remove those
20736 elements from return value that are not faces.
20737 (describe-face): Simplify.
20738 (face-at-point): New optional args thing and multiple so that this
20739 function can provide the same functionality previously provided by
20740 read-face-name.
20741 (make-face-bold, make-face-unbold, make-face-italic)
20742 (make-face-unitalic, make-face-bold-italic, invert-face)
20743 (modify-face, read-face-and-attribute): Use face-at-point.
20744
20745 * cus-edit.el (customize-face, customize-face-other-window)
20746 * cus-theme.el (custom-theme-add-face)
20747 * face-remap.el (buffer-face-set)
20748 * facemenu.el (facemenu-set-face): Use face-at-point.
20749
20750 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
20751
20752 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
20753
20754 2013-04-10 Tassilo Horn <tsdh@gnu.org>
20755
20756 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
20757 off leading { and trailing } from field values.
20758
20759 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
20760
20761 * emacs-lisp/timer.el (timer--check): New function.
20762 (timer--time, timer-set-function, timer-event-handler): Use it.
20763 (timer-set-idle-time): Simplify.
20764 (timer--activate): CSE.
20765 (timer-event-handler): Give more info in error message.
20766 (internal-timer-start-idle): New function, moved from C.
20767
20768 * mpc.el (mpc-proc): Add `restart' argument.
20769 (mpc-proc-cmd): Use it.
20770 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
20771 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
20772 less often.
20773
20774 2013-04-10 Masatake YAMATO <yamato@redhat.com>
20775
20776 * progmodes/sh-script.el: Implement `sh-mode' own
20777 `add-log-current-defun-function' (bug#14112).
20778 (sh-current-defun-name): New function.
20779 (sh-mode): Use the function.
20780
20781 2013-04-09 Bastien Guerry <bzg@gnu.org>
20782
20783 * simple.el (choose-completion-string): Fix docstring (bug#14163).
20784
20785 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
20786
20787 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
20788
20789 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
20790 timer (bug#14156).
20791
20792 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
20793
20794 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
20795 declaration.
20796
20797 2013-04-07 Leo Liu <sdl.web@gmail.com>
20798
20799 * pcmpl-x.el: New file.
20800
20801 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
20802
20803 Do not set x-display-name until X connection is established.
20804 This is needed to prevent from weird situation described at
20805 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
20806 * frame.el (make-frame): Set x-display-name after call to
20807 window system initialization function, not before.
20808 * term/x-win.el (x-initialize-window-system): Add optional
20809 display argument and use it.
20810 * term/w32-win.el (w32-initialize-window-system):
20811 * term/ns-win.el (ns-initialize-window-system):
20812 * term/pc-win.el (msdos-initialize-window-system):
20813 Add compatible optional display argument.
20814
20815 2013-04-06 Eli Zaretskii <eliz@gnu.org>
20816
20817 * files.el (normal-backup-enable-predicate): On MS-Windows and
20818 MS-DOS compare truenames of temporary-file-directory and of the
20819 file, so that 8+3 aliases (usually found in $TEMP on Windows)
20820 don't fail comparison by compare-strings. Also, compare file
20821 names case-insensitively on MS-Windows and MS-DOS.
20822
20823 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20824
20825 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
20826 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
20827
20828 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
20829
20830 * whitespace.el (whitespace-color-on, whitespace-color-off):
20831 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
20832
20833 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
20834
20835 * ispell.el (ispell-set-spellchecker-params):
20836 Really set `ispell-args' for all equivs.
20837
20838 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20839
20840 * ido.el (ido-completions): Use extra elements of ido-decorations
20841 (bug#14143).
20842 (ido-decorations): Update docstring.
20843
20844 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
20845
20846 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20847 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
20848 nil during initialization, in order not to miss changes since the
20849 file was opened. (Bug#14140)
20850
20851 2013-04-05 Leo Liu <sdl.web@gmail.com>
20852
20853 * kmacro.el (kmacro-call-macro): Fix bug#14135.
20854
20855 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
20856
20857 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
20858
20859 2013-04-04 Glenn Morris <rgm@gnu.org>
20860
20861 * electric.el (electric-pair-inhibit-predicate): Add :version.
20862
20863 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
20864
20865 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
20866 when a package is required several times (bug#14082).
20867
20868 2013-04-04 Roland Winkler <winkler@gnu.org>
20869
20870 * faces.el (read-face-name): Behave as promised by the docstring.
20871 Assume that arg default is a list of faces.
20872 (describe-face): Call read-face-name with list of default faces.
20873
20874 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20875
20876 * bookmark.el: Fix deletion of bookmarks (bug#13972).
20877 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
20878 (bookmark-bmenu-execute-deletions): Only skip first line if it's
20879 the header.
20880 (bookmark-exit-hook-internal): Save even if list is empty.
20881
20882 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
20883
20884 * emacs-lisp/package.el (package-pinned-packages): New var.
20885 (package--add-to-archive-contents): Obey it (bug#14118).
20886
20887 2013-04-03 Alan Mackenzie <acm@muc.de>
20888
20889 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
20890 Also adapt to the new values of element 7 of a parse state.
20891
20892 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
20893 parameter `not-in-delimiter'. Handle being inside comment opener.
20894 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
20895 character in case we're typing a '*' after a '/'.
20896 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
20897 instead by passing the parameter to c-state-pp-to-literal.
20898
20899 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
20900 for elt. 7 of a parse state.
20901
20902 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
20903
20904 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
20905 * international/latin1-disp.el, international/mule-util.el:
20906 * language/cyril-util.el, language/european.el, language/ind-util.el:
20907 * language/lao-util.el, language/thai.el, language/tibet-util.el:
20908 * language/tibetan.el, language/viet-util.el:
20909 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
20910
20911 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20912
20913 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
20914 (electric-pair-post-self-insert-function): Use it.
20915 (electric-pair-default-inhibit): New function, extracted from
20916 electric-pair-post-self-insert-function.
20917
20918 2013-03-31 Roland Winkler <winkler@gnu.org>
20919
20920 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
20921
20922 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20923
20924 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
20925
20926 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
20927
20928 Un-indent after "pass" and "return" statements (Bug#13888)
20929 * progmodes/python.el (python-indent-block-enders): New var.
20930 (python-indent-calculate-indentation): Use it.
20931
20932 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
20933
20934 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
20935 defun. Defining it as defalias could introduce too eager
20936 byte-compiler optimization. (Bug#14030)
20937
20938 2013-03-30 Chong Yidong <cyd@gnu.org>
20939
20940 * iswitchb.el (iswitchb-read-buffer): Fix typo.
20941
20942 2013-03-30 Leo Liu <sdl.web@gmail.com>
20943
20944 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
20945 (kmacro-execute-from-register): Pass the keyboard macro to
20946 kmacro-call-macro or repeating won't work correctly.
20947
20948 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
20949
20950 * progmodes/subword.el: Back to using `forward-symbol'.
20951
20952 * subr.el (forward-whitespace, forward-symbol)
20953 (forward-same-syntax): Move from thingatpt.el.
20954
20955 2013-03-29 Leo Liu <sdl.web@gmail.com>
20956
20957 * kmacro.el (kmacro-to-register): New command.
20958 (kmacro-execute-from-register): New function.
20959 (kmacro-keymap): Bind to 'x'. (Bug#14071)
20960
20961 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
20962
20963 * mpc.el: Use defvar-local and setq-local.
20964 (mpc--proc-connect): Connection failures are not bugs.
20965 (mpc-mode-map): `follow-link' only applies to the buffer's content.
20966 (mpc-volume-map): Bind to the up-events.
20967
20968 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
20969
20970 * progmodes/subword.el (superword-mode): Use `forward-sexp'
20971 instead of `forward-symbol'.
20972
20973 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
20974
20975 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
20976 (edebug--recursive-edit): Use it.
20977 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
20978 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
20979
20980 2013-03-28 Leo Liu <sdl.web@gmail.com>
20981
20982 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
20983
20984 2013-03-27 Eli Zaretskii <eliz@gnu.org>
20985
20986 * facemenu.el (list-colors-callback): New defvar.
20987 (list-colors-redisplay): New function.
20988 (list-colors-display): Install list-colors-redisplay as the
20989 revert-buffer-function. (Bug#14063)
20990
20991 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
20992
20993 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
20994 and suffixes don't overlap (bug#14061).
20995
20996 * case-table.el: Use lexical-binding.
20997 (case-table-get-table): New function.
20998 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
20999
21000 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
21001
21002 * progmodes/subword.el: Add `superword-mode' to do word motion
21003 over symbol_words (parallels and leverages `subword-mode' which
21004 does word motion inside MixedCaseWords).
21005
21006 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
21007
21008 * eshell/em-unix.el: Move su and sudo to...
21009 * eshell/em-tramp.el: ...Eshell tramp module.
21010
21011 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
21012
21013 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
21014 Change return value to be a sexp. Delay `get-buffer' to after
21015 restoring the desktop (bug#13951).
21016
21017 2013-03-26 Leo Liu <sdl.web@gmail.com>
21018
21019 * register.el: Move semantic tag handling back to
21020 cedet/semantic/senator.el. (Bug#14052)
21021
21022 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
21023
21024 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
21025 into the prompt either (bug#13963).
21026
21027 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
21028
21029 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
21030 part of "(error-foo)".
21031
21032 2013-03-24 Juri Linkov <juri@jurta.org>
21033
21034 * replace.el (list-matching-lines-prefix-face): New defcustom.
21035 (occur-1): Pass `list-matching-lines-prefix-face' to the function
21036 `occur-engine' if `face-differs-from-default-p' returns t.
21037 (occur-engine): Add `,' inside backquote construct to evaluate
21038 `prefix-face'. Propertize the prefix with the `prefix-face' face.
21039 Pass `prefix-face' to the functions `occur-context-lines' and
21040 `occur-engine-add-prefix'.
21041 (occur-engine-add-prefix, occur-context-lines): Add optional arg
21042 `prefix-face' and propertize the prefix with `prefix-face'.
21043 (Bug#14017)
21044
21045 2013-03-24 Leo Liu <sdl.web@gmail.com>
21046
21047 * nxml/rng-valid.el (rng-validate-while-idle)
21048 (rng-validate-quick-while-idle): Guard against deleted buffer.
21049 (Bug#13999)
21050
21051 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
21052 is the last entry in kill-buffer-hook.
21053
21054 * files.el (kill-buffer-hook): Doc fix.
21055
21056 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
21057
21058 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
21059 Make it safe-local.
21060
21061 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
21062
21063 2013-03-23 Leo Liu <sdl.web@gmail.com>
21064
21065 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
21066 Remove.
21067
21068 * nxml/rng-valid.el (rng-validate-mode)
21069 (rng-after-change-function, rng-do-some-validation):
21070 * nxml/rng-maint.el (rng-validate-buffer):
21071 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
21072 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
21073 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
21074 (nxml-extend-after-change-region): Use with-silent-modifications.
21075
21076 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
21077 timer-idle-list.
21078
21079 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
21080 (rng-next-error-1, rng-previous-error-1): Do not let-bind
21081 timer-idle-list. (Bug#13999)
21082
21083 2013-03-23 Juri Linkov <juri@jurta.org>
21084
21085 * info.el (info-index-match): New face.
21086 (Info-index, Info-apropos-matches): Add a nested subgroup to the
21087 main pattern and add text properties with the new face to matches
21088 in index entries relative to the beginning of the index entry.
21089 (Bug#14015)
21090
21091 2013-03-21 Eric Ludlam <zappo@gnu.org>
21092
21093 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
21094 Inhibit read only while inserting objects.
21095
21096 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
21097
21098 * progmodes/cfengine.el: Update docs to mention
21099 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
21100 symbol motion. Remove "_" from the word syntax.
21101
21102 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
21103
21104 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
21105 syntax for both `cfengine2-mode' and `cfengine3-mode'.
21106
21107 2013-03-20 Juri Linkov <juri@jurta.org>
21108
21109 * info.el (Info-next-reference-or-link)
21110 (Info-prev-reference-or-link): New functions.
21111 (Info-next-reference, Info-prev-reference): Use them.
21112 (Info-try-follow-nearest-node): Handle footnote navigation.
21113 (Info-fontify-node): Fontify footnotes. (Bug#13989)
21114
21115 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
21116
21117 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
21118 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
21119
21120 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
21121
21122 Suppress unnecessary non-ASCII chatter during build process.
21123 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
21124 (batch-skkdic-convert): Suppress most of the chatter.
21125 It's not needed so much now that machines are faster,
21126 and its non-ASCII component was confusing; see Dmitry Gutov in
21127 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
21128
21129 2013-03-20 Leo Liu <sdl.web@gmail.com>
21130
21131 * ido.el (ido-chop): Fix bug#10994.
21132
21133 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
21134
21135 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
21136 Remove vars.
21137 (whitespace-color-on, whitespace-color-off):
21138 Use `font-lock-fontify-buffer' (Bug#13817).
21139
21140 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
21141
21142 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
21143 remapping in mode-line.
21144 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
21145
21146 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
21147
21148 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
21149 value for `whitespace-line' face (Bug#13875).
21150 (whitespace-font-lock-keywords): Change description.
21151 (whitespace-color-on): Don't save `font-lock-keywords' value, save
21152 the constructed keywords instead.
21153 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
21154
21155 2013-03-19 Leo Liu <sdl.web@gmail.com>
21156
21157 * progmodes/compile.el (compilation-display-error): New command.
21158 (compilation-mode-map, compilation-minor-mode-map): Bind it to
21159 C-o. (Bug#13992)
21160
21161 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
21162
21163 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
21164
21165 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
21166
21167 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
21168
21169 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
21170
21171 * net/tramp-compat.el (tramp-compat-user-error): New defun.
21172
21173 * net/tramp-adb.el (tramp-adb-handle-shell-command):
21174 * net/tramp-gvfs.el (top):
21175 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
21176 (tramp-handle-shell-command): Use it.
21177 (tramp-dissect-file-name): Raise an error when hostname is a
21178 method name, and neither method nor user is specified.
21179
21180 * net/trampver.el: Update release number.
21181
21182 2013-03-18 Leo Liu <sdl.web@gmail.com>
21183
21184 Make sure eldoc can be turned off properly.
21185 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
21186 eldoc-mode.
21187 (eldoc-display-message-p): Revert last change.
21188 (eldoc-display-message-no-interference-p)
21189 (eldoc-print-current-symbol-info): Tweak.
21190
21191 2013-03-18 Tassilo Horn <tsdh@gnu.org>
21192
21193 * doc-view.el (doc-view-new-window-function): Check the new window
21194 overlay's display property instead the char property of the
21195 buffer's first char. Use `with-selected-window' instead of
21196 `save-window-excursion' with `select-window'.
21197 (doc-view-document->bitmap): Check the current doc-view overlay's
21198 display property instead the char property of the buffer's first char.
21199
21200 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
21201
21202 Automate the build of ja-dic.el (Bug#13984).
21203 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
21204 from the input, rather than assume that it's been done for us by the
21205 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
21206 the current date into a ja-dic.el comment, as that complicates
21207 regression testing.
21208
21209 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21210
21211 * whitespace.el: Fix double evaluation.
21212 (whitespace-space, whitespace-hspace, whitespace-tab)
21213 (whitespace-newline, whitespace-trailing, whitespace-line)
21214 (whitespace-space-before-tab, whitespace-indentation)
21215 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
21216 obsolete defvars.
21217 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
21218 (whitespace-color-on): Use a single font-lock-add-keywords call.
21219 Fix double-evaluation of face variables.
21220
21221 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
21222
21223 * net/tramp-adb.el (tramp-adb-parse-device-names):
21224 Use `start-process' instead of `call-process'. Otherwise, the
21225 function might be blocked under MS Windows. (Bug#13299)
21226
21227 2013-03-17 Leo Liu <sdl.web@gmail.com>
21228
21229 Extend eldoc to display info in the mode-line. (Bug#13978)
21230 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
21231 (eldoc-mode-line-string): New variable.
21232 (eldoc-minibuffer-message): New function.
21233 (eldoc-message-function): New variable.
21234 (eldoc-message): Use it.
21235 (eldoc-display-message-p)
21236 (eldoc-display-message-no-interference-p):
21237 Support eldoc-post-insert-mode.
21238
21239 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
21240 (eval-expression): Run it.
21241
21242 2013-03-17 Roland Winkler <winkler@gnu.org>
21243
21244 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
21245 strings in the list of return values.
21246
21247 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21248
21249 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
21250 radix before checking for HMS forms.
21251
21252 2013-03-16 Leo Liu <sdl.web@gmail.com>
21253
21254 * progmodes/scheme.el: Add indentation and font-locking for λ.
21255 (Bug#13975)
21256
21257 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
21258
21259 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
21260 token before point (bug#13942).
21261
21262 2013-03-16 Leo Liu <sdl.web@gmail.com>
21263
21264 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
21265
21266 2013-03-16 Eli Zaretskii <eliz@gnu.org>
21267
21268 * startup.el (command-line-normalize-file-name): Fix handling of
21269 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
21270 <xfq.free@gmail.com> in
21271 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
21272
21273 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
21274
21275 Sync with Tramp 2.2.7.
21276
21277 * net/trampver.el: Update release number.
21278
21279 2013-03-14 Tassilo Horn <tsdh@gnu.org>
21280
21281 * doc-view.el: Fix bug#13887.
21282 (doc-view-insert-image): Don't modify overlay associated to
21283 non-live windows, and implement horizontal centering of image in
21284 case it's smaller than the window.
21285 (doc-view-new-window-function): Force redisplay of new windows on
21286 doc-view buffers.
21287
21288 2013-03-13 Karl Fogel <kfogel@red-bean.com>
21289
21290 * saveplace.el (save-place-alist-to-file): Don't sort
21291 `save-place-alist', just pretty-print it (bug#13882).
21292
21293 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
21294
21295 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
21296 Check whether `default-file-name-coding-system' is bound.
21297 It isn't in XEmacs.
21298
21299 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
21300
21301 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
21302 backquotes for `obsolete' (bug#13929).
21303
21304 * international/mule.el (find-auto-coding): Include file name in
21305 obsolescence warning (bug#13922).
21306
21307 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
21308
21309 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
21310 for CFEngine 3-specific indentation.
21311 (cfengine3-indent-line): Use it. Fix up category regex.
21312 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
21313
21314 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21315
21316 * type-break.el (type-break-file-name):
21317 * textmodes/remember.el (remember-data-file):
21318 * strokes.el (strokes-file):
21319 * shadowfile.el (shadow-initialize):
21320 * saveplace.el (save-place-file):
21321 * ps-bdf.el (bdf-cache-file):
21322 * progmodes/idlwave.el (idlwave-config-directory):
21323 * net/quickurl.el (quickurl-url-file):
21324 * international/kkc.el (kkc-init-file-name):
21325 * ido.el (ido-save-directory-list-file):
21326 * emulation/viper.el (viper-custom-file-name):
21327 * emulation/vip.el (vip-startup-file):
21328 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
21329 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
21330
21331 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
21332
21333 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
21334 * language/thai-word.el: Switch to UTF-8.
21335
21336 See ChangeLog.16 for earlier changes.
21337
21338 ;; Local Variables:
21339 ;; coding: utf-8
21340 ;; End:
21341
21342 Copyright (C) 2011-2014 Free Software Foundation, Inc.
21343
21344 This file is part of GNU Emacs.
21345
21346 GNU Emacs is free software: you can redistribute it and/or modify
21347 it under the terms of the GNU General Public License as published by
21348 the Free Software Foundation, either version 3 of the License, or
21349 (at your option) any later version.
21350
21351 GNU Emacs is distributed in the hope that it will be useful,
21352 but WITHOUT ANY WARRANTY; without even the implied warranty of
21353 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21354 GNU General Public License for more details.
21355
21356 You should have received a copy of the GNU General Public License
21357 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.